Trees | Indices | Help |
|
---|
|
I contain utility functions to handle local and distant files.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
__url_proxy =
|
|
Make a sequence of embeded dirs in `dir`, and return the path. E.g. ``recursive_mkdir('/tmp', ['a', 'b', 'c'])`` will create ``/tmp/a``, ``/tmp/a/b`` and ``/tmp/a/b/c``, and return the latter. Note that it is not an error for some of the directories to already exist. It is not an error either for sequence to be empty, in which case dir will simply be returned. |
Opens a URL, using builtin `open` for local files (so that they are writable). Also, uses the URL proxy. |
Extract the path of file-like object `f`. This works for objects returned either by `open` or `urlopen`. |
Return True if file-like object `f` is a local file. This works for objects returned either by `open` or `urlopen`. |
|
__url_proxy
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jul 8 16:00:01 2009 | http://epydoc.sourceforge.net |