GeekPython: Your hub for comprehensive Python tutorials, covering Python basics, ML, DL, modules, functions, tips, Flask, and databases.| GeekPython - Python Programming Tutorials
Bright Data, a leading data collection platform, has created a plug-and-play MCP service that gives your AI agent real-time access to the web.| GeekPython - Python Programming Tutorials
In this article, we gonna discuss the ways how we can open multiple files using the with statement in Python?| GeekPython - Python Programming Tutorials
zipfile module does provide convenient classes and functions for reading, writing, and extracting the ZIP files.| GeekPython - Python Programming Tutorials
PyPy is an implementation of Python written in RPython (Reduced Python) language, and it is seen as a replacement for CPython. PyPy claims that it is almost a drop-in replacement for CPython and can beat it on speed and memory usage. It supports libraries like Django, NumPy, Scikit-learn, and Twisted, and comes with the stackless […]| GeekPython – Python Programming Tutorials
You might have heard of Thunder Client, a REST API client extension for Visual Studio Code that allows developers to test APIs. Thanks to its lightweight nature, it quickly became the first choice for developers worldwide. Thunder Client was once completely free, but that’s no longer the case. It has now transitioned to a paid […]| GeekPython – Python Programming Tutorials
You must have used functions provided by the os module in Python several times in your projects. These could be used to create a file, walk down a directory, get info on the current directory, perform path operations, and more. In this article, we’ll discuss the functions that are as useful as any function in […]| GeekPython – Python Programming Tutorials
FastAPI is a fast and modern web framework known for its support for asynchronous REST API and ease of use. In this article, we’ll see how to stream videos on frontend in FastAPI. StreamingResponse Stream Local Video FastAPI provides a StreamingResponse class that is dedicated to streaming purposes. The StreamingResponse class takes a generator or […]| GeekPython – Python Programming Tutorials
Have you ever come across circular imports in Python? Well, it’s a very common code smell that indicates something’s wrong with the design or structure. Circular Import Example How does circular import occur? This import error usually occurs when two or more modules depending on each other try to import before fully initializing. Let’s say […]| GeekPython – Python Programming Tutorials
The official version of Python 3.13 has been released by the Python organization, and with this, you get many major changes. One of the major changes we get is making GIL (Global Interpreter Lock) optional in Python 3.13. In this article, you’ll see how you can disable GIL in Python 3.13 to make multi-threaded programs […]| GeekPython – Python Programming Tutorials
Redis is an in-memory database that actually makes it the fastest among all the databases. What does “in-memory” mean? It means that it stores the data in temporary memory or RAM, in the form of key-value pairs. This makes it perfect for serving results instantly. In this article, you’ll learn how to install Redis locally […]| GeekPython – Python Programming Tutorials
If you are applying for data science roles, it is essential to have a solid understanding of key SQL topics and concepts. Data retrieval and manipulation are critical skills for both Data Scientists and Data Analysts, as they form the foundation for effective data analysis. Below are the SQL topics and concepts, prioritized from highest […]| GeekPython – Python Programming Tutorials
In this article, we’ll learn how to insert multiple entries or data in the database using a single SQL query in Python. Insert Multiple Entries in the Database We’ll see how we can insert multiple entries in the two different databases SQLite and MySQL. SQLite Create a Python file and write the following code inside […]| GeekPython – Python Programming Tutorials
In this article, we’ll learn how to connect MySQL database with Python using the PyMySQL database driver. Connect Database with Python First, we need to install a MySQL database driver called PyMySQL that will help us bridge Python and MySQL. Now, after installing this package, we can start the connection process by importing it into […]| GeekPython – Python Programming Tutorials
In this article, we’ll learn how to connect SQLite database with Python. Connect SQLite Database With Python The SQLite database driver comes installed with Python so we don’t need any third-party library to access it. Python provides a sqlite3 package to handle connection and interaction with SQLite database. Create a Python file named db.py and […]| GeekPython – Python Programming Tutorials
Python enumerate() function takes a collection(e.g. a list or a tuple) and returns them as an enumerated object.| GeekPython - Python Programming Tutorials
The __init__ method is used to initialize the object's attributes. Instances of classes can be made callable by defining a __call__ method in their class.| GeekPython - Python Programming Tutorials
The super() function extends the functionality of the superclass within the subclass or derived class.| GeekPython - Python Programming Tutorials
The __str__ is responsible for the informal representation of the object, which we can change to the formal representation by using the __repr__ method.| GeekPython - Python Programming Tutorials
The seek() function is used to move the file cursor to the specified location. The tell() function returns the position where the cursor is set to begin reading.| GeekPython - Python Programming Tutorials
The sort() function by default, sorts the list's contents in ascending order. Python sorted() function is used to sort the iterable data.| GeekPython - Python Programming Tutorials
In Python, a byte string is a sequence of bytes, which are the fundamental building blocks of digital data such as images, audio, and videos. Byte strings| GeekPython - Python Programming Tutorials
What if the dictionary contains the values in the form of a list? In this article, we'll look at all of the different ways to access items from lists| GeekPython - Python Programming Tutorials
The list.reverse() function is one you might know but you’ll also see other ways to perform the same operation.| GeekPython - Python Programming Tutorials
In this tutorial, we are going to discuss some of the ways to remove whitespace characters from our string using various methods and functions.| GeekPython - Python Programming Tutorials
In Python, there are Bitwise Operators that are used to perform the bitwise calculations on the integer values.| GeekPython - Python Programming Tutorials
FastAPI is a modern, high-performance web framework for building Python REST (Representational State Transfer) APIs.| GeekPython - Python Programming Tutorials
The shutil module helps in automating the task of file copying or moving from one directory to another directory.| GeekPython - Python Programming Tutorials
Make a webapp using the streamlit based on the covid19 data.| GeekPython - Python Programming Tutorials
NumPy is most often used to handle or work with arrays (multidimensional, masked) and matrices. It has a collection of functions and methods to operate| GeekPython - Python Programming Tutorials
The name __getitem__ depicts that this method is used to access the items from the list, dictionary, and array.| GeekPython - Python Programming Tutorials
Access modifiers play an important role in securing the data from unauthorized access and preventing any data exploitation.| GeekPython - Python Programming Tutorials
Python's assert is mainly used for debugging by allowing us to write sanity tests in our code.| GeekPython - Python Programming Tutorials
The __init__ method is an initializer method that is used to initialize the attributes of an object after it is created, whereas the __new__ method is used to create the object.| GeekPython - Python Programming Tutorials
Asterisk (*) can be used in multiplication, exponentiation, packing/unpacking, formatting strings, Tuple/Set unpacking and to control how an argument should be passed in a function.| GeekPython - Python Programming Tutorials
The databases.create() method is used to create an Appwrite database, which takes two parameters: the database ID and the database name.| GeekPython - Python Programming Tutorials
Context managers provide a mechanism for the setup and teardown of the resources associated with the program.| GeekPython - Python Programming Tutorials
In this article, we will discuss how we can use async/await in Python.| GeekPython - Python Programming Tutorials
The zip() function takes iterables and iterates over them parallelly, which results in producing tuples of each item from the iterables.| GeekPython - Python Programming Tutorials
In Python, the input() function allows taking input from the user, and to provide a message with the input() function, we can prompt a| GeekPython - Python Programming Tutorials
The match statement takes an expression and compares its value with the case blocks which have some specified conditions.| GeekPython - Python Programming Tutorials
To use PostgreSQL with Python, you must install a library such as psycopg2, which provides a Python interface to the PostgreSQL database.| GeekPython - Python Programming Tutorials
The f-strings are prefixed with the letter f with the curly braces containing expressions that will be replaced by the corresponding values.| GeekPython - Python Programming Tutorials
Inheritance can be defined as the mechanism that permits the newly created classes to inherit the methods and attributes of the existing class or parent class.| GeekPython - Python Programming Tutorials
In this article, we will see the argmax() function in both NumPy and TensorFlow, and ultimately we'll discover if they provide the same functionality to handle arrays.| GeekPython - Python Programming Tutorials
Web scraping or web data extraction is the process of gathering information from the Internet.| GeekPython - Python Programming Tutorials
In this article, we'll learn how to merge the TailwindCSS into our Flask app.| GeekPython - Python Programming Tutorials
The exec() function in Python allows us to execute the block of Python code from a string. This built-in function in Python can come in handy when| GeekPython - Python Programming Tutorials
Data augmentation is a process of increasing the quantity of data artificially by generating new data points from the existing data.| GeekPython - Python Programming Tutorials
What is argparse in Python? The argparse lib helps to create exemplary command-line interfaces for the command-line scripts.| GeekPython - Python Programming Tutorials
Transfer learning is used in machine learning and is a method in which already-trained or pre-trained neural networks are present and these pre-trained neural| GeekPython - Python Programming Tutorials
Blueprints can contain views, templates, and static files for various components, similar to the structure of a typical Flask application.| GeekPython - Python Programming Tutorials
The entirety of the session is the time the user spends on an application from logging in to logging out.| GeekPython - Python Programming Tutorials
Create a Flask app for image recognition of digit hand sign which is based on the deep-learning model.| GeekPython - Python Programming Tutorials
Flask-SQLAlchemy can work with a variety of databases, but by default, if you don't specify a database URI in your Flask app configuration, it will use SQLite.| GeekPython - Python Programming Tutorials
We'll look at how to combine multiple datasets and merge multiple datasets with the same and different column names in this article. We'll use| GeekPython - Python Programming Tutorials
In this article, you'll learn how to use pandas to find and remove columns from one dataset that don't match those in another.| GeekPython - Python Programming Tutorials
The DataFrame.duplicated() function can be used to identify the duplicate rows in a dataset and drop_duplicates() function removes the duplicate rows.| GeekPython - Python Programming Tutorials
The DataFrame.ffill() (forward fill) propagates missing or NaN values using the previous valid value in a column or row, while DataFrame.bfill() (backward| GeekPython - Python Programming Tutorials
In this article, you'll learn how to create and integrate a MySQL database with a Flask application using the PyMySQL driver.| GeekPython - Python Programming Tutorials
A WebSocket allows two-way communication (bidirectional) between two entities over a single TCP connection.| GeekPython - Python Programming Tutorials
Threading in Python is used to run multiple tasks at the same time, hence saving time and resources and increasing efficiency.| GeekPython - Python Programming Tutorials
The tempfile module includes a function called TemporaryFile() that allows us to create a temporary file for use as temporary storage.| GeekPython - Python Programming Tutorials
Flask is a micro web framework written in Python for web development using Python. We can do almost everything in Flask by writing Python code as we do in| GeekPython - Python Programming Tutorials
In this tutorial, you'll look at how learning rate affects ML and DL (Neural Networks) models, as well as which adaptive learning rate methods best optimize| GeekPython - Python Programming Tutorials
Pandas supports Copy-on-Write, an optimization technique that helps improve memory use, particularly when working with large datasets.| GeekPython - Python Programming Tutorials