Hide keyboard shortcuts

Hot-keys on this page

r m x p   toggle line displays

j k   next/prev highlighted chunk

0   (zero) top of page

1   (one) first highlighted chunk

1# -*- coding: utf-8 -*- 

2""" 

3@file 

4@brief Module *ensae_teaching_cs*. 

5Functions, examples, for the lectures at the 

6:epkg:`ENSAE`. See :epkg:`ensae_teaching_cs`. 

7""" 

8 

9import sys 

10import os 

11if sys.version_info[0] < 3: 

12 raise ImportError("ensae_teaching_cs only works with Python 3") 

13 

14__version__ = "0.10.3243" 

15__author__ = "Xavier Dupré" 

16__github__ = "https://github.com/sdpython/ensae_teaching_cs" 

17__url__ = "http://www.xavierdupre.fr/app/ensae_teaching_cs/helpsphinx/index.html" 

18__license__ = "MIT License" 

19__blog__ = os.path.abspath( 

20 os.path.join(os.path.dirname(__file__), "rss_teachings.xml")) 

21 

22 

23def _setup_hook(add_print=False, unit_test=False): 

24 """ 

25 function executed before running the unit tests and the documentation, 

26 does nothing 

27 """ 

28 pass