Re: [Tutor] Set Reply-To field to Tutor@python.org

2013-01-29 Thread Oscar Benjamin
On 29 January 2013 03:35, DoanVietTrungAtGmail doanviettr...@gmail.com wrote: 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. If you don't mind my asking, do you send many

Re: [Tutor] Set Reply-To field to Tutor@python.org

2013-01-29 Thread DoanVietTrungAtGmail
On Tue, Jan 29, 2013 at 9:12 PM, Oscar Benjamin oscar.j.benja...@gmail.comwrote: If you don't mind my asking, do you send many off-list messages as replies to on-list ones? Oscar For this list, I have sent 1 public reply and 2 private replies (to thank individual tutors). Both numbers are

Re: [Tutor] Set Reply-To field to Tutor@python.org

2013-01-29 Thread Jonatán Guadamuz
El 29/01/2013, a las 04:14 a.m., Oscar Benjamin oscar.j.benja...@gmail.com escribió: I see the mailing list as being fundamentally a public message forum and only very occasionally send an off-list message. Often this means that the archives are incomplete, so that there is a thread but the

Re: [Tutor] Set Reply-To field to Tutor@python.org

2013-01-29 Thread Kushal Kumaran
Oscar Benjamin oscar.j.benja...@gmail.com writes: I have both sent and received messages on this list that went off-list by mistake. It's an easy mistake to make that you use reply instead of reply-all and then the message goes just to one person instead of the whole list. This problem is

Re: [Tutor] Help!

2013-01-29 Thread Kwpolska
On Mon, Jan 28, 2013 at 10:22 PM, Ghadir Ghasemi ghasemm...@leedslearning.net wrote: Hi guys I wanted to make a program called Binary/decimal converter. That’s easy, int('11', 2) and bin(3) should be enough. But I want to do it the hard way e.g. not using built in python functions. Can you

Re: [Tutor] Set Reply-To field to Tutor@python.org

2013-01-29 Thread Albert-Jan Roskam
To summarize existing opinions on this matter: http://marc.merlins.org/netrants/listreplyto.html You might want to familiarize yourself with existing literature on the matter before starting a new flame war. Hmmm... False alarm?   Page blocked  The page you've been trying to access

Re: [Tutor] automate add-to-cart with python

2013-01-29 Thread Benjamin Fishbein
A direct approach would probably use the webdriver API to automate the browser. Selenium has one: I decided to use Selenium. It may be overkill for this particular problem, but I'll want to use it for other things. This is my first time trying to install a new module to Python. I've been

Re: [Tutor] automate add-to-cart with python

2013-01-29 Thread Danny Yoo
After downloading pip, I tried to install it: cd /Applications/pip-1.2.1 install pip I got this strange message: usage: install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode] [-o owner] file1 file2 install [-bCcpSsv] [-B suffix] [-f flags] [-g group] [-m mode]

Re: [Tutor] Set Reply-To field to Tutor@python.org

2013-01-29 Thread Nick W
My personal opinion (with whatever limited weight that has on this list since I've only answered a few questions - and probably half of them I've accidentally only sent to the op)/how I read it is that RFC 2822 actually allows lists to set reply-to header; by my view the list software is

Re: [Tutor] automate add-to-cart with python

2013-01-29 Thread Prasad, Ramit
Benjamin Fishbein wrote: A direct approach would probably use the webdriver API to automate the browser. Selenium has one: I decided to use Selenium. It may be overkill for this particular problem, but I'll want to use it for other things. This is my first time trying to install a

Re: [Tutor] automate add-to-cart with python

2013-01-29 Thread Francois Dion
On Mon, Jan 28, 2013 at 6:32 PM, Alan Gauld alan.ga...@btinternet.com wrote: 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

Re: [Tutor] HELP- Regarding working with python

2013-01-29 Thread Gayathri S
Hi all...! I don't know how to import our own data sets in python. its always importing the in built data sets. could you just tell me how to do that...! Thanks...! On Mon, Jan 28, 2013 at 1:50 PM, Steven D'Aprano st...@pearwood.infowrote: On 28/01/13 18:26, Gayathri S wrote:

Re: [Tutor] automate add-to-cart with python

2013-01-29 Thread Benjamin Fishbein
http://www.pip-installer.org/en/latest/installing.html I went to this pip site. It told me to install virtualenv. http://www.virtualenv.org/en/latest/#installation The virtualenv site told me: You can install virtualenv with pip install virtualenv, or the latest development version with

[Tutor] how to import our own data sets

2013-01-29 Thread bob gailer
This seems to be a new subject. Please start a new email and give it a new and relevant subject. Otherwise your post gets mixed up with older and not relevant posts. On 1/30/2013 12:18 AM, Gayathri S wrote: Hi all...! I don't know how to import our own data sets in python.

Re: [Tutor] automate add-to-cart with python

2013-01-29 Thread Marc Tompkins
On Tue, Jan 29, 2013 at 9:19 PM, Benjamin Fishbein bfishbei...@gmail.comwrote:Then it said: You can also use easy_install, or if you have no Python package manager available at all, you can just grab the single file virtualenv.pyhttps://raw.github.com/pypa/virtualenv/master/virtualenv.py and

[Tutor] HELP-Regarding python

2013-01-29 Thread Gayathri S
Hi All! I don't know how to read text file in python. If the data values are stored in a text file format, for example(1,30,60,90,120...200) means what i would do for reading it in python. could you just explain it. Thanks! Keep Smiling.[?]

Re: [Tutor] HELP-Regarding python

2013-01-29 Thread Dave Angel
On 01/30/2013 01:51 AM, Gayathri S wrote: Hi All! I don't know how to read text file in python. If the data values are stored in a text file format, for example(1,30,60,90,120...200) means what i would do for reading it in python. could you just explain it. infile =

Re: [Tutor] HELP-Regarding python

2013-01-29 Thread spawgi
A safer approach would be - with open(filepath, mode as filehandle: indent//operation with the file. This way, you do not have to remember to close the file explicitly. On Wed, Jan 30, 2013 at 12:27 PM, Dave Angel da...@davea.name wrote: On 01/30/2013 01:51 AM, Gayathri S wrote: Hi All!

Re: [Tutor] HELP-Regarding python

2013-01-29 Thread spawgi
missed a parenthesis, it should look like - with open(filepath, mode) as filehandle: indent//operation with the file. On Wed, Jan 30, 2013 at 12:31 PM, spa...@gmail.com wrote: A safer approach would be - with open(filepath, mode as filehandle: indent//operation with the file. This way, you