Add files via upload
This commit is contained in:
19
paramiko-print.py
Normal file
19
paramiko-print.py
Normal file
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/env python
|
||||
|
||||
import time
|
||||
import sys
|
||||
|
||||
print 'Hello world! --> Python 2'
|
||||
sys.stdout.flush()
|
||||
print("Hello world! --> Python 3")
|
||||
sys.stdout.flush()
|
||||
|
||||
time.sleep(1)
|
||||
|
||||
for i in range(5):
|
||||
print '%d --> Python 2' % i
|
||||
sys.stdout.flush()
|
||||
print("%d --> Python 3") % i
|
||||
sys.stdout.flush()
|
||||
time.sleep(1)
|
||||
|
Reference in New Issue
Block a user