Python有自动完成功能的IDE 么?
生活随笔
收集整理的這篇文章主要介紹了
Python有自动完成功能的IDE 么?
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
1. 作為一種動態(tài)語言,隨時隨地創(chuàng)建和使用變量是Python給我們帶來的巨大的便利。但是它也會使得程序不嚴謹,某些錯誤只有在運行中才可能出現。所以,使用Python編程的時候,要對類型做到心里有數。這也使得Python的IDE工具無法提供便利的自動完成等功能。
?
2. 編程的時候一定要注意類的命名,很難知道一個類是什么,這點不方便。
比如:
1 class observeStoReportData: 2 def __init__ (self, stoName, stoId, currentPrice, expectBuyPrice, origP, inhouse): 3 self.stoName_ = stoName 4 self.stoId_ = stoId 5 self.currentPrice_ = currentPrice 6 self.expectBuyPrice_ = expectBuyPrice 7 self.origP_ = origP 8 self.inhouse_ = inhouse 9 yesterdayP_ = 0.0然后調用的時候
1 for observeStoReportDataItem in self.observeStoList_:?
轉載于:https://www.cnblogs.com/xjsllll/archive/2013/04/03/2997276.html
總結
以上是生活随笔為你收集整理的Python有自动完成功能的IDE 么?的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: NodeJs事件
- 下一篇: hdu 1054(最小顶点覆盖)