我最近安装了 Python 3.5.2,然后是 PyCharm (IDE),但智能感知或自动完成功能在我的 Windows 10 中不起作用。
# Method 1: intellisense or auto-complete not working for below
city = input("Enter your City \n")
print(city)
print(city.) *#<<<--- here not working when put a "." after "city"* variable
…但惊讶地发现它可以与以下代码一起正常工作:
myCity = "New York City"
print(myCity.upper())
原文由 HelloWorld024 发布,翻译遵循 CC BY-SA 4.0 许可协议
现在终于可以工作了:
我必须为我的 --- 安装
Python 3.4.1
PyCharm 2016.3.2
Go to
File
menu >>Settings...
>>Project: Python Programs
>>Project Interpreter
>> now follow below screenshot:…但不确定为什么它不能与 Python 3.5 一起使用? —> 感谢@Pavel Karateev 提供的有用更新。