Archive for category Django

Review of “Python for Unix and Linux System Administration”

I first got introduced to Python a few years go. Between now and then I mostly did some hackish scripts solving various small problems that me or my colleagues had. It has not been until recently that I started writing something that can remotely be called serious stuff that often makes its way to production environment.

I recently got my hands on a copy of Python for Unix and Linux System Administration. After reading it, I felt the time I’ve invested in reading it was well spent. The author introduced the reader to many different situations where python would help make their lives as system administrators easier, without confusing the reader with some complex forms or statements. My feeling is that this book is aimed at people who want to use Python to solve their problems quickly and efficiently, but only have a limited experience with the language – and the books fits that purpose well with its rather superficial approach that the reader can later extend later on with various available resources. It would only be fair that I too mention some of the shortcomings that I noticed while reading this book.

Pros:

  • The author introduces the reader to ways that Python can be used.
  • Most of the time there will be more than one way to accomplish a task. The author at times presents a scenario and showed the reader how to do the same task with different modules. This places the choice of which to use back where it belongs, with the reader.
  • The book has a website (most do these days) where the code examples can be downloaded. http://py4sa.appspot.com/

Cons:

  • More time was spent on iPython than was really needed.
  • The case of a word is important in Python. For instance “import Sys” and “import sys” are two completely different things. There were quite a few occasions where a module name was used as the first word in the sentence and because of that it was capitalized.
  • There was once instance that I saw where a script example had no indentation at all. Trying to run it would have resulted in complete failure.
  • It would have been nice if the script examples were named instead of leaving it to the reader to figure it out based on the imports used in another example.

When all is said and done I think I would recommend the book to others if I knew that they had at least some background with Python. And I would highly recommend that they check the addendum and errata pages.

Advertisements

2 Comments

Django video

There is a django video now on ShowMeDo. I am a big fan of Python and Django both. The video appears to be the first in a series. This first one details how to take a base install of Ubuntu 6.10 to and get Django installed and running. Check it out here.

1 Comment

Django Book (beta)

Sure it has been out for a little over a week but it’s still cool. I am anxiously looking forward to Mondays now (something that I have never done before) because that is when the new chapters of the Django Book are published to the beta site. If you don’t know what django is then head over to the official site for the project and check it out. In a nutshell it is one of the top Python based web frameworks out. It was created to build database driven web sites in a hurry. While at the official site check out the list of sites that are django powered.

If you are a django person you might consider creating a screen cast and sending it to the guys at ShowMeDo. Also keep an eye on LAMP Training. Their first video was pretty nice and I am looking forward to seeing more from them in the near future.

1 Comment

Creating a blog with Django (screen cast)

This is the first of what appears to be a series of screen casts by this site. It is nice to watch the development instead of just reading a tutorial. I am hoping to see more from this site in the near future. I have followed about 4 or 5 written tutorials but none with that have been this clear.

read more | digg story

1 Comment

Django 30 Minute To Do List in Python

Great article about how to create a to do list in the web framework Django. Django uses the easy to learn programming language Python.

I can’t wait to try this out.

read more | digg story

Leave a comment