Q1 Python
Q2 Python
Python
Python
Python
public private
Python
Python
Python
”
“
Q3 Python
Python
Q4 Python
Python
Q5
pep
C
Python
Python
C ++
Python
C
numpy
Web
Python
PEP
Python Enhancement Proposal
Python
Q6
Python
python
Python
Python
python
Python
API
Python
Python
Q7 Python
Q8
PYTHONPATH
PYTHONPATH
sys
Q9
python
Python
Python
Python
math random data time
.py
JSON
Q10 Python
Q11 python
Python
Q12
Python
int
-
float
-
ord
hex
-
–
oct
-
tuple
-
set
list
-
-
dict
-
str
-
float
set
complex
real
imag
–
Q13
Windows
Python
Windows
Python
python https
// http://www.python.org/downloads/
PC
PC
PYTHON
cmd
python
“
”
PYTHON_NAME
PYTHON_HOME
Python
def
/
Q14 python
Python
Q15 Python
Python
Q16 Python
Q17
__init__?
__init__ Python
__init__
Q18
lambda
lambda
Q19 Python
self
self
Python
self
Java
init
self
Q20
break
continue pass
Q21 [:: – 1}
[:: – 1]
Q22
Python
shuffle
Q23
python
Q24
Python
random
https://zhuanlan.zhihu.com/p/71913026
random.random()
[0,1]
Random
randrange(a,b)
[a b]
uniform(a,b)
[a b)
normalvariate(mean,sdev)
mean
sdev
sigma
Random
Q25 range
xrange
xrange
range
range
Python
x range
xrange
xrange
yielding
xrange
doc-strings
Python
dump
unpickling
#
Ctrl
is
2
true
Q26
python
Python
Q27
Pickle
pickling unpickling
Python
pickling
Q28 python
Q29
Python
capitalize()
Q30
Q31
python
lower()
Q32
Python
Docstrings
Docstrings
Q33 operators
is not
in
Operators
true
“a”
’a’
not
in
Q34 Python help() dir()
Help() dir()
Python
help()
help()
dir()
dir()
Q35
Python
Python
Python
C
Q36 Python
Python
Q37
python
Python
/
true
false
true
false
[on_true] if [expression] else [on_false] x
y = 25,50big = x if x
Q42
Python
Python
Q43
Python
Python
OS
os.remove()
Python
“
”
python
Q44
python
Python
Q45 NumPy
Python
Python
Python
NumPy
;
NumPy
Q46
NumPy
FFT
python
append()
extend()
insert(i
x)
Q47
python
pop()
remove()
Q48 Python OOps
Python
Python
Q49
Q50
Python
Python
Python
GIL
GIL
Global Interpreter Lock GIL
GIL
“
”
GIL
CPU