来源:机器之心
<section><span style="font-weight: bold;line-height: 26px;">import</span> pandas <span style="font-weight: bold;line-height: 26px;">as</span> pd<br /><br />gl = pd.read_csv(<span style="color: rgb(221, 17, 68);line-height: 26px;">'game_logs.csv'</span>)<br />gl.head()</section>
-
date - 比赛时间
-
v_name - 客队名
-
v_league - 客队联盟
-
h_name - 主队名
-
h_league - 主队联盟
-
v_score - 客队得分
-
h_score - 主队得分
-
v_line_score - 客队每局得分排列,例如:010000(10)00.
-
h_line_score - 主队每局得分排列,例如:010000(10)0X.
-
park_id - 比赛举办的球场名
-
attendance- 比赛观众
<section>gl.info(memory_usage=<span style="color: rgb(221, 17, 68);line-height: 26px;">'deep'</span>)<br /></section>
<section><<span style="line-height: 26px;"><span style="font-weight: bold;line-height: 26px;">class</span> '<span style="color: rgb(68, 85, 136);font-weight: bold;line-height: 26px;">pandas</span>.<span style="color: rgb(68, 85, 136);font-weight: bold;line-height: 26px;">core</span>.<span style="color: rgb(68, 85, 136);font-weight: bold;line-height: 26px;">frame</span>.<span style="color: rgb(68, 85, 136);font-weight: bold;line-height: 26px;">DataFrame</span>'><br /><span style="color: rgb(68, 85, 136);font-weight: bold;line-height: 26px;">RangeIndex</span>:</span> <span style="color: rgb(0, 128, 128);line-height: 26px;">171907</span> entries, <span style="color: rgb(0, 128, 128);line-height: 26px;">0</span> to <span style="color: rgb(0, 128, 128);line-height: 26px;">171906</span><br />Columns: <span style="color: rgb(0, 128, 128);line-height: 26px;">161</span> entries, date to acquisition_info<br />dtypes: float64(<span style="color: rgb(0, 128, 128);line-height: 26px;">77</span>), int64(<span style="color: rgb(0, 128, 128);line-height: 26px;">6</span>), object(<span style="color: rgb(0, 128, 128);line-height: 26px;">78</span>)<br />memory usage: <span style="color: rgb(0, 128, 128);line-height: 26px;">861.6</span> MB</section>
<section><span style="font-weight: bold;line-height: 26px;">for</span> dtype <span style="font-weight: bold;line-height: 26px;">in</span> [<span style="color: rgb(221, 17, 68);line-height: 26px;">'float'</span>,<span style="color: rgb(221, 17, 68);line-height: 26px;">'int'</span>,<span style="color: rgb(221, 17, 68);line-height: 26px;">'object'</span>]:<br /> selected_dtype = gl.select_dtypes(include=[dtype])<br /> mean_usage_b = selected_dtype.memory_usage(deep=<span style="color: rgb(0, 128, 128);line-height: 26px;">True</span>).mean()<br /> mean_usage_mb = mean_usage_b / <span style="color: rgb(0, 128, 128);line-height: 26px;">1024</span> ** <span style="color: rgb(0, 128, 128);line-height: 26px;">2</span><br /> print(<span style="color: rgb(221, 17, 68);line-height: 26px;">"Average memory usage for {} columns: {:03.2f} MB"</span>.format(dtype,mean_usage_mb))<br /></section>
<section>Average memory usage <span style="font-weight: bold;line-height: 26px;">for</span> float columns: <span style="color: rgb(0, 128, 128);line-height: 26px;">1.29</span> MB<br />Average memory usage <span style="font-weight: bold;line-height: 26px;">for</span> int columns: <span style="color: rgb(0, 128, 128);line-height: 26px;">1.12</span> MB<br />Average memory usage <span style="font-weight: bold;line-height: 26px;">for</span> object columns: <span style="color: rgb(0, 128, 128);line-height: 26px;">9.53</span> MB</section>
<section><span style="font-weight: bold;line-height: 26px;">import</span> numpy <span style="font-weight: bold;line-height: 26px;">as</span> np<br />int_types = [<span style="color: rgb(221, 17, 68);line-height: 26px;">"uint8"</span>, <span style="color: rgb(221, 17, 68);line-height: 26px;">"int8"</span>, <span style="color: rgb(221, 17, 68);line-height: 26px;">"int16"</span>]<br /><span style="font-weight: bold;line-height: 26px;">for</span> it <span style="font-weight: bold;line-height: 26px;">in</span> int_types:<br /> print(np.iinfo(it))</section>
<section>Machine parameters <span style="font-weight: bold;line-height: 26px;">for</span> uint8<br />---------------------------------------------------------------<br />min = <span style="color: rgb(0, 128, 128);line-height: 26px;">0</span><br />max = <span style="color: rgb(0, 128, 128);line-height: 26px;">255</span><br />---------------------------------------------------------------<br /><br />Machine parameters <span style="font-weight: bold;line-height: 26px;">for</span> int8<br />---------------------------------------------------------------<br />min = <span style="color: rgb(0, 128, 128);line-height: 26px;">-128</span><br />max = <span style="color: rgb(0, 128, 128);line-height: 26px;">127</span><br />---------------------------------------------------------------<br /><br />Machine parameters <span style="font-weight: bold;line-height: 26px;">for</span> int16<br />---------------------------------------------------------------<br />min = <span style="color: rgb(0, 128, 128);line-height: 26px;">-32768</span><br />max = <span style="color: rgb(0, 128, 128);line-height: 26px;">32767</span><br />---------------------------------------------------------------</section>
<section><span style="color: rgb(153, 153, 136);font-style: italic;line-height: 26px;"># We're going to be calculating memory usage a lot,</span><br /><span style="color: rgb(153, 153, 136);font-style: italic;line-height: 26px;"># so we'll create a function to save us some time!</span><br /><br /><span style="line-height: 26px;"><span style="font-weight: bold;line-height: 26px;">def</span> <span style="color: rgb(153, 0, 0);font-weight: bold;line-height: 26px;">mem_usage</span><span style="line-height: 26px;">(pandas_obj)</span>:</span><br /> <span style="font-weight: bold;line-height: 26px;">if</span> isinstance(pandas_obj,pd.DataFrame):<br /> usage_b = pandas_obj.memory_usage(deep=<span style="color: rgb(0, 128, 128);line-height: 26px;">True</span>).sum()<br /> <span style="font-weight: bold;line-height: 26px;">else</span>: <span style="color: rgb(153, 153, 136);font-style: italic;line-height: 26px;"># we assume if not a df it's a series</span><br /> usage_b = pandas_obj.memory_usage(deep=<span style="color: rgb(0, 128, 128);line-height: 26px;">True</span>)<br /> usage_mb = usage_b / <span style="color: rgb(0, 128, 128);line-height: 26px;">1024</span> ** <span style="color: rgb(0, 128, 128);line-height: 26px;">2</span> <span style="color: rgb(153, 153, 136);font-style: italic;line-height: 26px;"># convert bytes to megabytes</span><br /> <span style="font-weight: bold;line-height: 26px;">return</span> <span style="color: rgb(221, 17, 68);line-height: 26px;">"{:03.2f} MB"</span>.format(usage_mb)<br /><br />gl_int = gl.select_dtypes(include=[<span style="color: rgb(221, 17, 68);line-height: 26px;">'int'</span>])<br />converted_int = gl_int.apply(pd.to_numeric,downcast=<span style="color: rgb(221, 17, 68);line-height: 26px;">'unsigned'</span>)<br /><br />print(mem_usage(gl_int))<br />print(mem_usage(converted_int))<br /><br />compare_ints = pd.concat([gl_int.dtypes,converted_int.dtypes],axis=<span style="color: rgb(0, 128, 128);line-height: 26px;">1</span>)<br />compare_ints.columns = [<span style="color: rgb(221, 17, 68);line-height: 26px;">'before'</span>,<span style="color: rgb(221, 17, 68);line-height: 26px;">'after'</span>]<br />compare_ints.apply(pd.Series.value_counts)<br /></section>
<section><span style="color: rgb(0, 128, 128);line-height: 26px;">7.87</span> MB<br /><span style="color: rgb(0, 128, 128);line-height: 26px;">1.48</span> MB</section>
<section>gl_float = gl.select_dtypes(include=[<span style="color: rgb(221, 17, 68);line-height: 26px;">'float'</span>])<br />converted_float = gl_float.apply(pd.to_numeric,downcast=<span style="color: rgb(221, 17, 68);line-height: 26px;">'float'</span>)<br /><br />print(mem_usage(gl_float))<br />print(mem_usage(converted_float))<br /><br />compare_floats = pd.concat([gl_float.dtypes,converted_float.dtypes],axis=<span style="color: rgb(0, 128, 128);line-height: 26px;">1</span>)<br />compare_floats.columns = [<span style="color: rgb(221, 17, 68);line-height: 26px;">'before'</span>,<span style="color: rgb(221, 17, 68);line-height: 26px;">'after'</span>]<br />compare_floats.apply(pd.Series.value_counts)</section>
<section><span style="color: rgb(0, 128, 128);line-height: 26px;">100.99</span> MB<br /><span style="color: rgb(0, 128, 128);line-height: 26px;">50.49</span> MB</section>
<section>optimized_gl = gl.copy()<br /><br />optimized_gl[converted_int.columns] = converted_int<br />optimized_gl[converted_float.columns] = converted_float<br /><br />print(mem_usage(gl))<br />print(mem_usage(optimized_gl))</section>
<section><span style="color: rgb(0, 128, 128);line-height: 26px;">861.57</span> MB</section>
<section><span style="color: rgb(0, 128, 128);line-height: 26px;">804.69</span> MB</section>
<section><span style="font-weight: bold;line-height: 26px;">from</span> sys <span style="font-weight: bold;line-height: 26px;">import</span> getsizeof<br /><br />s1 = <span style="color: rgb(221, 17, 68);line-height: 26px;">'working out'</span><br />s2 = <span style="color: rgb(221, 17, 68);line-height: 26px;">'memory usage for'</span><br />s3 = <span style="color: rgb(221, 17, 68);line-height: 26px;">'strings in python is fun!'</span><br />s4 = <span style="color: rgb(221, 17, 68);line-height: 26px;">'strings in python is fun!'</span><br /><br /><span style="font-weight: bold;line-height: 26px;">for</span> s <span style="font-weight: bold;line-height: 26px;">in</span> [s1, s2, s3, s4]:<br /> print(getsizeof(s))<br /></section>
<section><span style="color: rgb(0, 128, 128);line-height: 26px;">60</span><br /><span style="color: rgb(0, 128, 128);line-height: 26px;">65</span><br /><span style="color: rgb(0, 128, 128);line-height: 26px;">74</span><br /><span style="color: rgb(0, 128, 128);line-height: 26px;">74</span><br /></section>
<section>obj_series = pd.Series([<span style="color: rgb(221, 17, 68);line-height: 26px;">'working out'</span>,<br /> <span style="color: rgb(221, 17, 68);line-height: 26px;">'memory usage for'</span>,<br /> <span style="color: rgb(221, 17, 68);line-height: 26px;">'strings in python is fun!'</span>,<br /> <span style="color: rgb(221, 17, 68);line-height: 26px;">'strings in python is fun!'</span>])<br />obj_series.apply(getsizeof)<br /></section>
<section><span style="color: rgb(0, 128, 128);line-height: 26px;">0</span> <span style="color: rgb(0, 128, 128);line-height: 26px;">60</span><br /><span style="color: rgb(0, 128, 128);line-height: 26px;">1</span> <span style="color: rgb(0, 128, 128);line-height: 26px;">65</span><br /><span style="color: rgb(0, 128, 128);line-height: 26px;">2</span> <span style="color: rgb(0, 128, 128);line-height: 26px;">74</span><br /><span style="color: rgb(0, 128, 128);line-height: 26px;">3</span> <span style="color: rgb(0, 128, 128);line-height: 26px;">74</span><br />dtype: int64</section>
<section>gl_obj = gl.select_dtypes(include=[<span style="color: rgb(221, 17, 68);line-height: 26px;">'object'</span>]).copy()<br />gl_obj.describe()</section>
<section>dow = gl_obj.day_of_week<br />print(dow.head())<br /><br />dow_cat = dow.astype(<span style="color: rgb(221, 17, 68);line-height: 26px;">'category'</span>)<br />print(dow_cat.head())</section>
<section><span style="color: rgb(0, 128, 128);line-height: 26px;">0</span> Thu<br /><span style="color: rgb(0, 128, 128);line-height: 26px;">1</span> Fri<br /><span style="color: rgb(0, 128, 128);line-height: 26px;">2</span> Sat<br /><span style="color: rgb(0, 128, 128);line-height: 26px;">3</span> Mon<br /><span style="color: rgb(0, 128, 128);line-height: 26px;">4</span> Tue<br />Name: day_of_week, dtype: object<br /><span style="color: rgb(0, 128, 128);line-height: 26px;">0</span> Thu<br /><span style="color: rgb(0, 128, 128);line-height: 26px;">1</span> Fri<br /><span style="color: rgb(0, 128, 128);line-height: 26px;">2</span> Sat<br /><span style="color: rgb(0, 128, 128);line-height: 26px;">3</span> Mon<br /><span style="color: rgb(0, 128, 128);line-height: 26px;">4</span> Tue<br />Name: day_of_week, dtype: category<br />Categories (<span style="color: rgb(0, 128, 128);line-height: 26px;">7</span>, object): [Fri, Mon, Sat, Sun, Thu, Tue, Wed]</section>
<section>dow_cat.head().cat.codes</section>
<section><span style="color: rgb(0, 128, 128);line-height: 26px;">0</span> <span style="color: rgb(0, 128, 128);line-height: 26px;">4</span><br /><span style="color: rgb(0, 128, 128);line-height: 26px;">1</span> <span style="color: rgb(0, 128, 128);line-height: 26px;">0</span><br /><span style="color: rgb(0, 128, 128);line-height: 26px;">2</span> <span style="color: rgb(0, 128, 128);line-height: 26px;">2</span><br /><span style="color: rgb(0, 128, 128);line-height: 26px;">3</span> <span style="color: rgb(0, 128, 128);line-height: 26px;">1</span><br /><span style="color: rgb(0, 128, 128);line-height: 26px;">4</span> <span style="color: rgb(0, 128, 128);line-height: 26px;">5</span><br />dtype: int8</section>
<section>print(mem_usage(dow))<br />print(mem_usage(dow_cat))</section>
<section><span style="color: rgb(0, 128, 128);line-height: 26px;">9.84</span> MB<br /><span style="color: rgb(0, 128, 128);line-height: 26px;">0.16</span> MB</section>
<section>converted_obj = pd.DataFrame()<br /><br /><span style="font-weight: bold;line-height: 26px;">for</span> col <span style="font-weight: bold;line-height: 26px;">in</span> gl_obj.columns:<br /> num_unique_values = len(gl_obj[col].unique())<br /> num_total_values = len(gl_obj[col])<br /> <span style="font-weight: bold;line-height: 26px;">if</span> num_unique_values / num_total_values < <span style="color: rgb(0, 128, 128);line-height: 26px;">0.5</span>:<br /> converted_obj.loc[:,col] = gl_obj[col].astype(<span style="color: rgb(221, 17, 68);line-height: 26px;">'category'</span>)<br /> <span style="font-weight: bold;line-height: 26px;">else</span>:<br /> converted_obj.loc[:,col] = gl_obj[col]</section>
<section>print(mem_usage(gl_obj))<br />print(mem_usage(converted_obj))<br /><br />compare_obj = pd.concat([gl_obj.dtypes,converted_obj.dtypes],axis=<span style="color: rgb(0, 128, 128);line-height: 26px;">1</span>)<br />compare_obj.columns = [<span style="color: rgb(221, 17, 68);line-height: 26px;">'before'</span>,<span style="color: rgb(221, 17, 68);line-height: 26px;">'after'</span>]<br />compare_obj.apply(pd.Series.value_counts)</section>
<section><span style="color: rgb(0, 128, 128);line-height: 26px;">752.72</span> MB<br /><span style="color: rgb(0, 128, 128);line-height: 26px;">51.67</span> MB</section>
<section>optimized_gl[converted_obj.columns] = converted_obj<br /><br />mem_usage(optimized_gl)</section>
<section><span style="color: rgb(221, 17, 68);line-height: 26px;">'103.64 MB'</span></section>
<section>date = optimized_gl.date<br />print(mem_usage(date))<br />date.head()</section>
<pre style=""><section style=""><span style="color: rgb(0, 128, 128);line-height: 26px;">0.66</span> MB</section>
<section><span style="color: rgb(0, 128, 128);line-height: 26px;">0</span> <span style="color: rgb(0, 128, 128);line-height: 26px;">18710504</span><br /><span style="color: rgb(0, 128, 128);line-height: 26px;">1</span> <span style="color: rgb(0, 128, 128);line-height: 26px;">18710505</span><br /><span style="color: rgb(0, 128, 128);line-height: 26px;">2</span> <span style="color: rgb(0, 128, 128);line-height: 26px;">18710506</span><br /><span style="color: rgb(0, 128, 128);line-height: 26px;">3</span> <span style="color: rgb(0, 128, 128);line-height: 26px;">18710508</span><br /><span style="color: rgb(0, 128, 128);line-height: 26px;">4</span> <span style="color: rgb(0, 128, 128);line-height: 26px;">18710509</span><br />Name: date, dtype: uint32</section>
<section>optimized_gl[<span style="color: rgb(221, 17, 68);line-height: 26px;">'date'</span>] = pd.to_datetime(date,format=<span style="color: rgb(221, 17, 68);line-height: 26px;">'%Y%m%d'</span>)<br /><br />print(mem_usage(optimized_gl))<br />optimized_gl.date.head()</section>
<section><span style="color: rgb(0, 128, 128);line-height: 26px;">104.29</span> MB</section>
<section><span style="color: rgb(0, 128, 128);line-height: 26px;">0</span> <span style="color: rgb(0, 128, 128);line-height: 26px;">1871-05-04</span><br /><span style="color: rgb(0, 128, 128);line-height: 26px;">1</span> <span style="color: rgb(0, 128, 128);line-height: 26px;">1871-05-05</span><br /><span style="color: rgb(0, 128, 128);line-height: 26px;">2</span> <span style="color: rgb(0, 128, 128);line-height: 26px;">1871-05-06</span><br /><span style="color: rgb(0, 128, 128);line-height: 26px;">3</span> <span style="color: rgb(0, 128, 128);line-height: 26px;">1871-05-08</span><br /><span style="color: rgb(0, 128, 128);line-height: 26px;">4</span> <span style="color: rgb(0, 128, 128);line-height: 26px;">1871-05-09</span><br />Name: date, dtype: datetime64[ns]</section>
在读入数据的同时选择类型
<section>dtypes = optimized_gl.drop(<span style="color: rgb(221, 17, 68);line-height: 26px;">'date'</span>,axis=<span style="color: rgb(0, 128, 128);line-height: 26px;">1</span>).dtypes<br /><br />dtypes_col = dtypes.index<br />dtypes_type = [i.name <span style="font-weight: bold;line-height: 26px;">for</span> i <span style="font-weight: bold;line-height: 26px;">in</span> dtypes.values]<br /><br />column_types = dict(zip(dtypes_col, dtypes_type))<br /><br /><span style="color: rgb(153, 153, 136);font-style: italic;line-height: 26px;"># rather than print all 161 items, we'll</span><br /><span style="color: rgb(153, 153, 136);font-style: italic;line-height: 26px;"># sample 10 key/value pairs from the dict</span><br /><span style="color: rgb(153, 153, 136);font-style: italic;line-height: 26px;"># and print it nicely using prettyprint</span><br /><br />preview = first2pairs = {key:value <span style="font-weight: bold;line-height: 26px;">for</span> key,value <span style="font-weight: bold;line-height: 26px;">in</span> list(column_types.items())[:<span style="color: rgb(0, 128, 128);line-height: 26px;">10</span>]}<br /><span style="font-weight: bold;line-height: 26px;">import</span> pprint<br />pp = pp = pprint.PrettyPrinter(indent=<span style="color: rgb(0, 128, 128);line-height: 26px;">4</span>)<br />pp.pprint(preview)</section>
<section>{ <span style="color: rgb(221, 17, 68);line-height: 26px;">'acquisition_info'</span>: <span style="color: rgb(221, 17, 68);line-height: 26px;">'category'</span>,<br /> <span style="color: rgb(221, 17, 68);line-height: 26px;">'h_caught_stealing'</span>: <span style="color: rgb(221, 17, 68);line-height: 26px;">'float32'</span>,<br /> <span style="color: rgb(221, 17, 68);line-height: 26px;">'h_player_1_name'</span>: <span style="color: rgb(221, 17, 68);line-height: 26px;">'category'</span>,<br /> <span style="color: rgb(221, 17, 68);line-height: 26px;">'h_player_9_name'</span>: <span style="color: rgb(221, 17, 68);line-height: 26px;">'category'</span>,<br /> <span style="color: rgb(221, 17, 68);line-height: 26px;">'v_assists'</span>: <span style="color: rgb(221, 17, 68);line-height: 26px;">'float32'</span>,<br /> <span style="color: rgb(221, 17, 68);line-height: 26px;">'v_first_catcher_interference'</span>: <span style="color: rgb(221, 17, 68);line-height: 26px;">'float32'</span>,<br /> <span style="color: rgb(221, 17, 68);line-height: 26px;">'v_grounded_into_double'</span>: <span style="color: rgb(221, 17, 68);line-height: 26px;">'float32'</span>,<br /> <span style="color: rgb(221, 17, 68);line-height: 26px;">'v_player_1_id'</span>: <span style="color: rgb(221, 17, 68);line-height: 26px;">'category'</span>,<br /> <span style="color: rgb(221, 17, 68);line-height: 26px;">'v_player_3_id'</span>: <span style="color: rgb(221, 17, 68);line-height: 26px;">'category'</span>,<br /> <span style="color: rgb(221, 17, 68);line-height: 26px;">'v_player_5_id'</span>: <span style="color: rgb(221, 17, 68);line-height: 26px;">'category'</span>}</section>
<section>read_and_optimized = pd.read_csv(<span style="color: rgb(221, 17, 68);line-height: 26px;">'game_logs.csv'</span>,dtype=column_types,parse_dates=[<span style="color: rgb(221, 17, 68);line-height: 26px;">'date'</span>],infer_datetime_format=<span style="color: rgb(0, 128, 128);line-height: 26px;">True</span>)<br /><br />print(mem_usage(read_and_optimized))<br />read_and_optimized.head()</section>
<section><span style="color: rgb(0, 128, 128);line-height: 26px;">104.28</span> MB</section>
<section>optimized_gl[<span style="color: rgb(221, 17, 68);line-height: 26px;">'year'</span>] = optimized_gl.date.dt.year<br />games_per_day = optimized_gl.pivot_table(index=<span style="color: rgb(221, 17, 68);line-height: 26px;">'year'</span>,columns=<span style="color: rgb(221, 17, 68);line-height: 26px;">'day_of_week'</span>,values=<span style="color: rgb(221, 17, 68);line-height: 26px;">'date'</span>,aggfunc=len)<br />games_per_day = games_per_day.divide(games_per_day.sum(axis=<span style="color: rgb(0, 128, 128);line-height: 26px;">1</span>),axis=<span style="color: rgb(0, 128, 128);line-height: 26px;">0</span>)<br /><br />ax = games_per_day.plot(kind=<span style="color: rgb(221, 17, 68);line-height: 26px;">'area'</span>,stacked=<span style="color: rgb(221, 17, 68);line-height: 26px;">'true'</span>)<br />ax.legend(loc=<span style="color: rgb(221, 17, 68);line-height: 26px;">'upper right'</span>)<br />ax.set_ylim(<span style="color: rgb(0, 128, 128);line-height: 26px;">0</span>,<span style="color: rgb(0, 128, 128);line-height: 26px;">1</span>)<br />plt.show()</section>
<section>game_lengths = optimized_gl.pivot_table(index=<span style="color: rgb(221, 17, 68);line-height: 26px;">'year'</span>, values=<span style="color: rgb(221, 17, 68);line-height: 26px;">'length_minutes'</span>)<br />game_lengths.reset_index().plot.scatter(<span style="color: rgb(221, 17, 68);line-height: 26px;">'year'</span>,<span style="color: rgb(221, 17, 68);line-height: 26px;">'length_minutes'</span>)<br />plt.show()</section>
-
将数值列向下转换成更高效的类型
-
将字符串列转换成 categorical 类型
左手Python,右手Java,升职就业不愁啦!
<section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="padding-right: 10px;padding-left: 10px;max-width: 100%;white-space: normal;line-height: 1.6;letter-spacing: 0px;word-break: break-word;text-align: left;font-family: -apple-system, system-ui, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;box-sizing: border-box !important;overflow-wrap: break-word !important;"><pre data-darkmode-bgcolor="rgb(36, 36, 36)" data-style="background-color: rgb(255, 255, 255); letter-spacing: 0.544px; font-size: 16px; text-align: center; color: rgba(230, 230, 230, 0.9) !important;" class="js_darkmode__45" data-darkmode-color="rgba(230, 230, 230, 0.9)" data-darkmode-original-color="rgba(230, 230, 230, 0.9)" data-darkmode-original-bgcolor="rgb(255, 255, 255)" style="max-width: 100%;letter-spacing: 0.544px;text-align: center;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="padding: 10px;max-width: 100%;color: black;line-height: 1.6;letter-spacing: 0px;word-break: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, "PingFang SC", Cambria, Cochin, Georgia, Times, "Times New Roman", serif;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><pre style="max-width: 100%;font-size: 16px;font-weight: 700;letter-spacing: 0.544px;widows: 1;word-spacing: 1px;caret-color: rgb(51, 51, 51);color: rgb(63, 63, 63);line-height: inherit;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-role="outer" label="Powered by 135editor.com" data-darkmode-bgcolor="rgb(36, 36, 36)" data-darkmode-original-bgcolor="rgb(255, 255, 255)" data-darkmode-color="rgb(168, 168, 168)" data-darkmode-original-color="rgb(62, 62, 62)" data-style="max-width: 100%; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 16px; letter-spacing: 0.544px; white-space: normal; background-color: rgb(255, 255, 255); color: rgb(62, 62, 62); text-align: left; box-sizing: border-box !important; overflow-wrap: break-word !important;" style="max-width: 100%;font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;letter-spacing: 0.544px;white-space: normal;color: rgb(62, 62, 62);box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-role="outer" label="Powered by 135editor.com" data-mpa-powered-by="yiban.io" style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><pre style="max-width: 100%;letter-spacing: 0.544px;font-size: 15px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-role="outer" label="Powered by 135editor.com" style="max-width: 100%;letter-spacing: 0.544px;white-space: normal;font-size: 16px;font-family: 微软雅黑, "Helvetica Nue", sans-serif;word-spacing: 1.6px;text-align: center;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section style="max-width: 100%;line-height: 1.6;letter-spacing: 0px;font-family: "Helvetica Neue", Helvetica, "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;box-sizing: border-box !important;overflow-wrap: break-word !important;"><pre data-darkmode-bgcolor="rgb(36, 36, 36)" data-style="background-color: rgb(255, 255, 255); color: rgba(230, 230, 230, 0.9); letter-spacing: 0.544px; text-size-adjust: auto; font-size: 16px; text-align: center; word-spacing: 1.6px;" data-darkmode-color="rgba(230, 230, 230, 0.9)" data-darkmode-original-color="rgba(230, 230, 230, 0.9)" data-darkmode-original-bgcolor="rgb(255, 255, 255)" data-darkmode-bgcolor-15862411819306="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15862411819306="rgb(255, 255, 255)" data-darkmode-color-15862411819306="rgba(230, 230, 230, 0.9)" data-darkmode-original-color-15862411819306="rgba(230, 230, 230, 0.9)" data-darkmode-bgcolor-15862671987026="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15862671987026="rgb(255, 255, 255)" data-darkmode-color-15862671987026="rgba(230, 230, 230, 0.9)" data-darkmode-original-color-15862671987026="rgba(230, 230, 230, 0.9)" data-darkmode-bgcolor-15864118999603="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15864118999603="rgb(255, 255, 255)" data-darkmode-color-15864118999603="rgba(230, 230, 230, 0.9)" data-darkmode-original-color-15864118999603="rgba(230, 230, 230, 0.9)" data-darkmode-bgcolor-15864940858736="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15864940858736="rgb(255, 255, 255)" data-darkmode-color-15864940858736="rgba(230, 230, 230, 0.9)" data-darkmode-original-color-15864940858736="rgba(230, 230, 230, 0.9)" data-darkmode-bgcolor-15869584691402="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15869584691402="rgb(255, 255, 255)" data-darkmode-color-15869584691402="rgba(230, 230, 230, 0.9)" data-darkmode-original-color-15869584691402="rgba(230, 230, 230, 0.9)" data-darkmode-bgcolor-15869584691739="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15869584691739="rgb(255, 255, 255)" data-darkmode-color-15869584691739="rgba(230, 230, 230, 0.9)" data-darkmode-original-color-15869584691739="rgba(230, 230, 230, 0.9)" data-darkmode-bgcolor-15873005456075="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15873005456075="rgb(255, 255, 255)" data-darkmode-color-15873005456075="rgba(230, 230, 230, 0.9)" data-darkmode-original-color-15873005456075="rgba(230, 230, 230, 0.9)" data-darkmode-bgcolor-15873005456615="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15873005456615="rgb(255, 255, 255)" data-darkmode-color-15873005456615="rgba(230, 230, 230, 0.9)" data-darkmode-original-color-15873005456615="rgba(230, 230, 230, 0.9)" data-darkmode-bgcolor-15886839320558="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15886839320558="rgb(255, 255, 255)" data-darkmode-color-15886839320558="rgba(230, 230, 230, 0.9)" data-darkmode-original-color-15886839320558="rgba(230, 230, 230, 0.9)" data-darkmode-color-159923607914210="rgba(163, 163, 163, 0.9)" data-darkmode-original-color-159923607914210="rgba(230, 230, 230, 0.9)" data-darkmode-bgcolor-159923607914210="rgb(25, 25, 25)" data-darkmode-original-bgcolor-159923607914210="rgb(255, 255, 255)" data-darkmode-bgcolor-160008070860010="rgb(25, 25, 25)" data-darkmode-original-bgcolor-160008070860010="rgb(255, 255, 255)" data-darkmode-color-160008070860010="rgba(163, 163, 163, 0.9)" data-darkmode-original-color-160008070860010="rgba(230, 230, 230, 0.9)" data-darkmode-bgcolor-16072664870629="rgb(25, 25, 25)" data-darkmode-original-bgcolor-16072664870629="rgb(255, 255, 255)" data-darkmode-color-16072664870629="rgba(163, 163, 163, 0.9)" data-darkmode-original-color-16072664870629="rgba(230, 230, 230, 0.9)" data-darkmode-bgcolor-16073544711184="rgb(25, 25, 25)" data-darkmode-original-bgcolor-16073544711184="rgb(255, 255, 255)" data-darkmode-color-16073544711184="rgba(163, 163, 163, 0.9)" data-darkmode-original-color-16073544711184="rgba(230, 230, 230, 0.9)" style="max-width: 100%;letter-spacing: 0.544px;word-spacing: 1.6px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><pre data-darkmode-bgcolor="rgb(36, 36, 36)" data-style="background-color: rgb(255, 255, 255); color: rgba(230, 230, 230, 0.9); letter-spacing: 0.544px; text-size-adjust: auto; font-size: 16px; text-align: center; word-spacing: 1.6px;" data-darkmode-color="rgba(230, 230, 230, 0.9)" data-darkmode-original-color="rgba(230, 230, 230, 0.9)" data-darkmode-original-bgcolor="rgb(255, 255, 255)" data-darkmode-bgcolor-15862411819306="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15862411819306="rgb(255, 255, 255)" data-darkmode-color-15862411819306="rgba(230, 230, 230, 0.9)" data-darkmode-original-color-15862411819306="rgba(230, 230, 230, 0.9)" data-darkmode-bgcolor-15862671987026="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15862671987026="rgb(255, 255, 255)" data-darkmode-color-15862671987026="rgba(230, 230, 230, 0.9)" data-darkmode-original-color-15862671987026="rgba(230, 230, 230, 0.9)" data-darkmode-bgcolor-15864118999603="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15864118999603="rgb(255, 255, 255)" data-darkmode-color-15864118999603="rgba(230, 230, 230, 0.9)" data-darkmode-original-color-15864118999603="rgba(230, 230, 230, 0.9)" data-darkmode-bgcolor-15864940858736="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15864940858736="rgb(255, 255, 255)" data-darkmode-color-15864940858736="rgba(230, 230, 230, 0.9)" data-darkmode-original-color-15864940858736="rgba(230, 230, 230, 0.9)" data-darkmode-bgcolor-15869584691402="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15869584691402="rgb(255, 255, 255)" data-darkmode-color-15869584691402="rgba(230, 230, 230, 0.9)" data-darkmode-original-color-15869584691402="rgba(230, 230, 230, 0.9)" data-darkmode-bgcolor-15869584691739="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15869584691739="rgb(255, 255, 255)" data-darkmode-color-15869584691739="rgba(230, 230, 230, 0.9)" data-darkmode-original-color-15869584691739="rgba(230, 230, 230, 0.9)" data-darkmode-bgcolor-15873005456075="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15873005456075="rgb(255, 255, 255)" data-darkmode-color-15873005456075="rgba(230, 230, 230, 0.9)" data-darkmode-original-color-15873005456075="rgba(230, 230, 230, 0.9)" data-darkmode-bgcolor-15873005456615="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15873005456615="rgb(255, 255, 255)" data-darkmode-color-15873005456615="rgba(230, 230, 230, 0.9)" data-darkmode-original-color-15873005456615="rgba(230, 230, 230, 0.9)" data-darkmode-bgcolor-15886839320558="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15886839320558="rgb(255, 255, 255)" data-darkmode-color-15886839320558="rgba(230, 230, 230, 0.9)" data-darkmode-original-color-15886839320558="rgba(230, 230, 230, 0.9)" data-darkmode-color-159923607914210="rgba(163, 163, 163, 0.9)" data-darkmode-original-color-159923607914210="rgba(230, 230, 230, 0.9)" data-darkmode-bgcolor-159923607914210="rgb(25, 25, 25)" data-darkmode-original-bgcolor-159923607914210="rgb(255, 255, 255)" data-darkmode-bgcolor-160008070860010="rgb(25, 25, 25)" data-darkmode-original-bgcolor-160008070860010="rgb(255, 255, 255)" data-darkmode-color-160008070860010="rgba(163, 163, 163, 0.9)" data-darkmode-original-color-160008070860010="rgba(230, 230, 230, 0.9)" data-darkmode-bgcolor-16072664870629="rgb(25, 25, 25)" data-darkmode-original-bgcolor-16072664870629="rgb(255, 255, 255)" data-darkmode-color-16072664870629="rgba(163, 163, 163, 0.9)" data-darkmode-original-color-16072664870629="rgba(230, 230, 230, 0.9)" data-darkmode-bgcolor-16073544711184="rgb(25, 25, 25)" data-darkmode-original-bgcolor-16073544711184="rgb(255, 255, 255)" data-darkmode-color-16073544711184="rgba(163, 163, 163, 0.9)" data-darkmode-original-color-16073544711184="rgba(230, 230, 230, 0.9)" style="max-width: 100%;letter-spacing: 0.544px;word-spacing: 1.6px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><p style="max-width: 100%;min-height: 1em;font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;letter-spacing: 0.544px;white-space: normal;text-size-adjust: auto;text-align: left;box-sizing: border-box !important;overflow-wrap: break-word !important;"><img class="__bg_gif" data-ratio="0.08658008658008658" data-type="gif" data-w="462" data-width="100%" style="color: rgb(0, 0, 0);font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, "PingFang SC", Cambria, Cochin, Georgia, Times, "Times New Roman", serif;display: block;box-sizing: border-box !important;overflow-wrap: break-word !important;visibility: visible !important;width: 578px !important;" src="https://www.zkxjob.com/wp-content/uploads/2022/07/wxsync-2022-07-ae45c8833e6e59cceba3c2fda2df37d1.gif" /></p><p style="max-width: 100%;min-height: 1em;font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;letter-spacing: 0.544px;white-space: normal;text-size-adjust: auto;text-align: left;box-sizing: border-box !important;overflow-wrap: break-word !important;"><br style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;" /></p>
推荐阅读:
入门: 最全的零基础学Python的问题 | 零基础学了8个月的Python | 实战项目 |学Python就是这条捷径
干货:爬取豆瓣短评,电影《后来的我们》 | 38年NBA最佳球员分析 | 从万众期待到口碑扑街!唐探3令人失望 | 笑看新倚天屠龙记 | 灯谜答题王 |用Python做个海量小姐姐素描图 |碟中谍这么火,我用机器学习做个迷你推荐系统电影
趣味:弹球游戏 | 九宫格 | 漂亮的花 | 两百行Python《天天酷跑》游戏!
AI: 会做诗的机器人 | 给图片上色 | 预测收入 | 碟中谍这么火,我用机器学习做个迷你推荐系统电影
小工具: Pdf转Word,轻松搞定表格和水印! | 一键把html网页保存为pdf!| 再见PDF提取收费! | 用90行代码打造最强PDF转换器,word、PPT、excel、markdown、html一键转换 | 制作一款钉钉低价机票提示器! |60行代码做了一个语音壁纸切换器天天看小姐姐!|
年度爆款文案
-
1).卧槽!Pdf转Word用Python轻松搞定!
-
2).学Python真香!我用100行代码做了个网站,帮人PS旅行图片,赚个鸡腿吃
-
3).首播过亿,火爆全网,我分析了《乘风破浪的姐姐》,发现了这些秘密
-
4).80行代码!用Python做一个哆来A梦分身
-
5).你必须掌握的20个python代码,短小精悍,用处无穷
-
6).30个Python奇淫技巧集
-
7).我总结的80页《菜鸟学Python精选干货.pdf》,都是干货
-
8).再见Python!我要学Go了!2500字深度分析!
-
9).发现一个舔狗福利!这个Python爬虫神器太爽了,自动下载妹子图片
<section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="padding: 10px;max-width: 100%;color: black;line-height: 1.6;letter-spacing: 0px;word-break: break-word;text-align: left;font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, "PingFang SC", Cambria, Cochin, Georgia, Times, "Times New Roman", serif;font-size: 14px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><pre style="max-width: 100%;font-size: 16px;font-weight: 700;letter-spacing: 0.544px;widows: 1;word-spacing: 1px;caret-color: rgb(51, 51, 51);color: rgb(63, 63, 63);line-height: inherit;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-role="outer" label="Powered by 135editor.com" data-darkmode-bgcolor="rgb(36, 36, 36)" data-darkmode-original-bgcolor="rgb(255, 255, 255)" data-darkmode-color="rgb(168, 168, 168)" data-darkmode-original-color="rgb(62, 62, 62)" data-style="max-width: 100%; font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif; font-size: 16px; letter-spacing: 0.544px; white-space: normal; background-color: rgb(255, 255, 255); color: rgb(62, 62, 62); text-align: left; box-sizing: border-box !important; overflow-wrap: break-word !important;" style="max-width: 100%;font-family: -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;letter-spacing: 0.544px;white-space: normal;color: rgb(62, 62, 62);box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-role="outer" label="Powered by 135editor.com" data-mpa-powered-by="yiban.io" style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><pre style="max-width: 100%;letter-spacing: 0.544px;font-size: 15px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-role="outer" label="Powered by 135editor.com" style="max-width: 100%;letter-spacing: 0.544px;white-space: normal;font-size: 16px;font-family: 微软雅黑, "Helvetica Nue", sans-serif;word-spacing: 1.6px;text-align: center;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section style="max-width: 100%;line-height: 1.6;letter-spacing: 0px;font-family: "Helvetica Neue", Helvetica, "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section style="max-width: 100%;white-space: pre-wrap;font-family: 微软雅黑, "Helvetica Nue", sans-serif;letter-spacing: 0.544px;word-spacing: 1.6px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section powered-by="xiumi.us" style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section style="max-width: 100%;font-size: 15px;color: rgb(15, 14, 14);box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="padding-right: 10px;padding-left: 10px;max-width: 100%;font-size: 16px;color: black;line-height: 1.6;letter-spacing: 0px;word-break: break-word;text-align: left;font-family: PingFangSC-Light, STHeitiSC-Light, -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-tools="135编辑器" data-id="93743" style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-mpa-template="t" mpa-from-tpl="t" style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-mpa-template="t" mpa-from-tpl="t" style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-mpa-template="t" mpa-from-tpl="t" style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section powered-by="xiumi.us" style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-author="Wxeditor" style="padding-right: 0.5em;padding-left: 0.5em;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><pre style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-mpa-template="t" mpa-from-tpl="t" data-darkmode-bgcolor-15923650965579="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15923650965579="rgb(255, 255, 255)" data-darkmode-color-15923650965579="rgb(168, 168, 168)" data-darkmode-original-color-15923650965579="rgb(62, 62, 62)" data-style="color: rgb(62, 62, 62); font-size: 15px; letter-spacing: 0.544px; background-color: rgb(255, 255, 255); font-family: monospace; text-align: left; widows: 1; word-spacing: 2px; caret-color: rgb(255, 0, 0); white-space: pre-wrap;" style="max-width: 100%;font-size: 15px;letter-spacing: 0.544px;word-spacing: 2px;caret-color: rgb(255, 0, 0);color: rgb(62, 62, 62);white-space: pre-wrap;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section mpa-from-tpl="t" data-darkmode-bgcolor-15923650965579="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15923650965579="rgb(255, 255, 255)" data-darkmode-color-15923650965579="rgb(168, 168, 168)" data-darkmode-original-color-15923650965579="rgb(62, 62, 62)" style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><pre data-darkmode-bgcolor-15923650965579="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15923650965579="rgb(255, 255, 255)" data-darkmode-color-15923650965579="rgb(167, 167, 167)" data-darkmode-original-color-15923650965579="rgb(63, 63, 63)" data-style="letter-spacing: 0.544px; font-size: 16px; color: rgb(63, 63, 63); word-spacing: 1px; line-height: inherit;" style="max-width: 100%;letter-spacing: 0.544px;font-size: 16px;color: rgb(63, 63, 63);word-spacing: 1px;line-height: inherit;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-mpa-template-id="1250" data-mpa-color="#ffffff" data-mpa-category="divider" data-darkmode-bgcolor="rgb(36, 36, 36)" data-darkmode-original-bgcolor="rgb(255, 255, 255)" data-darkmode-color="rgb(230, 230, 230)" data-darkmode-original-color="rgb(0, 0, 0)" data-style="margin-right: 0.5em; margin-left: 0.5em; white-space: normal; font-family: -apple-system-font, system-ui, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; color: rgb(0, 0, 0); letter-spacing: 0px; word-spacing: 2px;" data-darkmode-bgcolor-15923650965579="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15923650965579="rgb(255, 255, 255)" data-darkmode-color-15923650965579="rgb(230, 230, 230)" data-darkmode-original-color-15923650965579="rgb(0, 0, 0)" style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><pre data-darkmode-bgcolor-15923650965579="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15923650965579="rgb(255, 255, 255)" data-darkmode-color-15923650965579="rgb(167, 167, 167)" data-darkmode-original-color-15923650965579="rgb(63, 63, 63)" data-style="letter-spacing: 0.544px; font-size: 16px; color: rgb(63, 63, 63); word-spacing: 1px; line-height: inherit;" style="max-width: 100%;letter-spacing: 0.544px;line-height: inherit;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-mpa-template-id="1250" data-mpa-color="#ffffff" data-mpa-category="divider" data-darkmode-bgcolor="rgb(36, 36, 36)" data-darkmode-original-bgcolor="rgb(255, 255, 255)" data-darkmode-color="rgb(230, 230, 230)" data-darkmode-original-color="rgb(0, 0, 0)" data-style="margin-right: 0.5em; margin-left: 0.5em; white-space: normal; font-family: -apple-system-font, system-ui, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; color: rgb(0, 0, 0); letter-spacing: 0px; word-spacing: 2px;" data-darkmode-bgcolor-15923650965579="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15923650965579="rgb(255, 255, 255)" data-darkmode-color-15923650965579="rgb(230, 230, 230)" data-darkmode-original-color-15923650965579="rgb(0, 0, 0)" style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section powered-by="xiumi.us" data-darkmode-bgcolor="rgb(36, 36, 36)" data-darkmode-original-bgcolor="rgb(255, 255, 255)" data-darkmode-color="rgb(230, 230, 230)" data-darkmode-original-color="rgb(0, 0, 0)" data-darkmode-bgcolor-15923650965579="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15923650965579="rgb(255, 255, 255)" data-darkmode-color-15923650965579="rgb(230, 230, 230)" data-darkmode-original-color-15923650965579="rgb(0, 0, 0)" style="margin-right: 0em;margin-left: 0em;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section style="margin-right: 0.5em;margin-left: 0.5em;max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><pre data-darkmode-bgcolor="rgb(36, 36, 36)" data-darkmode-original-bgcolor="rgb(255, 255, 255)" data-darkmode-color="rgb(168, 168, 168)" data-darkmode-original-color="rgb(62, 62, 62)" data-style="letter-spacing: 0.544px; font-weight: 700; text-align: -webkit-center; background-color: rgb(255, 255, 255); font-size: 16px; color: rgb(62, 62, 62); widows: 1; word-spacing: 2px;" style="max-width: 100%;letter-spacing: 0.544px;text-align: center;color: rgb(62, 62, 62);box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-tool="mdnice编辑器" data-website="https://www.mdnice.com" style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><pre data-darkmode-bgcolor="rgb(36, 36, 36)" data-darkmode-original-bgcolor="rgb(255, 255, 255)" data-darkmode-color="rgb(168, 168, 168)" data-darkmode-original-color="rgb(62, 62, 62)" data-style="letter-spacing: 0.544px; font-weight: 700; text-align: -webkit-center; background-color: rgb(255, 255, 255); font-size: 16px; color: rgb(62, 62, 62); widows: 1; word-spacing: 2px;" style="max-width: 100%;letter-spacing: 0.544px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><pre style="max-width: 100%;letter-spacing: 0.544px;text-align: left;box-sizing: border-box !important;overflow-wrap: break-word !important;"><h1 style="max-width: 100%;white-space: pre-wrap;letter-spacing: 0.544px;font-family: 微软雅黑;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section mpa-from-tpl="t" style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><pre style="max-width: 100%;letter-spacing: 0.544px;line-height: inherit;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-mpa-template="t" mpa-from-tpl="t" style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-id="94086" data-color="#276ca3" data-tools="135编辑器" mpa-from-tpl="t" style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section mpa-from-tpl="t" style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><pre style="max-width: 100%;color: rgb(63, 63, 63);letter-spacing: 0.544px;line-height: inherit;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-mpa-template="t" mpa-from-tpl="t" style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-id="94086" data-color="#276ca3" data-tools="135编辑器" mpa-from-tpl="t" style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section mpa-from-tpl="t" style="max-width: 100%;display: inline-block;box-sizing: border-box !important;overflow-wrap: break-word !important;"><pre style="max-width: 100%;letter-spacing: 0.544px;line-height: inherit;box-sizing: border-box !important;overflow-wrap: break-word !important;"><pre data-darkmode-bgcolor-15882384789136="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15882384789136="rgb(255, 255, 255)" data-style="letter-spacing: 0.544px; background-color: rgb(255, 255, 255); text-align: center; color: rgba(230, 230, 230, 0.9); font-size: 16px; line-height: 25.6px; overflow-wrap: break-word !important;" data-darkmode-bgcolor-15882396318564="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15882396318564="rgb(255, 255, 255)" data-darkmode-color-15882396318564="rgba(230, 230, 230, 0.9)" data-darkmode-original-color-15882396318564="rgba(230, 230, 230, 0.9)" data-darkmode-bgcolor-15900529136199="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15900529136199="rgb(255, 255, 255)" data-darkmode-color-15900529136199="rgba(230, 230, 230, 0.9)" data-darkmode-original-color-15900529136199="rgba(230, 230, 230, 0.9)" style="max-width: 100%;letter-spacing: 0.544px;text-align: center;color: rgba(230, 230, 230, 0.9);line-height: 25.6px;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section style="max-width: 100%;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-darkmode-bgcolor-15860613985508="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15860613985508="rgb(255, 255, 255)" data-darkmode-color-15860613985508="rgb(230, 230, 230)" data-darkmode-original-color-15860613985508="rgb(0, 0, 0)" data-darkmode-bgcolor-15870356070738="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15870356070738="rgb(255, 255, 255)" data-darkmode-color-15870356070738="rgb(230, 230, 230)" data-darkmode-original-color-15870356070738="rgb(0, 0, 0)" data-darkmode-bgcolor-15870356071023="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15870356071023="rgb(255, 255, 255)" data-darkmode-color-15870356071023="rgb(230, 230, 230)" data-darkmode-original-color-15870356071023="rgb(0, 0, 0)" data-darkmode-bgcolor-15882384789136="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15882384789136="rgb(255, 255, 255)" data-darkmode-color-15882384789136="rgb(230, 230, 230)" data-darkmode-original-color-15882384789136="rgb(0, 0, 0)" data-darkmode-bgcolor-15882396318564="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15882396318564="rgb(255, 255, 255)" data-darkmode-color-15882396318564="rgb(230, 230, 230)" data-darkmode-original-color-15882396318564="rgb(0, 0, 0)" data-darkmode-bgcolor-15900529136199="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15900529136199="rgb(255, 255, 255)" data-darkmode-color-15900529136199="rgb(230, 230, 230)" data-darkmode-original-color-15900529136199="rgb(0, 0, 0)" style="max-width: 100%;display: inline-block;clear: both;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-tools="135编辑器" data-id="91842" data-darkmode-bgcolor-15860613985508="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15860613985508="rgb(255, 255, 255)" data-darkmode-color-15860613985508="rgb(230, 230, 230)" data-darkmode-original-color-15860613985508="rgb(0, 0, 0)" data-darkmode-bgcolor-15870356070738="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15870356070738="rgb(255, 255, 255)" data-darkmode-color-15870356070738="rgb(230, 230, 230)" data-darkmode-original-color-15870356070738="rgb(0, 0, 0)" data-darkmode-bgcolor-15870356071023="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15870356071023="rgb(255, 255, 255)" data-darkmode-color-15870356071023="rgb(230, 230, 230)" data-darkmode-original-color-15870356071023="rgb(0, 0, 0)" data-darkmode-bgcolor-15882384789136="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15882384789136="rgb(255, 255, 255)" data-darkmode-color-15882384789136="rgb(230, 230, 230)" data-darkmode-original-color-15882384789136="rgb(0, 0, 0)" data-darkmode-bgcolor-15882396318564="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15882396318564="rgb(255, 255, 255)" data-darkmode-color-15882396318564="rgb(230, 230, 230)" data-darkmode-original-color-15882396318564="rgb(0, 0, 0)" data-darkmode-bgcolor-15900529136199="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15900529136199="rgb(255, 255, 255)" data-darkmode-color-15900529136199="rgb(230, 230, 230)" data-darkmode-original-color-15900529136199="rgb(0, 0, 0)" style="max-width: 100%;letter-spacing: 0.544px;border-width: 0px;border-style: none;border-color: initial;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-darkmode-bgcolor-15860613985508="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15860613985508="rgb(255, 255, 255)" data-darkmode-color-15860613985508="rgb(230, 230, 230)" data-darkmode-original-color-15860613985508="rgb(0, 0, 0)" data-darkmode-bgcolor-15870356070738="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15870356070738="rgb(255, 255, 255)" data-darkmode-color-15870356070738="rgb(230, 230, 230)" data-darkmode-original-color-15870356070738="rgb(0, 0, 0)" data-darkmode-bgcolor-15870356071023="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15870356071023="rgb(255, 255, 255)" data-darkmode-color-15870356071023="rgb(230, 230, 230)" data-darkmode-original-color-15870356071023="rgb(0, 0, 0)" data-darkmode-bgcolor-15882384789136="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15882384789136="rgb(255, 255, 255)" data-darkmode-color-15882384789136="rgb(230, 230, 230)" data-darkmode-original-color-15882384789136="rgb(0, 0, 0)" data-darkmode-bgcolor-15882396318564="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15882396318564="rgb(255, 255, 255)" data-darkmode-color-15882396318564="rgb(230, 230, 230)" data-darkmode-original-color-15882396318564="rgb(0, 0, 0)" data-darkmode-bgcolor-15900529136199="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15900529136199="rgb(255, 255, 255)" data-darkmode-color-15900529136199="rgb(230, 230, 230)" data-darkmode-original-color-15900529136199="rgb(0, 0, 0)" style="max-width: 100%;display: inline-block;clear: both;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-brushtype="text" data-darkmode-bgcolor-15860613985508="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15860613985508="rgb(255, 255, 255)" data-darkmode-color-15860613985508="rgb(230, 230, 230)" data-darkmode-original-color-15860613985508="rgb(0, 0, 0)" data-darkmode-bgimage-15860613985508="1" data-style="padding: 18px 15px 20px 10px; color: rgb(86, 146, 214); text-align: center; letter-spacing: 1.5px; background-image: url('https://www.zkxjob.com/wp-content/uploads/2022/07/wxsync-2022-07-a2a8a5e1e58f30392066a170034ee027.png'); background-size: 100% 100%; background-repeat: no-repeat; overflow-wrap: break-word !important;" data-darkmode-bgcolor-15870356070738="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15870356070738="rgb(255, 255, 255)" data-darkmode-color-15870356070738="rgb(230, 230, 230)" data-darkmode-original-color-15870356070738="rgb(0, 0, 0)" data-darkmode-bgimage-15870356070738="1" data-darkmode-bgcolor-15870356071023="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15870356071023="rgb(255, 255, 255)" data-darkmode-color-15870356071023="rgb(230, 230, 230)" data-darkmode-original-color-15870356071023="rgb(0, 0, 0)" data-darkmode-bgimage-15870356071023="1" data-darkmode-bgcolor-15882384789136="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15882384789136="rgb(255, 255, 255)" data-darkmode-color-15882384789136="rgb(230, 230, 230)" data-darkmode-original-color-15882384789136="rgb(0, 0, 0)" data-darkmode-bgimage-15882384789136="1" data-darkmode-bgcolor-15882396318564="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15882396318564="rgb(255, 255, 255)" data-darkmode-color-15882396318564="rgb(230, 230, 230)" data-darkmode-original-color-15882396318564="rgb(0, 0, 0)" data-darkmode-bgimage-15882396318564="1" data-darkmode-bgcolor-15900529136199="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15900529136199="rgb(255, 255, 255)" data-darkmode-color-15900529136199="rgb(230, 230, 230)" data-darkmode-original-color-15900529136199="rgb(0, 0, 0)" data-darkmode-bgimage-15900529136199="1" style="padding: 18px 15px 20px 10px;max-width: 100%;background-size: 100% 100%;background-image: url('https://www.zkxjob.com/wp-content/uploads/2022/07/wxsync-2022-07-a2a8a5e1e58f30392066a170034ee027.png');color: rgb(86, 146, 214);letter-spacing: 1.5px;background-repeat: no-repeat;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-darkmode-bgcolor-15860613985508="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15860613985508="rgb(255, 255, 255)" data-darkmode-color-15860613985508="rgb(230, 230, 230)" data-darkmode-original-color-15860613985508="rgb(0, 0, 0)" data-darkmode-bgimage-15860613985508="1" data-darkmode-bgcolor-15870356070738="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15870356070738="rgb(255, 255, 255)" data-darkmode-color-15870356070738="rgb(230, 230, 230)" data-darkmode-original-color-15870356070738="rgb(0, 0, 0)" data-darkmode-bgimage-15870356070738="1" data-darkmode-bgcolor-15870356071023="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15870356071023="rgb(255, 255, 255)" data-darkmode-color-15870356071023="rgb(230, 230, 230)" data-darkmode-original-color-15870356071023="rgb(0, 0, 0)" data-darkmode-bgimage-15870356071023="1" data-darkmode-bgcolor-15882384789136="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15882384789136="rgb(255, 255, 255)" data-darkmode-color-15882384789136="rgb(230, 230, 230)" data-darkmode-original-color-15882384789136="rgb(0, 0, 0)" data-darkmode-bgimage-15882384789136="1" data-darkmode-bgcolor-15882396318564="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15882396318564="rgb(255, 255, 255)" data-darkmode-color-15882396318564="rgb(230, 230, 230)" data-darkmode-original-color-15882396318564="rgb(0, 0, 0)" data-darkmode-bgimage-15882396318564="1" data-darkmode-bgcolor-15900529136199="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15900529136199="rgb(255, 255, 255)" data-darkmode-color-15900529136199="rgb(230, 230, 230)" data-darkmode-original-color-15900529136199="rgb(0, 0, 0)" data-darkmode-bgimage-15900529136199="1" style="max-width: 100%;display: flex;justify-content: center;align-items: center;box-sizing: border-box !important;overflow-wrap: break-word !important;"><section data-darkmode-bgcolor-15860613985508="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15860613985508="rgb(255, 255, 255)" data-darkmode-color-15860613985508="rgb(230, 230, 230)" data-darkmode-original-color-15860613985508="rgb(0, 0, 0)" data-darkmode-bgimage-15860613985508="1" data-darkmode-bgcolor-15870356070738="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15870356070738="rgb(255, 255, 255)" data-darkmode-color-15870356070738="rgb(230, 230, 230)" data-darkmode-original-color-15870356070738="rgb(0, 0, 0)" data-darkmode-bgimage-15870356070738="1" data-darkmode-bgcolor-15870356071023="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15870356071023="rgb(255, 255, 255)" data-darkmode-color-15870356071023="rgb(230, 230, 230)" data-darkmode-original-color-15870356071023="rgb(0, 0, 0)" data-darkmode-bgimage-15870356071023="1" data-darkmode-bgcolor-15882384789136="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15882384789136="rgb(255, 255, 255)" data-darkmode-color-15882384789136="rgb(230, 230, 230)" data-darkmode-original-color-15882384789136="rgb(0, 0, 0)" data-darkmode-bgimage-15882384789136="1" data-darkmode-bgcolor-15882396318564="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15882396318564="rgb(255, 255, 255)" data-darkmode-color-15882396318564="rgb(230, 230, 230)" data-darkmode-original-color-15882396318564="rgb(0, 0, 0)" data-darkmode-bgimage-15882396318564="1" data-darkmode-bgcolor-15900529136199="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15900529136199="rgb(255, 255, 255)" data-darkmode-color-15900529136199="rgb(230, 230, 230)" data-darkmode-original-color-15900529136199="rgb(0, 0, 0)" data-darkmode-bgimage-15900529136199="1" style="margin-left: 2px;max-width: 100%;width: 20px;box-sizing: border-box !important;overflow-wrap: break-word !important;"></section><section data-brushtype="text" data-darkmode-bgcolor-15860613985508="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15860613985508="rgb(255, 255, 255)" data-darkmode-color-15860613985508="rgb(51, 51, 51)" data-darkmode-original-color-15860613985508="rgb(51, 51, 51)" data-darkmode-bgimage-15860613985508="1" data-darkmode-bgcolor-15870356070738="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15870356070738="rgb(255, 255, 255)" data-darkmode-color-15870356070738="rgb(51, 51, 51)" data-darkmode-original-color-15870356070738="rgb(51, 51, 51)" data-darkmode-bgimage-15870356070738="1" data-darkmode-bgcolor-15870356071023="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15870356071023="rgb(255, 255, 255)" data-darkmode-color-15870356071023="rgb(51, 51, 51)" data-darkmode-original-color-15870356071023="rgb(51, 51, 51)" data-darkmode-bgimage-15870356071023="1" data-darkmode-bgcolor-15882384789136="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15882384789136="rgb(255, 255, 255)" data-darkmode-color-15882384789136="rgb(51, 51, 51)" data-darkmode-original-color-15882384789136="rgb(51, 51, 51)" data-darkmode-bgimage-15882384789136="1" data-darkmode-bgcolor-15882396318564="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15882396318564="rgb(255, 255, 255)" data-darkmode-color-15882396318564="rgb(51, 51, 51)" data-darkmode-original-color-15882396318564="rgb(51, 51, 51)" data-darkmode-bgimage-15882396318564="1" data-darkmode-bgcolor-15900529136199="rgb(36, 36, 36)" data-darkmode-original-bgcolor-15900529136199="rgb(255, 255, 255)" data-darkmode-color-15900529136199="rgb(51, 51, 51)" data-darkmode-original-color-15900529136199="rgb(51, 51, 51)" data-darkmode-bgimage-15900529136199="1" style="max-width: 100%;font-size: 14px;color: rgb(51, 51, 51);text-align: left;box-sizing: border-box !important;overflow-wrap: break-word !important;"><span style="max-width: 100%;font-family: 楷体, 楷体_GB2312, SimKai;white-space: pre-wrap;font-size: 12px;box-sizing: border-box !important;overflow-wrap: break-word !important;">点阅读原文,领AI全套资料!</span><span style="font-family: mp-quote, -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;font-size: 17px;text-align: justify;"></span></section></section></section></section></section></section></section>
本篇文章来源于: 菜鸟学Python
本文为原创文章,版权归知行编程网所有,欢迎分享本文,转载请保留出处!
你可能也喜欢
- ♥ python的官网是什么09/12
- ♥ python搜索模块如何查询12/23
- ♥ 来得瑟一下!用Python做一个缩放自如的圣诞老人04/15
- ♥ 如何在python中添加两组随机数09/18
- ♥ 如何在 python 中使用 time.time() 函数?09/17
- ♥ 如何找到python的运行路径08/22
内容反馈