Tagged: python

0

How To Check Python Version?

Python is dynamic scriptin language which provides rich features. Python have two main version named Python version 2 and version 3. We can call them simply Python2 or Python3 . In this tutorial we will learn how yo check Python version or a script version. Default Python Version Every Python...

0

What Is Linux, Unix Socket?

Socket is a mechanism which provides connection between two process or system by using network stacks. In a more clear way we can use sockets communicate and transfer data between two system. As we know Unix and Linux systems works on file logic. Everything in operating system is file where network...

0

How To Download, Install and Use Python Idle Editor?

Python is popular programming language used by a lot of people from different professions. Python is a scripting language supported by different platforms and operating systems like Windows, Linux, MacOs, BSD etc. Developing and running python can be done in different ways but in practical way we generally need some...

0

How To Delete and Remove File and Directory with Python?

Python provides different methods and functions in order to remove files and directories. As python provides a  lot of functionalities we can remove files and directories according our needs. For example we can remove files those sizes are bigger than 1 MB. Remove File with remove We can use os.remove()...

0

How To Use Python Time Sleep To Delay Application Execution?

While developing applications we may need some rest for the execution. Python provides sleep() function for different use cases in order to delay program execution. In this tutorial we will examine Python sleep() function for different conditions. Sleep Time Precision Before starting tutorial we should know that Python is an interpreted language...

1

How To Get Current Date Time or Now In Python?

Date and time is important part of the applications development. We generally need to set, get and change some data time information to our records. In this tutorial we will examine the python date time now functions and use cases with examples. For more information about Python date time functions...

0

How To Control Python For Loop with Break Statement?

Python provides for loops in order to iterate over given list, dictionary, array or similar iterable types. During iteration we may need to break and exit from the loop according to current condition. In this tutorial we will look how to break a python for loop with break statement with different examples. Break...

0

How To Loop and Iterate Over Python Dictionary?

Dictionaries provides simple data types with value and key. Dictionary data may be used in an iteration with for loop. By using for we can iterate over dictionary elements easily. In this tutorial we will look different ways to iterate over dictionary elements. Example Dictionary We will use following dictionary type...

Enjoy this blog? Please spread the word :)