School Assignment? Project Due Tomorrow? Chat LIVE With A Programming Expert!

Welcome to Dream.In.Code
Become an Expert!

Join 307,138 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,813 people online right now. Registration is fast and FREE... Join Now!




I know NO python

 

I know NO python, where do i start?

Theaegd

19 Sep, 2009 - 05:07 PM
Post #1

D.I.C Regular
***

Joined: 15 Aug, 2009
Posts: 309



Thanked: 4 times
My Contributions
I was curious on were i could some PDF python tutorials for a biginer, i know NO python, where do i start, which compiler, ect.

User is offlineProfile CardPM
+Quote Post


Oler1s

RE: I Know NO Python

19 Sep, 2009 - 05:44 PM
Post #2

D.I.C Addict
****

Joined: 4 Jun, 2009
Posts: 734



Thanked: 69 times
My Contributions
Go to the Python website. Click around and explore. You can't not find some starting point unless you neither spend a bit of time nor do any reading on the website.
User is online!Profile CardPM
+Quote Post

shadhin

RE: I Know NO Python

20 Sep, 2009 - 05:10 AM
Post #3

D.I.C Regular
Group Icon

Joined: 16 Sep, 2008
Posts: 434



Thanked: 19 times
Dream Kudos: 3650
My Contributions
First go to Python Website and download the right version of python according to your OS from here. This page contains a number of documents which will help you to get started with python.

If you ask me for a good one, then i will recommend you A Byte of Python, which you can download in PDF version. Best luck...

This post has been edited by shadhin: 20 Sep, 2009 - 05:10 AM
User is offlineProfile CardPM
+Quote Post

nathanpc

RE: I Know NO Python

20 Sep, 2009 - 09:55 AM
Post #4

D.I.C Regular
Group Icon

Joined: 31 Jul, 2009
Posts: 269



Thanked: 5 times
Dream Kudos: 50
My Contributions
Remember that Python is a interpreted language, it don't have a compiler, but a interpreter smile.gif

Do a search at the Python Docs and at this very nice Python Tutorial at the Python Docs. wink.gif

Hope this helps! smile.gif
User is offlineProfile CardPM
+Quote Post

AntonWebsters

RE: I Know NO Python

20 Sep, 2009 - 10:28 AM
Post #5

D.I.C Regular
Group Icon

Joined: 15 Aug, 2009
Posts: 422



Thanked: 79 times
Dream Kudos: 75
My Contributions
I'd recommend you O'Reilly's Learning Python 3rd Edition.
Python is FUN! =)

This post has been edited by AntonWebsters: 20 Sep, 2009 - 10:28 AM
User is offlineProfile CardPM
+Quote Post

Nallo

RE: I Know NO Python

20 Sep, 2009 - 03:39 PM
Post #6

New D.I.C Head
*

Joined: 19 Jul, 2009
Posts: 24



Thanked: 3 times
My Contributions
If you are looking for pdf tutorials on python you might want to take a look at:

A Byte of Python or Dive into Python

A thing to note about tutorials and books on Python:
Most of them are still dealing with Python 2.x. There are some changes in Python 3.x, that are not backwards compatible. So if you are learning with one of those books or pdf, you want to use Python 2.6. While the changes in syntax are not that big, for a Python beginner in it can be quite frustrating if the code examples dont work. An example:
CODE
#the floowing statement prints "Hello World" in Python 2.x
print "Hello, World"

#but in Python 3.x print is a function, not a keyword,
#the Python 2.x code wont work. In Py 3.x it is:
print ("Hello, World")


This post has been edited by Nallo: 20 Sep, 2009 - 03:41 PM
User is offlineProfile CardPM
+Quote Post

fonephixer

RE: I Know NO Python

20 Sep, 2009 - 04:21 PM
Post #7

New D.I.C Head
*

Joined: 21 Feb, 2009
Posts: 21


My Contributions
Here are a few pages that I like..

http://www.linuxjournal.com/article/3882

http://norvig.com/21-days.html

http://catb.org/~esr/faqs/hacker-howto.html


User is offlineProfile CardPM
+Quote Post

code_m

RE: I Know NO Python

20 Sep, 2009 - 04:50 PM
Post #8

D.I.C Head
**

Joined: 21 Apr, 2009
Posts: 124



Thanked: 8 times
My Contributions
Also, python has great builtin documentation! once you have python, just run pydoc -p <PORT> to browse your entire library biggrin.gif
User is offlineProfile CardPM
+Quote Post

calebj

RE: I Know NO Python

21 Sep, 2009 - 09:55 PM
Post #9

D.I.C Regular
Group Icon

Joined: 28 Feb, 2009
Posts: 335



Thanked: 19 times
Dream Kudos: 200
My Contributions
I believe that google books has a few full python sources.
User is offlineProfile CardPM
+Quote Post

CheckersW

RE: I Know NO Python

24 Sep, 2009 - 03:41 PM
Post #10

D.I.C Head
Group Icon

Joined: 4 Apr, 2009
Posts: 129



Thanked: 3 times
Dream Kudos: 50
My Contributions
When I started Python I tried the whole "Google Search" thing, but I stumbled across this great YouTube tutorial series:

Search "thenewboston python tutorials" and work your way through them. They are designed for ABSOLUTE beginners.
User is offlineProfile CardPM
+Quote Post

Project 2501

