- Python
- PyQt/PySide
- C++
- VOS(Git)
- Share Project on GitHub
- Add File (Ctrl + Alt + A)
- Commit Changes (Ctrl + K)
- Push (Ctrl + Shift + K)
- add path
- C:\Python27\Lib\site-packages\PySide
- C:\Python27\Scripts
- command line
- show.ui -> showGui.py
- pyside-uic.exe show.ui -o showGui.py
- icons.qrc -> icons_rc.py
- pyside-rcc.exe icons.qrc -o icons_rc.py
- show.ui -> showGui.py
PEP 8 -- Style Guide for Python Code
https://www.python.org/dev/peps/pep-0008/
o class MyClassName(object):
x class myclassName(object):
o skin_joints = ['joint1', 'joint2']
x skinJoints = ['joint1', 'joint2']
o def calculate_bounds():
x def calculateBounds():
o [1, 2, 3, 4]
x [1,2,3,4]
o if joint_height > 10.0:
x if joint_height>10.0:
o get_export_nodes(root='skeleton_grp')
x get_export_nodes( root = 'skeleton_grp' )
data = [1, 2, 3, 4, 5]
newData = []
for d in data:
newData.append(d * 2)
newData = [d * 2 for d in data]
newData = []
for d in data:
if d % 2 == 0:
newData.append(d * 2)
newData = [d * 2 for d in data if d % 2 == 0]
newData = []
for d in data:
if d % 2 == 0:
newData.append(d)
newData = filter(lambda x:x%2==0, data)