首页 > 解决方案 > Vscode python调试:如何隐藏未使用的东西?

问题描述

我的示例代码是:

import collections
import itertools
import sys
import heapq

from collections import *
from math import *
from bisect import *
from heapq import*
from typing import *

i = 1
pass

在调试过程中,观察:

在此处输入图像描述

期望:只显示 i,因为其他的没有使用。

谢谢。

标签: vscode-python

解决方案


推荐阅读