GetFile (version 0.0.1)
index
GetFile.html

This package implements tools to build python package and tools.
 
>>> file = open("./configuration.conf")             # File should exist
>>> file.close()                                    # File should be closed
>>> file = open("./configuration.conf", "wb")       # File should exist
>>> file.write(b"my configuration")
>>> file.close()                                    # File should be closed
>>> filename = get_real_path("./data.db")           # File should exist, slower
>>> filename = get_real_path("./data.db", __FILE__) # File should exist, faster
>>> filename = get_real_path("./data.db", dirname(__FILE__)) # File should exist, faster

 
Modules
       
builtins

 
Functions
       
get_real_path(file_path: str, module_path: str = None) -> str
This function researchs a file from current
directory and lib directory.
open(file_path: str, *args, **kwargs) -> _io.TextIOWrapper
This function researchs a file from current
directory and lib directory and open it.

 
Data
        __all__ = ['get_real_path', 'open']
__annotations__ = {'system': <class 'str'>}
__author_email__ = 'mauricelambert434@gmail.com'
__copyright__ = '\nPythonToolsKit Copyright (C) 2022 Maurice Lam...ome to redistribute it\nunder certain conditions.\n'
__description__ = '\nThis package implements tools to build python package and tools.\n'
__license__ = 'GPL-3.0 License'
__maintainer__ = 'Maurice Lambert'
__maintainer_email__ = 'mauricelambert434@gmail.com'
__url__ = 'https://github.com/mauricelambert/PythonToolsKit'

 
Author
        Maurice Lambert
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy