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

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -