摘要:
2.如何快速的回到 上⼀一次所在的位置 cd An argument of - is equivalent to $OLDPWD. cd - #cd $OLDPWD cd - #快速的回到 上⼀一次所在的位置 cd . #当前目录 复制/移动 cd .. #进入当前⽬目录的上级⽬目录 cd ~ #进 阅读全文
摘要:
查看pid from multiprocessing import Process import time,os def task(): print('%s is running,parent id is <%s>' %(os.getpid(),os.getppid())) time.sleep(3 阅读全文
摘要:
class Car: def __init__(self): print('---ok---') def __del__(self): print('----deconstrcut-------') c = Car() print('31') del c #主动触发__del__析构函数,删除实例,会执行__del__里面的代码 ... 阅读全文
摘要:
视频加速播放[网页端] 经常在网上看视频,学习什么的,经常因为视频播放速度而懊恼,恨不得手动拉着播放条,看了很多解决办法,有浏览器脚本的,但往往仅对HTML5的网页视频有效,而对flash播放格式的网页视频,并起不了什么作用。后来终于碰到了一款神器,能够加速html5或flash等网页视频, Eno 阅读全文