%What does s mean in Python format strings?
%s mean in Python? And what does the following bit of code do?
if len(sys.argv) < 2: sys.exit('Usage: %s database-name' % sys.argv) if not os.path.exists(sys.argv): sys.exit('ERROR: Database %s was not found!' % sys.argv)
This question and all comments follow the "Attribution Required."
Leave a Reply
You must be logged in to post a answer.