Running programs or scripts in IPython is easy, and here are the commands to use.
| run filename.py | runs the program "c">filename.py found in the present working directory |
| run python/filename.py | runs the program "c">filename.py found in the python directory under the present working directory |
| run -p filename | profile the script, "c">filename |
| run -d filename | run the script through the Python debugger, pdb |
| run? | show help for run . . . many useful options |
0 Responses to “Running a program in IPython”