SyntaxFix
Write A Post
Hire A Developer
Questions
Here's a quick way to do it, won't require anything besides sys.. though functionality is limited:
sys
flag = "--flag" in sys.argv[1:]
[1:] is in case if the full file name is --flag
[1:]
--flag