≡ Menu

Python Tutorials and HowTos

Python programming related tutorial, howtos, tips, and hacks under Unix like operating systems with special focus on sys admin tasks ( rss feed ).

Python: Delete / Remove Files

How do I delete a file called /tmp/foo.txt using Python programming language under MS-Windows or Unix like operating systems?
[click to continue…]

Python raw_input Example (Input From Keyboard)

I would like to read data from the user using Python. How do I read data using raw_input()?
[click to continue…]

Python Delete/Remove a File If Exists On Disk

How can I check if a file exists in a directory with Python and then delete/remove it using python program?
[click to continue…]

How do I setup "Planet Venus" under Debian or Ubuntu Linux to downloads news feeds (RSS) published by web sites and aggregates their content together into a single combined feed?
[click to continue…]

Python is preinstalled on my Ubuntu / Debian Linux desktop. I'm unable to find IDLE integrated development environment for Python. How do I install IDLE IDE?
[click to continue…]

Python Execute Unix / Linux Command Examples

How do I execute standard Unix or Linux shell commands using Python? Is there a command to invoke Unix commands using Python programs?
[click to continue…]

How do I upgrade packages installed via Python pip command under Unix or Linux command line?
[click to continue…]