Almost every computer programming language offers already builtin modules which help to script networking functionalities. Based on my experience with the Python computer technology, socket is a very useful module when it comes to interaction with the networking interface. According to the official documentation, the socket module is available on all modern Unix systems, Windows, Mac OS X, BeOS, OS/2 and probably additional platforms. Continue reading “Introduction to the socket module in Python”
Category: Tools & Tips
Introduction to Python generator function with a real world example
As a junior Python coder, there are many advanced concepts which I am trying to master. One of these concepts is the generator object. Although there are many articles and tutorials on the Internet about such topic, most of them are way too complicated for those who are in the beginning of their computer coding journey.
Not only most of the tutorials about advanced Python concepts are way too complicated for the beginner coder, but they also don’t offer real world examples to make the theory more concrete. Long story short, the articles don’t teach you how to apply the theory in practice through real world code. At least, most of them. Continue reading “Introduction to Python generator function with a real world example”
How to script ffmpeg for python hackers, first part
The FFMpeg multimedia framework has many tools which come with a lot of functionalities and commands hard to remember, especially for the beginner. Been using it for quiet some time now, I find the framework really useful when processing multimedia files on my own machine, but sometimes it get really frustrating with the long commands which have many different options.
Continue reading “How to script ffmpeg for python hackers, first part”
How to add audio to a video with FFMpeg
FFMpeg is a great framework when it comes to processing multimedia files, especially for someone who has not budget to spend on commercial software. Been using this tool for some time now, I am really grateful to the developers who have contributed their energies in putting together a very useful computer software such as FFMpeg. Continue reading “How to add audio to a video with FFMpeg”
How to find the square root of a number with Python
Being passionate about maths, I have started to explore some basic Python modules which can help to put in practice mathematical theory. During my years in high school, I had to deal a lot with exercises that require the square root of a number. For those of you who don’t know, in mathematics, the square root of a number is y such that y*y equals that number. Continue reading “How to find the square root of a number with Python”
How to use Python as a calculator
Python computer programming language is a very useful utility for those who know how to properly make use of it. Being very rich in features, this computer technology offers many builtin utilities which can be used to accomplish many different tasks, from simple to very advanced.
Been using the Python computer programming language for some time, I can truly say that it is very flexible. Through this article, you are going to learn how to make use of Python to perform some basic arithmetic operations. Continue reading “How to use Python as a calculator”
How to make use of the grep utility on Unix based machines
There are many command line utilities offered by the Unix based machines; each one of them can be utilized to accomplish a certain task. Been using linux for quiet some time now, I am really glad about the command line based tools offered by it, utilities which can be used through the terminal application. Continue reading “How to make use of the grep utility on Unix based machines”