Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Beginner looking for beautiful and instructional Python code [closed]

Tags:

python

As a complete beginner with no programming experience, I am trying to find beautiful Python code to study and play with. Please answer by pointing to a website, a book or some software project.

I have the following criterias:

  • complete code listings (working, hackable code)
  • beautiful code (highly readable, simple but effective)
  • instructional for the beginner (yes, hand-holding is needed)

I've tried learning how to program for too long now, never gotten to the point where the rubber hits the road. My main agenda is best spelled out by Nat Friedman's "How to become a hacker".

I'm aware of O'Reilly's "Beautiful Code", but think of it as too advanced and confusing for a beginner.

like image 280
Aputsiak Avatar asked Sep 24 '08 02:09

Aputsiak


People also ask

Can a beginner learn Python?

Python is widely considered among the easiest programming languages for beginners to learn. If you're interested in learning a programming language, Python is a good place to start.

Can I learn Python in 3 days?

It is as easy to learn Python that you can do it in 3 days. Though you will not become an expert in it you will be comfortable in it. After learning the basics you only have to learn to use the libraries according to your work. There are different libraries for different tasks.


2 Answers

Buy Programming Collective Intelligence. Great book of interesting AI algorithms based on mining data and all of the examples are in very easy to read Python.

The other great book is Text Processing in Python

like image 103
Lou Franco Avatar answered Sep 22 '22 00:09

Lou Franco


Read the Python libraries themselves. They're working, hackable, elegant, and instructional. Some is simple, some is complex.

Best of all, you got it when you downloaded Python itself. It's in your Python library directory. Nothing more to do except start poking around.

like image 26
S.Lott Avatar answered Sep 26 '22 00:09

S.Lott