码迷,mamicode.com
首页 >  
搜索关键字:file python3    ( 63124个结果)
Tensorflow报错:AttributeError: module 'tensorflow._api.v1.io' has no attribute 'gfile'
在使用YOLO v5进行自己数据集的训练的时候(python3 train.py),报了如下的错误: Traceback (most recent call last): File "train.py", line 402, in <module> tb_writer = SummaryWriter ...
分类:Windows程序   时间:2020-07-15 01:01:01    阅读次数:284
udp协议与进程结合(群聊)
服务端: """ /etc/python3 @File : chat_server.py @Time : 2020/7/13 下午5:15 @Author : wangyongqi @Email : 92644827@qq.com @SOftware : PyCharm """ from socke ...
分类:系统相关   时间:2020-07-14 21:46:03    阅读次数:84
nginx 的常用模块
nginx的常用模块 ngx_http_index_module Syntax: index file ...; Default: index index.html; Context: http, server, location location / { index index.html; } n ...
分类:其他好文   时间:2020-07-14 19:57:20    阅读次数:64
Django logging配置
settings.py import time cur_path = os.path.dirname(os.path.realpath(__file__)) # log_path是存放日志的路径 log_path = os.path.join(os.path.dirname(cur_path), ' ...
分类:其他好文   时间:2020-07-14 18:48:19    阅读次数:92
Python就业班——初识面向对象——练习——Car
1 #!/usr/bin/env python3 2 # coding=utf-8 3 # Version:python3.6.1 4 # Project:practice 5 # File:Car.py 6 # Data:2020/7/13 17:37 7 # Author:LGSP_Harold ...
分类:编程语言   时间:2020-07-14 18:39:42    阅读次数:79
一个可以选择目录生成doc目录内容的小工具(四)-pyinstaller创建可执行文件
接上节,功能实现了要做一下收尾的工作,将代码注释、抽象。巴拉巴拉吧,不想纯帖代码(有点小长)。传到git上吧,这节就做最后一个工序,打包。 突然想到中国的实业飞速发展到了一层面后,就开始建标准化,建立流水线。IT行业何其相似,经过最初的几年自由生长,也在进行标准化sre,流水线decops。人到中年 ...
分类:其他好文   时间:2020-07-14 18:27:26    阅读次数:78
Qt5.9--简单的文件读写操作
2个按钮,一个用于打开文件,另一个用于保存文件。 只记录槽函数部分,备忘。 文件打开按钮 1 void MainWindow::on_pushButton_clicked() 2 { 3 QString caption = "open file"; 4 QString dir = "e://myte ...
分类:其他好文   时间:2020-07-14 18:26:25    阅读次数:76
Jenkins 访问特别慢,且不消耗服务器资源
现象 Jenkins 访问特别慢 分析 CPU、内存、磁盘资源占用特别低。怀疑可能是配置问题。 方案 检查 jre 版本是否是 64 位的,如果不是,参考 https://stackoverflow.com/questions/49457923/jenkins-jre-update 进行调整。 调整 ...
分类:其他好文   时间:2020-07-14 18:09:00    阅读次数:159
python批量转换excl为csv
import pandas as pdimport os#获取exclexcl_files = []path = os.getcwd()print(path)files = os.listdir(path)print(files)for file in files: # print(file.spl ...
分类:编程语言   时间:2020-07-14 18:03:16    阅读次数:69
pat 1025
1025 PAT Ranking (25分) Programming Ability Test (PAT) is organized by the College of Computer Science and Technology of Zhejiang University. Each test ...
分类:其他好文   时间:2020-07-14 17:59:25    阅读次数:48
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!