YOUR LEARNING SPACE / BEGINNER
Understanding sys.argv in Python
How to use command-line arguments in Python.
◷ 1 minA CODETUTOR MINI-LESSONUnderstanding sys.argv in Python
How to use command-line arguments in Python.
</> CHAPTER 01Welcome to this lesson on using command-line arguments in Python. We'll explore how to read and use arguments passed to your script.
Use ← → anywhere on this page to change slides
FOLLOW ALONG
Lesson transcript
8 moments✓
YOUR TURNReady to try one?
Practice what you just learned with a short exercise made for this lesson.