Python Tutorials

Python Forensics | Hash Function, Virtualization & much more

1. Python Forensics Investigating and analyzing to gather and preserve evidence from a computing device lies at the heart of cyber forensics. This should be presentable in a court of law. With its wide applications, Python also finds good use in digital forensics. With it, we can extract evidence, gather data, and also encrypt passwords. It will help us preserve the integrity of evidence. In this tutorial on Python Forensics, we will learn Naming Conventions, Hash Functions, Cracking an Encryption, […]

Python CGI Architecture

CGI Programming in Python with Functions and Modules

1. CGI Programming in Python This CGI Programming in Python tutorial deals with the ‘cgi’ module, the support module for CGI scripts in Python. We’ll discuss the functionalities offered. Let’s begin. 2. Introduction to Python CGI CGI stands for Common Gateway Interface. An HTTP server invokes a CGI script so it can process user input that a user may submit through an HTML <FORM> or <ISINDEX> element. Such a script usually lives in the server’s special cgi-bin directory. For a […]

Python Multithreading: A Comprehensive Tutorial

1. Python Multithreading In this lesson, we’ll learn to implement Python Multithreading with Example. We will use the module ‘threading’ for this. We will also have a look at the Functions of Python Multithreading, Thread – Local Data, Thread Objects in Python Multithreading and Using locks, conditions, and semaphores in the with-statement in Python Multithreading. 2. Introduction to Python Multithreading The module ‘threading’, for Python, helps us with thread-based parallelism. It constructs higher-level threading interfaces on top of the lower […]

Python Pickle and Python Serialization

Python Pickle | What is Serialization in Python with Example

1. Python Pickle and Python Serialization In the Last tutorial I wrote about Python Virtual Environment. This tutorial on Python Pickle and Python Serialization deals with the ‘pickle’ module of Python for the purpose of serialization. 2. What is Serialization in Python? In Python, when we want to serialize and de-serialize a Python object, we use functions and methods from the module Python Pickle. Pickling, then, is the act of converting a Python object into a byte stream. We also […]

Python Debugger with Examples

1. Python Debugger In this tutorial on Python Debugger, we will learn about pdb, the Python module for debugging your Python code. If you face any doubt in between this Python Debugger tutorial, Please comment. Let’s begin. 2. Introduction to Python Debugger The Python debugger is an interactive source code debugger for Python programs. It can set conditional breakpoints and single stepping at the source line level. It also supports inspection of stack frames, source code listing, and evaluation of […]

Python Debugger

Python Modules

Python Modules

1. Python Modules What is a module in Python? How do we import it? How do we execute it? All these questions will be answered in this blog Post on Python Modules. So lets begin with the introduction to Python Modules. 2. An Introduction to Python Modules A module is but a piece of Python code. Exiting the interpreter destroys all functions and variables we created. But when we want a longer program, we create a script. With Python, we […]

List of 63 Python os Modules in 2018

1. Python os Module In this tutorial on Python os Module, we will get closer to the os module and its methods. 2. Introduction to Python os Module The Python OS module lets us work with files and directories. We have been using it a lot to get to the Desktop in our examples. But it is much more. Let’s discuss the important functions/methods it offers. In case of any doubt, please as us in comments. Let’s check the dir() […]

Python OS Modules

What's new in python 3.6 - Secrets

What’s New in Python 3.6 ? | New Features in Python 3.6

1. Objective We know that the future belongs to Python 3.x. But we have a number of versions in Python 3000. For example, Python 3.3.3 and Python 3.4.3. The latest version of Python is 3.6. So, let’s see what’s new in Python 3.6 and how it is different from older versions, Python 3.6 performance and features. 2. What’s new in Python 3.6 ? In this article on Python 3.6 what’s new, we will discuss the following new features in python […]

Top 26 Python Programming Interview Questions

1. Python Programming Interview Questions And we’re back with our third series of Python Programming interview questions. Here we have taken some basic Python Interview questions and answers for freshers, advanced Python Interview Questions and Answers for Experienced, Python Developers interview Question and Answer, Python Coding interview questions, Python Scripting Interview questions as well as data structure interview questions. You can First go through the Python Interview Question Part I and Part II Read along to learn something new and out of […]

50 Python Glossary of Terms to Understand Python – II

1. Python Glossary of Terms Part II Welcome to the Part II of the Python Glossary tutorial. We have already discussed 59 Python Glossary of terms in last article and today we will discuss some more Python terminologies.   2. Lambda A lambda is an anonymous inline function made of a single expression. When we call the function, it evaluates the expression and returns it. 3. LBYL Look Before You Leap is a coding style that explicitly tests for pre-conditions […]