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

Add arguments to the script to control output format #3

Open
hidalgopl opened this issue May 24, 2019 · 0 comments
Open

Add arguments to the script to control output format #3

hidalgopl opened this issue May 24, 2019 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@hidalgopl
Copy link
Owner

I'd like to run my script like this:
python scrapper.py --output-format=json/text
We can achieve this using sys.argv or getopt module.
Tutorial: https://www.tutorialspoint.com/python/python_command_line_arguments.htm

@hidalgopl hidalgopl added good first issue Good for newcomers help wanted Extra attention is needed enhancement New feature or request labels May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant