- 63
- 542 637
2MinutesPy
India
เข้าร่วมเมื่อ 10 ก.ย. 2023
Learn Python-related topics while you prepare your noodles.
Why Can’t We Instantiate Abstract Classes
Abstract classes in Python are meant to enforce specific methods into subclasses or concrete classes. In this video, we'll discuss why can't we instantiate an abstract class if it is a class.
Join👇👇
Discord: discord.gg/zhGX3WHD7T
#oop #objectorientedprogramming
Join👇👇
Discord: discord.gg/zhGX3WHD7T
#oop #objectorientedprogramming
มุมมอง: 3 991
วีดีโอ
Concurrency is not what you think it is...
มุมมอง 6Kวันที่ผ่านมา
Concurrency is often confused with parallelism, but they are different. In this video, we'll see that concurrency is not parallelism. How are concurrency and parallelism different from each other? Join👇👇 Discord: discord.gg/zhGX3WHD7T #concurrency #parallelism
How Packaging Works in Python?
มุมมอง 9K21 วันที่ผ่านมา
In this video, we'll understand how Python decides whether a package should be a namespace or a regular package. Skip to the main part: 0:36 How Packaging Works in Python? Join👇 Discord: discord.gg/zhGX3WHD7T #init # init #namespace #regular #package
Is PyPy a drop-in replacement for Python? 2MinutesPy
มุมมอง 2.1Kหลายเดือนก่อน
PyPy is, on average, 4.4 times faster than CPython 3.7. However, recently, Python released Python 3.13, and with time, Python is getting better and better. So is PyPy still better than CPython. By the way, PyPy currently supports Python 3.10. This video compares PyPy (latest) and CPython on speed, memory usage, compatibility with libraries like Django, NumPy, and Scikit-learn, and concurrency. ...
Intuition and Math Behind KNN Classifier in ML Explained
มุมมอง 1.3Kหลายเดือนก่อน
K Nearest Neighbors is one of the simplest machine learning algorithms used for regression and classification tasks. It includes a class KNeighborClassifer, which is used to classify a data point based on the majority vote of the nearest neighbors. But how is the classification done? We'll see the intuition (working) and maths involved in the KNN Classifier. Like this video, comment if you want...
FINALLY a Worthy Alternative to Thunder Client...
มุมมอง 1.4Kหลายเดือนก่อน
In this video, we'll discuss EchoAPI, an API testing and debugging extension for VS Code that is loaded with impactful features and completely free. This could be a good alternative to Thunder Client as it provides unlimited requests and collections. Feel free to explore. Join us: discord.gg/zhGX3WHD7T #api #apitesting #tool #vscode #vscodeextensions
The WILDCARD type in typing Module || 2MinutesPy
มุมมอง 1.8Kหลายเดือนก่อน
What's so special about typing.Any in Python - Why can't we instantiate Any type and check if anything is an instance of Any? Well, we're going to demystify typing.Any in this video, so stay tuned. Chapter: 0:00 Intro 0:12 typing.Any 0:40 Any cannot be used with isinstance() 1:18 Any cannot be instantiated 1:39 Why is it so? 1:55 Outro Join us: Discord: discord.gg/5jPJngfe
Do you still need __init__.py file in Python packages? 2MinutesPy
มุมมอง 4.4K2 หลายเดือนก่อน
You know how crucial an init .py file is to creating packages in Python. But do you really need them to do so? The answer is not really. Python has both regular packages and namespace packages. Since version 3.3 , Python supports creating packages without init .py file which was proposed in PEP 420. PEP 420: peps.python.org/pep-0420/ ✨More on 2MinutesPy👇👇 ▶️What should you write into the init ....
How to fix circular imports in Python | 2MinutesPy
มุมมอง 2.5K2 หลายเดือนก่อน
Have you ever come across circular imports in Python? Well, in this video, we'll discover different ways to get rid of circular imports. Chapters: 0:00 Intro 0:14 Demo: Circular Import 0:37 Different Methods to Avoid Circular Imports 1:19 Circular Imports in Python Packages ✨More on 2MinutesPy👇👇 ▶️How to Create a Class in Python? th-cam.com/video/GCW5CQJnMAk/w-d-xo.html ▶️ Python's init Method:...
How Popular Python Frameworks are designed for REST APIs? 2MinutesPy
มุมมอง 3K2 หลายเดือนก่อน
What are the design principles or design philosophies behind Django, Flask, and FastAPI? How are REST APIs created using Django, Flask, and FastAPI? Which Python web framework is best? This video discusses all the questions mentioned above. Don’t forget to like, subscribe, and hit the bell for more Python goodness! ✨More on 2MinutesPy👇👇 ▶️ JIT compiler and Python: th-cam.com/video/7_DixOdxC6U/w...
JIT compiler is useless… but Python has something else
มุมมอง 4K2 หลายเดือนก่อน
Is JIT (Just-In-Time) compilation really useful in Python? 🤔 While other languages rely on JIT for speed, CPython doesn’t! In this video, we’ll explore why JIT is considered "useless" in Python and what Python does to boost performance instead. Don’t forget to like, subscribe, and hit the bell for more Python goodness! ✨More on 2MinutesPy👇👇 ▶️ R.I.P GIL in Python 3.13: th-cam.com/video/mvxR6_G4...
How to Disable GIL in Python3.13 | Free-threaded Python | 2MinutesPy
มุมมอง 2.7K2 หลายเดือนก่อน
Python version 3.13 adds a new, completely different, and independent CPython build named "free-threaded CPython" is added. This build is already GIL (Global Interpreter Lock) free, allowing threads to run more concurrently. So, in this version, you'll get two different builds of CPython: the first is standard CPython and the second is free-threaded CPython. In this video, you'll see how you ca...
How I Created an Image Converter Webapp Using Python | 2MinutesPy
มุมมอง 1.4K2 หลายเดือนก่อน
Stay tuned in this video because you'll get to know how I figured out image format conversion using Python and how I created a webapp out of it. You'll also get to know how to create a webapp using Streamlit. In this 2-minute video, figure out how an image format can be converted using Python and then move on to create a simple webapp. Source code: github.com/Sachin-crypto/Image_Converter Music...
What is the use of "Metaclasses" in Python? 2MinutesPy
มุมมอง 4.7K3 หลายเดือนก่อน
Want to know what is a metaclass or what is the use of metaclass or when to use a metaclass in Python, stay tuned. Metaclasses in Python are an advanced topic used in complex projects like frameworks and libraries. If you found this video helpful, make sure to like, subscribe, and hit the bell icon for more! Questions? Drop them in the comments below, and I’ll be happy to help! ✨More on 2Minute...
Redis for Generative AI Explained in 2 Minutes
มุมมอง 3.1K3 หลายเดือนก่อน
Redis for Generative AI Explained in 2 Minutes
What Exactly are "Context Managers" in Python?
มุมมอง 4.7K3 หลายเดือนก่อน
What Exactly are "Context Managers" in Python?
I Bet You Didn’t Know "THIS" in Selenium
มุมมอง 1.8K3 หลายเดือนก่อน
I Bet You Didn’t Know "THIS" in Selenium
This Python REPL *FEATURE* is a Game-Changer | Python 3.13 Update
มุมมอง 10K3 หลายเดือนก่อน
This Python REPL *FEATURE* is a Game-Changer | Python 3.13 Update
Python Class Vs Instance | Understanding the Fundamentals with Analogy
มุมมอง 2.5K4 หลายเดือนก่อน
Python Class Vs Instance | Understanding the Fundamentals with Analogy
Python List Methods Visualized | 2MinutesPy
มุมมอง 3.2K4 หลายเดือนก่อน
Python List Methods Visualized | 2MinutesPy
R.I.P GIL in Python 3.13 | Will Python Be Faster Now??
มุมมอง 25K5 หลายเดือนก่อน
R.I.P GIL in Python 3.13 | Will Python Be Faster Now??
The "Diamond Problem" in Class Inheritance
มุมมอง 2.7K5 หลายเดือนก่อน
The "Diamond Problem" in Class Inheritance
Parallel Tasks in a Pool of Threads and Processes
มุมมอง 2.7K5 หลายเดือนก่อน
Parallel Tasks in a Pool of Threads and Processes
Why set items can't be indexed? The real reason | 2MinutesPy
มุมมอง 2.2K5 หลายเดือนก่อน
Why set items can't be indexed? The real reason | 2MinutesPy
What should you write into the __init__.py file? 2MinutesPy
มุมมอง 67K5 หลายเดือนก่อน
What should you write into the init .py file? 2MinutesPy
How to Use Match-Case Statement in Python?
มุมมอง 2.8K6 หลายเดือนก่อน
How to Use Match-Case Statement in Python?
Different ways to achieve Concurrency in Python?
มุมมอง 3.3K6 หลายเดือนก่อน
Different ways to achieve Concurrency in Python?