kopia lustrzana https://github.com/micropython/micropython-lib
os: Rename direcorty functions test.
rodzic
a55dc7e57b
commit
780a993826
|
@ -1,6 +1,14 @@
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
print(os.getcwd())
|
||||||
|
|
||||||
l = os.listdir()
|
l = os.listdir()
|
||||||
print(l)
|
print(l)
|
||||||
assert "test_listdir.py" in l
|
assert "test_dirs.py" in l
|
||||||
assert "os" in l
|
assert "os" in l
|
||||||
|
|
||||||
|
for t in os.walk("."):
|
||||||
|
print(t)
|
||||||
|
|
||||||
|
for t in os.walk(".", False):
|
||||||
|
print(t)
|
||||||
|
|
Ładowanie…
Reference in New Issue