Notice: Undefined index: order_next_posts in /nas/content/live/gadgetmag/wp-content/plugins/smart-scroll-posts/smart-scroll-posts.php on line 194

Notice: Undefined index: post_link_target in /nas/content/live/gadgetmag/wp-content/plugins/smart-scroll-posts/smart-scroll-posts.php on line 195

Notice: Undefined index: posts_featured_size in /nas/content/live/gadgetmag/wp-content/plugins/smart-scroll-posts/smart-scroll-posts.php on line 196

Python development masterclass

It may seem like Python is just another scripting language, but know that when you are using Linux, the chances are there is some Python code working backstage helping you. Among other things, this article looks into the versatile nature of Python and its many uses…

This article originally appeared in issue 88 of Linux User & Developer magazine.


Every now and then you will realise that compiled programming is just not cutting it for you and you want to get your work done. In fact, at these times you just want to be freed from all the boundaries that compiled languages put in front of you, like the processor dependency, OS dependency, static typing and altogether the complexity of a compiled language. Python is a good answer for this type of situation.

Mostly seen as a scripting language for system administrators, it is actually capable of doing almost everything and beyond the limitations of regular programming languages. Python started its life as a time-saver programming language. Python’s inventor Guido van Rossum started the project with a set of philosophical rules which drives Python even today.
These philosophical rules led to some of the primary reasons behind the popularity of Python, such as better software quality, component integration, extensibility, cross-platform support and developer productivity.

In this article we will look into the diverse range of applications of Python. We will look into the following categories:
1. System administration
2. Desktop (GUI) application development
3. Web development
4. Application scripting and component integration
5. Game development

System Administration
A system administrator’s job is not an easy one. They often need to do things like managing users, disk quotas, processes, devices and so on. Doing these tasks again and again on a large scale can cause a lot of stress and even result in premature hair loss! No kidding. Read the book Mastering Windows Server 2000 Registry for more details.

Python can be of great help to system administrators by automating a lot of administration tasks. In this section we will look at some sample Python scripts that will give you an idea about how to perform system administration tasks using Python. It is important to note here that for most of the tasks we will be using Python’s built-in modules only.

Next Page
[twitter username=”linuxusermag”]