S Vijay Balaji has Published 15 Articles

What is Python's Sys Module

S Vijay Balaji

S Vijay Balaji

Updated on 11-Feb-2021 06:49:05

IntroductionThe sys module in Python provides valuable information about the Python interpreter. You can also use it to obtain details about the constants, functions and methods of the Python interpreter.Getting StartedThe sys module comes packaged with Python, which means you do not need to download and install it separately using ... Read More

What is Python's OS Module

S Vijay Balaji

S Vijay Balaji

Updated on 11-Feb-2021 06:47:49

IntroductionThe OS module in Python comes with various functions that enables developers to interact with the Operating system that they are currently working on. In this article we’ll be learning mainly to create and delete a directory/folder, rename a directory and even basics of file handling.Without further ado, let’s get ... Read More

Reading and writing Excel files using the openpyxl module in Python

S Vijay Balaji

S Vijay Balaji

Updated on 11-Feb-2021 06:46:38

Introductionopenpyxl is a Python library to read/write Excel 2010 xlsx/xlsm/xltx/xltm files.It was born from lack of existing library to read/write natively from Python the Office Open XML format.An excel file that we use for operation is called Workbook that contains a minimum of one Sheet and a maximum of tens ... Read More

How to validate data using Cerberus in python

S Vijay Balaji

S Vijay Balaji

Updated on 11-Feb-2021 06:44:52

IntroductionThe Cerberus module in python provides powerful yet lightweight data validation functions. It is designed in such a way that you can extend it to various applications and custom validations.We first define a schema and then validate the data against the scheme and check if it matches the provided conditions ... Read More

How to Match patterns and strings using the RegEx module in Python

S Vijay Balaji

S Vijay Balaji

Updated on 11-Feb-2021 06:42:22

IntroductionThe RegEx module stands for Regular expressions. If you have already worked on programming, you would have come across this term several times already. We use the Regular expressions to search and replace, it is used in various text editors, search engines, word processors, etc.In other words, it helps match ... Read More

How to encrypt and decrypt data in Python

S Vijay Balaji

S Vijay Balaji

Updated on 11-Feb-2021 06:39:10

IntroductionWhat is cryptography? Cryptography deals with the conversion of plain text into cipher text which is called encryption of data and cipher text back to plain text which is called decryption of data.We will be using the fernet module in the cryptography package to encrypt and decrypt data using Python. ... Read More

How to create powerpoint files using Python

S Vijay Balaji

S Vijay Balaji

Updated on 11-Feb-2021 06:36:51

IntroductionWe’ve all had to make PowerPoint presentations at some point in our lives. Most often we’ve used Microsoft’s PowerPoint or Google Slides.But what if you don’t have membership or access to the internet? Or what if you just wanted to do it the “programmers” way?Well, worry not for Python’s got ... Read More

How to control your mouse and keyboard using the pynput library in Python

S Vijay Balaji

S Vijay Balaji

Updated on 11-Feb-2021 06:34:27

IntroductionThe pynput library allows you to control and monitor/listen to your input devices such as they keyboard and mouse.The pynput.mouse allows you control and monitor the mouse, while the pynput.keyboard allows you to control and monitor the keyboard.In this article, we will be moving the cursor to a specific position, ... Read More

How to Build your own website using Django in Python

S Vijay Balaji

S Vijay Balaji

Updated on 11-Feb-2021 06:32:31

IntroductionDjango is a Python web framework that is both free and open source.Why Use Django?It’s very fast.Comes with a lot of pre-existing features like user authentication, site maps, RSS feeds.It is very secure and prevents a lot of security mistakes like SQL Injection, cross−site scripting, clickjacking etc.It is very scalable ... Read More

How to build your own Sqlite database in Python

S Vijay Balaji

S Vijay Balaji

Updated on 11-Feb-2021 06:29:59

IntroductionBeing a programmer it is essential to learn to use databases in our applications to store, retrieve, manipulate, and delete data with ease. Python comes with the SQLite package preinstalled with it, using which we can create and manipulate SQLite databases.SQLite databases are written in a single file and are ... Read More

Advertisements