CircuitPython/os.py

changeset 7
e336d6afc5a6
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/CircuitPython/os.py	Thu Aug 29 19:05:05 2019 +0200
@@ -0,0 +1,47 @@
+# -*- coding: utf-8 -*-
+
+# Copyright (c) 2019 Detlev Offenbach <detlev@die-offenbachs.de>
+#
+
+"""
+Module containing stubs for API generation of the 'os' module.
+"""
+
+def uname():
+    pass
+
+def chdir(path):
+    pass
+
+def getcwd():
+    pass
+
+def listdir(dir="."):
+    pass
+
+def mkdir(path):
+    pass
+
+def remove(path):
+    pass
+
+def rmdir(path):
+    pass
+
+def rename(old_path, new_path):
+    pass
+
+def stat(path):
+    pass
+
+def statvfs(path):
+    pass
+
+def sync():
+    pass
+
+def urandom(size):
+    pass
+
+sep = "/"
+

eric ide

mercurial