Scripting - Basic File IO
I can't seem to find anything on this in the WIKI.
I need to know how to use basic file in/out functions.
So for example currently I would like to use anything that does this :
1) Check if a file or directory exists.
2) Create a directory/folder.
3) Overwrite existing files without showing the 'Are you sure ?' type dialog when rendering the scene from script.
If someone could help me with those and point me at some docs if there are any that would be great :)