🐍 Python Term of the Day: soft keyword (Python Glossary) A special kind of keyword that retains its meaning only in specific contexts, while in other contexts, it behaves like a regular identifier. https://lnkd.in/gQB2Upz4
Python Soft Keyword Definition
More Relevant Posts
-
Python type annotations let you attach type information directly to variables, function parameters, and return values. They do not change how Python runs your code at runtime—but they transform what your editor and your teammates can understand about it before a single line executes. https://lnkd.in/g4JXgCgi #python
To view or add a comment, sign in
-
Easily the best feature in the upcoming version of Python: lazy imports. It's also designed to be forwards-compatible (so existing code can be reworked to start using it when run on the right version of the interpreter). https://lnkd.in/eUF3tZJ9
To view or add a comment, sign in
-
Every import in #Python executes the module, from start to finish. Meaning? Big modules slow down your program's startup time. Coming in Python 3.15 this October: "lazy import", which delays the load until a name is used: lazy import MODULE lazy from MODULE import NAME
To view or add a comment, sign in
-
-
🐍 Python Term of the Day: pass (Python Keywords) A placeholder statement that allows you to write syntactically correct code without executing any operations. https://lnkd.in/e5cJqaah
To view or add a comment, sign in
-
🐍 Python Term of the Day: global (Python Keywords) Lets you declare that a variable used inside a function is global, which allows you to modify the variable defined outside of the current function scope. https://lnkd.in/gFHgDAdf
To view or add a comment, sign in
-
GIL is not the reason Python is slow. for example JS is single threaded unless you use worker threads for multithreading but still much much faster. the problem with python is it's slow interpreter and asyncio.
To view or add a comment, sign in
-
Python Tip: Operator Overloading This is a very important concept in Python Ever wondered how Python knows what '+' means? For numbers, it's addition; for strings, it's concatenation; and for lists, it's merging. That's operator overloading in action! Operator overloading means giving special meaning to operators (+, -, *, ==, etc.) for your custom classes. You define how these operators should work with your objects. 📺 Let me explain it to you in simple terms 👇
To view or add a comment, sign in
-
Okay, I guess I'm still learning Python. I never heard about this Cool Python feature. The := operator in Python is called the Walrus operator.
To view or add a comment, sign in
Explore content categories
- Career
- Productivity
- Finance
- Soft Skills & Emotional Intelligence
- Project Management
- Education
- Technology
- Leadership
- Ecommerce
- User Experience
- Recruitment & HR
- Customer Experience
- Real Estate
- Marketing
- Sales
- Retail & Merchandising
- Science
- Supply Chain Management
- Future Of Work
- Consulting
- Writing
- Economics
- Artificial Intelligence
- Employee Experience
- Workplace Trends
- Fundraising
- Networking
- Corporate Social Responsibility
- Negotiation
- Communication
- Engineering
- Hospitality & Tourism
- Business Strategy
- Change Management
- Organizational Culture
- Design
- Innovation
- Event Planning
- Training & Development