PDA

View Full Version : Looking for Python exercises



sky yaz
September 15th, 2011, 01:44 PM
hey what's up every one.
So, I'm new in programming (starting with python) and I'm looking for some "programming exercises" to get more familiarised with the commands & everything, any help?

P.S: It would be helpful if you could recommend me some python books

thank's ;) peace

Frogs Hair
September 15th, 2011, 01:53 PM
Hi and Welcome

I don' t know where your at with Python , so here goes.
http://wiki.python.org/moin/BeginnersGuide/Programmers

sky yaz
September 15th, 2011, 01:56 PM
Hi and Welcome

I don' t know where your at with Python , so here goes.
http://wiki.python.org/moin/BeginnersGuide/Programmers

well I'm in the beginning lol thank's I'll check it :)

drmrgd
September 15th, 2011, 02:27 PM
Welcome to the world of Python! I'm also in the process of teaching myself the language. Here are a few resources that I really like:

Learning Python the Hard Way...my personal favorite instruction site (http://learnpythonthehardway.org/book/)

Some decent exercises to do of varying difficulty (http://www.codechef.com/problems/easy)

A couple simple exercises that you could start with, and then keep expanding as you grow (for example, try adding a user login with PIN to the ATM exercise that will remember the user's account balance. (http://www.cs.washington.edu/homes/stepp/bridge/2007/exercises.html)

Haven't had a chance to work these out yet, but they look somewhat promising (http://codingbat.com/python)

Enjoy!

sky yaz
September 15th, 2011, 02:53 PM
Welcome to the world of Python! I'm also in the process of teaching myself the language. Here are a few resources that I really like:

Learning Python the Hard Way...my personal favorite instruction site (http://learnpythonthehardway.org/book/)

Some decent exercises to do of varying difficulty (http://www.codechef.com/problems/easy)

A couple simple exercises that you could start with, and then keep expanding as you grow (for example, try adding a user login with PIN to the ATM exercise that will remember the user's account balance. (http://www.cs.washington.edu/homes/stepp/bridge/2007/exercises.html)

Haven't had a chance to work these out yet, but they look somewhat promising (http://codingbat.com/python)

Enjoy!

thank's this is actually what i've been looking for :), i like this forum already lol

nickleboyblue
September 15th, 2011, 03:11 PM
As far as books go, check out "Programming in Python 3." Python 3 isn't much supported by outside libraries yet, but it's syntax is cleaner, more expressive, and easier to learn than python 2.x versions. Also, once it does get support from outside libraries, python 3.x will be the version of choice. Also, if you are new to programming in general, by the time you learn it, it will probably have that outside support we've all been waiting for. If you have experience programming, it's a great book for that too and you'll learn the important stuff fast and easy.

sky yaz
September 15th, 2011, 04:21 PM
As far as books go, check out "Programming in Python 3." Python 3 isn't much supported by outside libraries yet, but it's syntax is cleaner, more expressive, and easier to learn than python 2.x versions. Also, once it does get support from outside libraries, python 3.x will be the version of choice. Also, if you are new to programming in general, by the time you learn it, it will probably have that outside support we've all been waiting for. If you have experience programming, it's a great book for that too and you'll learn the important stuff fast and easy.
I'm actually starting with python 2.5 because i'm following this "mit online courses"http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00-introduction-to-computer-science-and-programming-fall-2008/ (introduction to computer science & programming) & they're using this version so i gotta continue with Python 2.4(i'm focussing on programming more than the language it won't but so hard to switch to the 3.x) so i'm going to get the book and use later ;) thank's alot

drmrgd
September 15th, 2011, 06:03 PM
thank's this is actually what i've been looking for :), i like this forum already lol

You're quite welcome! Also, thanks for posting that link to the MIT material. Looks like there's lots of fun stuff on there to play with!

zhogan85
September 15th, 2011, 06:11 PM
I'm actually starting with python 2.5 because i'm following this "mit online courses"http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-00-introduction-to-computer-science-and-programming-fall-2008/ (introduction to computer science & programming) & they're using this version so i gotta continue with Python 2.4(i'm focussing on programming more than the language it won't but so hard to switch to the 3.x) so i'm going to get the book and use later ;) thank's alot


How have you found that MIT course? I stumbled upon it the other day and was intrigued, but haven't started it yet, and was wondering if it was worthwhile. I too am in the process of learning Python, as a way to learn programming more generally. I also found this recently too, http://code.google.com/edu/languages/index.html. I haven't looked into it yet, but it could be an alternate resource for you.

dniMretsaM
September 15th, 2011, 06:26 PM
As far as books go, check out "Programming in Python 3." Python 3 isn't much supported by outside libraries yet, but it's syntax is cleaner, more expressive, and easier to learn than python 2.x versions. Also, once it does get support from outside libraries, python 3.x will be the version of choice. Also, if you are new to programming in general, by the time you learn it, it will probably have that outside support we've all been waiting for. If you have experience programming, it's a great book for that too and you'll learn the important stuff fast and easy.

Won't Python 3 be the default version in 11.10? If so, I assume the library support will be good by the time it's released. Anyway, I'm teaching myself Python (3) as well, so I think I'll bookmark this thread because there are some good links here. The book I'm using is Python Programming For The Absolute Beginner (search for it on Amazon). The instructions are very clear and the explanations are good. There are currently 3 editions. One for each version of python.

sky yaz
September 15th, 2011, 07:15 PM
How have you found that MIT course? I stumbled upon it the other day and was intrigued, but haven't started it yet, and was wondering if it was worthwhile. I too am in the process of learning Python, as a way to learn programming more generally. I also found this recently too, http://code.google.com/edu/languages/index.html. I haven't looked into it yet, but it could be an alternate resource for you.
the mit course is very helpful if you're new in programming.
General ideas are explained in the videos & for more reading there's some proposed links if you want to deepen

The Cog
September 15th, 2011, 08:15 PM
Moved to Programming Talk.

Read the stickies at the top - you'll find them very useful. Also, look for the beginner programming challenges that get posted here occasionally.

cgroza
September 16th, 2011, 03:21 PM
Have you tried Project Euler? It has a bunch of problems for you to solve.

sky yaz
September 20th, 2011, 03:44 PM
thak's for sharing every one :)