|
From: Zhian K. <ka...@sc...> - 2016-08-19 16:57:54
|
Hello, I was wondering if anyone has an example of using argparse instead of simuOpt.Params() given that the latter is now deprecated [0]? I'm looking for an example that encapsulates reading in arguments from the command line OR a configuration file and then writing them to a configuration file. I've found a blog post [1] on advanced argument parsing and will be attempting to refactor my script. If I come up with a solution before anyone answers, I'll answer my own question. Thanks, Zhian [0]: http://simupop.sourceforge.net/manual_svn/build/userGuide_ch7_sec1.html [1]: http://tricksntweaks.blogspot.com/2013/05/advance-argument-parsing-in-python.html |