I had struggled with using modules that were meant to be invoked using the command line such as unittest and pylint. I recently discovered that you could call python SimpleHTTPServer to share files with others on the network. However, I could not figure out how to use python in Pythonista's interpreter.
I made a little script that will run a python module or script with args. It simulates the console command:
>python -m module|script [args]
It sets the directory to the currently opened editor file. It's useful for running standard library modules and .py files with args.