Navigation | Overlay |
---|---|
t Navigate files | h Toggle hits |
y Change url to tip of branch | m Toggle misses |
b / v Jump to prev/next hit line | p Toggle partial |
z / x Jump to prev/next missed or partial line | 1..9 Toggle flags |
shift + o Open current page in GitHub | a Toggle all on |
/ or ? Show keyboard shortcuts dialog | c Toggle context lines or commits |
1 |
# -*- coding: utf-8 -*-
|
|
2 | 2 |
"""
|
3 |
@file
|
|
4 |
@brief Module *actuariat_python*.
|
|
5 |
It contains material for lectures,
|
|
6 |
lessons on programming, machine learning.
|
|
7 |
"""
|
|
8 |
|
|
9 | 2 |
import sys |
10 | 2 |
import os |
11 |
|
|
12 | 2 |
__version__ = "0.4.645" |
13 | 2 |
__author__ = "Xavier Dupré" |
14 | 2 |
__github__ = "https://github.com/sdpython/actuariat_python" |
15 | 2 |
__url__ = "http://www.xavierdupre.fr/app/actuariat_python/helpsphinx/index.html" |
16 | 2 |
__license__ = "MIT License" |
17 | 2 |
__blog__ = os.path.abspath( |
18 |
os.path.join(os.path.dirname(__file__), "rss_teachings.xml")) |
|
19 |
|
|
20 |
|
|
21 | 2 |
def _setup_hook(): |
22 |
"""
|
|
23 |
does nothing
|
|
24 |
"""
|
|
25 | 2 |
pass
|
26 |
|
|
27 |
|
|
28 | 2 |
def 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 | 2 |
return True |
Read our documentation on viewing source code .