UCL / UCL/rsd-engineeringcourse
Argparse page
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 133
- Forks
- 111
- PR merge metrics
- No merged PRs in 30d
Description
-
We need to explain the line:
if __name__ == "__main__": -
what does this mean?
action="store_true" -
(may be answer to question 2.) How do we tell it when it should expect a value after an argument and when it shouldn't? e.g.
-tneeds a value afterwards but-pdoesn't.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the Argparse page in the course materials and review its existing examples. Update the page to address the main guard, action="store_true", and how -t and -p differ in whether they expect values; done means all three questions are answered with clear examples.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, documentation
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100