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

NameError: name 'parser' is not defined #59

Open
Zyabi opened this issue Apr 12, 2022 · 2 comments
Open

NameError: name 'parser' is not defined #59

Zyabi opened this issue Apr 12, 2022 · 2 comments

Comments

@Zyabi
Copy link

Zyabi commented Apr 12, 2022

Traceback (most recent call last):
File "botAccountCreate.py", line 13, in
args = parser.parse_args()
NameError: name 'parser' is not defined

installed all dependencies

@turntducky
Copy link

on botAccountCreate.py you should see the following :

args = parser.parse_args()
ua = UserAgent()
userAgent = ua.random
print(userAgent)

above that you'll want to do the following :

parser = argparse.ArgumentParser()

@Nishant87555
Copy link

Delete this smiple

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

No branches or pull requests

3 participants