How to create a new directory with Python

Being rich in features, Python provides all kinds of utilities required to interact with the functionalities offered by the operating system. The Python coder can easily access and unlock the functionalities offered by his or her operating system through the usage of the builtin os module. Continue reading “How to create a new directory with Python”

How to list all files inside a directory with Python

Being a Python geek, most of the time it happens that I make use of my knowledge to write simple scripts which automate repetitive tasks in my operating system. Rich in features, Python offers many utilities which help the Python coder to interact with the functionalities of the operating system. Based on my personal experience with the Python computer programming language, one of the modules which has packed the utilities that can interact with the operating system, is the os module.
Continue reading “How to list all files inside a directory with Python”

How to remove a directory with Python

When one wants to script their daily computer tasks with the main purpose of automating their stuff, there is a high chance they have to deal with the file system of their operating system, and for sure computer directories. The Python computer programming language, comes equipped with all the utilities the coder needs to interact with the functionalities provided by their operating system.

There are many builtin utilities one can make use of to remove a directory in their operating system. With the main purpose of keeping stuff practical, I highly recommend that you open a new Python interactive console before going any further with this tutorial.
Continue reading “How to remove a directory with Python”

Introduction to the Python os module in a practical way, first part

The operating system is the main reason why your computer hardware is being powered. Without it, one would not be able to write and generate files in Microsoft Office, play games and navigate the internet with the help of a web browser.

Although a very complex software, the operating system functionalities can be easily accessed and used with the help of builtin modules offered by the Python computer programming language, such as the os module. Having experienced with the Python builtin os module, I have come to the conclusion that it deserves some attention through some specific articles about it, because it provides many useful utilities which the Python coder can utilize in their projects that deal with the operating system under the hood. Continue reading “Introduction to the Python os module in a practical way, first part”

Three Python web development frameworks you should care about as a beginner

The Python computer programming language is a very good utility which is being widely used in different fields where computer science is applied such as robotics, artificial intelligence, data science and software development. According to my personal experience with Python, there are many web developers from all over the world which make use of it and its web application development frameworks to write their real world projects. Having attended a Python conference in Europe back in 2013, I met a lot of web developers who make use of Python based frameworks such as Django, Flask, Plone, Pyramid and Web2py to write applications for the web. Continue reading “Three Python web development frameworks you should care about as a beginner”

How to use the Python builtin function list() to generate lists

There are many builtin functions which come by default with Python, utilities that the coder can use to accomplish many different tasks in their real world projects. Although most of them are being explained in details in the Python’s official documentation, the beginner finds it really hard to truly understand most of them. Taking this fact in consideration, I am going to share some information on how one can make use of the Python builtin function called list() to generate list objects.
Continue reading “How to use the Python builtin function list() to generate lists”

Python skills you should keep practicing to become a good coder, first part

A good coder has not achieved all their computer programming skills overnight, nothing happens without hard work and dedication. Having some experience with the Python computer programming language, it took me some years to truly realize that software development is not about just reading syntax or computer programming books, but about practicing and building stuff that works.

Although there are many skilled coders out there, whom one thinks that they can not match in terms of skills, I do believe that patience is a key factor in becoming a top notch computer programmer.

For one to master any craft, it is necessarily for them to practice it everyday, without stopping. Being smart is always a good thing, especially when it comes to writing and maintaining computer code, but consistency is the king if one wants to move their computer programming skills to the next level. Continue reading “Python skills you should keep practicing to become a good coder, first part”