944,134 Members | Top Members by Rank

Ad:
  • Python Discussion Thread
  • Marked Solved
  • Views: 3050
  • Python RSS
Aug 19th, 2005
0

Steps in learning Python

Expand Post »
Hi, I wonder if you can give me any advice how to learn Python.
My plan is to read python tutorial in documentation from begining to the end, and then to get some book (learning Python, or Python in a nutshell).

How long it will take (in average) to get comfortable with the language?
I have a solid knowleadge of C and C++ and I see in Python documentation many reference to C, maybe Python is written in C?

I'm really very new to this language and to interpreted language as well, so I don't really know what all thah means, but hope you'll help to learn.
Can you give me some example applications that can be done in Python easily and maybe to compare with code and time needed to write them in C++

Thank you very much for your help, I must say that I found this forum very useful.

- Micko
Similar Threads
Reputation Points: 55
Solved Threads: 6
Junior Poster
Micko is offline Offline
148 posts
since Aug 2005
Aug 19th, 2005
0

Re: Steps in learning Python

A good tutorial for beginners is at:
http://www.byteofpython.info/

Also read through the Starting Python "sticky" and the Python code snippets here on DaniWeb. Above everything, run the code and experiment with it! Change it a little at first and then get braver!

I have bought a number of Python books, but don't think much of them. They are often outdated, poorly organized and indexed, also have quite a few mistakes in the code. Get books used, if possible!

Python is much easier to learn and understand than C or C++. Much of Python (eg. Python24.dll) is written in C and/or C++, but you don't have to be concerned with that.

Research has been published that claims that Python is about 10 times faster for developing a program than C++ or Java. They are talking about rather large and complex client requested programs. Both Google and Yahoo rely heavily on Python.

A typical example of Python code is ...
python Syntax (Toggle Plain Text)
  1. # print out a given year's monthly calendar
  2.  
  3. import calendar
  4.  
  5. # if you want September 2005 use ...
  6. calendar.prmonth(2005, 9)
... try to do this with C++
Last edited by vegaseat; Aug 12th, 2009 at 1:34 pm.
Moderator
Reputation Points: 1333
Solved Threads: 1404
DaniWeb's Hypocrite
vegaseat is offline Offline
5,792 posts
since Oct 2004
Aug 19th, 2005
0

Re: Steps in learning Python

Quote originally posted by vegaseat ...
A good tutorial for beginners is at:
http://www.byteofpython.info/

Also read through the Starting Python "sticky" and the Python code snippets here on DaniWeb. Above everything, run the code and experiment with it! Change it a little at first and then get braver!

I have bought a number of Python books, but don't think much of them. They are often outdated, poorly organized and indexed, also have quite a few mistakes in the code. Get books used, if possible!

Python is much easier to learn and understand than C or C++. Much of Python (eg. Python24.dll) is written in C and/or C++, but you don't have to be concerned with that.

Research has been published that claims that Python is about 10 times faster for developing a program than C++ or Java. They are talking about rather large and complex client requested programs. Both Google and Yahoo rely heavily on Python.
Thanks, now I'm even more willing to continue.
I've installed PyWin and I'll be using it. I will have more questions soon, I'm sorry if my questions sounds dumb, but I'll try whatever I think it can help me
Reputation Points: 55
Solved Threads: 6
Junior Poster
Micko is offline Offline
148 posts
since Aug 2005
Aug 20th, 2005
0

Re: Steps in learning Python

I am still mostly using C. I know this probably a little bit old fashioned. I am following Python conversation closely too, looks like a interesting language to me. Does not have many many { and } and ;
Reputation Points: 404
Solved Threads: 180
Nearly a Posting Virtuoso
bumsfeld is offline Offline
1,422 posts
since Jul 2005

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Python Forum Timeline: Tkinter Countdown
Next Thread in Python Forum Timeline: A Pythonian Look at the Family Tree Conundrum





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC