Skip to main content

python for beginners


I've written a considerable amount of dynamic code, but until a couple of weeks ago, I was new to Python.

The APress book Dive into Python, by Mark Pilgrim, is a very good resource and will come in useful later. For now it brightens up my bookshelf with nice Halloween colors.

However, it assumes a background in Perl, which I lack. So I went on the hunt for a book that begins with the basics of Python and that speaks to my learning style. When I'm learning a programming language, I like to see things in the following order:

  1. Here's a task.

  2. Here's how this language addresses that task.

  3. And now here is the code, line for line.


O'Reilly's Programming ColdFusion MX is a fine example of this kind of instruction. So is Pilgrim's; it's just paced differently from what I need at the moment.

In my search, I found this interesting online book by Alan Gauld. It is meant as an introduction to programming for nonprogrammers, however, a programmer can read it without suffering insult. The book does not cover just one scripting language, but three: Python, JavaScript, and VBScript. Starting with the basics, it introduces a task and demonstrates how each of the three languages accomplishes this task.

I was interested only in the Python parts of the book, and it was easy to skip through the pages to just those. Within a few hours, I was working with complex data types in Python.

The book is also available for download as a tar/gzip for Linux users, a Palm doc, and a hefty 299-page pdf. I ended up printing the latter.

I just wish the author would change the name on the title page of these materials to reflect the actual name of the book rather than calling it "tutor," which is strange.

Popular posts from this blog

Announcing the 45th Eastern Primitive Rendezvous

The 45th Eastern Primitive Rendezvous takes place September 23-October 1, 2022.   For more information, visit the official EPR website and Facebook group . We will be hosting the 45th Eastern Primitive Rendezvous on our family farm, near East Smithfield, PA. The dates are September 23 - October 1, 2022.  This is a living-history event depicting 18th-century activities. Visitors can tour the camp each day from 10 a.m. to 4 p.m.  Tuesday, September 27 is School Tours Day, during which we welcome classes from all of the area schools. Campers need to preregister ( nrlhf.org/pdf/pre-reg.pdf ), and period-correct clothing and gear are required.  For the exact location and more details, visit the  official EPR website  and Facebook group . For those of you who attended the 2017 EPR, this is the same location.

facebook, time to grow up

Originally published on August 28, 2006 I appreciate how Facebook has enabled me to connect with colleagues, and (younger) family members in a manner that is both informative and expressly cordial. It attracts students like Nutella attracts chocolate lovers, and because of that, I see interesting potential here. In fact, one of our faculty members at Penn State plans to try running his human-computer interaction course through Facebook this fall . Definitely worth pursuing.

how to make the worst of your content management system

I recently heard tell of the following activity, parading as content migration to an enterprise level content management system. I am not making this up: Copy large volumes of Web-content-to-be, page by page, into separate Dreamweaver files containing the design (created and sliced up in FireWorks) Copy/paste said Dreamweaver files into content wells of the content management system Repeat this activity ad infinitum until an entire Web presence is constructed in this fashion always crashing in the same car: recurring mistakes and misuses of the web When I heard this, something inside me snapped. Aside from the stunning inefficiency inherent in creating all these disparate Dreamweaver files, this activity points to a fundamental lack of understanding of what exactly a content managment system is. In the interest of quelling this misunderstanding in others, here follows a list of what not to do with a CMS: Dump a bad Web site into a good CMS. If your organization's Web presence is a ...