Nasal library/os.path: Difference between revisions

m
→‎set(): Fix minor error in example 2
No edit summary
m (→‎set(): Fix minor error in example 2)
Line 41: Line 41:
print(path.realpath);
print(path.realpath);
path.set("C:/Windows/Program Files");
path.set("C:/Windows/Program Files");
# path.set("/usr/bin/"); # alternative Unix filepath
# path.set("/usr/"); # alternative Unix filepath
print(path.realpath); # prints new path
print(path.realpath); # prints new path
}}
}}