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 *actuariat_python*. 

5It contains material for lectures, 

6lessons on programming, machine learning. 

7""" 

8 

9import sys 

10import os 

11 

12__version__ = "0.4.641" 

13__author__ = "Xavier Dupré" 

14__github__ = "https://github.com/sdpython/actuariat_python" 

15__url__ = "http://www.xavierdupre.fr/app/actuariat_python/helpsphinx/index.html" 

16__license__ = "MIT License" 

17__blog__ = os.path.abspath( 

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

19 

20 

21def _setup_hook(): 

22 """ 

23 does nothing 

24 """ 

25 pass 

26 

27 

28def check(log=False): 

29 """ 

30 Checks the library is working. 

31 It raises an exception. 

32 

33 @param log if True, display information, otherwise 

34 @return 0 or exception 

35 """ 

36 return True