[python] win7 junction point

2014-06-09 Tema obsahu geon
Je možné nějak v pythonu dostat výpis složky (os.listdir), případně kopírování do a ze složky, přes Junction Point, tedy něco jako hard link na adresář? Konkrétně mi jde o defaultní link Dokumenty, který odkazuje na Documents v %USERPROFILE%. Zatím jsem zjistil, že ani ve win cmd nefunguje

Re: [python] win7 junction point

2014-06-09 Tema obsahu starenka .
Ahoj, a jde to vypsat, kdyz dostanes ten puvodni adresar pres os.path.expandvars? --- In Perl you shoot yourself in the foot, but nobody can understand how you did it. Six months later, neither can you. | print 'aknerats'[::-1] 2014-06-09 12:25 GMT+02:00 : > Je možné nějak v pythonu dostat

Re: [python] win7 junction point

2014-06-09 Tema obsahu geon
Documents ani Dokumenty nejsou v systémových proměnných, tedy expandvars nehrozí... starenka . napsal(a), dne 9.6.2014 12:40: Ahoj, a jde to vypsat, kdyz dostanes ten puvodni adresar pres os.path.expandvars? --- In Perl you shoot yourself in the foot, but nobody can understand how you did

Re: [python] win7 junction point

2014-06-09 Tema obsahu starenka .
Jesli je to jen pro win, tak se koukni na win32com. Jednou sem to pres to delal, ale jesli je to dobre, nebo tak, to ti nepovim (win nemam) ;) --- In Perl you shoot yourself in the foot, but nobody can understand how you did it. Six months later, neither can you. | print 'aknerats'[::-1]