-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphoton_ref.py
57 lines (45 loc) · 1.84 KB
/
photon_ref.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
# photon_ref.py
moduleName = "photon_ref.py"
# ************************************************************************************************#
# DEV log
# ************************************************************************************************#
# # DONE
completed transfer of program to a modular design
# # TO DO
# when you click on background, all open menus should close
# If you aren’t sure which license you should use for your project, check out choosealicense.com.
# ************************************************************************************************#
# Files, Notes and Functionality incorporated
# ************************************************************************************************#
# \physics_garage\version_013\pgmain.py IN PROGRESS
# \github\michaelfdickey\photon_pygui\photongui01.py IN PROGRESS
# ************************************************************************************************#
# Style Guide
# ************************************************************************************************#
"""
Follow PEP 8, when sensible. https://www.python.org/dev/peps/pep-0008/
Naming
Variables, functions, methods, packages, modules
Variables:
local: v_lower_case_with_underscores
global: gv_lower_case_with_underscores
Lists:
l_lower_case_with_underscores
gl_lower_case_with_underscores (global list)
Dictionaries:
d_lower_case_with_underscores
gd_lower_case_with_underscores (global dictionary)
Constants:
k_ALL_CAPS_WITH_UNDERSCORES
gk_ALL_CAPS
Functions, Classes and Exceptions
Functions:
fCapWords
Classes:
cCapWords
Protected methods and internal functions
_single_leading_underscore(self, ...)
Private methods
__double_leading_underscore(self, ...)
To keep in line with the style guide, keep module names short, lowercase, and be sure to avoid using special symbols
"""