Skip to content

Instantly share code, notes, and snippets.


Sergii Nechuiviter Sklavit

  • DataRobot Inc
  • Kyiv, Ukraine
View GitHub Profile
wassname /
Last active Jun 1, 2020
TQDMDaskProgressBar: tqdm for dask 1.2.2
from dask.callbacks import Callback
from import tqdm
class TQDMDaskProgressBar(Callback, object):
A tqdm progress bar for dask.
with TQDMDaskProgressBar():
International /
Created Sep 9, 2011
python subprocess pid/kill example
import subprocess
import time
import sys
if __name__ == "__main__":
if len(sys.argv) != 2:
exit("need an argument")
to_run = sys.argv[1]
proc = subprocess.Popen(to_run)
print "start process with pid %s" %