[Tutor] I am learning python3 and would like some more python3 modules/programs on my...

Prasad, Ramit ramit.prasad at jpmorgan.com
Tue Oct 9 23:23:07 CEST 2012

frank ernest wrote:
> version python3.2 linux
> I am learning python3 and would like some more python3 modules/programs on my computer to look at and work with
> to learn more about python3. I have read the tutorial and some of the complete language reference. I can't tell
> from the package index whats a python3 module/program and whats for 2.X. I seems from the voting guide that
> their are not many python3 programs; did I learn python at the wrong time? If possible I would like to get
> involved with a python3 program despite the fact I would not be at first a good programmer (It may help you to
> know that python3 is my first language though I did try to learn ruby but I did not like the language much [I
> like python though]) unfortunately their does not seem to be much choice of what to or not to help program. On
> my OS their are only a few bindings to libraries the standard python installation and the python3-tools package
> which contains some turtle programs and examples of programming in python. To give you an idea of what I should
> like to work in I eventually want to create with python something like a voice recognition program though not to
> recognize voice but rather music. Though I intend to create more then the afore mentioned program so any branch
> of application programming would do, I intend to create it first.

Python 2 and Python 3 are pretty similar syntactically, but it can be a bit challenging for a beginner.
This might help tell you how to map from 2 to 3 or vice-versa. http://docs.python.org/py3k/whatsnew/3.0.html 
As for choosing between Python 2 and 3, it really depends on what you want to do and if the libraries
are available for Python 3 or not. For example, PIL is a popular Python image manipulation library
and I believe is only Python 2 officially. Of course, if you do not need PIL then it does not matter
which you pick. Given no definite goal or task to create, I would suggest learning Python 3 as I 
think Python 2 will only get security fixes. I have no knowledge of music/voice analysis modules but 
maybe this will give you a start. http://wiki.python.org/moin/PythonInMusic 

You can even think about switching later if necessary. Although, it is probably easier to 
go from 2 to 3 due to the existence of automated conversion tools. I would imagine that 
even if your OS only includes a few bindings, it is probably not a  big deal to compile / install 
your own python packages (including library bindings). IT is possible that your package manager 
might not name all python bindings as python-*; sometimes they are named <program>-python. 

Nobody is a good programmer at first, it takes practice and experience. Good luck
and feel free to ask more questions when you run into a problem.

This email is confidential and subject to important disclaimers and
conditions including on offers for the purchase or sale of
securities, accuracy and completeness of information, viruses,
confidentiality, legal privilege, and legal entity disclaimers,
available at http://www.jpmorgan.com/pages/disclosures/email.  

More information about the Tutor mailing list