![](/img/trans.png)
[英]ModuleNotFoundError: No module named 'PySide6' in Python using Visual Studio Code
[英]In Visual Studio Code using Python, Is there a way to see the contents of a module without first having to type a letter?
我在 Visual Studio Code 中使用 Python。 導入模塊時,我想查看它包含的類,以確保它具有我正在尋找的內容。 有沒有一種無需先輸入字母即可查看模塊內容的方法? 在 IDLE 中,有時可以這樣做。
例如,在 VSC 中,在腳本的開頭:
from random import #At this point a list should somehow appear
謝謝
輸入"from random import "
后Ctrl+Space
以調出自動完成菜單,這是默認快捷方式,但如果您想更改它,只需在鍵盤快捷方式中搜索Trigger Suggest
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.