Argument handling gives user the chance to interact with the script and use it for different tasks. Two ways to do this in Python are with ARGV and optparse. The optparse module offers more options for argument handling, but we will use the sys module for our simple example to demonstrate argument handling in Python […]

All Linux distributions come with wget pre-packaged by default. Sure, wget does do the job, but there is an alternative which I believe does a much better job at downloading from the command-line. aria2 is available in the repositories from most mainstream distributions. To install aria2 in Ubuntu or Linux Mint, just perform the following: […]

MySQL Workbench is a graphical design tool for MySQL databases. It is used for database server administration, database design, creation, security management and server as well as database maintenance. Install MySQL Workbench on Ubuntu: sk@sk:~$ sudo apt-get install mysql-workbench Add Database Server connection Now open MySQL Workbench from Menu or Dash. The main page of […]

The Haiku community is living a very peculiar moment these days. They are witnessing the creation of its Package Manager. Generally considered as the last missing piece before the Beta, Haiku Inc. was recently awarded two contracts to allow full-time work on this sub-project.

The key to networking in Python is the socket module, which provides a library for making network connections using Python. The socket module is used for low level networking and it provides the standard BSD Sockets API. Unix programmers are very familiar with this networking service. If you want to build server sockets and clients, […]

You know you get serious with Python programming language when you start to learn about exception handling. But why do we need exception handling? The best way to understand exception handling in Python and why do we need it is to look at examples and practice all the time. Sometimes, even if your programs’ syntax […]

A couple of months ago, I got word of a project that an acquaintance of mine as working on. Information given to me was very vague at the time because the technical details of the project were still under wraps until there was something substantial worthy of being released. The project under heavy development did […]

Our on-line content, bank accounts, shopping accounts and social network accounts are as safe as our passwords are. Most people don’t consider password security important and they ignore the fact that one day they may be victims of personal data theft, credit card theft or botnets. Do you want to be a botnet zombie? Maybe […]