.. _f-faqpython: module ``faq.faq_python`` ========================= Short summary +++++++++++++ module ``ensae_teaching_cs.faq.faq_python`` Quelques questions d'ordre général autour du langage Python. :githublink:`%|py|7` Functions +++++++++ +--------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | function | truncated documentation | +==================================================================================================+==============================================================================================================================+ | :func:`difference_div ` | | +--------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :func:`download_from_url ` | downloads a file given a URL and stores it as binary file | +--------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :func:`entier_grande_taille ` | | +--------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :func:`enumerate_regex_search ` | Cette fonction itère sur les différentes occurences d'une expression régulière. | +--------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :func:`get_day_name ` | returns the day name for a give date | +--------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :func:`get_month_name ` | returns the month name for a give date | +--------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :func:`information_about_package ` | Calls ``pip show`` to retrieve information about packages. | +--------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :func:`list_of_installed_packages ` | calls ``pip list`` to retrieve the list of packages | +--------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :func:`property_example ` | | +--------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :func:`python_path ` | | +--------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :func:`same_variable ` | Cette fonction dit si les deux objets sont en fait le même objet (True) ou non (False) s'ils sont différents (même s'ils ... | +--------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :func:`sortable_class ` | | +--------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :func:`stringio ` | returns a StringIO object on a text | +--------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ | :func:`test_unitaire ` | | +--------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------+ Documentation +++++++++++++ .. automodule:: ensae_teaching_cs.faq.faq_python :members: :special-members: __init__ :show-inheritance: