Python is a high-level, interpreted programming language known for its simplicity and readability. It is widely used due to its versatility, extensive libraries, and strong community support.
Lists are mutable (can be changed), whereas tuples are immutable (cannot be changed after creation).
PEP 8 is the Python Enhancement Proposal that provides guidelines and best practices for writing Python code, promoting code readability.
Inheritance allows one class (child) to inherit attributes and methods from another class (parent), facilitating code reuse and organization.
A virtual environment is an isolated Python environment that allows different projects to have separate dependencies without conflicts.
HTML (HyperText Markup Language) is the standard language for creating web pages, defining the structure of web content.
CSS (Cascading Style Sheets) is used for styling the visual elements of a web page, while JavaScript adds interactive functionalities.
JavaScript is used to add dynamic and interactive elements to web pages, such as animations, form validations, and event handling.
The box model consists of content, padding, border, and margin, determining how elements are displayed and spaced on the web page.
React is a JavaScript library for building user interfaces using a component-based architecture, while Angular is a full-fledged framework with built-in features for front-end development.
Django is a high-level Python web framework that enables rapid development with clean, pragmatic design, following the “batteries-included” philosophy.
Flask is a lightweight microframework for Python, offering greater flexibility but fewer built-in features than Django, making it more suitable for smaller projects.
Views handle the logic of the application, while templates are responsible for rendering the data in HTML format to be displayed in the browser.
Middleware is a layer of components that process requests and responses, providing hooks to alter the input or output globally for the application.
SQL databases are relational and use structured query language, while NoSQL databases are non-relational and store data in flexible, schema-less formats like key-value pairs or documents.
Decorators are functions that modify the behavior of other functions or methods without changing their actual code.
Django uses a built-in authentication system with user models, forms, and views to handle user registration, login, and permissions.
RESTful APIs use standard HTTP methods for communication, while GraphQL allows more flexibility in querying data, enabling clients to specify exactly what data they need.
Both Flask and Django manage sessions using cookies and server-side storage, maintaining user states across requests.
Docker is a platform that allows developers to package applications into containers, making it easier to deploy and scale across different environments.