PATH:
usr
/
local
/
jetapps
/
var
/
lib
/
aws
/
lib
/
python2.7
/
site-packages
/
setuptools
import platform import ctypes def windows_only(func): if platform.system() != 'Windows': return lambda *args, **kwargs: None return func @windows_only def hide_file(path): """ Set the hidden attribute on a file or directory. From http://stackoverflow.com/questions/19622133/ `path` must be text. """ __import__('ctypes.wintypes') SetFileAttributes = ctypes.windll.kernel32.SetFileAttributesW SetFileAttributes.argtypes = ctypes.wintypes.LPWSTR, ctypes.wintypes.DWORD SetFileAttributes.restype = ctypes.wintypes.BOOL FILE_ATTRIBUTE_HIDDEN = 0x02 ret = SetFileAttributes(path, FILE_ATTRIBUTE_HIDDEN) if not ret: raise ctypes.WinError()
[-] dist.pyc
[edit]
[-] depends.pyc
[edit]
[-] sandbox.py
[edit]
[-] py26compat.pyc
[edit]
[-] depends.py
[edit]
[-] glob.pyc
[edit]
[-] py31compat.pyc
[edit]
[-] cli.exe
[edit]
[-] cli-64.exe
[edit]
[-] msvc.pyc
[edit]
[+]
..
[-] unicode_utils.pyc
[edit]
[-] py27compat.py
[edit]
[-] gui.exe
[edit]
[+]
extern
[-] gui-64.exe
[edit]
[-] script.tmpl
[edit]
[-] ssl_support.pyc
[edit]
[-] package_index.py
[edit]
[-] __init__.pyc
[edit]
[-] windows_support.py
[edit]
[-] glob.py
[edit]
[-] namespaces.pyc
[edit]
[-] launch.py
[edit]
[-] dist.py
[edit]
[-] monkey.pyc
[edit]
[-] launch.pyc
[edit]
[-] site-patch.py
[edit]
[-] cli-32.exe
[edit]
[-] py31compat.py
[edit]
[-] py26compat.py
[edit]
[-] msvc.py
[edit]
[-] archive_util.py
[edit]
[-] py27compat.pyc
[edit]
[-] windows_support.pyc
[edit]
[-] monkey.py
[edit]
[-] version.py
[edit]
[-] lib2to3_ex.pyc
[edit]
[-] sandbox.pyc
[edit]
[-] gui-32.exe
[edit]
[-] unicode_utils.py
[edit]
[-] version.pyc
[edit]
[-] namespaces.py
[edit]
[-] package_index.pyc
[edit]
[-] extension.pyc
[edit]
[-] __init__.py
[edit]
[-] ssl_support.py
[edit]
[-] site-patch.pyc
[edit]
[+]
command
[-] lib2to3_ex.py
[edit]
[-] script (dev).tmpl
[edit]
[-] archive_util.pyc
[edit]
[-] extension.py
[edit]