今天在整理工作笔记,归总整理~
NOTES FOR TODAY
1. For a variable to be a valid name:
a. Should not contain spaces, special symbols except underscore,
b. should not be a reversed keyword
c. Should not contain a digit as starting character
For instance:
version1.3 is not valid because it contains a character which is not a letter, digit or underscore.
2. In python, reserved words are keywords
QUESTION TO BE SOLVED?
Ø PEP 8 Style Guide https://www.python.org/dev/peps/pep-0008/
Ø Variables in Python https://realpython.com/python-variables/#variable-assignment
Ø Shallow vs Deep Copying of Python Objects https://realpython.com/copying-python-objects/
Ø Chained assignment rationle https://stackoverflow.com/questions/7601823/how-do-chained-assignments-work
Ø Difference between numpy.ravel() and numpy.flatten()
Ø Shallow and deep copy operations https://docs.python.org/3.4/library/copy.html