Day 4 done Today was less about “big problems” and more about practical coding: File line counting from a text file Word frequency counting with text cleaning Just Python basics that actually matter in real projects: file I/O, regex splitting, whitespace cleanup, punctuation handling, and case normalization. What I liked most today: small logic details made a big difference. A tiny cleanup step can completely change output quality. Code for Day 4: https://lnkd.in/gh-KJzG5 #Python #SoftwareEngineering #DeveloperJourney #Day4 #ProblemSolving
Python Basics: File I/O, Regex, and Text Cleanup
More Relevant Posts
-
🚀 Day 2/30 – Stack & Queue Implementation using Python 🐍📚 Continuing my 30 Days Python Challenge with one of the most important Data Structures fundamentals! Today, I built a Stack & Queue implementation in Python to strengthen my understanding of LIFO and FIFO concepts, along with how data flows in real-world applications 💻 What I focused on today: ✨ Implementing Stack operations: push, pop, peek ✨ Implementing Queue operations: enqueue, dequeue ✨ Strengthening DSA logic and problem-solving skills This challenge is all about consistency, learning in public, and becoming better every single day 🚀 👉 Would love your feedback! Day 3 coming tomorrow… stay tuned 👀 #Python #30DaysChallenge #PythonProjects #DataStructures #Stack #Queue #CodingJourney #LearnPython #BuildInPublic #ProblemSolving
To view or add a comment, sign in
-
🐍 One thing I learned from working with real systems: Most issues are not in writing code... they are in understanding failures. When something breaks, I now focus on: → Logs analysis → Reproducing the issue → Identifying root cause Instead of jumping to fix, I try to understand why it failed. This approach has improved my problem-solving a lot. #Python #Debugging #ProductionSupport #Learning
To view or add a comment, sign in
-
Managing Python environments shouldn’t be a nightmare. But for many — it still is. Here’s how to keep things clean, fast, and production-ready in 2026: 🛠️ Use uv or poetry to manage environments & dependencies. Faster, safer, and simpler than old-school pip+venv. ⚡ Speed matters – use polars, numpy, and numba to vectorize heavy loops. Even small tweaks can give 10× performance wins. 🧼 Lint + Format + Type-check = non-negotiable Ruff for linting Black for formatting Pyright or Pyrefly for fast type-checks 💡 Bonus tip: Use Typer to build CLIs in minutes. So clean, it feels like magic. 💬 What’s one Python setup rule you wish you knew earlier? #Python #CodeQuality #Productivity #DevTools #DataEngineering
To view or add a comment, sign in
-
-
I got tired of scrolling through messy file names… so I fixed it with a small Python script. While reading One Piece manga PDFs, the file names were all over the place: chapter-1112, one-piece-chapter-1222, onepiece-1123, OP-Chapter-1123… Finding the correct order every time was annoying. So I wrote a simple script that: Extracts the chapter number from any format Renames files into a consistent structure Automatically arranges them in readable order Nothing fancy just solving a small personal problem and saving time. This reminded me: You don’t always need big projects. Even small scripts that remove friction from your daily life are worth building. Clean input → Clean output → Peace of mind 😌 #Python #LearningByDoing #Automation #OnePiece #Coding
To view or add a comment, sign in
-
-
Today’s focus was on string manipulation in Python, which is an essential part of handling real-world data. I practiced different operations to understand how strings can be processed and transformed efficiently. Here’s what I worked on: • Extracting characters at even indices • Replacing spaces with underscores • Checking if a string contains only digits • Reversing a string using slicing • Capitalizing the first letter of each word These exercises helped me improve my understanding of string handling, indexing, and built-in Python methods. Building consistency and strengthening fundamentals step by step. Big thanks to VASU KUMAR PALANI and PythonLife for the continuous guidance and support. #Python #CodingJourney #LearnInPublic #PythonStrings #Programming #100DaysOfCode #Consistency #TechSkills
To view or add a comment, sign in
-
-
🚀 Day 3 — Python Journey Today’s focus was on float operations in Python (working with decimal numbers). 📌 What I learned: Float declaration Addition, subtraction, multiplication, division Rounding values using round() Scientific notation Precision handling in floats 💡 What I found interesting: Float values are not always 100% accurate due to precision limitations. Even simple calculations can sometimes give unexpected results. Understanding this early is important, especially for real-world applications like finance or data science. Step by step, trying to build a strong foundation. #Day3 #Python #CodingJourney #LearnInPublic #Consistency
To view or add a comment, sign in
-
-
🚀 Today I practiced Python by building a mini project Created a Number Guessing Game 🎯 What I worked on: • Variables & data types • Loops (while) • Conditional statements (if/elif/else) • Attempt tracking logic What I learned: Building something small helped me understand how logic and flow actually work, instead of just watching tutorials. Challenges I faced: • Managing loop conditions • Tracking attempts correctly Sharing a snippet of my code below 👇 Next: → Building a CLI To-Do List → Improving input validation Staying consistent and learning step by step. #Python #LearningInPublic #CodingJourney #BeginnerDeveloper
To view or add a comment, sign in
-
-
𝗙𝗿𝗼𝗺 𝗱𝗮𝘁𝗮 𝘁𝗼 𝗶𝗻𝘀𝗶𝗴𝗵𝘁. 𝗦𝘁𝗮𝗿𝘁 𝗵𝗲𝗿𝗲. You don’t need to be a programmer to start using Python in your work. You just need to know where to begin. If you work with air quality data, Python helps you analyse it, visualise it, and turn it into insight you can use. We start simple and build from there. Join 𝗝𝗼𝗵𝗻 𝗜𝗻𝗻𝗶𝘀 for this introductory course focused on practical application using real air quality examples. You will work with data, build plots, and create simple tools you can use in your own work. No theory for the sake of it. Just capability you can use. 📅 𝟭𝟯, 𝟭𝟱, 𝟮𝟬 & 𝟮𝟮 𝗠𝗮𝘆 𝟮𝟬𝟮𝟲 🕛 𝟭𝟮.𝟬𝟬 – 𝟮.𝟬𝟬 𝗽𝗺 𝗔𝗘𝗦𝗧 💻 𝗢𝗻𝗹𝗶𝗻𝗲 👉 𝗥𝗲𝗴𝗶𝘀𝘁𝗲𝗿 𝗻𝗼𝘄 for 𝗜𝗻𝘁𝗿𝗼𝗱𝘂𝗰𝘁𝗶𝗼𝗻 𝘁𝗼 𝗣𝘆𝘁𝗵𝗼𝗻: https://lnkd.in/gqW9piKb #AirQuality #Python #DataAnalysis #EnvironmentalScience #CASANZ
To view or add a comment, sign in
-
-
Day 2/100: Logic & Math in Python! 🐍💸 Day 2 of my #100DaysOfCode challenge is in the books! Today’s focus was on handling user input, data types, and mathematical operations. I built a Tip Calculator project that handles bill splitting and percentage calculations—a simple but essential exercise in ensuring data accuracy and clean logic. What I practiced today: ->Type conversion (String to Float/Int) ->F-strings for clean output ->Floating-point precision 🔗 GitHub: https://lnkd.in/gWWzMYdn Small wins every day lead to big victories! Onward to Day 3. ⚔️ #Python #100DaysOfCode #LogicBuilding #CodingChallenge #GrowthMindset #DevCommunity
To view or add a comment, sign in
-
Python Dunder Methods: Making code more "Pythonic" 🐍 I’ve been playing around with operator overloading today! Instead of writing a bulky function like add_packages(pkg1, pkg2), Python allows us to use the __add__ magic method. By defining __add__, I can simply use the + operator to combine two package objects. Cleaner syntax? Check. More readable? Absolutely. I also added __str__ to ensure that when I print the result, I get a clear, formatted summary of the dimensions and weight rather than a messy memory address. #Python #CodingTips #SoftwareDevelopment #ObjectOrientedProgramming #CleanCode
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