change print
This commit is contained in:
parent
1df035f033
commit
f010b60462
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(battleship_server) pid is ' + str(pid))
|
print('Hello my(i am battleship server) pid is ' + str(pid))
|
||||||
while True:
|
while True:
|
||||||
time.sleep(2)
|
time.sleep(2)
|
||||||
|
Loading…
Reference in New Issue
Block a user