Day 27 – Python os Module | Mini Project 🚀 Today, I learned about the os module in Python, which allows interaction with the operating system. I practiced working with files and folders and built a mini File Manager project. 🔹 Key concepts covered: os.getcwd() – get current working directory os.listdir() – list files and folders os.mkdir() & os.makedirs() – create directories os.path.exists() – check file/folder existence os.path.join() – handle paths safely os.remove() – delete files 🔹 Mini Project: Built a menu-driven File Manager to create folders, create files, list directories, and delete files. This helped me understand real-world file handling and OS-level operations using Python. #Python #PythonLearning #OSModule #FileHandling #MiniProject #LearningJourney #Day27
Python os Module: File Manager Mini Project
More Relevant Posts
-
Ever installed a Python package... and still got ModuleNotFoundError? Most of the time, the package isn’t missing. It’s just installed in a different Python. That confusion is what I built Mustel for. Mustel is a small Python CLI tool that helps you: ✔️see which Python you’re actually using. ✔️see what packages are installed where. ✔️understand environment mismatches clearly. ✔️It doesn’t modify your system. ✔️It just makes Python environments visible. Install: pip install mustel Docs: https://lnkd.in/dncSmRDd PyPI: https://lnkd.in/dbDhr673 Built while learning Python packaging and CLI internals. #lauchpost #mustel #python #learning #project #pythonpackage #pypi
To view or add a comment, sign in
-
Installing Python dependencies doesn’t have to be slow. I wrote about why I switched to uv and why it’s now the only tool I use to manage Python projects. - Why uv is much more than a fast pip replacement - How uv manages Python versions, virtual environments, and execution - How to adopt uv without rewriting your existing projects Tomorrow, I’ll show you data folks and Python users how to simplify their Python workflow with uv. One tool, faster installs, and fewer headaches. If you want to join us, subscribe here: https://lnkd.in/gbuCEQXp #data #python #uv
To view or add a comment, sign in
-
👀 How do you print a list using just ONE single line ❓ ❓ ❓ 🐍 Python has simple lists with this format: nameOfList = [value1, value2, value3] If you want to print all the values in the list, perhaps the first thing you think of is that you'll need a loop ➿. But what if you want all the values displayed on "a single line"? You can also use a loop with some modifications. However, Python has the unpacking operator ❗ ❗ ❗ Place the character * at the beginning of your list. It automatically "unpacks" all the contents of your list into a single line! #Python #IA #programming
To view or add a comment, sign in
-
-
How to Scrape GitHub with Python 🐍 GitHub is one of the most convenient sources of public data for developers: trending repositories, stars, languages, project activity, and much more. In this article, we demonstrated how to collect this data in practice using Python with requests and BeautifulSoup, how to use GitHub Trending filters, and why using proxies helps reduce the risk of blocks and access errors. If you want to learn how to scrape GitHub with Python, follow the link 👉🏼https://lnkd.in/d_k9-g7Q #WebScraping #Python #GitHub #DataImpulse #Proxies
To view or add a comment, sign in
-
-
Day 4 Python basics 🐍 | Install Python like a pro ✅ DAY 4 — Installing Python & Tools 🎯 Topic: How to Run Python on Phone & Laptop Do You Need a Laptop? You don’t need an expensive laptop to start learning Python. You can practice Python using your phone or any simple computer. On Android phones, you can install an app called Pydroid. It allows you to write and run Python code directly on your phone. You can also use Google Colab in your browser. It runs Python online, so you don’t need to install anything. So no excuses. With just your phone or browser, you’re ready to start learning Python today. #PythonForBeginners #FreePythonCourse #30DaysChallenge
To view or add a comment, sign in
-
I built a small Python utility for myself to generate C, C++, and Python source/header files with a consistent header format. Copy-pasting boilerplate can be a pain, and I’ve caught myself forgetting to update headers more than once. This tool helps me avoid that by generating clean, consistent files automatically. I decided to share it in case it’s useful to others as well. https://lnkd.in/gmxnAJGy
To view or add a comment, sign in
-
Python Logic Practice – Building Foundations from Scratch Today I continued my self-practice on Python logic building, focusing purely on conditional statements. Problems I worked on: character type detection vowel vs consonant checks even / odd validation positive, negative, zero classification leap year logic What this practice keeps reminding me is how easy it is to write code that runs but gives wrong results. Python doesn’t warn you when your logic is incorrect. It only executes what you tell it to do. One example was leap year validation. A small mistake in condition ordering silently breaks the logic, especially for century years. No exception. Just a wrong outcome. This kind of practice has reinforced something important for me: strong software isn’t built on frameworks first, it’s built on clear and correct decision-making. I’m documenting these practice problems as part of my preparation. The code and daily practice logs are here: 👉 GitHub: https://lnkd.in/dNq2aiyk Back to practice. #python #learninginpublic #logicbuilding
To view or add a comment, sign in
-
Day 18 of #WhatILearnedToday 🐍 Today I learned about Python Modules and Packages—how Python helps us organize code efficiently and reuse it across projects. 🔹 Modules allow us to split code into separate .py files 🔹 Packages help group related modules using a directory structure This approach improves readability, maintainability, and scalability, especially when working on larger applications. Understanding imports, built-in modules, and third-party packages made my Python learning feel more structured and professional. Writing clean code isn’t just about logic—it’s also about organization 📦 💬 Which Python module or package do you use the most? #WhatILearnedToday #Python #Modules #Packages #PythonLearning #Programming #CleanCode #DeveloperJourney #Upskilling
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
Pop can also use for remove .