Addded README

Code cleanup
This commit is contained in:
Matias Fernandez
2019-09-11 22:00:39 -03:00
parent a6327060f9
commit aad1e08f6a
11 changed files with 476 additions and 216 deletions

View File

@@ -66,3 +66,9 @@ class proc:
def waitproc(self):
while psutil.pid_exists(self.pid):
time.sleep(.25)
def reshape(a, cols):
for i in range(0, int(len(a)/cols), cols):
print(i)
print(a[i:i+cols])