vscode 使用python :https://blog.csdn.net/zhangkai950121/article/details/117395333
一个简单的例子 : https://blog.csdn.net/karl41/article/details/119334408
https://blog.csdn.net/i54996/article/details/120676778
安装可能出现的错误 : https://blog.csdn.net/Coder_Bao/article/details/113380959
interactive window 会吊起vscode 的jupyter , 平时调试python的时候用 playwright 代码需要 在interactive window 无法启动 只需要普通启动即可.
解决no module named ipykernel_launcher
python -m pip install ipykernel -U —user —force-reinstall (有用)
报错 : It looks like you are using Playwright Sync API inside the asyncio loop.
Please use the Async API instead
asyncio.run() cannot be called from a running event loop 解决方案
https://blog.csdn.net/weixin_44706915/article/details/118223083