Skip to content

Instantly share code, notes, and snippets.

Avatar

Sergey Gornostaev TheDeadOne

View GitHub Profile
View popen_example.py
from subprocess import PIPE, Popen
p = Popen(['ping', '-w', '3', '127.0.0.1'], stdout=PIPE, bufsize=1)
print('Я выполняюсь, хотя ping ещё не завершился!')
for line in p.stdout:
print(line, end='')
View find_max_digit.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View Unique randoms.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.