摘要: 二话不说,直接执行下面的命令 /bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)" 阅读全文
posted @ 2022-11-22 09:57 小路飞飞飞 阅读(192) 评论(0) 推荐(0)
摘要: 您可以使用 USB 数据线,在 Mac 和手机之间传输照片、音乐和其他文件。 注意:若要传输文件,Mac 电脑上必须装有 Android File Transfer。Android File Transfer 兼容 Mac OS X 10.5 或更高版本以及 Android 3.0 或更高版本。 执 阅读全文
posted @ 2022-06-10 09:35 小路飞飞飞 阅读(832) 评论(0) 推荐(0)
摘要: Error while executing: D:\Git\Git\cmd\git.EXE ls-remote -h -t https://github.com/nhn/raphael.git 解决方法: git config --global url."https://".insteadOf gi 阅读全文
posted @ 2022-03-04 10:18 小路飞飞飞 阅读(419) 评论(0) 推荐(0)
摘要: #!/usr/bin/env python # -*- coding: UTF-8 -*- """ @Descrip : @Project :tools @File :test.py @Author :guolihai @Date :2022/03/02 15:04 """ import json 阅读全文
posted @ 2022-03-02 16:57 小路飞飞飞 阅读(470) 评论(0) 推荐(0)
摘要: 方法一: # 防止被检测为自动化工具 options.add_experimental_option("excludeSwitches", ["enable-automation"]) options.add_experimental_option('useAutomationExtension', 阅读全文
posted @ 2021-12-01 10:13 小路飞飞飞 阅读(1201) 评论(0) 推荐(0)
摘要: 可以用css元素定位方法: classname有多个,可以用多个"."进行并行连接。如: driver.find_element_by_css_selector('.current-date.active').click() 还有一种方法同样可以支持多个类的情况,还是css属性方法: driver. 阅读全文
posted @ 2021-11-12 10:16 小路飞飞飞 阅读(1602) 评论(0) 推荐(0)
摘要: 在pycharm中运行时一切正常,但是使用命令行运行时提示No module named xxx, 分别用pycharm和终端打印出可导入的库目录列表(sys.path),发现两种方式打印出来的大不相同,缺少根目录,因此将根目录添加至系统路径: import os import sys # 方式一: 阅读全文
posted @ 2021-09-10 16:52 小路飞飞飞 阅读(213) 评论(0) 推荐(0)