Sometimes it is necessary to resize the images. The PIL module is used for image processing. The glob module takes a wildcard and returns the full path of all files and directories matching the wildcard. Here are two scripts that I made. The first is a simple example using a… Continue Reading How to resize images – python script .

The official site says: Python is a dynamic object-oriented programming language that can be used for many kinds of software development. It offers strong support for integration with other languages and tools, comes with extensive standard libraries, and can be learned in a few days. Many Python programmers report… Continue Reading Python – simple language scripting.

Always save a backup of your data. An important aspect is a date when the backup was made. Today I will show you how to format the backup name so you know since you have. Select the database and go to the Export tag and Custom – display all possible… Continue Reading Export the database in phpmyadmin – setting name and filetype.

Sometimes you have to rename files. This can be tiring when we do it manually. Command sed may be helpful in this case. I’ll take a simple example. I will create a working directory called work. We have to create files with the command:

The result should be :… Continue Reading Parsing files and rename …

Open a blank page and write this text in Geany:

Press CTRL + H and make changes as shown below: The text will be ahead html paragraph tag. The text will be the end of the paragraph html tag end of each line. So I turned a simple text… Continue Reading Convert text to HTML using regular expressions with Geany – part 004.

Start Blender 3D version 2.5 or higher. At the top, choose File from the menu and then User Preferences … or press keys Ctrl+Alt+U. See the picture below: Click the button Install Add-on … A dialog will appear and you can select the script with that addon. In this case… Continue Reading Addons on Blender 2.5 – Installing an addon using Python

We will present a more special method of using the Linux command line. This method comes in helping those who need to text or HTML content. In fact, a combination of Linux commands to get an output. Suppose we have a list of jpeg files in folder image. They should… Continue Reading Create html file with bash script.

So I started dabbling with assembly language programming a couple of days ago. This was the next logical step in the “going lower down” move I have been doing ever since I started writing programs in Visual Basic some years ago (there, I admitted it). Since then I went through… Continue Reading Hacking on assembly code: Dynamic memory allocation on stack?