Python有自动完成功能的IDE 么?

1. 作为一种动态语言,随时随地创建和使用变量是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/p/2997276.html