Message from Python discussions
November 2018
— Udemy course is unavailable
Hello,
Could someone help me, I use the argparse module.
On the command line i'd like to make the user of the program, write like that
Python3 [program name] -argument [str] [int]
I want to force him to write an Str and after that an int
Can anyone give me a tip ? thanks !
— There are explicit examples in the docs for that
— Actually I read the doc, many times, am I blind :(
— Read ALL examples with type=…
— Yeah, I wrote type = Str
But the second option , how could I add it
— Окeу, , I'll read it again
— And there ARE ones with no --
— Help
— Hello guys
— Make sure you don't have a variable named str
— Traceback (most recent call last):
File "/home/cyril/Desktop/python/sample work/phishing/Malicious-Web-Content-Detection-Using-Machine-Learning-master/features_extraction.py", line 12, in <module>
from google import google
ImportError: cannot import name 'google'