The type() method in Python can be used to print the type of a variable. type() is a Python built-in function that returns the variable’s data type. In Python, use the print() method to print the variables.
Category: Python Tutorials
This page will have all tutorials which are related to python 3.

File Handling Methods in Python
This tutorial will teach you how to work with files in Python. Files are commonly used for permanent data storage. Python features a useful function for reading and writing data to and from files. It can perform operations such as creating, reading, updating, and deleting files, among other things.

Import CSV File into MongoDB using Python
In this Python tutorial, I’ll guide you on importing CSV files into MongoDB using Python. Sometimes, I need to insert CSV data into the MongoDB database. Inserting CSV data to MongoDB is very easy in Python. We just need to read the CSV file and then connect to MongoDB to insert data.

np arange with Example
In this python tutorial. we will learn how to use NumPy arrange method. The np.arange() method builds a very basic array based on a user-supplied numerical range.

json Dump Python With Example
Here, you’ll learn how to use the Python json module to save Python serialized objects as JSON formatted data to a file or a string using the Python JSON module. We’ll discuss python dump method here.

How to Read JSON Files in Python?
This python tutorial help to read JSON file using python json libs.The json help to communicate data between server and client. In this article, we’ll explore how we can parse JSON files with python’s inbuilt JSON module. What’s JSON The file format JSON stands for JavaScript Object Notation and is used to store data. JSON […]

How To Get Class Name In Python
in this python tutorial, I’ll let you know how to get a class name in python. As we know, Python is an object-oriented programming language, and everything represent is an object. To access the class name of the type of the object, use the __name__ attribute.

How to Add a String in Python
The concatenation of two strings has been discussed in a variety of languages. In Python, however, adding one string to another is a simple job.

Read Excel File in Python
I’ll show you how to open and read an Excel Workbook (.xlsx extension) and read from cells and worksheets in this tutorial. We’ll open and read the excel file using xlrd python libs.

How to Write an Excel File in Python
This python tutorial help to write to excel using python and xlrd lib. The xlrd module may be used to obtain data from a spreadsheet. It can be used to read, write, or alter data.