摘要:
Visual Studio is being overly cautious. In debug mode, visual studio uses something called "Checked Iterators". Pointers are also iterators, but the c... 阅读全文
摘要:
1 import types 2 3 aaa = 0 4 print type(aaa) 5 if type(aaa) is types.IntType: 6 print "the type of aaa is int" 7 if isinstance(aaa,int): 8 p... 阅读全文
摘要:
Found this great table athttp://wiki.python.org/moin/MovingToPythonFromOtherLanguagesPython indexes and slices for a six-element list.Indexes enumerat... 阅读全文