会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
liuweipaul123
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2023年4月28日
pycharm卸载
摘要: 邮件桌面上pycharm图标,进入到安装目录,然后双击启动uninstall程序,要记得两个都勾选
阅读全文
posted @ 2023-04-28 18:15 liuweipaul123
阅读(93)
评论(0)
推荐(0)
2023年4月25日
jenkins设置定时任务
摘要: 点击任务-configure-Build Triggers 勾选定时构建,20,29 17 * * 1-5表示,每周一到周五,17点20分,17点29分各执行一次
阅读全文
posted @ 2023-04-25 17:29 liuweipaul123
阅读(246)
评论(0)
推荐(0)
python读取文件创建时间
摘要: # 获取文件时间(浮点数格式)csv_time = os.path.getmtime("C:/Users/DELL/Desktop/20000/allqueryCommodity.csv")print("csv_time",csv_time) # 结果:1682402963.033327# 把浮点数
阅读全文
posted @ 2023-04-25 15:11 liuweipaul123
阅读(192)
评论(0)
推荐(1)
Python中的时间格式的读取与转换(time模块)
摘要: 一、时间的表示格式 在Python中,表示时间的格式有4种较为常用,分别是浮点数格式、标准可读格式、格式化格式以及自定义格式。(名字是自己起的,非官方命名) (1)浮点数格式 用一个float格式的浮点数表示时间,其具体含义表示为从世界标准纪元时间(1970年1月1日)起算至该时间节点的秒数。 (2
阅读全文
posted @ 2023-04-25 15:03 liuweipaul123
阅读(254)
评论(0)
推荐(0)
python判断文件是否已存在
摘要: 1,用python判断文件是否已存在 if os.path.exists("C:/Users/DELL/Desktop/20000/check_queryTrades_result.csv") == True: print("文件已存在")
阅读全文
posted @ 2023-04-25 13:22 liuweipaul123
阅读(79)
评论(0)
推荐(0)
python创建定时任务
摘要: 1,创建每3秒执行一个定时任务 import schedule def task(): print("3秒执行一次任务") def func(): # 清空任务 schedule.clear() # 创建一个任务 schedule.every(3).seconds.do(task) while Tr
阅读全文
posted @ 2023-04-25 10:48 liuweipaul123
阅读(59)
评论(0)
推荐(0)
linux中查看Python版本和路径
摘要: 1,查看python版本,输入python 2,查看python路径,输入whereis python
阅读全文
posted @ 2023-04-25 10:35 liuweipaul123
阅读(333)
评论(0)
推荐(0)
2023年4月20日
ie浏览器取消自动跳转edge
摘要: 1,进入控制面板,选择小图标-Internet选项-高级,取消勾选启用第三方浏览器扩展,最后点击确定,重启电脑后就生效
阅读全文
posted @ 2023-04-20 17:13 liuweipaul123
阅读(505)
评论(0)
推荐(0)
2023年4月15日
python登录qq
摘要: #!/usr/bin/python import os import time import win32gui import win32api import win32con import pymouse,pykeyboard from pymouse import * from pykeyboar
阅读全文
posted @ 2023-04-15 00:54 liuweipaul123
阅读(307)
评论(0)
推荐(0)
解决 ImportError: cannot import name ‘PyKeyboard‘ from ‘pykeyboard
摘要: 1,问题概述 from pykeyboard import PyKeyboard,运行时出现如下错误: ImportError: cannot import name ‘PyKeyboard‘ from ‘pykeyboard‘ 2,解决方法 进入C:\Users\Administrator\App
阅读全文
posted @ 2023-04-15 00:04 liuweipaul123
阅读(651)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告