Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Aug 21st, 2005, 8:43 AM   #1
Markpy
Newbie
 
Markpy's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 13
Rep Power: 0 Markpy is on a distinguished road
Smile Hello World!

#!/usr/bin/env python

print "Hello World!"

Hi all, I found this site on Google and decided to join. I don't have much programming experience. I have played around with HTML and JavaScript on a few websites. I have also looked around into other languages but couldn't find anything that I was comfortable using. Then I found Python and was instantly drawn in and would like to become proficient in the language. I have read the tutorials on the Python site as well as others and feel that I know the syntax pretty well, but I'm finding difficult to actually progress and do anything useful. I have glance read the Python library reference and just want to keel over, how can I remember the name of each module and its classes and functions and when/how they should be used? I guess that comes with time and I should concentrate on getting to know one module at a time.

Anyway I'll stop rambling and see what I can do

raise SystemExit
Markpy is offline   Reply With Quote
Old Aug 21st, 2005, 9:06 AM   #2
Arevos
Programming Guru
 
Arevos's Avatar
 
Join Date: Aug 2005
Location: England
Posts: 1,499
Rep Power: 5 Arevos is on a distinguished road
Quote:
Originally Posted by Markpy
Hi all, I found this site on Google and decided to join
Hello there. Incidentally, that's the same way I found these forums, yesterday morning.

Quote:
Originally Posted by Markpy
I have glance read the Python library reference and just want to keel over, how can I remember the name of each module and its classes and functions and when/how they should be used?
You don't

At least, that's my approach to the problem. I've been programming in Python for about four years now, and I don't know all the libraries off by heart. That's what the library reference is there for, after all.

Don't get me wrong; it pays to know what's in the library, but only in a general sense. For instance, I know that there's a regular expression library called "re", and I've used it many times, but I couldn't tell you offhand how to match a regular expression in a string.

Other programmers may have different views and methods, but that's the way I've always approached the problem. Learn what libraries do, but don't bother trying to remember the specifics. If you need to use a library on a daily basis, you'll find yourself remembering what it does, but for libraries that aren't going to be used that often, don't bother with them until you need them.
Arevos is offline   Reply With Quote
Old Aug 21st, 2005, 9:20 AM   #3
Markpy
Newbie
 
Markpy's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 13
Rep Power: 0 Markpy is on a distinguished road
Thanks for the tip. I think that looking at examples will help too, I will spend some time at the ASPN Python Cookbook and Useless Python where I can dissect some scripts and see what is going on.
Markpy is offline   Reply With Quote
Old Aug 21st, 2005, 9:23 AM   #4
OpenLoop
Expert Programmer
 
OpenLoop's Avatar
 
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4 OpenLoop is on a distinguished road
Welcome to the Forums.
We have a nice base of Python programmer here (I'm not one of them) which you can get some ideas from.
OpenLoop is offline   Reply With Quote
Old Aug 22nd, 2005, 9:00 AM   #5
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
welcome
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Aug 22nd, 2005, 9:03 AM   #6
coldDeath
Expert Programmer
 
coldDeath's Avatar
 
Join Date: Aug 2005
Location: UK
Posts: 862
Rep Power: 4 coldDeath is on a distinguished road
Send a message via AIM to coldDeath Send a message via Yahoo to coldDeath
I don't like Useless Python, try out the official Python guide, or something else. Useless Python seemed .. well useless.

and welcome
__________________
Join us at #programmingforums @ irc.freenode.net!

My software never has bugs. It just develops random features.
coldDeath is offline   Reply With Quote
Old Aug 22nd, 2005, 11:46 AM   #7
big_k105
PFO Founder

 
big_k105's Avatar
 
Join Date: Mar 2004
Location: Fargo, ND
Posts: 1,630
Rep Power: 10 big_k105 is on a distinguished road
Send a message via AIM to big_k105 Send a message via MSN to big_k105 Send a message via Yahoo to big_k105
Welcome
__________________
BIG K aka Kyle
Programming Forums
Kyle K Online

Please do not PM or email me programming questions. Post them in the forums instead.
big_k105 is offline   Reply With Quote
Old Aug 22nd, 2005, 11:48 AM   #8
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
Welcome to the forums
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old Sep 1st, 2005, 12:04 PM   #9
The Chosen One
Newbie
 
The Chosen One's Avatar
 
Join Date: Sep 2005
Location: Deep Within
Posts: 25
Rep Power: 0 The Chosen One is on a distinguished road
Quote:
Originally Posted by Markpy
I have glance read the Python library reference and just want to keel over, how can I remember the name of each module and its classes and functions and when/how they should be used? I guess that comes with time and I should concentrate on getting to know one module at a time.
I've been programming for nearly 20 years, and the Python Library Reference confuses me. Luckily, the internet has a lot of 3rd party references for Python.

Python is a great choice for a first language.

I started in BASIC, if I had started in Pascal or Python(it didn't exist yet), the jump to C would have been easy.
__________________
"A dark angel of sin, preying deep from within..." - Rob Halford
The Chosen One is offline   Reply With Quote
Old Sep 1st, 2005, 3:40 PM   #10
thechristelegacy
Expert Programmer
 
thechristelegacy's Avatar
 
Join Date: Jul 2004
Location: Somerset, Pa
Posts: 707
Rep Power: 5 thechristelegacy is on a distinguished road
Send a message via AIM to thechristelegacy Send a message via MSN to thechristelegacy
Welcome aboard
thechristelegacy is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 4:29 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC