Files
Phoenix/docs/sphinx/rest_substitutions/snippets/python/converted/FileSystem.ChangePathTo.2.py
2012-04-10 03:16:37 +00:00

5 lines
205 B
Python

f = fs.OpenFile("hello.htm") # opens file 'hello.htm'
fs.ChangePathTo("subdir/folder", True)
f = fs.OpenFile("hello.htm") # opens file 'subdir/folder/hello.htm' !!