Even if you haven’t had a chance to handle XML through one of your programs yet, chances are that there will be a time that you will need to. Well, maybe that time is now, since you’re reading this post. I have good news for you. Handling XML in Python is very easy. In this post, i will describe how you can create a very handy minimal xml writer class, that will help you create your xml files with ease.
Read the rest of this entry »
No Comments »
This is a guest post
For those wishing to make a foray into the world of computer programming, C++ makes for one of the best entry level languages to learn. Nearly all American university courses in computing will teach their undergraduates how to program in C++, as it is very user friendly and allows for a more complete freedom of expression and ease of compilation. C++ is an object oriented version of C, one of the first widely used programming languages. Object oriented programming means that instead of telling the computer to work things out for itself, the user creates objects such as strings and arrays and uses the C++ language to manipulate them. For example, instead of writing a long piece of code to store a series of numbers and find the mean, C++ allows the programmer to create a string object, put all the numbers inside it and find the average; a much quicker way of programming.
Read the rest of this entry »
10 Comments »
As a result of this very interesting post by Kr0w, i was thinking of creating something which i feel that it would be very interesting for everybody to work on their Python Programming skills and associate with other people who also like Python.
Read the rest of this entry »
1 Comment »
Lambda functions are an interesting and quite useful Python feature, that you have most certainly witnessed in other programming languages as well, probably as anonymous. A lambda function is really a way to create an “on the fly” function that can be used in Python expressions. Let’s take a look at a short example of a simple lambda function :
Read the rest of this entry »
No Comments »
One of the very important things that Python offers to programmers, is the great lists handling functions. Lists are one great data type that you can utilize for lots of different tasks. Since Python is a high level language, it makes our handling lists a real breeze.
Read the rest of this entry »
3 Comments »
I will claim it. If you’re not using Python, you are losing a lot. At that point, i understand that some of you will argue that with saying how nice perl is or how great things work at ruby on rails. Well, get to know all scripting worlds if you like. Then, come back to Python programming.
Read the rest of this entry »
21 Comments »