CherryPy is an open source, fast, and stable python web framework that allows the developers to build the web applications. The developers can build the web applications as the way they would build the other object-oriented python programs. Many developers still haven’t heard this simple, Continue reading “An introduction to CherryPy, a lightweight Python web framework”
Lately i haven’t posted much because i have been busy working on some programming projects, but today i will share a python script with you guys. This script is written in pure python and it can be used to grab banners from different services running on your subnet. Some of these services are SSH, Telnet, FTP, SMTP etc.
This script is useful to system administrators to check their services and penetration testers to check the service for different vulnerabilities. We use the socket library, Continue reading “How to write a Python script to grab banners for network geeks”
Sometimes you need to find information about your CPU on your Linux machine and there are many ways to do it. So in this tutorial I will teach you how to find details about your CPU such as processor, architecture, vendor name and many others that are very useful to you.
I like to learn how to do the same thing in different ways, especially when it comes to the Linux command line because it makes me practice many things and I feel closer to my dream of being a ninja. Continue reading “How to check CPU information through command line in Unix based operating systems”
People make use of zip files to store data on their computers and even transmit files over the Internet. Zipping data through different applications available out there, helps to pack a group of files into a single archive that takes less space than the originals.
Almost everyone who is reading this article had to zip files on their computer with the main purpose of sharing them via email, at least once in their own lives. Zipping files into archives is not rocket science. There are many free applications shared on the Internet that can help the user accomplish that.
Being a coder and passionate about discovering new ways of achieving computer tasks, I thought to give a try to available Python libraries to zip my files.
Although there are many ways to automatically zip files with the help of the Python computer programming language, this article will treat two of them. Continue reading “How to automatically zip your files with Python”
When one starts their computer programming journey, there are many already builtin libraries and functions they need to explore with the main purpose of stepping their coding skills to the next level. A very useful Python package is the csv, a module which helps the Python programmer with prebuiltin utilities that can deal with comma-separated values.
For those of you who have never been exposed to the csv file format; a csv file is a simply a text file in which each line of data contains values separated by commas. Based on my personal experience with this popular format, it is mostly and widely being used to represent tabular data.
Continue reading “How to read and write csv files with the help of Python programming language”
Those who have made use of the cd command through a terminal application on their own operating system, have probably made use of a relative path, an absolute one or both of them. Based on my personal experience with the command line, the cd command is a Unix based one and it helps the user to navigate their filesystem through the terminal application. The cd command takes the path of the file as an argument.
For example, the following command helps the user to change their current working directory to the Desktop.
Those who are familiar with the terminal application part of Unix based systems, have probably done some work with the help of it. Being a terminal user for some time now, I automate a lot of stuff on my Mac OS X operating system by making use of such a wonderful computer utility.
Although the graphical user interfaces offered by the modern computer operating systems out there make the terminal application seem like a nightmare to the beginner computer user, based on my personal experience I am completely sure that by guiding one through the right path of becoming a command line user, terminal becomes their first choice when interacting with their own operating system of choice. Continue reading “Ten Unix commands you should periodically try on your terminal application”