Haxe 3.4

Os




haxe

Os

पैकेज python.lib

@: pythonImport ("os") अजगर पर उपलब्ध है

स्थैतिक चर

static environ : Dict < String , String >

static read only pathsep : String

static read only sep : String

स्थैतिक तरीके

static chdir ( path: String ): Void

static fchdir ( fd: FileDescriptor ): Void

static getcwd (): String

static getcwdb (): Bytes

@:value({ path : "." }) static listdir ( path: String = "." ): Array < String >

@:value({ exist_ok : false, mode : 511 }) static makedirs ( path: String , mode: Int = 511, exist_ok: Bool = false ): Void

@:value({ mode : 511 }) static mkdir ( path: String , mode: Int = 511 ): Void

static putenv ( name: String , value: String ): Void

static remove ( path: String ): Void

static removedirs ( path: String ): Void

static rename ( src: String , dest: String ): Void

static renames ( oldName: String , newName: String ): Void

static rmdir ( path: String ): Void

static stat ( path: String ): Stat

@:value({ followlinks : false, onerror : null, topdown : true }) static walk ( top: String , topdown: Bool = true, ?onerror: OSError ‑> Void , followlinks: Bool = false ): Tuple3 < String , Array < String >, Array < String >>