首页 > 其他分享 >pysnooper

pysnooper

时间:2024-07-13 17:30:44浏览次数:10  
标签:pip3 mirrors pysnooper pysnoop install root

[root@ansible dts]# pip3 install pysnoop -i https://mirrors.aliyun.com/pypi/simple
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting pysnoop
Could not find a version that satisfies the requirement pysnoop (from versions: )
No matching distribution found for pysnoop
[root@ansible dts]# pip3 install pysnooper -i https://mirrors.aliyun.com/pypi/simple
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting pysnooper
Downloading https://mirrors.aliyun.com/pypi/packages/a7/b1/a5c75d691ac84a5503e69eac5de97523772c787ba84c3750f6ebb713a36f/PySnooper-1.2.0-py2.py3-none-any.whl
Installing collected packages: pysnooper
Successfully installed pysnooper-1.2.0

 

 

@pysnooper.snoop(max_variable_length=1000,depth=4,output="/root/xx.log")

 

标签:pip3,mirrors,pysnooper,pysnoop,install,root
From: https://www.cnblogs.com/a280723148/p/18300393

相关文章

  • pysnooper打印运行过程值
    #withimportrandomimportpysnooperdefprint_upper_mid_lower():lst=[]foriinrange(10):lst.append(random.randrange(1,1000))withpysnooper.snoop():lower=min(lst)upper=max(lst)mid=(lower+up......