Day 81 of #100DaysOfCode: Command-Line Arguments! , Python's sys module provides access to command-line arguments passed when running a script. Two key features: • sys.argv stores arguments as a list, with the script name as the first element • len(sys.argv) - 1 gives the count of arguments passed Perfect for creating flexible scripts that accept user input at runtime! GitHub: https://lnkd.in/gJxpTaUV #Python #Coding #100DaysOfCode #Programming #LearnToCode #SysModule
Ritteek Kumar’s Post
More Relevant Posts
-
Day 104/200 LeetCode Decode Ways using Dynamic Programming in Python. Today’s challenge was about finding how many different ways a numeric string can be decoded into alphabets (1 = A, 2 = B … 26 = Z). Used DP with space optimization Handled tricky cases like leading zeroes ("0") and invalid combinations ("06") Consistency is the real key One problem closer to mastery. #Dayof200 #LeetCode #Python #DynamicProgramming #CodingChallenge #ProblemSolving #Programmer #CodingJourney
To view or add a comment, sign in
-
-
Day 2 – Python Deep Dive 🚀 Topic: Variables (Understanding Deeper) A variable is not just a container—it’s a reference to an object in memory. Example: a = 10 b = a a = 20 Now, b is still 10 because integers are immutable. 👉 Key takeaway: Variables point to objects, not store values directly. This concept is crucial for writing bug-free code later. #Python #Programming #DeveloperMindset
To view or add a comment, sign in
-
-
The latest Qt for Python 6.11 release focuses on Qt Bridges, simplifying Python-Qt integration, and continues alignment with Qt/C++ updates to keep Qt for Python up to date with upstream improvements. See what is new and what is still in progress in the release blog: https://qt.smh.re/4UL
To view or add a comment, sign in
-
-
The latest Qt for Python 6.11 release focuses on Qt Bridges, simplifying Python-Qt integration, and continues alignment with Qt/C++ updates to keep Qt for Python up to date with upstream improvements. See what is new and what is still in progress in the release blog: https://qt.smh.re/4Ug
To view or add a comment, sign in
-
-
Just built a simple Rock-Paper-Scissors game using Python. This project helped strengthen my understanding of core programming concepts like: - User input handling - Conditional logic - Randomization - Looping and game flow control It’s a small project, but a great reminder that even simple ideas can sharpen problem-solving skills and reinforce fundamentals. Next step: thinking of adding a score tracker and maybe a GUI to make it more interactive. Always open to feedback and suggestions.
To view or add a comment, sign in
-
-
🔁 Python Revision – Loops Continuing my Python fundamentals revision 🐍 In this session, I focused on: ✔️ for loops ✔️ while loops ✔️ Nested loops ✔️ Loop control statements (break, continue, pass) Practiced writing programs using loops to handle repetitive tasks efficiently and explored nested loops for solving pattern-based and complex problems. Documented my practice in a colab Notebook and shared it as a PDF to track my progress. Understanding loops is helping me write more structured and efficient code 💡 #Python #Loops #Programming #Coding #LearningJourney #DataAnalytics
To view or add a comment, sign in
-
🚀 Python Project: Number Guessing Game Developed a Number Guessing Game using Python where the system generates a random number and provides hints like "Too High" or "Too Low" until the correct guess is made. 💡 Features: Random number generation Loop-based user interaction Real-time feedback Attempt tracking 📸 Screenshot of the output below 👇 🔗 GitHub Repository: [https://lnkd.in/gyvF7MG3] #Python #Programming #Projects #GitHub #Coding
To view or add a comment, sign in
-
-
Try the code and then catch the error Try the code except (error possibility) Try this block with the exception that (error possibility) Finallyyyy, if all is done: Proceed This is how my head sees the try.....catch.....except......finally flow in error handling #Python #Programming #CodingTips #SoftwareDevelopment
To view or add a comment, sign in
-
🎮 Built a Tic Tac Toe Game using Python! A simple Tic Tac Toe game using Python(+Tkinter library). 🖥️ Opens in a GUI window and runs continuously until the user closes it. ❌⭕ A two-player game on a 3×3 grid. 🧠 The program automatically detects wins and draws. Allows to restart the game and switch players to start based on the win. This project helped me better understand GUI development and implementing game logic in Python. Looking forward to building more interactive applications 🚀 #Python #Tkinter #Coding #Projects #LearningJourney
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