Python Programming Tutorials

Python Programming Tutorials And Articles
  Title / Author Reverse Sort Order Replies
Views
A few years ago, people who wished to study programming as a hobby had an important decision to make: Which programming language would they study for their first? Many people chose to start with BASIC or Pascal, because they were easier. Indeed, those languages are fairly well-suited to...
8
7,488
Well, I was trying to use regular expressions in Python. I wrote a small script, so I thought I'll will post it and make it open for discussion. As I learn more I'll keep them posted too, and if anyone has any comments please do let me know. #!/usr/bin/python import re print...
1
5,488
Python supports a couple of looping constructs. The for statement is most commonly used. It loops over the elements of a sequence, assigning each to the loop variable. If the body of your loop is simple, the interpreter overhead of the for loop itself can be a substantial amount of the overhead....
0
13,421
Introduction There are two basic methods for sending an email with Python. If a mail server is running on the machine where Python is installed, simply open a pipe to the mail server and write the email as a file to that pipe. This is usually done on *nix type systems such as Linux. ...
1
44,403
Amazon's Simple Queue Service is a highly scalable service to help cloud-based applications use a queuing system which is reliable & scalable. Amazon's queue has it's pros & cons, like the messages may not be received in the order they were queued, and you may receive duplicates, I had written an...
0
7,346
Signals are a limited form of inter-process communication, it analogous to hardware interrupts. It is generally used by the operating system to notify processes about certain issues/states/errors, like division by zero, etc. In case, you want to know read more about signals read Signal and...
1
4,342
At times it's possible to complete a batch job using parallel processing using fork instead of threads which needs much more careful planning. On the other hand fork is easy to implement, although it might not be as efficient and flexible as threads. Forking is an important part of *nix design,...
0
2,394
Python being one of the most popular languages, it's being used increasingly used for creating dynamic websites or for specific parts of websites, like Google's support fully runs on Python scripts. But, for this type of usage the ability to access RDBMS is indispensable, although unlike PHP,...
0
2,724
Being in the era of instant updates & notifications one would at some point or the other would need to parse/format date & time, be it any language. Here, we'll see how we can parse & format date/time with Python. Python is natively equipped with the functions to make our job easier, the...
0
2,843
Geolocation software/services are used to find the actual geographic location of an IP address, the geographic information may be accurate till city/ZIP code level. Maxmind's GeoIP is one such provider of IP address geographic information, they have both free and paid data subscriptions which...
0
3,307
CSV files are quite common these days owing to the fact that CSV files are simple text and make data transfer between different systems very easy. CSV stands for Comma Separated Values, i.e. the fields are separated by comma, so there exists similar formats where the separator is a different...
0
2,859