Learn it from developers who built it.
Tutorials, how-tos and deep dives on AI, .NET, C#, cloud and developer tools, written by the community.
Python is a versatile, interpreted, high-level programming language created by Guido van Rossum. Named after Monty Python, it's widely used in software development, web development, scripting, and mathematics. Python is renowned for its simplicity, cross-platform compatibility, expressive syntax, and vast library support.
This article is around how python stores list and works with it. Python uses lists instead of built-in arrays. Lists are dynamic, memory-efficient, and support fast insertions. Unlike arrays, they grow automatically, while tuples remain immutable and are optimized for retrieval.
Learn how to scrape book details like titles, prices, and ratings from 'Books to Scrape' using Python. This guide covers web scraping basics, data extraction, and enhancements for efficient data handling.
Integrating Python with Selenium enables developers to automate web browser interactions for efficient testing. This combination allows for creating robust test scripts, performing functional and regression testing, and supporting cross-browser testing.
This article covers popular frameworks like Pytest and Unittest, automation tools, best practices, and integration with CI/CD pipelines. Enhance your testing skills for web, API, and unit testing.
This article explains the fundamental concepts of Object-Oriented Programming (OOP) in Python. It covers classes, objects, inheritance, polymorphism, encapsulation, and abstraction, illustrated with a comprehensive code example and detailed explanations.
Error handling in Python is crucial for building robust applications. This article explores the try, except, else, and finally blocks to effectively manage exceptions and improve code reliability.
Create a Python-based translation app in Google Colab using the googletrans library and ipywidgets. This interactive tool supports 100+ languages, real-time translation, and user-friendly features for seamless multilingual communication.
Build an interactive Python Quiz App with multiple-choice questions, real-time validation, score tracking, and performance feedback. Enhance it with GUI, randomized questions, difficulty levels, leaderboards, and a timed mode.
This article explores handling JSON data in an SQLite database using Python. It covers reading, inserting, and creating tables while leveraging Python’s standard `json` and `sqlite3` libraries for seamless integration.
Learn how to use Python's unittest and pytest frameworks to write and run basic unit tests, including test classes, fixtures, and assertions.
Learn how to perform data analysis in Python using powerful packages like Pandas, NumPy, and Matplotlib. This example-driven guide demonstrates key steps, including data loading, cleaning, processing, and visualization.
Learn Python's import module concepts, including importing entire modules, specific functions, and aliasing. This article demonstrates creating, reading, and writing employee data to a JSON file with practical examples.
This article covers Python file handling, including reading, writing, appending, and binary operations. It explains functions like `read`, `readline`, and `readlines`, with code examples for practical applications.
This article covers key concepts like concurrency, task queues, and process management, helping you execute time-consuming tasks efficiently without blocking your main program flow.
Learn about Python tuples, a versatile data structure for storing heterogeneous or homogeneous values. Discover their immutability, practical use cases, and access methods with code examples and outputs.
This article centers around how to create a Telegram Bot. Learn how to create a simple calculator bot for Telegram using Python. This article covers Telegram bot basics, environment setup, coding with Python, and adding essential functionalities like commands and evaluation.
This article explores Python variable and function scopes, including the LEGB model: Local, Enclosing, Global, and Built-in. Learn practical examples and understand scope behavior for effective coding.
Learn how to define classes, create objects, and understand key OOP concepts like inheritance and encapsulation. Perfect for new programmers looking to master Python's class-based structure.
FastAPI is a modern Python framework that simplifies API development with built-in support for async operations, data validation using Pydantic, and automatic generation of Swagger and ReDoc documentation.
This article describes the enhancements Python 3.13 is bringing with it. Python 3.13 introduces enhanced REPL features, experimental JIT compilation, free-threaded CPython mode, improved error messages, standard library updates, and the removal of deprecated modules for better performance and user experience.
A Priority Queue in Python can be implemented using the heapq module, which provides efficient min-heap operations like heappush, heappop, and heapreplace. Unlike a regular queue, a priority queue processes elements based on priority, ensuring the smallest element is dequeued first.
Learn how sharding improves scalability and performance in distributed databases, key strategies for partitioning data, best practices for shard key selection, and techniques to optimize data management.
Discover the basics of web scraping, HTML parsing, and how to extract data from websites efficiently. Ideal for beginners and professionals, this tutorial walks you through the process step by step with examples.
This article explains Python operators, covering arithmetic, comparison, logical, bitwise, membership, identity, and operator overloading. It includes examples for each, emphasizing their importance in performing operations and comparisons.
Explore Python's essential data types and collections in this comprehensive guide. Learn about fundamental types like integers, floats, and strings, as well as advanced collections such as lists, tuples, dictionaries, and sets.
Iterators in Python allow efficient traversal of sequences by implementing iter() and next() methods. Unlike iterables, iterators represent a stream of data and support on-demand value computation, enhancing memory efficiency and performance.
Explore Python's multiprocessing module to achieve parallelism and optimize CPU-bound tasks. Learn how to create and manage processes, utilize process pools, and improve performance through concurrent programming.
When you're building an app, one of the most important things is making sure it looks good and is easy to use. That's where an interactive user interface (UI) comes in. An interactive UI helps users understand how to use your app and makes it more enjoyable.
Data Science and Machine Learning in Python leverage powerful libraries like Pandas, NumPy, and Scikit-learn for data analysis and modeling. Python excels in data cleaning, exploration, and visualization, enabling efficient insights extraction and predictive modeling.
Everything on Python, not only its articles: the Python page →
Write an article and earn +1,000 SHARP when it is approved.
Write an article