Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Created Python article on how to use the argparse module (1 min) #92

Merged
merged 3 commits into from
Nov 1, 2020
Merged

Created Python article on how to use the argparse module (1 min) #92

merged 3 commits into from
Nov 1, 2020

Conversation

rjayroso
Copy link
Contributor

In response to the issue #87 I went ahead and created a short article on using Python's command-line argument parser, argparse.

In short, the article is a concise tutorial on the basics of using argparse to create a program that calculates the area of a rectangle with the user's input (which is extracted from the command prompt).

Here are examples of what I am referring to:

Using -h to display help message

Using argparse to parse two integers

If there are any changes that you want to be made, feel free to let me know. Thank you.

@natemago natemago merged commit bf1e48a into flashreads:master Nov 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants