This is the P2PU Archive. If you want the current site, go to www.p2pu.org!

Python Programming 101

My recent threads

You haven't posted any discussions yet.

Recently updated threads

Installing Python (Q&A)

Go back to: General discussion

If you are having difficulty installing Python on your computer, we can help. Feel free to post your questions here. There are no dumb questions, we want everybody here to have a successful and positive experience :)

Avinesh Kumar's picture
Avinesh Kumar
Wed, 2011-04-20 10:50

Hi Brylie,

I have Python version 2.6.2 by default. Is this version fine for this course?

Brylie Oxley's picture
Brylie Oxley
Wed, 2011-04-20 21:43

Avinesh,
Yes. 2.6.x is fine. What Operating System are you running?
--Brylie

Avinesh Kumar's picture
Avinesh Kumar
Wed, 2011-04-20 22:44

Its Fedora 12

Jimmy Moore's picture
Jimmy Moore
Wed, 2011-04-20 15:58

I installed Python 3 on my MacBook. Is this version fine for this course?

Brylie Oxley's picture
Brylie Oxley
Wed, 2011-04-20 21:47

Jimmy,
Python 3 is great! We will try and point out when Python 3 syntax varies from Python 2.x (Python 2.7 does this automatically).

However, if you decide to use some common tools, such as Django or NumPy, you may need to install Python 2.6.x or 2.7 alongside Python 3.
--Brylie
P.S. have you checked out the Fink or MacPorts package managers?
http://www.finkproject.org/
http://www.macports.org/

Jimmy Moore's picture
Jimmy Moore
Thu, 2011-04-21 19:09

Two weeks ago, I purchased "Head First Python" by O'Reilly which uses Python 3. I installed 3 and got through the first chapter before signing up for this course. I know Python 2.x (it's either 6 or 7) is preloaded on Macs, but I suppose it's a question of which IDLE to use for 2.x? I seemed to me the IDLE that comes with Python 3 is just for Python 3. I have TextWrangler already loaded and use that for PHP and MySQL. Thanks!

P.S.- I considered learning Django but the web host I use does not support it. I had not seen those package managers...they look a little over my head at the moment. :-)

Savvas Ananiadis's picture
Savvas Ananiadis
Wed, 2011-04-20 16:51

installed python 2.7.1 for the course

Stephen W. Wanjau's picture
Stephen W. Wanjau
Wed, 2011-04-20 17:16

has installed python 3.2 for the course.is it appropriate?

Brylie Oxley's picture
Brylie Oxley
Wed, 2011-04-20 21:48

Stephen,
Python 3 is fine :-) Make sure to use a Python 3 specific book for your studies.
--Brylie

vikash agrawal's picture
vikash agrawal
Wed, 2011-04-20 17:24

How will the learning process take place! this is my first course please help!
Regards
Vikash

Brylie Oxley's picture
Brylie Oxley
Wed, 2011-04-20 21:52

Vikash,
The learning process will take place at your own pace. There is a general roadmap/timeline in the class syllabus but it is important that you only proceed as fast as you are comfortable :-)

Each section will have exercises and discussions in order to get peer feedback.

Are you comfortable with learning by reading an electronic book? There are also learning videos. Of most importance is actually doing programming exercises. Practice practice practice.
--Brylie

coffeePaste's picture
coffeePaste
Wed, 2011-04-20 17:39

yes, more info on whole process pls. tnx.

Brylie Oxley's picture
Brylie Oxley
Wed, 2011-04-20 21:54

CoffeePaste,
Please see above :-)

Are there other specific questions that you have about the learning process? I will be glad to clarify and modify the course materials to meet your needs.
--Brylie

coffeePaste's picture
coffeePaste
Wed, 2011-04-20 22:03

nice :)

Jim Roma's picture
Jim Roma
Wed, 2011-04-20 18:34

The Python for Informatics book is based on python 2. If you've installed 3 you should go back and install python 2.7.1.

1 person liked this
Brylie Oxley's picture
Brylie Oxley
Wed, 2011-04-20 21:55

Jim,
Thanks for pointing that out. I think that we can accommodate Python 3 learners here. Do you think that it will be too confusing to have parallel learning paths?
--Brylie

Jim Roma's picture
Jim Roma
Thu, 2011-04-21 16:22

I think it will be. As some one (and probably a lot of the students in this course) who is just learning the fundamentals of programming it seems a little overwhelming to also learn the subtle differences between two revisions of a language.

Will Lehotz's picture
Will Lehotz
Wed, 2011-04-20 21:24

What Editor or IDE is everyone using for this project???
I am going to program on linux first, then maybe Windows 7.
I have found the Open Komodo Editor and installed it .....
http://www.openkomodo.com/

Now what ...

Will in KCMO USA

Brylie Oxley's picture
Brylie Oxley
Wed, 2011-04-20 21:58

Will,
I really like IDLE. It has some really nice features and is more than enough for this introductory course.
http://wiki.python.org/moin/IDLE
--Brylie

Will Lehotz's picture
Will Lehotz
Thu, 2011-04-21 02:06

I am sorry, but call me slow .... where can I download this idle
-- http://wiki.python.org/moin/IDLE I don't see a d/l link

TIA Will

Will Lehotz's picture
Will Lehotz
Thu, 2011-04-21 02:09

Silly me ... I found it. Thanks

Andrew Wegwert's picture
Andrew Wegwert
Wed, 2011-04-20 23:36

I'm on windows. I've been having a good experience so far with IDLE. Also playing a little with notepad++.

Andre Dublin's picture
Andre Dublin
Wed, 2011-04-20 21:26

I'm using MacVim and Coda

Christian Walch's picture
Christian Walch
Wed, 2011-04-20 23:48

I didn't find a download for the python IDE on that page you suggested does that come with python install? I also did a Google search and found Wingware should I use that one?

Thanks in advance,

Christian Walch's picture
Christian Walch
Thu, 2011-04-21 00:04

Never mind I found my own answer.

Ms.Receptionitis's picture
Ms.Receptionitis
Thu, 2011-04-21 00:06

Installed 2.7.1
Very excited! :)

Pein Junior's picture
Pein Junior
Thu, 2011-04-21 18:05

Python 2.7
IDLE(GUI) & command line for windows

Python 2.7(stable)
Python 3.1(stable)
So any one of the above version is good.

I'M READY!!!

javier sagredo's picture
javier sagredo
Fri, 2011-04-22 00:58

Python 2.7
OpenSUSE 11.4
I'm ready!