- 博客(2)
- 收藏
- 关注
转载 Python mutiple-inherit code instance
class A: def __init__(self): print("Enter A") print("Leave A") class B(A): def __init__(self): print("Enter B") A.__init__(self) print("Leave B") class C(A): def __init__(self): print
2017-04-26 09:40:24 140
原创 python3 print & DataFrame 170424
from __future__ import print_function import pandas as pd #in python3, we need to add '()' for the print function aa=['a','b','c'] #print aa #wrong print(aa) env_list = ['-']*(5) + ['T'] #a
2017-04-24 17:00:33 202
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人