Re: [Tutor] (no subject)

2014-10-10 Thread William Becerra
It is working now. Thank you everyone. It was very helpfull. On Fri, Oct 10, 2014 at 2:36 AM, Alan Gauld alan.ga...@btinternet.com wrote: On 09/10/14 19:38, William Becerra wrote: import maths; Python, like most languages speaks American English so its math not maths. -- Alan G

Re: [Tutor] Installing both Python 2.7 and Python 3.4 on Windows 7 Pro 64-bit: Install Python 2.7 FIRST! (boB Stepp)

2014-10-10 Thread Dino Bektešević
In the lieu of the same thing. I did an install of both python 2.6 and 3.3 on Win7. The key was to start using virtualenv (http://docs.python-guide.org/en/latest/dev/virtualenvs/) and set it up to the python install of my choice with: virtualenv -p /usr/bin/python2.7 venv although virtualenv has

Re: [Tutor] Installing both Python 2.7 and Python 3.4 on Windows 7 Pro 64-bit: Install Python 2.7 FIRST!

2014-10-10 Thread Wolfgang Maier
On 10/10/2014 05:57 AM, boB Stepp wrote: I am hoping to save other people the grief I just worked through. I wanted to run both Python 2 and 3 on my windows PC, and, after googling this topic found that with Python 3.3 or later one could easily do both. So I merrily installed Python 3.4.2 first

Re: [Tutor] Tutor Digest, Vol 128, Issue 22

2014-10-10 Thread Henry
Hi I am new to programming. After I created two text files(the text file is most consist of numbers), its class is class '_io.TextIOWrapper', how can I compare this class with two text files? Please give me a hint which area I should look under? Set? List? Thanks Henry On Fri, Oct 10, 2014 at

Re: [Tutor] Tutor Digest, Vol 128, Issue 22

2014-10-10 Thread Alan Gauld
On 10/10/14 09:32, Henry wrote: I am new to programming. Welcome to tutor. Please set a meaningful subject line in your messages. It helps people doing a search and will attract interested readers so you get more chance of help. After I created two text files(the text file is most consist

Re: [Tutor] alternative Python 2.6 install?

2014-10-10 Thread Albert-Jan Roskam
- Original Message - From: Albert-Jan Roskam fo...@yahoo.com.dmarc.invalid To: Python Tutor Mailing List tutor@python.org Cc: Sent: Thursday, October 9, 2014 8:32 PM Subject: [Tutor] alternative Python 2.6 install? Hi, I need to install Python 2.6 on my Debian system to

Re: [Tutor] alternative Python 2.6 install?

2014-10-10 Thread Albert-Jan Roskam
- Original Message - From: Albert-Jan Roskam fo...@yahoo.com To: Albert-Jan Roskam fo...@yahoo.com; Python Tutor Mailing List tutor@python.org Cc: Sent: Friday, October 10, 2014 1:08 PM Subject: Re: [Tutor] alternative Python 2.6 install? - Original Message -

Re: [Tutor] Installing both Python 2.7 and Python 3.4 on Windows 7 Pro 64-bit: Install Python 2.7 FIRST!

2014-10-10 Thread boB Stepp
On Fri, Oct 10, 2014 at 2:05 AM, Wolfgang Maier wolfgang.ma...@biologie.uni-freiburg.de wrote: On 10/10/2014 05:57 AM, boB Stepp wrote: I am hoping to save other people the grief I just worked through. I wanted to run both Python 2 and 3 on my windows PC, and, after googling this topic found

[Tutor] Tile Code Program

2014-10-10 Thread niyanaxx95
This is the prompt: Write an algorithm / pseudocode that: • Reads in a two integers; the width and length of a room. i. The valid range for the width (x-axis) of the room is between 100 and 1000 pixels. ii. The valid range for the length (y-axis) of the room is between 100 and 900 pixels. •

[Tutor] Tutorials for experimental psycology

2014-10-10 Thread Z
I am familiar with basics of programming, and wanted to learn how to code psychology experiments in python. Are there standard libraries/tutorials and/or GUI-based software? I especially want to be able to assign probability distribution functions to variables. I would eventually be working with

Re: [Tutor] Tile Code Program

2014-10-10 Thread Dave Angel
niyanax...@gmail.com Wrote in message: (Please use text mail to post here) roomWidth = 100.0. #BUGBUG roomLength = 90.0 while roomWidth 100 or roomWidth 1000: roomWidth = float(input(Please enter a room width between 100 and 1000: )) if roomWidth = 100 or roomWidth = 1000:

Re: [Tutor] Tile Code Program

2014-10-10 Thread Danny Yoo
On Fri, Oct 10, 2014 at 8:46 AM, niyanax...@gmail.com wrote: This is the prompt: Write an algorithm / pseudocode that: • Reads in a two integers; the width and length of a room. [code cut] Can you talk a little bit about what problem you're having, if anything? Or are you asking for a code

Re: [Tutor] Tutorials for experimental psycology

2014-10-10 Thread Alan Gauld
On 10/10/14 18:47, Z wrote: I am familiar with basics of programming, and wanted to learn how to code psychology experiments in python. Are there standard libraries/tutorials and/or GUI-based software? Yes, but a lot depends on your specific requirements. You should probably research

Re: [Tutor] Tutorials for experimental psycology

2014-10-10 Thread Danny Yoo
On Fri, Oct 10, 2014 at 3:41 PM, Alan Gauld alan.ga...@btinternet.com wrote: On 10/10/14 18:47, Z wrote: I am familiar with basics of programming, and wanted to learn how to code psychology experiments in python. Are there standard libraries/tutorials and/or GUI-based software? Yes, but a

Re: [Tutor] Installing both Python 2.7 and Python 3.4 on Windows 7 Pro 64-bit: Install Python 2.7 FIRST!

2014-10-10 Thread boB Stepp
On Fri, Oct 10, 2014 at 7:43 AM, boB Stepp robertvst...@gmail.com wrote: On Fri, Oct 10, 2014 at 2:05 AM, Wolfgang Maier wolfgang.ma...@biologie.uni-freiburg.de wrote: On 10/10/2014 05:57 AM, boB Stepp wrote: [...] It would help if you could share details about how you tried to run the

Re: [Tutor] Installing both Python 2.7 and Python 3.4 on Windows 7 Pro 64-bit: Install Python 2.7 FIRST!

2014-10-10 Thread boB Stepp
On Fri, Oct 10, 2014 at 11:54 PM, Zachary Ware zachary.ware+py...@gmail.com wrote: On Fri, Oct 10, 2014 at 11:34 PM, boB Stepp robertvst...@gmail.com wrote: I can live with 2.7.8 being the default Python, but if I wanted to make 3.4.2 the default, how would I go about doing it? Check the

Re: [Tutor] Installing both Python 2.7 and Python 3.4 on Windows 7 Pro 64-bit: Install Python 2.7 FIRST!

2014-10-10 Thread boB Stepp
On Sat, Oct 11, 2014 at 12:24 AM, boB Stepp robertvst...@gmail.com wrote: On Fri, Oct 10, 2014 at 11:54 PM, Zachary Ware zachary.ware+py...@gmail.com wrote: On Fri, Oct 10, 2014 at 11:34 PM, boB Stepp robertvst...@gmail.com wrote: I can live with 2.7.8 being the default Python, but if I wanted

[Tutor] Fwd: Installing both Python 2.7 and Python 3.4 on Windows 7 Pro 64-bit: Install Python 2.7 FIRST!

2014-10-10 Thread Zachary Ware
Forwarding my original to the list, as I failed earlier On Fri, Oct 10, 2014 at 11:34 PM, boB Stepp robertvst...@gmail.com wrote: I can live with 2.7.8 being the default Python, but if I wanted to make 3.4.2 the default, how would I go about doing it? Check the output of ftype Python.File, it

Re: [Tutor] Installing both Python 2.7 and Python 3.4 on Windows 7 Pro 64-bit: Install Python 2.7 FIRST!

2014-10-10 Thread Zachary Ware
On Sat, Oct 11, 2014 at 12:30 AM, boB Stepp robertvst...@gmail.com wrote: On Sat, Oct 11, 2014 at 12:24 AM, boB Stepp robertvst...@gmail.com wrote: Cannot locate either of the mentioned py.ini files. I did a search for these on my PC and came up empty. I am going to try to create my own py.ini