#! /usr/bin/python
import numpy as np
data = np.loadtxt('path-tracks.csv',dtype=np.str,delimiter=',',skiprows=1)
print data
[['19.70' '-95.20' '2/5/04 6:45 AM' '1' '-38' 'CCM']
['19.70' '-94.70' '2/5/04 7:45 AM' '1' '-48' 'CCM']
['19.30' '-93.90' '2/5/04 8:45 AM' '1' '-60' 'CCM']
As a student user of this list, I prefer leaving the Reply-To field
unchanged. I like the fact that this means a deliberate decision is
required to send public emails.
Trung
On Tue, Jan 29, 2013 at 12:17 PM, Steven D'Aprano wrote:
> On 29/01/13 09:04, Oscar Benjamin wrote:
>
> One particular l
On 29/01/13 09:04, Oscar Benjamin wrote:
One particular list that I receive has recently made an administrative
change so that, from now on, all emails have the "Reply-To" header set
to the list address. This means that the default behaviour when
replying to a message is that the reply goes to t
>> Or maybe, just maybe, somebody has written a javascript interpreter in
>> Python as a module that you can import. It sounds just about crazy enough
>> that it might even exist! But as I said, that's probably the wrong thing to
>> do...
>
>A direct approach would probably use the webdriver API
> Or maybe, just maybe, somebody has written a javascript interpreter in
> Python as a module that you can import. It sounds just about crazy enough
> that it might even exist! But as I said, that's probably the wrong thing to
> do...
A direct approach would probably use the webdriver API to autom
On 28/01/13 22:51, Benjamin Fishbein wrote:
In general, despite scouring the Internet, I haven't been able to figure
out how to get Python to cause javascripts I find in the html to be run.
That's because Javascript is run in the browser which has a Javascript
interpreter built in. Python does
Hello,
I'm trying to automate putting a series of items into my cart. Here's the html
for the add-to-cart button on the website:
http://cart.half.ebay.com/ws/eBayISAPI.dll?HalfAddItemToCart&ap=additem&itemid=343343950913&pr=57017296&fromshop=1";>Add
to cart
Using the cookielib and urllib2 module,
On Mon, Jan 28, 2013 at 4:51 PM, Danny Yoo wrote:
> > Hi guys I wanted to make a program called Binary/decimal converter. But
> I want to do it the hard way e.g. not using built in python functions. Can
> you give me an idea about how I can do that?
>
>
> See if you can write the steps to do this
> Hi guys I wanted to make a program called Binary/decimal converter. But I
> want to do it the hard way e.g. not using built in python functions. Can you
> give me an idea about how I can do that?
Do you have an idea of what kind of things would be useful test cases
for this converter? Thinki
Ghadir,
I did a quick google search for how to convert digital to binary. The
first link was to
http://www.ehow.com/how_5164721_convert-digital-binary.html which gives
a pretty clear example of the process for converting digital to binary.
Of course, you will need to translate this psuedo-co
Hi guys I wanted to make a program called Binary/decimal converter. But I want
to do it the hard way e.g. not using built in python functions. Can you give me
an idea about how I can do that?
Thank you.
___
Tutor maillist - Tutor@python.org
To unsubsc
On 01/28/2013 03:19 PM, Dave Wilder wrote:
> On 28 January 2013 2:44, : Oscar Benjamin
[mailto:oscar.j.benja...@gmail.com wrote:
>
> Please post in plain text (not html) as otherwise the code gets
screwed up.
> ...
>
> Some people like to use regexes for everything. I prefer to try
string m
On 28 January 2013 2:44, : Oscar Benjamin [mailto:oscar.j.benja...@gmail.com
wrote:
Please post in plain text (not html) as otherwise the code gets screwed up.
...
Some people like to use regexes for everything. I prefer to try string methods
first as I find them easier to understand.
Here's
On Mon, Jan 28, 2013 at 2:15 PM, Dave Wilder wrote:
> Hello,
>
> I am trying using re.findall to parse the string below and then create a
> list from the results.
> junk_list = 'tmsh list net interface 1.3 media-ca \rpabilities\r\nnet
> interface 1.3 {\r\nmedia-capabilities {\r\nnone
Please post in plain text (not html) as otherwise the code gets
screwed up. When I paste your code into a terminal this is what
happens:
>>> junk_list = 'tmsh list net interface 1.3 media-ca \rpabilities\r\nnet
>>> interface 1.3 {\r\nmedia-capabilities {\r\nnone\r\n
>>> auto\r
Hello,
I am trying using re.findall to parse the string below and then create a list
from the results.
junk_list = 'tmsh list net interface 1.3 media-ca \rpabilities\r\nnet interface
1.3 {\r\nmedia-capabilities {\r\nnone\r\nauto\r\n
4SR4-FD\r\n 10T-HD\r\n100
On 28/01/13 15:40, Aaron Misquith wrote:
like if someone is able to provide me a code to export the output to
pdf.
Oops, sorry ReportLab is the module I was thinking of not pyPDF. The
latter is mainly for reading PDF not producing them. Apologies.
http://www.reportlab.com/software/opensourc
I will kill the one who invented this bullshit with the Reply button.
(sent 1 h 13 min ago)
-- Forwarded message --
From: Kwpolska
Date: Mon, Jan 28, 2013 at 4:48 PM
Subject: Re: [Tutor] Facebook login using python
To: Aaron Misquith
On Mon, Jan 28, 2013 at 4:40 PM, Aaron Misqui
On 28/01/13 15:40, Aaron Misquith wrote:
I am working on a program which is used to login to facebook, get my
friend lists using graph api and export them into pdf format.
So far i'm able to login with facebook and get the friend list. I would
like if someone is able to provide me a code to expor
On 01/28/2013 10:40 AM, Aaron Misquith wrote:
I am working on a program which is used to login to facebook, get my friend
lists using graph api and export them into pdf format.
So far i'm able to login with facebook and get the friend list. I would
like if someone is able to provide me a code to
Alan Gauld wrote:
>
> On 18/01/13 18:11, Roger wrote:
>
> > At the moment this works to search for everything beginning with A
> > sql = "SELECT * FROM plants WHERE genus LIKE 'A%'";
> > cursor.execute(sql);
>
> SQLlite supports a form of format string where you put in some magic
> charactrs the
I am working on a program which is used to login to facebook, get my friend
lists using graph api and export them into pdf format.
So far i'm able to login with facebook and get the friend list. I would
like if someone is able to provide me a code to export the output to pdf.
Another thing is that
Kurt Lieber wrote:
> Hi -- brand new to python, but trying to write a simple script that takes
> command line arguments. One of the arguments needs to test if a value is
> a)
> an integer and b) within a stated range. I currently have:
>
> parser.add_argument("-f", "--floor", default=6000, help=
On 28/01/13 18:26, Gayathri S wrote:
Hi all..!
wanna know how to compile python script in python command line,
and is there any need for setting path for python like JAVA? whats the
difference between .py file and .pyc file?
Python is a byte-code compiled language, like Java many y
24 matches
Mail list logo