2021
07-17
07-17
使用Gitee自动化部署python脚本的详细过程
目录一、前期准备1.1安装环境二、python代码2.1源码2.2注意事项一、前期准备1.1安装环境1、安装python32、打开命令行安装seleniumpipinstallselenium二、python代码2.1源码#!/usr/bin/python#-*-coding:utf-8-*-importtimefromseleniumimportwebdriverfromselenium.webdriver.common.alertimportAlert#模拟浏览器打开到gitee登录界面driver=webdriver.Chrome()driver.get('https://gitee.com/login')#将窗口...
继续阅读 >