Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python监控公网IP变化发QQ邮件通知 | Chan Revival Sky #19

Open
chanrevival opened this issue Nov 26, 2024 · 0 comments
Open

Python监控公网IP变化发QQ邮件通知 | Chan Revival Sky #19

chanrevival opened this issue Nov 26, 2024 · 0 comments

Comments

@chanrevival
Copy link
Owner

https://chanrevival.github.io/2024/11/20/Python%E7%9B%91%E6%8E%A7%E5%85%AC%E7%BD%91IP%E5%8F%98%E5%8C%96%E5%8F%91QQ%E9%82%AE%E4%BB%B6%E9%80%9A%E7%9F%A5/

Python监控公网IP变化发QQ邮件通知本次分享的代码的主要作用是:获取本机(主机可以在内网)的公网IP,并将与上一次记录在文件中的公网IP做比较,如果两个IP不相同,则将新的公网IP记录在文件中,并发送一封包含新的公网IP的电子邮件到指定的QQ邮箱。注意!代码的调试环境是Windows10、Python 3.10,不同的环境、版本可能会运行失败。 12345678910111213141516

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant