Nulla, continua a non andare, mi da questo errore:
Traceback (most recent call last):
File "C:/Users/broke31/PycharmProjects/untitled2/spegni.py", line 31, in <module>
prova.shutdownPc(60)
File "C:/Users/broke31/PycharmProjects/untitled2/spegni.py", line 19, in shutdownPc
self._proc = subprocess.Popen(['shutdown', arguments], shell=True)
File "C:\Users\broke31\AppData\Local\Programs\Python\Python35-32\lib\subprocess.py", line 950, in __init__
restore_signals, start_new_session)
File "C:\Users\broke31\AppData\Local\Programs\Python\Python35-32\lib\subprocess.py", line 1194, in _execute_child
args = list2cmdline(args)
File "C:\Users\broke31\AppData\Local\Programs\Python\Python35-32\lib\subprocess.py", line 782, in list2cmdline
return ''.join(result)
TypeError: sequence item 11: expected str instance, int found
non riesco a capire come risolvere il problema..