-
Notifications
You must be signed in to change notification settings - Fork 0
/
template.py
72 lines (63 loc) · 3.38 KB
/
template.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""Brief description to fit on single line.
Elaborate description spanning multiple lines, covering functionality in more
detail and explaining module usage."""
# --------------------------------------------------------------------------- #
# MODULE HISTORY #
# --------------------------------------------------------------------------- #
# Version 1
# Date ${YEAR}-${MONTH}-${DAY}
# Author ${USER}
# Note Original version
#
# --------------------------------------------------------------------------- #
# SYSTEM IMPORTS #
# --------------------------------------------------------------------------- #
# --------------------------------------------------------------------------- #
# OTHER IMPORTS #
# --------------------------------------------------------------------------- #
# --------------------------------------------------------------------------- #
# OWN IMPORTS #
# --------------------------------------------------------------------------- #
# --------------------------------------------------------------------------- #
# META DATA #
# --------------------------------------------------------------------------- #
__author__ = 'AB Cooper, DE Fox, and GH Irvine'
__copyright__ = 'Copyright 2017, The ABC Project'
__credits__ = ['AB Cooper', 'DE Fox', 'GH Irvine', 'JK Lee']
__license__ = 'GNU'
__version__ = '1'
__maintainer__ = 'AB Cooper'
__email__ = '[email protected]'
__status__ = 'Development'
# --------------------------------------------------------------------------- #
# CONSTANTS #
# --------------------------------------------------------------------------- #
# ratio of a circle's circumference to its diameter
PI = 3.141592
# --------------------------------------------------------------------------- #
# GLOBAL VARIABLES #
# --------------------------------------------------------------------------- #
result = []
# --------------------------------------------------------------------------- #
# EXPORTED FUNCTIONS #
# --------------------------------------------------------------------------- #
def public_function_example():
"""This is a public function example.
:return: tmp_bool"""
global result
tmp_bool = True
return tmp_bool
# --------------------------------------------------------------------------- #
# LOCAL FUNCTIONS #
# --------------------------------------------------------------------------- #
def __private_function_example():
"""This is a private function example, which is indicated by the leading
under scores.
:return: tmp_bool"""
tmp_bool = True
return tmp_bool
# --------------------------------------------------------------------------- #
# END OF FILE #
# --------------------------------------------------------------------------- #