kopia lustrzana https://github.com/micropython/micropython-lib
os.path: Add stub realpath() function.
rodzic
1d5113d753
commit
b7c81d7965
|
@ -12,6 +12,10 @@ def normpath(s):
|
||||||
return s
|
return s
|
||||||
|
|
||||||
|
|
||||||
|
def realpath(s):
|
||||||
|
return s
|
||||||
|
|
||||||
|
|
||||||
def abspath(s):
|
def abspath(s):
|
||||||
if s[0] != "/":
|
if s[0] != "/":
|
||||||
return os.getcwd() + "/" + s
|
return os.getcwd() + "/" + s
|
||||||
|
|
Ładowanie…
Reference in New Issue