windows - Is it possible to access the GetLongPathName() Win32 API in Python? -


I have to convert the routes to the full path 8.3 conference. In Pearl, I can use them in Python but, I have to do it in Python.

Use ctypes which needs to be used in the Python standard Is available without By this way:

  import buff.value from import ctypes * buf = create_unicode_buffer (260) GetLongPathName = windll.kernel32.GetLongPathNameW RVV = GateLenPathname (path, buf, 260) / Pre> 

to


Comments

Popular posts from this blog

MySql variables and php -

url rewriting - How to implement the returnurl like SO in PHP? -

Which Python client library should I use for CouchdB? -