.. _f-openscriptfile: module ``pycode.open_script_file`` ================================== Short summary +++++++++++++ module ``pyquickhelper.pycode.open_script_file`` A function to read a script and reading the encoding on the first line. :githublink:`%|py|5` Functions +++++++++ +---------------------------------------------------------------------------------+------------------------------------------------------------+ | function | truncated documentation | +=================================================================================+============================================================+ | :func:`detect_encoding ` | Guesses the encoding from ``# -*- coding: ...``. | +---------------------------------------------------------------------------------+------------------------------------------------------------+ | :func:`open_script ` | Open a filename but read the encoding from the first line. | +---------------------------------------------------------------------------------+------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: pyquickhelper.pycode.open_script_file :members: :special-members: __init__ :show-inheritance: