Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python for beginners
#1
Since I'm a bit into Python, i think I'll start this sub-forum.

First of all, why learning Python?
Well, because it's a easy programming language which can be used to create all range of programs, from simple ones to high-end programs with GUI.
And it's one of the best (if not the best) language to start with.

What we need:
Download Python from Python.org (There are two versions 2.6 and 3.1, I recommend 2.6, simply because there is more documentation available)
Also note, that Python is pre-installed on most Linux systems.

Install it and fire up "IDLE (Python GUI)"
That's a Python shell, a place where you can preform basic operations, like declaring variables, functions...

Than, you should start learning by a guide.
I recommend the How to Think Like a Computer Scientist - Learning Python 2nd edition
It's a nice guide with exercises at the end of each chapter.

When the shell is not enough for you click "File" and "New window".
That would open a notepad-alike window, where you can create programs.

How to save and run a program?
When you have done programming in notepad-alike window, File -> Save as.
Be sure to add a .py at the end of filename. That will save your program in Python folder.

To run a program, fire up shell and type:
Code:
execfile("filename.py")

When you ran into a problem, google it (works in most cases), or post it here. I'll try to help, if I'm able to.
Reply
#2
thanks!
I've been thinking about learning python for a while now, just because i know iPhone's can run it.

This may be the motivation I need!
Reply
#3
Glad it helps someone.
Also thanks for +rep.
Reply
#4
I've taught of learning Python for over a year. I'm actually gonna give it a go now.
[Image: zKqkz.png]
Reply
#5
Thanks for the great tut L0iz Big Grin
[Image: wa3bbk.jpg]
Help us help you...
Reply
#6
Thanks a lot, good job.
Reply
#7
http://www.openbookproject.net/thinkCSpy/ is perfect site for learning!!......man u r helping a lot!!!

tY mAn
and
PeRfEcT JoB
Big GrinBig GrinBig Grin
Reply
#8
thanx

fro sharing it
[Image: 2d75599e9a.png]:superman:
Reply
#9
Thanks allot bookmarked it for later use, first gotta finish my first book though.
Reply
#10
thx very much dude =)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Python Help Dεlluzion 3 1,737 09-30-2019, 12:59 AM
Last Post: samsmith001
  Python tutorial websites for beginners BigdaddyV 6 1,794 04-08-2012, 11:15 AM
Last Post: Mysterious
  Simple Python Python Compiler Canoris 21 8,333 06-01-2011, 06:30 PM
Last Post: Filefinder
  Python 2 vs 3? Jake 8 2,212 12-11-2010, 04:13 PM
Last Post: Bursihido
  Projects for Beginners 6-10 uber1337 3 1,673 02-18-2010, 09:13 PM
Last Post: nevets04

Forum Jump:


Users browsing this thread: 1 Guest(s)