Skip to content

Commit e8d953f

Browse files
authored
Create README.md
1 parent 4f4a46b commit e8d953f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

simpy/README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Simulating Real-World Processes With SimPy
2+
3+
Corresponding code for ["Simulating Real-World Processes With SimPy."](https://realpython.com/simulation-with-simpy/)
4+
5+
## Running the Script
6+
7+
The file `simulate.py` contains the script that mimics the tutorial code. You can execute the code by running `python3 simulate.py` from the directory that contains the file.
8+
9+
Here is some sample output:
10+
11+
```console
12+
$ python3 simulate.py
13+
Input # of cashiers working: 1
14+
Input # of servers working: 1
15+
Input # of ushers working: 1
16+
The average wait time is 38 minutes and 7 seconds.
17+
```

0 commit comments

Comments
 (0)