🐍🎧 Advice for Writing Maintainable Python Code What are techniques for writing maintainable Python code? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder's Weekly articles and projects. https://lnkd.in/dZanYsed
Writing Maintainable Python Code with Christopher Trudeau
More Relevant Posts
-
🐍🎧 Advice for Writing Maintainable Python Code How do you make your Python code more readable and easier to refactor? Christopher Trudeau is back on the show this week, bringing another batch of PyCoder's Weekly articles and projects. https://lnkd.in/dZanYsed
To view or add a comment, sign in
-
-
💻 Brushing Up on OOP Concepts in Python Day 4/7 — Aggregation in Python (OOP Concept) Today I worked on class relationships in Python, focusing on Aggregation, one of the core pillars of Object-Oriented Programming (OOP). 🔹 What is Aggregation in Python? Aggregation defines a “has-a” relationship between two classes — where one class holds an object of another class but both can exist independently. For example: A Customer has an Address. Even if the Customer object is deleted, the Address object still exists — that’s Aggregation. Here’s a small snippet from my implementation:
To view or add a comment, sign in
-
-
uv python install 3.15 💡 What This Does This tells uv to: Download and install Python version 3.15 on your system (if available). uv manages multiple Python versions automatically — similar to tools like pyenv.
To view or add a comment, sign in
-
-
TWIL*: You can write VSCode extensions in Python using my PyScript LTK UI toolkit, which runs in WebAssembly and renders the UI in Python within a WebView (Chromium). Is this cool, or is this super cool? In the screenshot, the tree on the left is generated in TypeScript. The WebView content on the right is done in Python. The two environments can send each other messages, so from the WebView you can read Python files from your workspace, parse them, analyse the AST, and do all kinds of interesting things. *=This Weekend I Learned
To view or add a comment, sign in
-
-
Learn how to use the Python functionalities in useMango including: - Creating Python components - Adding Python packages - Selecting an execution engine https://lnkd.in/eCqRf4ju
To view or add a comment, sign in
-
-
#task01 #CodSoft To-Do Application using python on google colab This project is a simple yet functional command-line or GUI-based Python application designed to maintain a list of tasks. Users can add new tasks, mark tasks as completed, delete unwanted tasks, and view all pending activities. The application demonstrates the use of Python’s object-oriented programming concepts, file handling, and data persistence to store tasks permanently. For GUI-based versions, the project can utilize Tkinter, Python’s built-in GUI library, to create an interactive interface for users to manage their to-do lists easily.
To view or add a comment, sign in
-
Solving "Group Anagrams" doesn't have to be complicated! For this classic coding interview problem, the elegance of Python's collections.defaultdict combined with a clever use of sorted strings makes for an incredibly clean and efficient solution. In my latest video, I walk through the optimal approach to group anagrams. You'll see how defaultdict(list) perfectly handles the grouping, using the sorted string as a unique key for all its anagrams. This is a fantastic example of writing highly readable and performant Python code. If you're prepping for interviews or just love seeing smart solutions, this one's for you! Watch the full breakdown here: https://lnkd.in/g2aZmrRg #Python #Algorithms #DataStructures #CodingInterview #LeetCode #GroupAnagrams #defaultdict #CleanCode #SoftwareDevelopment #TechSkills #Programming
: Group Anagrams: The Elegant Python defaultdict Solution (LeetCode / NeetCode)
https://www.youtube.com/
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