mirror of
https://github.com/linkedin/school-of-sre
synced 2026-01-15 13:08:03 +00:00
Remove shell prompt so shell commands are easier to read
This fixes this issue #83 I made this commit by running a find replace with the pattern '^.*spatel1\$' and replaced it with '$'
This commit is contained in:
committed by
Sanket Patel
parent
6100c9af50
commit
a605e72695
@@ -47,14 +47,14 @@ Well, Java's compiler is more strict and sophisticated. As you might know Java i
|
||||
|
||||
```bash
|
||||
# Create a Hello World
|
||||
spatel1-mn1:tmp spatel1$ echo "print('hello world')" > hello_world.py
|
||||
$ echo "print('hello world')" > hello_world.py
|
||||
|
||||
# Making sure it runs
|
||||
spatel1-mn1:tmp spatel1$ python3 hello_world.py
|
||||
$ python3 hello_world.py
|
||||
hello world
|
||||
|
||||
# The bytecode of the given program
|
||||
spatel1-mn1:tmp spatel1$ python -m dis hello_world.py
|
||||
$ python -m dis hello_world.py
|
||||
1 0 LOAD_NAME 0 (print)
|
||||
2 LOAD_CONST 0 ('hello world')
|
||||
4 CALL_FUNCTION 1
|
||||
|
||||
Reference in New Issue
Block a user