Closed QuLogic closed 8 years ago
Don't change directories, and don't mangle sys.argv. The former can be specified directly in the Popen constructor, and the latter is cruft from when the f2py module was imported directly.
sys.argv
Popen
seems much cleaner, thanks! . have you tested it in both python2 and python3? and any different OS ?
Sorry, only tried on 3.4 and 3.5, but I don't see why it wouldn't work with 2.7.
Don't change directories, and don't mangle
sys.argv
. The former can be specified directly in thePopen
constructor, and the latter is cruft from when the f2py module was imported directly.