11.1.10.2. File

class PySpice.Tools.File.Directory(path)[source]

Bases: PySpice.Tools.File.Path

iter_directories(followlinks=False)[source]
iter_file(followlinks=False)[source]
join_directory(directory)[source]
join_filename(filename)[source]
class PySpice.Tools.File.File(filename, path='')[source]

Bases: PySpice.Tools.File.Path

compute_shasum(algorithm=None)[source]
default_shasum_algorithm = 256
directory
extension
filename
shasum
class PySpice.Tools.File.Path(path)[source]

Bases: object

absolut()[source]
clone_for_path(path)[source]
creation_time
directory_part()[source]
expand_vars_and_user()[source]
filename_part()[source]
inode
is_absolut()[source]
is_directory()[source]
is_file()[source]
normalise()[source]
normalise_case()[source]
path
real_path()[source]
relative_to(directory)[source]
split()[source]
PySpice.Tools.File.file_extension(filename)[source]
PySpice.Tools.File.file_name_has_extension(file_name, extension)[source]
PySpice.Tools.File.run_shasum(filename, algorithm=1, text=False, binary=False, portable=False)[source]