pygauss.file_io module¶
Created on Mon May 18 21:01:25 2015
@author: chris sewell
-
class
pygauss.file_io.
Folder
(path, server=None, username=None, passwrd=None)[source]¶ Bases:
object
an object intended to act as an entry point to a folder path
Parameters: -
list_files
(pattern=None, one_file=False)[source]¶ list files in folder
Parameters: pattern (str) – a pattern the file must match that can include * wildcards
-
save_ipyimg
(img, img_name)[source]¶ a function for outputing an IPython Image to a file
Parameters: - img (IPython.display.Image) – an IPyton image
- img_name (str) – the desired name of the file
-
save_mplfig
(fig, fig_name, dpi=256, format='png')[source]¶ a function for outputing a matplotlib figure to a file
Parameters: - fig (matplotlib.figure.Figure) – a Matplotlib figure
- fig_name (str) – the desired name of the file
-