摘要:
boxplotDefinition : boxplot(x, notch=False, sym='b+', vert=True, whis=1.5, positions=None, widths=None, patch_artist=False, bootstrap=None, usermedian... 阅读全文
posted @ 2014-10-26 17:54
林中细雨
阅读(858)
评论(0)
推荐(0)
摘要:
class Song(object): def __init__(self, lyrics): self.lyrics = lyrics def sing_me_a_song(self): for line in self.lyrics: print linehappy_bda... 阅读全文
posted @ 2014-10-26 11:44
林中细雨
阅读(169)
评论(0)
推荐(0)
摘要:
# create a mapping of state to abbreviationstates = {'Oregon': 'OR','Florida': 'FL','California': 'CA','New York': 'NY','Michigan': 'MI' }# create a b... 阅读全文
posted @ 2014-10-26 11:38
林中细雨
阅读(147)
评论(0)
推荐(0)
摘要:
class Thing(): def test(self, hi): print 'hi'a.test('hello')以上为修改后的代码ten_things = "Apples Oranges Crows Telephone Light Sugar"print "Wait th... 阅读全文
posted @ 2014-10-26 11:08
林中细雨
阅读(147)
评论(0)
推荐(0)
摘要:
anddelfromnotwhileaselifglobalorwithassert #http://stackoverflow.com/questions/5142418/what-is-the-use-of-assert-in-pythonThe assert statement/functio... 阅读全文
posted @ 2014-10-26 10:36
林中细雨
阅读(129)
评论(0)
推荐(0)
浙公网安备 33010602011771号