This website requires JavaScript.
Explore
Help
Sign In
anna
/
doors
Watch
1
Star
0
Fork
1
You've already forked doors
Code
Issues
Pull Requests
Releases
Wiki
Activity
a95db28f5c
doors
/
simulator.sh
4 lines
85 B
Bash
Raw
Normal View
History
Unescape
Escape
Create a simulator.sh script Running this script will start python, load the simulator module, and then drop to a command line. Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2015-04-22 20:52:43 -04:00
#!/bin/bash
simulator: Add a function for reloading the simulator This lets me update the doors.py file without needing to exit the Python interpreter. Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2015-04-23 08:35:09 -04:00
python -ic
"
from simulator import *
def reload
(
)
: reload_sim
(
globals
(
)
)
"
Reference in New Issue
Copy Permalink