数据结构与算法 - Python基础
|
|
|
- 考绘 关
- 6 years ago
- Views:
Transcription
1 Python
2 教材及课件 课件及作业见网址 xpzhang.me 1
3 1. Python (list) (tuple) 4. (dict) (set)
4 Python
5 Python
6 3
7 Python 4
8 Python 1, 100, -8080, 0,... 0x 0-9, a-f 0 xff00, 0 xa432bf 5
9 1.24, 3.14, -9.80, e9, 1.2e -6,... 6
10 " abc, " xyz ",... "" abc a, b, c 3 "" "I m OK" I,, m,, O, K 6 7
11 " \ I\ m \"OK\"! I m "OK "! 8
12 \ \n \t \\ \ print ("I\ ok.") print ("I\ m learning \ npython.") print ( \\\ n\\ ) 9
13 \ \n \t \\ \ print ("I\ ok.") print ("I\ m learning \ npython.") print ( \\\ n\\ ) I ok. I m learning Python. \ \ 9
14 \ Python r print ( \\\ n\\ ) print (r \\\ n\\ ) 10
15 \ Python r print ( \\\ n\\ ) print (r \\\ n\\ ) \ \ \\\ n \\\ 10
16 \n Python... print ( line1 line2 line3 ) print (r hello,\n world ) 11
17 \n Python... print ( line1 line2 line3 ) print (r hello,\n world ) line1 line2 line3 hello,\n world 11
18 Python True False print ( True ) print ( False ) print (3 > 2) print (3 > 5) True False True False 12
19 and, or, not print ( True and True ) print ( True and False ) print ( False and False ) print (5 > 3 and 1 > 3) True False False False print ( True or True ) print ( True or False ) print ( False or False ) print (5 > 3 or 1 > 3) True True False True print ( not True ) print ( not False ) print ( not 1 > 2) False True True 13
20 age = int ( input ( Enter your age : )) if age >= 18: print ( adult ) else : print ( teenager ) 14
21 age = int ( input ( Enter your age : )) if age >= 18: print ( adult ) else : print ( teenager ) Enter your age : 14 teenager Enter your age : 24 adult 14
22 Python None None 0 0 None 15
23 Python
24 n = 1 n a = 1.0 a str = Hello world! str answer = True answer 16
25 Python = a = 123 print (a, type (a)) a = print (a, type (a)) a = ABC print (a, type (a)) a = 5 > 3 or 2 < 1 print (a, type (a)) 123 <class int > 3.14 <class float > ABC <class str > True <class bool > 17
26 C int a = 123; // a is an integer type variable a = " ABC "; // error : cannot assign string to a. 18
27 a = ABC Python ABC a ABC 19
28 a b b a a = ABC b = a a = XYZ print (b) 20
29 a b b a a = ABC b = a a = XYZ print (b) ABC 20
30 a = ABC ABC a a ABC. b = a b b a ABC. a = XYZ XYZ a ABC b. 21
31 Python
32 Python PI = PI Python PI PI 22
33 Python
34 Python /: print ( 10/ 3) / print (9/3)
35 // print (9//3) print (10//3) 3 3 // // 24
36 Python : print (10 % 3) 1 25
37
38 8 bit byte byte = = =
39 127 ( ) ASCII A 65 z
40 127 ( ) ASCII A 65 z 122 ASCII GB
41 127 ( ) ASCII A 65 z 122 ASCII GB2312 Shift_JIS Euc-kr 27
42 127 ( ) ASCII A 65 z 122 ASCII GB2312 Shift_JIS Euc-kr Unicode 27
43 Unicode Unicode ASCII Unicode ASCII 1 Unicode 2 A ASCII ASCII ASCII Unicode ASCII A Unicode 0 A Unicode
44 Unicode Unicode ASCII 29
45 Unicode Unicode ASCII Unicode UTF-8 UTF-8 UTF-8 Unicode
46 UTF-8 ASCII Unicode UTF-8 A UTF-8 ASCII UTF-8 ASCII UTF-8 30
47 ASCII Unicode UTF-8 Unicode UTF-8 UTF-8 Unicode Unicode UTF-8 31
48 Python
49 Python Python 3 Unicode Python print ( string ) string 32
50 Python Python ord() chr() print ( ord ( A )) print ( ord ( )) print ( chr (66) ) print ( chr (25991) ) B 33
51 Python Python ord() chr() print ( ord ( A )) print ( ord ( )) print ( chr (66) ) print ( chr (25991) ) B print ( \ u4e2d \ u6587 ) 33
52 Python Python r b f 34
53 b Python Unicode str bytes Python bytes b x = b ABC ABC b ABC str bytes print ( type ( ABC )) print ( type (b ABC )) <class str > <class bytes > 35
54 b Unicode str encode() bytes >>> ABC. encode ( utf -8 ) b ABC >>> ABC. encode ( ascii ) b ABC >>>. encode ( utf -8 ) b \ xe4 \ xb8 \ xad \ xe6 \ x96 \ x87 >>>. encode ( ascii ) Traceback ( most recent call last ): File " <stdin >", line 1, in <module > UnicodeEncodeError : ascii codec can t encode characters in position 0-1: ordinal not in range (128) str bytes UTF-8 ASCII str UTF-8 bytes ASCII ASCII Python 36
55 b bytes bytes str decode() >>> b ABC. decode ( ascii ) ABC >>> b \ xe4 \ xb8 \ xad \ xe6 \ x96 \ x87. decode ( utf -8 ) 37
56 b bytes decode() >>> b \ xe4 \ xb8 \ xad \ xff. decode ( utf -8 ) Traceback ( most recent call last ):... UnicodeDecodeError : utf -8 codec can t decode byte 0 xff in position 3: invalid start byte bytes errors= ignore >>> b \ xe4 \ xb8 \ xad \ xff. decode ( utf -8, errors = ignore ) 38
57 b str len() >>> len ( ABC ) 3 >>> len ( ) 2 bytes len() >>> len (b ABC ) 3 >>> len (. encode ( utf -8 )) 6 1 UTF
58 b str bytes UTF-8 str bytes Python UTF-8 Python UTF-8 #!/ usr / bin / env python3 # -*- coding : utf -8 -*- Linux/OS X Python Windows Python UTF-8 40
59
60 %-formatting Python OG(original generation) python C print ( Hello, %s! % world ) name = Ming age = 23 print ( Hello, %s. You are %s. % (name, age )) 41
61 %-formatting Python OG(original generation) python C print ( Hello, %s! % world ) name = Ming age = 23 print ( Hello, %s. You are %s. % (name, age )) Hello, world! Hello, Ming. You are
62 %-formatting 1: %d %f %s %x 42
63 %-formatting print ( %3d -%03 d % (22, 11) ) print ( %.3 f %8.3 e % ( , ) ) 43
64 %-formatting %-formatting first = Ming last = Li age = 23 profession = student affiliation = WHU print ( Hello, %s %s. You are %s. You are a %s. You are a member of % s. % ( first, last, age, profession, affiliation )) 44
65 %-formatting %-formatting first = Ming last = Li age = 23 profession = student affiliation = WHU print ( Hello, %s %s. You are %s. You are a %s. You are a member of % s. % ( first, last, age, profession, affiliation )) Hello, Ming Li. You are 23. You are a student. You are a member of WHU. % 44
66 str.format() Python 2.6 str.format() %-formatting format () str.format() name = Ming age = 23 print ( Hello, {}. You are {}.. format (name, age ) ) Hello, Ming. You are
67 str.format() name = Ming age = 23 print ( Hello, {1}. You are {0}.. format (age, name )) Hello, Ming. You are
68 str.format() person = { name : Ming, age : 23} print ( Hello, { name }. You are { age }.. format ( name = person [ name ], age = person [ age ])) Hello, Ming. You are
69 str.format() ** person = { name : Ming, age : 23} print ( Hello, { name }. You are { age }.. format (** person )) Hello, Ming. You are 23. str.format() %-formatting str.format() 48
70 f f Python 3.6 name = Ming age = 23 print (f Hello, { name }. You are { age }. ) print (F Hello, { name }. You are { age }. ) Hello, Ming. You are 23. Hello, Ming. You are 23. f Python 49
71 f print (f {2 * 37} ) 74 name = Ming print (f { name. lower ()} is funny. ) ming is funny. 50
72 f f class Student : def init (self, first, last, age ): self. first = first self. last = last self. age = age def str ( self ): return f { self. first } { self. last } is { self. age }. def repr ( self ): return f { self. first } { self. last } is { self. age }. Surprise! std = Student ( Ming, Li, 23) print (f { std } ) print (f { std!r} ) Ming Li is 23. Ming Li is 23. Surprise! 51
73 f f name, profession, affiliation = Ming, student, WHU msg1 = (f"hi { name }. " f" You are a { profession }. " f" You were in { affiliation }.") msg2 = (f"hi { name }. " " You are a { profession }. " " You were in { affiliation }.") msg3 = f """ Hi { name }. You are a { profession }. You were in { affiliation }. """ print ( msg1 ) print ( msg2 ) print ( msg3 ) 52
74 f Hi Ming. You are a student. You were in WHU. Hi Ming. You are a { profession }. You were in { affiliation }. Hi Ming. You are a student. You were in WHU. 53
75 (list) (tuple)
76 (list) (tuple)
77 Python courses = [ math, phys, chem ] print ( courses )
78 Python courses = [ math, phys, chem ] print ( courses ) [ math, phys, chem ] 54
79 len() print ( len ( courses )) 3 0 print ( courses [0]) print ( courses [1]) print ( courses [2]) print ( courses [3]) 55
80 len() print ( len ( courses )) 3 0 print ( courses [0]) print ( courses [1]) print ( courses [2]) print ( courses [3]) math phys chem Traceback ( most recent call last ): File " list. py", line 5, in <module > print ( courses [3]) IndexError : list index out of range Python IndexError len(classmates)-1 55
81 1 2 2 print ( courses [ -1]) print ( courses [ -2]) print ( courses [ -3]) # print ( courses [ -4]) 56
82 1 2 2 print ( courses [ -1]) print ( courses [ -2]) print ( courses [ -3]) # print ( courses [ -4]) chem phys math Traceback ( most recent call last ): File " list.py", line 5, in <module > print ( courses [ -4]) IndexError : list index out of range 56
83 append() courses. append ( biology ) print ( courses ) [ math, phys, chem, biology ] insert() courses. insert (1, history ) print ( courses ) [ math, history, phys, chem, biology ] 57
84 pop() courses. pop () print ( courses ) [ math, history, phys, chem ] pop(i) i courses. pop (1) print ( courses ) [ math, phys, chem ] 58
85 courses [1] = chinese print ( courses ) [ math, chinese, chem ] 59
86 1. list1 = [ Apple, 123, 3.14, True ] 2. list2 = [ python, java, [ c, c++, c# ], matlab ] 3. list3 = [] # or list3 = list () 60
87 (list) (tuple) (tuple)
88 (tuple) Python tuple list tuple courses = ( math, phys, chem ) courses tuple append(), insert() list courses[0], courses[-1] 61
89 (tuple) tuple tuple tuple list tuple tuple tuple1 = (1, 2) tuple2 = 1, 2 tuple3 = () tuple4 = (1, ) 62
90 (tuple) tuple t = (1) tuple 1 () tuple Python 1 tuple,: tuple4 = (1, ) 63
91 (tuple) tuple t = ( a, b, [ A, B ]) print (t) t [2][0] = X t [2][1] = Y print (t) ( a, b, [ A, B ]) ( a, b, [ X, Y ]) t a, b 64
92 (tuple) tuple tuple list tuple list list tuple tuple a b list list 65
93 (dict) (set)
94 (dict) (set)
95 Python (dict) map - (key-value pair) list list: courses = [ math, phys, chem ] scores = [95, 90, 85] courses scores list 66
96 dict - info = { math : 95, phys : 90, chem : 85} print ( info [ math ]) 95 67
97 1. dict key info [ chinese ] = 88 print ( info [ chinese ]) key value key value info [ chinese ] = 94 print ( info [ chinese ]) 94 68
98 3 key dict # print ( info [ history ]) Traceback ( most recent call last ): File " dict1.py", line 10, in <module > print (d[ history ]) KeyError : history 69
99 4 key : in key print ( history in info ) False dict get() key None value: print ( info. get ( history )) print ( info. get ( history, -1)) None -1 70
100 5 key pop(key) value dict info. pop ( chem ) print ( info ) { math : 95, phys : 90, chinese : 94} 5 dict key dict 71
101 list dict key list 72
102 dict Python dict dict key dict key value key dict key Hash 73
103 hash key Python key list key d = {} print (d) key = [1, 2, 3] d[ key ] = a list {} Traceback ( most recent call last ): File " dict2.py", line 5, in <module > d[ key ] = a list TypeError : unhashable type : list 74
104 (dict) (set) (set)
105 (set) set dict key value key set key 1. set s1 = {1, 2, 3} print ( type (s1)) print (s1) <class set > {1, 2, 3} list s2 = set ([1, 2, 3]) print ( type (s2)) print (s2) <class set > {1, 2, 3} 75
106 (set) 2 set s3 = {1, 1, 2, 2, 3, 3} print (s3) {1, 2, 3} 3 add(key) set s3.add (4) print (s3) s3.add (4) print (s3) {1, 2, 3, 4} {1, 2, 3, 4} 76
107 (set) 4 remove(key) s3. remove (4) print (s3) {1, 2, 3} 5 set set s1 = {1, 2, 3} s2 = set ([2, 3, 4]) print (s1 & s2) print (s1 s2) {2, 3} {1, 2, 3, 4} 77
108 (set) set dict value set dict set 78
109 (dict) (set)
110 str list list a = [ c, b, a ] print (a) a. sort () print (a) [ c, b, a ] [ a, b, c ] 79
111 str list list a = [ c, b, a ] print (a) a. sort () print (a) [ c, b, a ] [ a, b, c ] str a = abc print (a. replace ( a, A )) print (a) Abc abc 79
112 a abc a abc a abc 80
113 a abc a abc a abc a.replace( a, A ) replace abc replace abc replace Abc b a abc b Abc 80
114
115 if
116 if if condition : statements : age = 20 if age >= 18: print (f your age is { age } ) print ( adult ) your age is 20 adult 81
117 if Python if True print 82
118 if... else...
119 if... else... if condition : statements1 else : statements2 83
120 if... else... : age = 12 if age >= 18: print (f your age is { age } ) print ( adult ) else : print (f your age is { age } ) print ( teenager ) your age is 12 teenager 84
121 if... elif... else...
122 if... elif... else... if condition1 : statements1 elif condition2 : statements2 elif condition3 : statements3 else : statements4 85
123 if... elif... else... : age = 12 if age >= 18: print ( adult ) elif age >= 6: print ( teenager ) else : print ( kid ) teenager 86
124 if... elif... else... if True elif else. age = 20 if age >= 6: print ( teenager ) elif age >= 18: print ( adult ) else : print ( kid )
125 if... elif... else... if True elif else. age = 20 if age >= 6: print ( teenager ) elif age >= 18: print ( adult ) else : print ( kid ) if if x: print ( True ) 87
126 input
127 input age = input ( Enter your age : ) if age >= 18: print ( adult ) elif age >= 6: print ( teenager ) else : print ( kid ) 20 Enter your age : 20 Traceback ( most recent call last ): File " input. py", line 2, in <module > if age >= 18: TypeError : >= not supported between instances of str and int input() str str int str int 88
128 input age = int ( input ( Enter your age : )) if age >= 18: print ( adult ) elif age >= 6: print ( teenager ) else : print ( kid ) Enter your age : 20 adult 89
129
130 Python for... in while 90
131 for... in
132 for... in for... in list tuple : animals = [ dog, cat, monkey, pig ] for animial in animals : print ( animial ) print () for i, animial in enumerate ( animals ): print (i, animial ) dog cat monkey pig 0 dog 1 cat 2 monkey 3 pig 91
133 for... in : sum = 0 for x in range ( 101) : sum += x print ( sum )
134 while
135 while : 1000 sum = 0 n = 99 while n > 0: sum += n n -= 2 print ( sum )
136 break
137 break break : print ( ==================== ) print ( a. apple b. banana ) print ( o. orange q. quit ) print ( ==================== ) while True : letter = input ( Enter a, b, o and q: ) if letter == a : print ( apple ) elif letter == b : print ( banana ) elif letter == o : print ( orange ) elif letter == q : break print (" Exit!") 94
138 break === ================= a. apple b. banana o. orange q. quit === ================= Enter a, b, o and q: a apple Enter a, b, o and q: b banana Enter a, b, o and q: o orange Enter a, b, o and q: q Exit! 95
139 continue
140 continue continue : 100 sum = 0 for i in range ( 100) : if i % 2 == 0: continue sum += i print ( sum )
141
142
143 Python : print ( abs (1000) ) print ( abs ( -20) ) print ( abs (12.34) ) # print ( abs ( a )) print ( max (1, 2)) print ( max (2, 3, -1, 5)) print ( max ([1, 2]) ) print ( max ((2, 3, -1, 5)))
144 Python : print ( int ( 123 )) print ( int (12.34) ) print ( float ( )) print ( str (1.23) ) print ( str (100) ) print ( bool (1) ) print ( bool ( )) True False 98
145 : print ( hex (255) ) print ( hex (1000) ) print ( oct (255) ) print ( oct (1000) ) print ( bin (255) ) print ( bin (1000) ) 0 xff 0 x3e8 0 o377 0 o b b
146 a = abs print (a( -1)) 1 100
147
148 Python def : return 101
149 Python def : return : my_abs() def my_abs (x): if x >= 0: return x else : return -x if name == main : print ( my_abs ( -1)) 1 101
150 : my_abs() my_functions.py from my_functions import my_abs my_abs() my_functions.py from my_ functions import my_ abs print ( my_abs ( -20) )
151 pass def empty (): pass 103
152 pass def empty (): pass pass 103
153 pass def empty (): pass pass pass pass 103
154 pass def empty (): pass pass pass pass pass if age >= 18: pass pass 103
155 Python TypeError >>> my_abs (1, 2) Traceback ( most recent call last ): File "<stdin >", line 1, in <module > TypeError : my_ abs () takes 1 positional argument but 2 were given Python 104
156 my_abs abs >>> my_abs ( A ) Traceback ( most recent call last ): File "<stdin >", line 1, in <module > File "<stdin >", line 2, in my_abs TypeError : unorderable types : str () >= int () >>> abs ( A ) Traceback ( most recent call last ): File "<stdin >", line 1, in <module > TypeError : bad operand type for abs (): str abs my_abs if abs 105
157 my_abs isinstance() def my_abs (x): if not isinstance (x, ( int, float )): raise TypeError ( bad operand type ) if x >= 0: return x else : return -x if name == main : print ( my_abs ( -1)) print ( my_abs ( A )) 106
158 my_abs isinstance() def my_abs (x): if not isinstance (x, ( int, float )): raise TypeError ( bad operand type ) if x >= 0: return x else : return -x if name == main : print ( my_abs ( -1)) print ( my_abs ( A )) 1 Traceback ( most recent call last ): File " src / slide01 / code / my_abs1.py", line 11, in <module > print ( my_abs ( A )) File " src / slide01 / code / my_abs1.py", line 3, in my_abs raise TypeError ( bad operand type ) TypeError : bad operand type 106
159 Python : (x,y) import math def move (x, y, step, angle =0) : nx = x + step * math. cos ( angle ) ny = y - step * math. sin ( angle ) return nx, ny if name == main : x, y = 100, 100 step = 60 angle = math. pi / 6 x_new, y_new = move (x, y, step, angle ) print (f"{ x_new :.3 f}, { y_new :.3 f}") ,
160 import math math math sin cos tuple tuple 108
161
162 Python 109
163 : x 2. def power (x): return x * x print ( power (5) ) print ( power (15) )
164 : x 2. def power (x): return x * x print ( power (5) ) print ( power (15) ) power() x x 110
165 x 3 power3() x 4,x 5, : x n. def power (x, n): s = 1 while n > 0: n -= 1 s *= x return s print ( power (5, 2)) print ( power (5, 3)) power(x, n) x n x n 111
166 power(x, n) >>> power (5) Traceback ( most recent call last ): File "<stdin >", line 1, in <module > TypeError : power () missing 1 required positional argument : n power() n 112
167 x 2 n 2 : x n. def power (x, n =2) : s = 1 while n > 0: n -= 1 s *= x return s print ( power (5) ) print ( power (5, 2)) power(5) power(5, 2) n 2 power(5, 3) 113
168 1. Python
169 : name gender def enroll (name, gender ): print (f" name : { name }") print (f" gender : { gender }") enroll ( Sarah, F ) name : Sarah gender : F 115
170 : def enroll (name, gender, age =6, city = Wuhan ): print (f" name : { name }, gender : { gender }, age : { age }, city : { city }") enroll ( Sarah, F ) enroll ( Bob, M, 7 ) enroll ( Adam, F, city = Beijing ) name : Sarah, gender : F, age : 6, city : Wuhan name : Bob, gender : M, age : 7, city : Wuhan name : Adam, gender : F, age : 6, city : Beijing 116
171 117
172 enroll( Bob, M, 7) name gender age city enroll( Adam, M, city= Beijing ) city 118
173 Python
174 Python : a,b,c, a 2 +b 2 +c 2 + a,b,c, list tuple def calc ( numbers ): sum = 0 for n in numbers : sum += n* n return sum print ( calc ([1, 2, 3, 4]) ) print ( calc ((1, 3, 5, 7))) list tuple 119
175 : def calc (* numbers ): sum = 0 for n in numbers : sum += n* n return sum print ( calc (1, 2, 3, 4)) print ( calc (1, 3, 5, 7)) print ( calc ())
176 : def calc (* numbers ): sum = 0 for n in numbers : sum += n* n return sum print ( calc (1, 2, 3, 4)) print ( calc (1, 3, 5, 7)) print ( calc ()) * numbers tuple 0 120
177 list tuple nums = [1, 2, 3] print ( calc ( nums [0], nums [1], nums [2]) ) 121
178 list tuple nums = [1, 2, 3] print ( calc ( nums [0], nums [1], nums [2]) ) Python list tuple * list tuple print ( calc (* nums )) 121
179 0 tuple 0 dict 122
180 0 tuple 0 dict def person (name, age, ** kw): print (f" name : { name }, age : { age }, other : {kw}") person ( Michael, 30) person ( Bob, 35, city = Wuhan ) person ( Sarah, 22, gender = F, city = Beijing ) 122
181 0 tuple 0 dict def person (name, age, ** kw): print (f" name : { name }, age : { age }, other : {kw}") person ( Michael, 30) person ( Bob, 35, city = Wuhan ) person ( Sarah, 22, gender = F, city = Beijing ) name : Michael, age : 30, other : {} name : Bob, age : 35, other : { city : Wuhan } name : Sarah, age : 22, other : { gender : F, city : Beijing } 122
182 person() name age kw person ( Michael, 30) person ( Bob, 35, city = Beijing ) person ( Adam, 45, gender = M, job = Engineer ) 123
183 person() name age 124
184 dict dict extra = { city : Beijing, job : Engineer } person ( Jack, 24, ** extra ) name : Jack, age : 24, other : { city : Beijing, job : Engineer } **extra extra dict key-value **kw kw dict kw dict extra kw extra 125
185 126
186 : gender city def person (name, age, *, gender, city ): print (f" name : { name }, age : { age }, gender : { gender }, city : { city }") person ( Sarah, 22, gender = F, city = Beijing ) name : Sarah, age : 22, gender : F, city : Beijing 126
187 : gender city def person (name, age, *, gender, city ): print (f" name : { name }, age : { age }, gender : { gender }, city : { city }") person ( Sarah, 22, gender = F, city = Beijing ) name : Sarah, age : 22, gender : F, city : Beijing **kw * * 126
188 * def person (name, age, *args, gender, city ): print (f" name : { name }, age : { age }, args : { args }, gender : { gender }, city : { city }") person ( Sarah, 22, Engineer, gender = F, city = Beijing ) name : Sarah, age : 22, args : ( Engineer,), gender : F, city : Beijing 127
189 def person (name, age, *, gender = M, city ): print (f" name : { name }, age : { age }, gender : { gender }, city : { city }") person ( Sarah, 22, city = Beijing ) name : Sarah, age : 22, gender : M, city : Beijing 128
190 Python 5 : def f1(a, b, c=0, *args, ** kw): print (f a = {a}, b = {b}, c = {c}, args : { args }, kw: { kw} ) def f2(a, b, c=0, *, d, ** kw): print (f a = {a}, b = {b}, c = {c}, d: {d}, kw: {kw} ) 129
191 Python f1 (1, 2) f1 (1, 2, c =3) f1 (1, 2, 3, a, b, x =99) f1 (1, 2, d=99, ext = None ) a = 1, b = 2, c = 0, args : (), kw: {} a = 1, b = 2, c = 3, args : (), kw: {} a = 1, b = 2, c = 3, args : ( a, b ), kw: { x : 99} a = 1, b = 2, c = 0, args : (), kw: { d : 99, ext : None } tuple dict args = (1, 2, 3, 4) kw = { d : 99, x : # } f1 (* args, ** kw) args = (11, 22, 33) kw = { d : 44, x : ## } f2 (* args, ** kw) 130
192 func(*args, **kw) 131
新・明解Python入門
!=... 47, 49 "... 14 """... 14, 242, 266 #... 21 #... 30 %... 9 %... 152 %... 152 %=... 91 &... 124 &=... 91 '... 12, 14 '''... 14 ' main '... 296 'ascii'... 359 'cp932'... 359 'euc-jis-2004'... 359 'False'...
Python a p p l e b e a r c Fruit Animal a p p l e b e a r c 2-2
Chapter 02 變數與運算式 2.1 2.1.1 2.1.2 2.1.3 2.1.4 2.2 2.2.1 2.2.2 2.2.3 type 2.2.4 2.3 2.3.1 print 2.3.2 input 2.4 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 + 2.4.6 Python Python 2.1 2.1.1 a p p l e b e a r c 65438790
C/C++ - 字符输入输出和字符确认
C/C++ Table of contents 1. 2. getchar() putchar() 3. (Buffer) 4. 5. 6. 7. 8. 1 2 3 1 // pseudo code 2 read a character 3 while there is more input 4 increment character count 5 if a line has been read,
3.1 num = 3 ch = 'C' 2
Java 1 3.1 num = 3 ch = 'C' 2 final 3.1 final : final final double PI=3.1415926; 3 3.2 4 int 3.2 (long int) (int) (short int) (byte) short sum; // sum 5 3.2 Java int long num=32967359818l; C:\java\app3_2.java:6:
WWW PHP
WWW PHP 2003 1 2 function function_name (parameter 1, parameter 2, parameter n ) statement list function_name sin, Sin, SIN parameter 1, parameter 2, parameter n 0 1 1 PHP HTML 3 function strcat ($left,
C/C++ - 字符串与字符串函数
C/C++ Table of contents 1. 2. 3. 4. 1 char C 2 char greeting [50] = " How " " are " " you?"; char greeting [50] = " How are you?"; 3 printf ("\" Ready, go!\" exclaimed John."); " Ready, go!" exclaimed
Learn_Perl 3-02.pdf
2 2. 1 h e l l o h e l l o 23 2 4 2.2 2.2.1 2.2.2 d o u b l e 1 e - 1 0 0 1 e 1 0 0 i n t e g e r 2 5 1.25 2.000 3.0 7.25e45 # 7.25 10 45-6.5e24 # 6.5 10 24 # -12e-24 # 12 10-24 # -1.2E-23 # -- E 2.2.3
C/C++ - 函数
C/C++ Table of contents 1. 2. 3. & 4. 5. 1 2 3 # include # define SIZE 50 int main ( void ) { float list [ SIZE ]; readlist (list, SIZE ); sort (list, SIZE ); average (list, SIZE ); bargragh
C/C++语言 - C/C++数据
C/C++ C/C++ Table of contents 1. 2. 3. 4. char 5. 1 C = 5 (F 32). 9 F C 2 1 // fal2cel. c: Convert Fah temperature to Cel temperature 2 # include < stdio.h> 3 int main ( void ) 4 { 5 float fah, cel ;
Spyder Anaconda Spyder Python Spyder Python Spyder Spyder Spyder 開始 \ 所有程式 \ Anaconda3 (64-bit) \ Spyder Spyder IPython Python IPython Sp
01 1.6 Spyder Anaconda Spyder Python Spyder Python Spyder Spyder 1.6.1 Spyder 開始 \ 所有程式 \ Anaconda3 (64-bit) \ Spyder Spyder IPython Python IPython Spyder Python File
C/C++ - 文件IO
C/C++ IO Table of contents 1. 2. 3. 4. 1 C ASCII ASCII ASCII 2 10000 00100111 00010000 31H, 30H, 30H, 30H, 30H 1, 0, 0, 0, 0 ASCII 3 4 5 UNIX ANSI C 5 FILE FILE 6 stdio.h typedef struct { int level ;
C/C++程序设计 - 字符串与格式化输入/输出
C/C++ / Table of contents 1. 2. 3. 4. 1 i # include # include // density of human body : 1. 04 e3 kg / m ^3 # define DENSITY 1. 04 e3 int main ( void ) { float weight, volume ; int
C/C++ 语言 - 循环
C/C++ Table of contents 7. 1. 2. while 3. 4. 5. for 6. 8. (do while) 9. 10. (nested loop) 11. 12. 13. 1 // summing.c: # include int main ( void ) { long num ; long sum = 0L; int status ; printf
untitled
1 Outline 數 料 數 數 列 亂數 練 數 數 數 來 數 數 來 數 料 利 料 來 數 A-Z a-z _ () 不 數 0-9 數 不 數 SCHOOL School school 數 讀 school_name schoolname 易 不 C# my name 7_eleven B&Q new C# (1) public protected private params override
CHAPTER VC#
1. 2. 3. 4. CHAPTER 2-1 2-2 2-3 2-4 VC# 2-5 2-6 2-7 2-8 Visual C# 2008 2-1 Visual C# 0~100 (-32768~+32767) 2 4 VC# (Overflow) 2-1 2-2 2-1 2-1.1 2-1 1 10 10!(1 10) 2-3 Visual C# 2008 10! 32767 short( )
四川省普通高等学校
四 川 省 普 通 高 等 学 校 计 算 机 应 用 知 识 和 能 力 等 级 考 试 考 试 大 纲 (2013 年 试 行 版 ) 四 川 省 教 育 厅 计 算 机 等 级 考 试 中 心 2013 年 1 月 目 录 一 级 考 试 大 纲 1 二 级 考 试 大 纲 6 程 序 设 计 公 共 基 础 知 识 6 BASIC 语 言 程 序 设 计 (Visual Basic) 9
新・解きながら学ぶJava
481! 41, 74!= 40, 270 " 4 % 23, 25 %% 121 %c 425 %d 121 %o 121 %x 121 & 199 && 48 ' 81, 425 ( ) 14, 17 ( ) 128 ( ) 183 * 23 */ 3, 390 ++ 79 ++ 80 += 93 + 22 + 23 + 279 + 14 + 124 + 7, 148, 16 -- 79 --
Microsoft Word - 97.01.30軟體設計第二部份範例試題_C++_ _1_.doc
電 腦 軟 體 設 計 乙 級 技 術 士 技 能 檢 定 術 科 測 試 範 例 試 題 (C++) 試 題 編 號 :11900-920201-4 審 定 日 期 : 94 年 7 月 1 日 修 訂 日 期 : 96 年 2 月 1 日 97 年 1 月 30 日 ( 第 二 部 份 ) 電 腦 軟 體 設 計 乙 級 技 術 士 技 能 檢 定 術 科 測 試 應 檢 參 考 資 料 壹 試
C/C++语言 - 运算符、表达式和语句
C/C++ Table of contents 1. 2. 3. 4. C C++ 5. 6. 7. 1 i // shoe1.c: # include # define ADJUST 7. 64 # define SCALE 0. 325 int main ( void ) { double shoe, foot ; shoe = 9. 0; foot = SCALE * shoe
Microsoft Word - 第3章.doc
Java C++ Pascal C# C# if if if for while do while foreach while do while C# 3.1.1 ; 3-1 ischeck Test() While ischeck while static bool ischeck = true; public static void Test() while (ischeck) ; ischeck
FY.DOC
高 职 高 专 21 世 纪 规 划 教 材 C++ 程 序 设 计 邓 振 杰 主 编 贾 振 华 孟 庆 敏 副 主 编 人 民 邮 电 出 版 社 内 容 提 要 本 书 系 统 地 介 绍 C++ 语 言 的 基 本 概 念 基 本 语 法 和 编 程 方 法, 深 入 浅 出 地 讲 述 C++ 语 言 面 向 对 象 的 重 要 特 征 : 类 和 对 象 抽 象 封 装 继 承 等 主
CC213
: (Ken-Yi Lee), E-mail: [email protected] 177 [P179] (1) - [P181] [P182] (2) - for [P183] (3) - switch [P184] [P187] [P189] [P194] 178 [ ]; : : int var; : int var[3]; var 2293620 var[0] var[1] 2293620
電腦做什麼事~第七章
Batteries included 1 built-ins #-*- coding: UTF-8 -*- from getpass import getpass data = {"kaiching":"0000"} def hello(name): " ", name, " " name = raw_input(" ") word = getpass(" ") if data.has_key(name):
Java java.lang.math Java Java.util.Random : ArithmeticException int zero = 0; try { int i= 72 / zero ; }catch (ArithmeticException e ) { // } 0,
http://debut.cis.nctu.edu.tw/~chi Java java.lang.math Java Java.util.Random : ArithmeticException int zero = 0; try { int i= 72 / zero ; }catch (ArithmeticException e ) { // } 0, : POSITIVE_INFINITY NEGATIVE_INFINITY
Microsoft PowerPoint - OPVB1基本VB.ppt
大 綱 0.VB 能 做 什 麼? CH1 VB 基 本 認 識 1.VB 歷 史 與 版 本 2.VB 環 境 簡 介 3. 即 時 運 算 視 窗 1 0.VB 能 做 什 麼? Visual Basic =>VB=> 程 式 設 計 語 言 => 設 計 程 式 設 計 你 想 要 的 功 能 的 程 式 自 動 化 資 料 庫 計 算 模 擬 遊 戲 網 路 監 控 實 驗 輔 助 自 動
( CIP) /. :, ( ) ISBN TP CIP ( 2005) : : : : * : : 174 ( A ) : : ( 023) : ( 023)
( CIP) /. :, 2005. 2 ( ) ISBN 7-5624-3339-9.......... TP311. 1 CIP ( 2005) 011794 : : : : * : : 174 ( A ) :400030 : ( 023) 65102378 65105781 : ( 023) 65103686 65105565 : http: / /www. cqup. com. cn : fxk@cqup.
CC213
: (Ken-Yi Lee), E-mail: [email protected] 49 [P.51] C/C++ [P.52] [P.53] [P.55] (int) [P.57] (float/double) [P.58] printf scanf [P.59] [P.61] ( / ) [P.62] (char) [P.65] : +-*/% [P.67] : = [P.68] : ,
1 Framework.NET Framework Microsoft Windows.NET Framework.NET Framework NOTE.NET NET Framework.NET Framework 2.0 ( 3 ).NET Framework 2.0.NET F
1 Framework.NET Framework Microsoft Windows.NET Framework.NET Framework NOTE.NET 2.0 2.0.NET Framework.NET Framework 2.0 ( 3).NET Framework 2.0.NET Framework ( System ) o o o o o o Boxing UnBoxing() o
Guide to Install SATA Hard Disks
SATA RAID 1. SATA. 2 1.1 SATA. 2 1.2 SATA 2 2. RAID (RAID 0 / RAID 1 / JBOD).. 4 2.1 RAID. 4 2.2 RAID 5 2.3 RAID 0 6 2.4 RAID 1.. 10 2.5 JBOD.. 16 3. Windows 2000 / Windows XP 20 1. SATA 1.1 SATA Serial
2013 C 1 #include <stdio.h> 2 int main(void) 3 { 4 int cases, i; 5 long long a, b; 6 scanf("%d", &cases); 7 for (i = 0; i < cases; i++) 8 { 9 scanf("%
2013 ( 28 ) ( ) 1. C pa.c, pb.c, 2. C++ pa.cpp, pb.cpp Compilation Error long long cin scanf Time Limit Exceeded 1: A 10 B 1 C 1 D 5 E 5 F 1 G II 5 H 30 1 2013 C 1 #include 2 int main(void) 3
C
C 2017 4 1 1. 2. while 3. 4. 5. for 6. 2/161 C 7. 8. (do while) 9. 10. (nested loop) 11. 12. 3/161 C 1. I 1 // summing.c: 2 #include 3 int main(void) 4 { 5 long num; 6 long sum = 0L; 7 int status;
蔡 氏 族 譜 序 2
1 蔡 氏 族 譜 Highlights with characters are Uncle Mike s corrections. Missing or corrected characters are found on pages 9, 19, 28, 34, 44. 蔡 氏 族 譜 序 2 3 福 建 仙 遊 赤 湖 蔡 氏 宗 譜 序 蔡 氏 之 先 出 自 姬 姓 周 文 王 第 五 子
Fun Time (1) What happens in memory? 1 i n t i ; 2 s h o r t j ; 3 double k ; 4 char c = a ; 5 i = 3; j = 2; 6 k = i j ; H.-T. Lin (NTU CSIE) Referenc
References (Section 5.2) Hsuan-Tien Lin Deptartment of CSIE, NTU OOP Class, March 15-16, 2010 H.-T. Lin (NTU CSIE) References OOP 03/15-16/2010 0 / 22 Fun Time (1) What happens in memory? 1 i n t i ; 2
C/C++语言 - 分支结构
C/C++ Table of contents 1. if 2. if else 3. 4. 5. 6. continue break 7. switch 1 if if i // colddays.c: # include int main ( void ) { const int FREEZING = 0; float temperature ; int cold_ days
科学计算的语言-FORTRAN95
科 学 计 算 的 语 言 -FORTRAN95 目 录 第 一 篇 闲 话 第 1 章 目 的 是 计 算 第 2 章 FORTRAN95 如 何 描 述 计 算 第 3 章 FORTRAN 的 编 译 系 统 第 二 篇 计 算 的 叙 述 第 4 章 FORTRAN95 语 言 的 形 貌 第 5 章 准 备 数 据 第 6 章 构 造 数 据 第 7 章 声 明 数 据 第 8 章 构 造
5. 閱 讀 下 文, 推 斷 內 最 適 合 填 入 的 詞 語 依 序 為 何? 人 也 真 是 一 個 絕 字, 一 邊 向 左, 一 邊 向 右, 一 副 的 樣 子, 偏 又 相 連 著, 各 說 各 話 各 走 各 路, 卻 又 人, 這 麼 一 個 簡 單 的 字, 竟 包 含 如 此
103 學 年 度 四 技 二 專 統 一 入 學 測 驗 國 文 試 題 一 選 擇 題 ( 一 ) 綜 合 測 驗 20 題 1. 下 列 各 組 內 的 字, 何 者 讀 音 不 同? (A) 諮 諏 善 道 / 渡 大 海, 入 荒 陬 (B) 傴 僂 提 攜 / 嘔 啞 嘲 哳 難 為 聽 (C) 跫 音 不 響 / 秋 蟬 兒 噪 罷 寒 蛩 兒 叫 (D) 形 容 枯 槁 / 阿 縞
C
C 2017 3 14 1. 2. 3. 4. 2/95 C 1. 3/95 C I 1 // talkback.c: 2 #include 3 #include 4 #define DENSITY 62.4 5 int main(void) 6 { 7 float weight, volume; 8 int size; 9 unsigned long letters;
Microsoft Word - 09.數學136-281.docx
136. 計 算 梯 型 面 積 (1 分 ) 請 以 JAVA 運 算 式 計 算 下 面 梯 形 面 積, 並 輸 出 面 積 結 果 梯 形 面 積 公 式 為 :( 上 底 + 下 底 ) 高 2 每 一 組 依 序 分 別 輸 入 梯 形 的 上 底 下 底 及 高 的 整 數 輸 出 梯 形 面 積 輸 入 輸 出 94 190 120 99 54 47 137. 計 算 三 角 形 面
, 7, Windows,,,, : ,,,, ;,, ( CIP) /,,. : ;, ( 21 ) ISBN : -. TP CIP ( 2005) 1
21 , 7, Windows,,,, : 010-62782989 13501256678 13801310933,,,, ;,, ( CIP) /,,. : ;, 2005. 11 ( 21 ) ISBN 7-81082 - 634-4... - : -. TP316-44 CIP ( 2005) 123583 : : : : 100084 : 010-62776969 : 100044 : 010-51686414
C C
C C 2017 3 8 1. 2. 3. 4. char 5. 2/101 C 1. 3/101 C C = 5 (F 32). 9 F C 4/101 C 1 // fal2cel.c: Convert Fah temperature to Cel temperature 2 #include 3 int main(void) 4 { 5 float fah, cel; 6 printf("please
Perl
Perl 磊 Goal Introduction The first perl program Basical coding style Variable Data structure Control structure Regular expression Lab Reference Outline The first perl program Just type this following string
Computer Architecture
ECE 3120 Computer Systems Assembly Programming Manjeera Jeedigunta http://blogs.cae.tntech.edu/msjeedigun21 Email: [email protected] Tel: 931-372-6181, Prescott Hall 120 Prev: Basic computer concepts
Microsoft Word - 苹果脚本跟我学.doc
AppleScript for Absolute Starters 2 2 3 0 5 1 6 2 10 3 I 13 4 15 5 17 6 list 20 7 record 27 8 II 32 9 34 10 36 11 44 12 46 13 51 14 handler 57 15 62 63 3 AppleScript AppleScript AppleScript AppleScript
untitled
不 料 料 例 : ( 料 ) 串 度 8 年 數 串 度 4 串 度 數 數 9- ( ) 利 數 struct { ; ; 數 struct 數 ; 9-2 數 利 數 C struct 數 ; C++ 數 ; struct 省略 9-3 例 ( 料 例 ) struct people{ char name[]; int age; char address[4]; char phone[]; int
C/C++ - 数组与指针
C/C++ Table of contents 1. 2. 3. 4. 5. 6. 7. 8. 1 float candy [ 365]; char code [12]; int states [50]; 2 int array [6] = {1, 2, 4, 6, 8, 10}; 3 // day_mon1.c: # include # define MONTHS 12 int
ebook14-4
4 TINY LL(1) First F o l l o w t o p - d o w n 3 3. 3 backtracking parser predictive parser recursive-descent parsing L L ( 1 ) LL(1) parsing L L ( 1 ) L L ( 1 ) 1 L 2 L 1 L L ( k ) k L L ( 1 ) F i r s
1 Project New Project 1 2 Windows 1 3 N C test Windows uv2 KEIL uvision2 1 2 New Project Ateml AT89C AT89C51 3 KEIL Demo C C File
51 C 51 51 C C C C C C * 2003-3-30 [email protected] C C C C KEIL uvision2 MCS51 PLM C VC++ 51 KEIL51 KEIL51 KEIL51 KEIL 2K DEMO C KEIL KEIL51 P 1 1 1 1-1 - 1 Project New Project 1 2 Windows 1 3 N C test
(Guangzhou) AIT Co, Ltd V 110V [ ]! 2
(Guangzhou) AIT Co, Ltd 020-84106666 020-84106688 http://wwwlenxcn Xi III Zebra XI III 1 (Guangzhou) AIT Co, Ltd 020-84106666 020-84106688 http://wwwlenxcn 230V 110V [ ]! 2 (Guangzhou) AIT Co, Ltd 020-84106666
Microsoft Word - PHP7Ch01.docx
PHP 01 1-6 PHP PHP HTML HTML PHP CSSJavaScript PHP PHP 1-6-1 PHP HTML PHP HTML 1. Notepad++ \ch01\hello.php 01: 02: 03: 04: 05: PHP 06:
untitled
1 Outline 料 類 說 Tang, Shih-Hsuan 2006/07/26 ~ 2006/09/02 六 PM 7:00 ~ 9:30 聯 [email protected] www.csie.ntu.edu.tw/~r93057/aspnet134 度 C# 力 度 C# Web SQL 料 DataGrid DataList 參 ASP.NET 1.0 C# 例 ASP.NET 立
Microsoft Word - 11.doc
除 錯 技 巧 您 將 於 本 章 學 到 以 下 各 項 : 如 何 在 Visual C++ 2010 的 除 錯 工 具 控 制 下 執 行 程 式? 如 何 逐 步 地 執 行 程 式 的 敘 述? 如 何 監 看 或 改 變 程 式 中 的 變 數 值? 如 何 監 看 程 式 中 計 算 式 的 值? 何 謂 Call Stack? 何 謂 診 斷 器 (assertion)? 如 何
1 4 1.1 4 1.2..4 2..4 2.1..4 3.4 3.1 Java.5 3.1.1..5 3.1.2 5 3.1.3 6 4.6 4.1 6 4.2.6 5 7 5.1..8 5.1.1 8 5.1.2..8 5.1.3..8 5.1.4..9 5.2..9 6.10 6.1.10
Java V1.0.1 2007 4 10 1 4 1.1 4 1.2..4 2..4 2.1..4 3.4 3.1 Java.5 3.1.1..5 3.1.2 5 3.1.3 6 4.6 4.1 6 4.2.6 5 7 5.1..8 5.1.1 8 5.1.2..8 5.1.3..8 5.1.4..9 5.2..9 6.10 6.1.10 6.2.10 6.3..10 6.4 11 7.12 7.1
CC213
: (Ken-Yi Lee), E-mail: [email protected] 9 [P.11] : Dev C++ [P.12] : http://c.feis.tw [P.13] [P.14] [P.15] [P.17] [P.23] Dev C++ [P.24] [P.27] [P.34] C / C++ [P.35] 10 C / C++ C C++ C C++ C++ C ( ) C++
Chapter 9: Objects and Classes
Fortran Algol Pascal Modula-2 BCPL C Simula SmallTalk C++ Ada Java C# C Fortran 5.1 message A B 5.2 1 class Vehicle subclass Car object mycar public class Vehicle extends Object{ public int WheelNum
C 1
C homepage: xpzhangme 2018 5 30 C 1 C min(x, y) double C // min c # include # include double min ( double x, double y); int main ( int argc, char * argv []) { double x, y; if( argc!=
C H A P T E R 7 Windows Vista Windows Vista Windows Vista FAT16 FAT32 NTFS NTFS New Technology File System NTFS
C H P T E R 7 Windows Vista Windows Vista Windows VistaFT16 FT32NTFS NTFSNew Technology File System NTFS 247 6 7-1 Windows VistaTransactional NTFS TxFTxF Windows Vista MicrosoftTxF CIDatomicity - Consistency
EC51/52 GSM /GPRS MODEN
EC51/52 GSM /GPRS MODEN AT SMS aoe EC66.com 2004.11 ... 2 1 GSM AT... 3 2 EC51... 4 3 PDU... 4 4 PDU... 5 5... 7 6 TEXT... 8 7... 9 8.... 9 9.... 9 http://www.ec66.com/ 1 AT GPRS Modem SMS AT EC51 EC52
Serial ATA ( Silicon Image SiI3114)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 5 (4) S A T A... 8 (5) S A T A... 10
Serial ATA ( Silicon Image SiI3114)...2 (1) SATA... 2 (2) B I O S S A T A... 3 (3) RAID BIOS RAID... 5 (4) S A T A... 8 (5) S A T A... 10 Ác Åé å Serial ATA ( Silicon Image SiI3114) S A T A (1) SATA (2)
epub 94-3
3 A u t o C A D L AY E R L I N E T Y P E O S N A P S T Y L E X R E F - AutoLISP Object ARX A u t o C A D D C L A u t o C A D A u t o d e s k P D B D C L P D B D C L D C L 3.1 Wi n d o w s A u t o C A D
Bourne Shell及shell编程
Bourne Shell shell [email protected] javalee LINUX [email protected], April 1999. URL: ftp://ftp.dlut.edu.cn/pub/people/albin/ : ------------------------------------------------------------------------------
AL-M200 Series
NPD4754-00 TC ( ) Windows 7 1. [Start ( )] [Control Panel ()] [Network and Internet ( )] 2. [Network and Sharing Center ( )] 3. [Change adapter settings ( )] 4. 3 Windows XP 1. [Start ( )] [Control Panel
JavaIO.PDF
O u t p u t S t ream j a v a. i o. O u t p u t S t r e a m w r i t e () f l u s h () c l o s e () public abstract void write(int b) throws IOException public void write(byte[] data) throws IOException
(Load Project) (Save Project) (OffLine Mode) (Help) Intel Hex Motor
1 4.1.1.1 (Load) 14 1.1 1 4.1.1.2 (Save) 14 1.1.1 1 4.1.2 (Buffer) 16 1.1.2 1 4.1.3 (Device) 16 1.1.3 1 4.1.3.1 (Select Device) 16 2 4.1.3.2 (Device Info) 16 2.1 2 4.1.3.3 (Adapter) 17 2.1.1 CD-ROM 2 4.1.4
Untitiled
目 立人1 2011 录 目 录 专家视点 权利与责任 班主任批评权的有效运用 齐学红 3 德育园地 立 沿着鲁迅爷爷的足迹 主题队活动案例 郑海娟 4 播下一颗美丽的种子 沿着鲁迅爷爷的足迹 中队活动反思 郑海娟 5 赠人玫瑰 手有余香 关于培养小学生服务意识的一些尝试和思考 孙 勤 6 人 教海纵横 2011 年第 1 期 总第 9 期 主办单位 绍兴市鲁迅小学教育集团 顾 问 编委会主任 编
概述
OPC Version 1.6 build 0910 KOSRDK Knight OPC Server Rapid Development Toolkits Knight Workgroup, eehoo Technology 2002-9 OPC 1...4 2 API...5 2.1...5 2.2...5 2.2.1 KOS_Init...5 2.2.2 KOS_InitB...5 2.2.3
前言 C# C# C# C C# C# C# C# C# microservices C# More Effective C# More Effective C# C# C# C# Effective C# 50 C# C# 7 Effective vii
前言 C# C# C# C C# C# C# C# C# microservices C# More Effective C# More Effective C# C# C# C# Effective C# 50 C# C# 7 Effective vii C# 7 More Effective C# C# C# C# C# C# Common Language Runtime CLR just-in-time
Progperl.PDF
print "Howdy, world!\n"; 1 2 / / 3 4 / $phrase = " Howdy, world!\n"; print $phrase ; # # / 5 6 / $answer = 42; $pi = 3.14159265; $avocados = 6.02e23; $pet = "Camel"; $sign = "I love my $pet"; $cost = 'It
INTRODUCTION TO COM.DOC
How About COM & ActiveX Control With Visual C++ 6.0 Author: Curtis CHOU [email protected] This document can be freely release and distribute without modify. ACTIVEX CONTROLS... 3 ACTIVEX... 3 MFC ACTIVEX
通 用 申 请 填 写 流 程 简 图 首 次 登 陆 已 注 册 用 户 登 录 ( 最 终 提 交 前 可 无 限 次 登 录 修 改 ) 注 册 账 户 College Search 中 添 加 New York University Common App 填 写 ( 包 含 两 篇 写 作
上 海 纽 约 大 学 2017 年 秋 季 入 学 Common Application( 通 用 申 请 ) 填 写 指 导 教 程 上 海 纽 约 大 学 是 中 国 教 育 部 正 式 批 准 设 立 的 第 一 所 中 美 合 作 大 学, 也 是 纽 约 大 学 全 球 教 育 体 系 (Global Network University) 的 组 成 部 分, 与 纽 约 校 园 阿
z x / +/- < >< >< >< >< > 3 b10x b10x 0~9,a~f,A~F, 0~9,a~f,A~F, x,x,z,z,?,_ x,x,z,z,?,_ h H 0~9,_ 0~9,_ d D 0~7,x,X,z,Z
Verilog Verilog HDL HDL Verilog Verilog 1. 1. 1.1 1.1 TAB TAB VerilogHDL VerilogHDL C 1.2 1.2 C // // /* /* /* /* SYNOPSY SYNOPSY Design Compiler Design Compiler // //synopsys synopsys /* /*synopsys synopsys
KillTest 质量更高 服务更好 学习资料 半年免费更新服务
KillTest 质量更高 服务更好 学习资料 http://www.killtest.cn 半年免费更新服务 Exam : 1Z0-854 Title : Java Standard Edition 5 Programmer Certified Professional Upgrade Exam Version : Demo 1 / 12 1.Given: 20. public class CreditCard
Simulator By SunLingxi 2003
Simulator By SunLingxi [email protected] 2003 windows 2000 Tornado ping ping 1. Tornado Full Simulator...3 2....3 3. ping...6 4. Tornado Simulator BSP...6 5. VxWorks simpc...7 6. simulator...7 7. simulator
新版 明解C++入門編
511!... 43, 85!=... 42 "... 118 " "... 337 " "... 8, 290 #... 71 #... 413 #define... 128, 236, 413 #endif... 412 #ifndef... 412 #if... 412 #include... 6, 337 #undef... 413 %... 23, 27 %=... 97 &... 243,
2017ÅàÑø·½°¸
1 2 3, 4. 5. 150 37 91 22 1 37 (1) 14 10610183 10610193 10610204 4 10610224 4 312 (2) 4 1-4 (1)-(4) 1 5-8 5-6 7-8 1-4 2017 (3) 8+2 6 8 2 1 2 8 2 3 4 8 2 4 4 6 4 8 8 8 STEM STEM 5 12090043 2 91 1 18 6 3
untitled
說 參 例 邏 邏 1. 說 2. 數 數 3. 8 4. 理念 李 龍老 立 1. 理 料 2. 理 料 3. 數 料 4. 流 邏 念 5. 良 6. 讀 行 行 7. 行 例 來 邏 1. 說 說 識 量 2. 說 理 類 3. 數 數 念 4. 令 5. 良 6. 流 邏 念 7. 說 邏 理 力 1. 2. 3. 4. 5. 列 念 1 參 1. ( Visual Basic 例 ) (1)
untitled
MODBUS 1 MODBUS...1 1...4 1.1...4 1.2...4 1.3...4 1.4... 2...5 2.1...5 2.2...5 3...6 3.1 OPENSERIAL...6 3.2 CLOSESERIAL...8 3.3 RDMULTIBIT...8 3.4 RDMULTIWORD...9 3.5 WRTONEBIT...11 3.6 WRTONEWORD...12
TX-NR3030_BAS_Cs_ indd
TX-NR3030 http://www.onkyo.com/manual/txnr3030/adv/cs.html Cs 1 2 3 Speaker Cable 2 HDMI OUT HDMI IN HDMI OUT HDMI OUT HDMI OUT HDMI OUT 1 DIGITAL OPTICAL OUT AUDIO OUT TV 3 1 5 4 6 1 2 3 3 2 2 4 3 2 5
IO
1 C/C++ C FILE* fscanf fgets fread fprintf fputs fwrite C++ ifstream ofstream >>
0020 湖 北 美 术 学 院 戚 雪 雯 书 籍 遇 戴 萌 田 智 文 郭 岚 0021 湖 北 美 术 学 院 胡 星 书 籍 少 年 迈 尔 斯 的 海 戴 萌 田 智 文 郭 岚 0022 湖 北 美 术 学 院 曹 梦 萦 书 籍 古 琴 弹 奏 经 典 三 十 首 戴 萌 田 智 文
靳 埭 强 设 计 奖 2012 入 围 终 评 名 单 ( 学 生 组 ) 序 号 院 校 姓 名 作 品 类 别 作 品 名 称 指 导 老 师 0001 东 南 大 学 黄 升 海 报 生 命 崔 天 剑 0002 贵 州 大 学 艺 术 学 院 黎 玉 泽 包 装 黔 丝 巧 染 周 子 鸿 0003 扬 州 大 学 新 闻 与 传 媒 学 院 杨 灵 字 体 天 堂 蒙 汉 合 筑 字 体
audiogram3 Owners Manual
USB AUDIO INTERFACE ZH 2 AUDIOGRAM 3 ( ) * Yamaha USB Yamaha USB ( ) ( ) USB Yamaha (5)-10 1/2 AUDIOGRAM 3 3 MIC / INST (XLR ) (IEC60268 ): 1 2 (+) 3 (-) 2 1 3 Yamaha USB Yamaha Yamaha Steinberg Media
untitled
2006 6 Geoframe Geoframe 4.0.3 Geoframe 1.2 1 Project Manager Project Management Create a new project Create a new project ( ) OK storage setting OK (Create charisma project extension) NO OK 2 Edit project
<4D F736F F D D342DA57CA7DEA447B14D2DA475B57BBB50BADEB27AC3FEB14DA447B8D5C344>
1. 請 問 誰 提 出 積 體 電 路 (IC) 上 可 容 納 的 電 晶 體 數 目, 約 每 隔 24 個 月 (1975 年 更 改 為 18 個 月 ) 便 會 增 加 一 倍, 效 能 也 將 提 升 一 倍, 也 揭 示 了 資 訊 科 技 進 步 的 速 度? (A) 英 特 爾 (Intel) 公 司 創 始 人 戈 登. 摩 爾 (Gordon Moore) (B) 微 軟 (Microsoft)
Important Notice SUNPLUS TECHNOLOGY CO. reserves the right to change this documentation without prior notice. Information provided by SUNPLUS TECHNOLO
Car DVD New GUI IR Flow User Manual V0.1 Jan 25, 2008 19, Innovation First Road Science Park Hsin-Chu Taiwan 300 R.O.C. Tel: 886-3-578-6005 Fax: 886-3-578-4418 Web: www.sunplus.com Important Notice SUNPLUS
安 全 指 南 : 必 须 遵 守 所 有 的 警 告 事 项, 以 确 保 自 己 和 他 人 的 安 全 以 及 保 护 产 品 和 连 接 装 置 这 些 警 告 事 项 都 按 警 示 程 度 明 示 出 等 级 有 资 格 的 人 员 : YO-YO 只 能 进 行 与 手 册 有 关 的
IOM LBYM180112 Rev. D Mark-4 /GP-4 Yo-Yo 重 锤 安 装 & 操 作 手 册 安 全 指 南 : 必 须 遵 守 所 有 的 警 告 事 项, 以 确 保 自 己 和 他 人 的 安 全 以 及 保 护 产 品 和 连 接 装 置 这 些 警 告 事 项 都 按 警 示 程 度 明 示 出 等 级 有 资 格 的 人 员 : YO-YO 只 能 进 行 与 手
