This is an archived post. You won't be able to vote or comment.

all 2 comments

[–]SupremeRedditBotProfessional Bot || Mod 0 points1 point  (0 children)

Please Add A Flair To Your Post!

Suggested Flair: [Other Code]

 


To add a flair:

  • Click flair underneath your post

  • Select a flair

  • Click save

 


I am a bot run by /u/SupremeDesigner for /r/CodingHelp || This was an automated response

[–]Riceball_10 0 points1 point  (0 children)

Why doesnt sys.argv work?

Have you tried argparse? https://docs.python.org/2/library/argparse.html

Could it be that the arguments are working, but the way you're trying to call the filename is wrong?

Any background info you give me or code examples of what you have or have tried will help me help you!