test string escape
This commit is contained in:
parent
f010b60462
commit
bad420e8ba
2
main.py
2
main.py
@ -9,6 +9,6 @@ pid = os.getpid()
|
|||||||
#write pid to file /tmp/battleship_server.pid
|
#write pid to file /tmp/battleship_server.pid
|
||||||
with open('/tmp/battleship_server.pid', 'w') as f:
|
with open('/tmp/battleship_server.pid', 'w') as f:
|
||||||
f.write(str(pid))
|
f.write(str(pid))
|
||||||
print('Hello my(i am battleship server) pid is ' + str(pid))
|
print('Hello my(i \'m battleship server) pid is ' + str(pid))
|
||||||
while True:
|
while True:
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
|
Loading…
Reference in New Issue
Block a user