RE: I Know NO Python

24 Sep, 2009 - 09:48 PM
Post #11

import awesome as Project_2501
Group Icon

Joined: 14 Dec, 2008
Posts: 1,341



Thanked: 1 times
Dream Kudos: 25
My Contributions
Open Python's IDLE. Strike F1. Read. That's what I did anyway smile.gif
User is online!Profile CardPM
+Quote Post

programble

RE: I Know NO Python

14 Oct, 2009 - 02:55 PM
Post #12

D.I.C Regular
Group Icon

Joined: 21 Feb, 2009
Posts: 423



Thanked: 10 times
Dream Kudos: 50
My Contributions
IMHO the Official Python Tutorial is the best way to learn.

Be sure to get books/docs for Python 2.6, NOT Python 3!
User is offlineProfile CardPM
+Quote Post

code_m

RE: I Know NO Python

16 Oct, 2009 - 01:19 PM
Post #13

D.I.C Head
**

Joined: 21 Apr, 2009
Posts: 124



Thanked: 8 times
My Contributions
QUOTE
Python 2.6, NOT Python 3!


I disagree... unless you want to work on existing projects. Obviously Python 3 is the better langange, just there is a smaller library, but it's expansive enough for any beginning programmer. (and if you learn Python 3 first you'll understand the syntaxal differences faster)
User is offlineProfile CardPM
+Quote Post

Oler1s

RE: I Know NO Python

16 Oct, 2009 - 04:32 PM
Post #14

D.I.C Addict
****

Joined: 4 Jun, 2009
Posts: 734



Thanked: 69 times
My Contributions
QUOTE
I disagree... unless you want to work on existing projects.
Here's the thing. Most people who use Python want to take advantage of the vast number of third party libraries available in a Python API. With that, the majority are 2.6 only. You do acknowledge the smaller library pool, but that's not a small thing!

And while Python 3 does improve on Python 2.x, the language isn't that significantly different. Furthermore, many improvements in 3.x have been backported to 2.6.x series. Beginners need stability and access to the widest set of learning resources possible, with minimal potentials for pitfalls. Currently, and for a long while, this will be the 2.x series.

I presume this is why the Python website itself recommends 2.6.x as a default.

User is online!Profile CardPM
+Quote Post

programble

RE: I Know NO Python

17 Oct, 2009 - 04:22 PM
Post #15

D.I.C Regular
Group Icon

Joined: 21 Feb, 2009
Posts: 423



Thanked: 10 times
Dream Kudos: 50
My Contributions
Chances are that any tutorials that the OP reads will be for Python 2.x anyway. And for third-party libraries, it is best to use 2.6. BTW, the entire purpose of 2.6 was to backport features from 3.

This post has been edited by programble: 17 Oct, 2009 - 04:22 PM
User is offlineProfile CardPM
+Quote Post

alentius

RE: I Know NO Python

19 Oct, 2009 - 10:06 PM
Post #16

New D.I.C Head
*

Joined: 4 Oct, 2009
Posts: 13



Thanked: 2 times
My Contributions
QUOTE(AntonWebsters @ 20 Sep, 2009 - 10:28 AM) *

I'd recommend you O'Reilly's Learning Python 3rd Edition.
Python is FUN! =)


This is a GREAT book, especially if you're coming of C or one of its derivatives. It compares a lot of how Python works with C-style coding, and helped me speed along through, without having to relearn concepts.

And as concerns from people above, yes, it is for Python 2.5, but it really makes an effort to point out upcoming changes for Python 3 that were being talked about when it was published, such as mentioning things that might change, be added, or be removed, so it's not like you'll be stuck in a 2.x mindset after going through it. Besides, once you're finished with it (and possible the second in the "series", Programming Python), you can just look at the official changes to catch yourself up, like everyone else who learned Python 2.x. Just download the still-available Python 2.6 and everything will still work perfectly fine.
User is offlineProfile CardPM
+Quote Post

HealyHQ

RE: I Know NO Python

20 Oct, 2009 - 06:33 PM
Post #17

New D.I.C Head
*

Joined: 27 Jul, 2009
Posts: 3


My Contributions
QUOTE(AntonWebsters @ 20 Sep, 2009 - 10:28 AM) *

I'd recommend you O'Reilly's Learning Python 3rd Edition.
Python is FUN! =)


That book you linked to requires a password to extract.
You wouldn't happen to have that password, would ya? wink2.gif
User is offlineProfile CardPM
+Quote Post

stefan.legg

RE: I Know NO Python

18 Nov, 2009 - 08:46 AM
Post #18

New D.I.C Head
*

Joined: 17 Feb, 2009
Posts: 18

Found the pass: "Mumbhai.org"
User is offlineProfile CardPM
+Quote Post

HealyHQ

RE: I Know NO Python

18 Nov, 2009 - 08:12 PM
Post #19

New D.I.C Head
*

Joined: 27 Jul, 2009
Posts: 3


My Contributions
QUOTE(stefan.legg @ 18 Nov, 2009 - 08:46 AM) *

Found the pass: "Mumbhai.org"


Sweet! That worked like a charm! Thanks, Stefan! biggrin.gif
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic

Time is now: 11/21/09 03:13PM

Live Help!

Be Social

Dream.In.Code RSS Feed Dream.In.Code LinkedIn Group Follow Us On Twitter Fan Us On Facebook

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month