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 wrote: > On Sat, Oct 11, 2014 at 12:24 AM, boB Stepp 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 file and place it in C:\WINDOWS and s

[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
On Fri, Oct 10, 2014 at 11:34 PM, boB Stepp 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 should be: C:\>ftype Python.File Python.File="C:\Windows\py.exe" "%1" %*

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 wrote: > On Fri, Oct 10, 2014 at 11:54 PM, Zachary Ware > wrote: >> On Fri, Oct 10, 2014 at 11:34 PM, boB Stepp 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? >>

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 wrote: > On Fri, Oct 10, 2014 at 11:34 PM, boB Stepp 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 should be: > >

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 wrote: > On Fri, Oct 10, 2014 at 2:05 AM, Wolfgang Maier > 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 >> Python 3 program (command line call, double-click, Python

Re: [Tutor] Tutorials for experimental psycology

2014-10-10 Thread Danny Yoo
On Fri, Oct 10, 2014 at 3:41 PM, Alan Gauld 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 lot depends on

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 SciPy/Sci

Re: [Tutor] Tile Code Program

2014-10-10 Thread Danny Yoo
On Fri, Oct 10, 2014 at 8:46 AM, 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 review? It's unclea

Re: [Tutor] Tile Code Program

2014-10-10 Thread Dave Angel
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: print(

[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 lo

[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. • V

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 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 that with Python 3.3 or later o

Re: [Tutor] alternative Python 2.6 install?

2014-10-10 Thread Albert-Jan Roskam
- Original Message - > From: Albert-Jan Roskam > To: Albert-Jan Roskam ; Python Tutor Mailing List > > Cc: > Sent: Friday, October 10, 2014 1:08 PM > Subject: Re: [Tutor] alternative Python 2.6 install? > > > > - Original Message - > >> From: Albert-Jan Roskam >> To: P

Re: [Tutor] alternative Python 2.6 install?

2014-10-10 Thread Albert-Jan Roskam
- Original Message - > From: Albert-Jan Roskam > To: Python Tutor Mailing List > 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 check some code.*) What > is > the e

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 of

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 "", 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 12:04 PM, wrote: > Se

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 a

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