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