pycharm

    0熱度

    2回答

    我正在運行pycharm 2017.2.3。我想通過pycharm使用sudo用戶在遠程ec2實例上運行我的python腳本。我如何獲得這個?

    0熱度

    1回答

    num = input ("Please enter an amount in euros:") x = int (num) print (x) a = x // 500 # The operations are performed to find how many bills of each heat there is and its residue. x = x% 500 if no

    10熱度

    1回答

    我需要在一個項目krakenex,所以我 import krakenex 導入我在 krakenex的一個版本/Users/x/Library/Python/3.6/lib/python/site - 包裝 。當我執行腳本和 print(krakenex) 它顯示了我上面提到的路徑。 未來,我想使用我安裝的軟件包中的模塊,例如, pipenv install krakenex 優先。

    0熱度

    1回答

    我使用PyCharm和Python 3,我有下一個文件夾蟒佈局: src/ __init__.py command/ __init__.py simpleremote/ __init__.py Command.py GarageDoor.py GarageDoorOpenCommand.py

    -3熱度

    1回答

    如何在python 2.7中做平方根? 我試過在python中做一個簡單的計算器,但是當我在Google中編寫平方根時出現了問題。你能解釋我嗎?我該如何以正確的方式做到這一點。

    -3熱度

    2回答

    @echo off start c:\Python27\python.exe C:\Users\anupam.soni\Desktop\WIND_ACTUAL\tool.py PAUSE 我在tool.py腳本在PyCharm IDE正常工作,這種蝙蝠是行不通的。 注意:文件路徑和python路徑是正確的。 任何其他選項來運行python腳本獨立

    1熱度

    0回答

    我知道如何在Pycharm中設置遠程解釋器,到目前爲止遠程開發進行得很順利。 但在某些情況下,我無法在我爲解決商業問題而工作的計算機上保存文件的本地副本。 有沒有一種方法,在Pycharm 遠程開發,沒有本地副本的腳本和其他項目文件?

    -1熱度

    1回答

    我使用PyCharm IDE爲Python開發,今天我是想運行一個非常簡單的程序,並得到了一個錯誤,指出: 「無法運行程序」 C :\ Users \ Ahmed \ AppData \ Local \ Programs \ Python \ Python36-32 \ python.exe「(目錄」C:\ Users \ Ahmed \ PycharmProjects \ mypython「):

    -1熱度

    1回答

    有沒有一種方法可以重新格式化pycharm中的python Doctests?對於python文件中的代碼,類似於Ctrl + Alt + L? Ctrl + Alt + L或Ctrl + Alt + Shift + L不會重新格式化Python文件中的文檔。我正在使用python的2017.2版本。

    2熱度

    2回答

    通常,我編輯文檔字符串並找到我的編輯將線條的寬度推過所需的右邊距。因此,在我的文檔字符串再次被接受之前,可能需要重新格式化此編輯下面的許多行文本。 什麼是自動解決這個問題的簡單而安全的方法? 例如: class WellDocumentedClass: """The first line of this is <72 characters wide. And is above lots|