module PyOs

Defined in:

py2cr/py_os.cr

Class Method Summary

Class Method Detail

def self.environ #

os.environ : Does not match python behavior whereby a missing key will cause an error


[View source]
def self.find_subdir_tree(dir) #

Similar to a unix find, but only gets the directory and subdirectories


[View source]
def self.getenv(arg) #

os.getenv


[View source]
def self.walk(dir) #

Should be equivalent of python os.walk function. Note that we create a new Dir.find_subdir_tree since Crystal has no builtin equivalent of a Unix find.


[View source]