![](/img/trans.png)
[英]Is it possible to include interpreter path (or set any default code) when I create new python file in Pycharm?
[英]PyCharm for new comers: create new python file?
我正在閱讀PyCharm快速指南: https ://www.jetbrains.com/help/pycharm/quick-start-guide.html
我做了“從頭開始創建項目”。
我閱讀了本頁面的其他部分。
但是我不知道下一步該怎么做。
我想這樣編碼:
print('hello word.')
在名為hello.py
的文件中。
IDE現在看起來像這樣:
我應該在哪里以及如何創建hello.py
文件?
右鍵單擊foo
,您將看到New
菜單,將鼠標懸停在foo
上,然后單擊Python file
並將其命名為hello
。
按Alt + Insert
,從下拉列表中選擇New
,然后輸入新文件名。
幾種選擇:
touch hello.py
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.