🚨 Python Packaging Question – Day 1 Most Python developers have used this command at some point: pip freeze > requirements.txt It’s quick, easy, and commonly recommended in tutorials. But here’s the twist 👇 Many experienced developers consider this a bad practice for sharing projects. ❓ Question: Why is pip freeze not ideal for creating requirements.txt for a project? What problem does it create for other developers? What is a better alternative approach? What problem does that alternative solve? 💬 Drop your thoughts in the comments. Even guesses are welcome! I’ll post the full explanation and better workflow tomorrow in the comments. #Python #SoftwareEngineering #TechQuestion #DevCommunity #LearningInPublic
Arjun Acharya’s Post
More Relevant Posts
-
🐍📰 Python Gains frozendict and Other Python News for March 2026 Catch up on the latest Python news: frozendict joins the built-ins, Django patches SQL injections, and AI SDKs race to add WebSocket transport https://lnkd.in/gaKJ84gk
To view or add a comment, sign in
-
Built a small Python script that auto-organizes files in a folder by type like images, videos, documents, code files and more. Nothing fancy, just a useful little tool I made for myself. Open-source if anyone wants it. GitHub: https://lnkd.in/gt8cEsYf #Python #Automation #OpenSource
To view or add a comment, sign in
-
If you work with Python, you should try uv init --bare. Instead of generating a full project structure with extra files, this command creates a minimal Python project with just the essentials. No clutter. No unnecessary boilerplate. This is especially useful when you: • Want a clean starting point • Prefer structuring the project your own way Want experimenting with quick prototypes Example: uv init --bare my-project You get a lightweight project initialized with pyproject.toml, and you can build the rest exactly how you want. Simple idea, but it makes the Python project setup much cleaner. Sometimes the best tools are the ones that stay out of your way. #python #fastapi
To view or add a comment, sign in
-
Now that Substack supports code coloration, I will update the old articles one by one to convert them to the new format, give them some updates, fix typos, etc. The first one getting a refresh is: "Relieving your Python packaging pain" https://lnkd.in/eTsikRTR Now that uv exists, this article is mostly for when you can't use uv since it's a superior solution.
To view or add a comment, sign in
-
How to Access Dictionary Values in Python Stop crashing your Python code! Learn two bulletproof ways to access dictionary values and dodge those pesky KeyErrors forever. https://lnkd.in/gD2TvaPG
To view or add a comment, sign in
-
-
🚀 Just built a small Python project: QR Code Generator This mini project takes a user-provided URL and generates a QR code that is automatically saved as an image on the device. It was a great way to explore working with Python libraries and handling simple user input/output. 🔧 Tech used: Python, qrcode library 🔗 link : https://lnkd.in/gTABh48i #Python #Programming #Coding #OpenSource #GitHubProjects
To view or add a comment, sign in
-
🐍 Write More Pythonic Code 📈 With this learning path you'll get a guided tour through Python's most valuable best practices so you can write clean, readable, and Pythonic code #python #learnpython
To view or add a comment, sign in
-
Download x videos without third party's utility. Just use python. Set the environment if needed, pull the required modules: pybalt pyyaml click dotenv aiohttp aiofiles requests fastapi uvicorn prompt_toolkit and run cobalt "x-video-url" -r. The video will saved in Download directory.
To view or add a comment, sign in
-
Python 3.12 Delivers Critical Syntax and Performance Upgrades for Production Systems 📌 Python 3.12 hits production with game-changing syntax, slashing boilerplate and boosting speed-thanks to PEP 695’s sleek type hints, f-string power-ups, and async TaskGroup for smoother concurrency. Whether you’re building scalable backends or refining type-safe code, this update delivers tangible performance gains and cleaner, more expressive Python. 🔗 Read more: https://lnkd.in/dU8h3pJr #Python312 #Pep695 #Fstringgrammar #Typesafety
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