Define a decorator, identify the pycharm running environment, and call the same method in different ways
Project description
IsPycharmRun
判断程序是否在pycharm下运行,如果是则向被装饰方法传入pycharm调试参数,否则使用默认参数
安装
$ pip install IsPycharmRun
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
IsPycharmRun-0.3.tar.gz
(480.7 kB
view hashes)
Built Distribution
IsPycharmRun-0.3-py3-none-any.whl
(804.5 kB
view hashes)
Close
Hashes for IsPycharmRun-0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c32f8a5522240b51f4333592393a50ea45d4c468111470669c8bff6c19294454 |
|
MD5 | c579ca918a7efe1021b946250af3b6f5 |
|
BLAKE2b-256 | d89aa7dd41edc1f17b81a84cbb644e2101f6d21b7e68644420a74a9bbfe48877 |