(daskt) vadim@EPRUSAMW0217:~/.pyenv$ pip install git+git://github.com/gkuhn1/django-admin-multiupload.git
Collecting git+git://github.com/gkuhn1/django-admin-multiupload.git
Cloning git://github.com/gkuhn1/django-admin-multiupload.git to /tmp/pip-req-build-lu6ekc2x
Running command git clone -q git://github.com/gkuhn1/django-admin-multiupload.git /tmp/pip-req-build-lu6ekc2x
Installing collected packages: admin-multiupload
Running setup.py install for admin-multiupload ... done
Successfully installed admin-multiupload-1.10
WARNING: You are using pip version 19.2.3, however version 19.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
(daskt) vadim@EPRUSAMW0217:~/.pyenv$
import subprocess
...:
...:keyPath = "HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\Windows\\CurrentVersion\\Authentication\\LogonUI"
...:output = subprocess.run(["reg","query",keyPath,"/v","LastLoggedOnDisplayName"])
...:print(output.stdout)
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Authentication\LogonUI
LastLoggedOnDisplayName REG_SZ Vadim Shatalov
None