I can bet that quite some of you use Twitter often, while some others use it all the time. It’s a quite addicting website, at least for the first few months of its usage. When i first registered at Twitter and started learning more about it, i thought that it would be a good idea to use it in order to leave short automated tweets about the posts on my WordPress blog (this was actually about another website, not codercaste).
Read the rest of this entry »
5 Comments »
From the very first programs that you create using Python, you may notice that you really need to specify some arguments right before your program executes. For instance, say that you have created a program and you need to get some input from the user. For the sake of this tutorial, we will be creating a simple Python program grabbing two arguments from the command line, adding them together and then producing us with the result. The simplest way to do it is using the standard sys.argv. One other more sophisticated option is the getopt function. For case of simplicity and because most people tend to use simple scripts, we will be using sys.argv here. For more information on the getopts way, please refer here.
Read the rest of this entry »
3 Comments »
If you are new to Python programming or in computer programming in general, it would certainly be important for you to get some information on the advantages and disadvantages of the language and understand why would somebody want to use it. In this post, i will not enter into the technical details of the language nor use fancy words to describe you some of the language specifics. My intention is to give you some simple insight so that you can decide for yourself whether or not it would be a good idea for you to choose Python as your main programming language or just use it for certain projects.
Read the rest of this entry »
20 Comments »