[英]Pycharm printing unwanted stuff
在任何地方都找不到類似的東西,所以我盡管在這里問,希望它是適當的。
我在Pycharm上運行一個簡單的腳本,以便打開“運行”選項卡。 在選擇的“運行/調試配置”上,我選擇了使用Python控制台運行腳本的選項,以便彈出變量窗口。 但是,當我執行一些代碼時,它會在真實輸出之后打印出很多我不想要的東西,如圖所示。
我該如何擺脫呢?
您看到的額外輸出是因為您正在使用Python控制台運行腳本。 您應該在“運行配置”中取消選擇此選項。 如果您需要檢查變量的值,則應通過單擊“調試”按鈕而不是“運行”按鈕來運行腳本。 這將在不同的“調試”窗口中運行,該窗口具有用於檢查變量的窗格。
[英]Printing an unwanted symbol in python
[英]double printing in pycharm
[英]PyCharm printing before imports?
[英]Pycharm debugging console not printing
[英]Python code printing an unwanted line
[英]Code printing stuff in the completely wrong order
[英]Can't get rid of unwanted stuff while scraping email addresses
[英]Printing a long dictionary in the PyCharm console
[英]Pycharm Python console not printing the output
[英]Issues with PyCharm and printing example of data
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.