LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 11-19-2007, 05:13 PM   #1
LinuxCrayon
Member
 
Registered: Nov 2007
Location: Georgia, USA
Distribution: FreeBSD
Posts: 274

Rep: Reputation: 31
Well-Written Python Tutorials


I've been searching for a while, and I can't really find a suitable Python tutorial. Below I'll list a few things about me and my goals.

About me:
  • new to Linux- using OpenSuSE 10.3 x86_64
  • new to programming- I've done a little bit in C#, but not too much.
  • computer science major- I'll be starting university in January, with a major in Computer Science.

Goals:
  • create a program to backup folders and files.
  • create a program to store bank numbers of friends and relatives for wire transfers
  • create an address book program (perhaps incorporating the bank program)
  • create a side-scrolling game

As you can see, I do have specific goals in mind and there are things I'd definitely like to do. With the exception of the side-scrolling game, I'd like to initially create all of those programs in a CLI environment, later adding a GUI for other users. Also, I understand that Python is an excellent cross-platform language, so it would be rather trivial to write a program on Linux and port it to Mac OS X, Windows, FreeBSD, etc...

Also, I have a number of ideas on how to implement the first three programs, so even though I don't know how to really program, I do have designs written on how they can be implemented.

Finally, I'm looking for tutorials that are easy. I'm not looking for the Kerrighan & Ritchie's The C Programming Language for Python. Something that moves at a moderate pace would be good.

Thanks for any help you can provide!
 
Old 11-19-2007, 06:29 PM   #2
PAix
Member
 
Registered: Jul 2007
Location: United Kingdom, W Mids
Distribution: SUSE 11.0 as of Nov 2008
Posts: 195

Rep: Reputation: 40
Dive into Python is the book you want. Buy it if you need it in a book, read it online if you wish, or download it and head across to hte library printer to print it 2-up duplex, or 4-up duplex if you have good eyes and feel guilty. Honestly it has to be THE Python book of choice. And it should still leave you the cost of a good book should you wish to repeat the exercise with another language. Don't forget to ask here again though, who knows you might get to keep the price a gain a second time.

I can recommend Bash, Bash and Sed as three scripting tools to become familiar with - probably in that order, picking up a smattering of regular expressions along the way. There is more than ample documentation and examples on line. Personally Awk and Bash are my favourites and I find a bit of difficulty with Sed because I haven't used it sufficiently. Good luck with your studies.
We hope to see you back here with the corners that you need assistance with. I'm sure you will have exhausted your own resources before you ask for assistance though. That will gain you friends that respect the effort.

Give the book a day's reading and come back and tell us if it's what you are looking for. I am sure there are lots of favourite tut's online, but I think the book will take you along the route you are looking for.

Regards,
PAix

Last edited by PAix; 11-19-2007 at 06:31 PM.
 
Old 11-19-2007, 06:50 PM   #3
LinuxCrayon
Member
 
Registered: Nov 2007
Location: Georgia, USA
Distribution: FreeBSD
Posts: 274

Original Poster
Rep: Reputation: 31
@PAix:
Thanks. I appreciate the pointer. I've been looking for a while. I'll give it a more in-depth look next week after vacation.
 
Old 11-19-2007, 08:00 PM   #4
PAix
Member
 
Registered: Jul 2007
Location: United Kingdom, W Mids
Distribution: SUSE 11.0 as of Nov 2008
Posts: 195

Rep: Reputation: 40
Chapter 2.3. Documenting Functions bottom of page 3 is a link to a complete and comprehensive tutorial. (advert over)
Have a super vacation.

PAix
 
  


Reply

Tags
programming, python


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
A text editor written in python? will103 Programming 5 10-05-2008 06:47 AM
Tutorials and Books on Python Israfel2000 Programming 7 06-23-2006 06:58 AM
LXer: Move to python 2.4 / Changing the packaging style for python packages LXer Syndicated Linux News 0 06-13-2006 07:54 PM
Is it possible to learn programming languages like python reading tutorials? cyto Programming 25 12-25-2004 08:40 PM
how to configure apache in Suse 9.1 t run cgi programmes written in python drako123 Linux - Software 0 08-21-2004 07:27 AM


All times are GMT -5. The time now is 11:50 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration