码迷,mamicode.com
首页 >  
搜索关键字:file python3    ( 63124个结果)
Google Guava - 字符串处理
# (一)连接器[Joiner] package com.jcx.guava.utilites; import com.google.common.base.Joiner; import com.google.common.io.Files; import org.junit.Test; impor ...
分类:其他好文   时间:2020-07-04 23:07:17    阅读次数:140
RabbitMQ 3.8.5版本 windows安装和web管理界面登陆
1、下载和安装erlang erlang官网下载地址:https://www.erlang-solutions.com/resources/download.html 我下载的是:esl-erlang_23.0_windows_amd64.exe,注意rabbitMQ3.8.5b版本需要的erlan ...
分类:Windows程序   时间:2020-07-04 22:57:28    阅读次数:286
Python字符串前缀u、r、b、f含义
1、字符串前加 u 例子: u"字符串中有中文" 含义: 前缀u表示该字符串是unicode编码,Python2中用,用在含有中文字符的字符串前,防止因为编码问题,导致中文出现乱码。另外一般要在文件开关标明编码方式采用utf8。 Python3中,所有字符串默认都是unicode字符串。 2、字符串 ...
分类:编程语言   时间:2020-07-04 22:35:56    阅读次数:85
网页信息数据-数据分析(6)
import urllib.request; from bs4 import BeautifulSoup; response = urllib.request.urlopen("file:///C:/Users/junwei_zhou/Desktop/502/6.1/html.html"); htm ...
分类:Web程序   时间:2020-07-04 22:31:21    阅读次数:78
python-excel 读取
import xlrdclass ReadExcel: def __init__(self,filename,sheetname): self.workbook = xlrd.open_workbook(filename) self.sheetname = self.workbook.sheet_b ...
分类:编程语言   时间:2020-07-04 22:31:00    阅读次数:73
opencv使用——玉米粒识别和优劣判断
运行环境:python3.6.9 opencv3.4.10 import cv2 import numpy as np font=cv2.FONT_HERSHEY_COMPLEX kernel = np.ones((7,7),np.uint8) img=cv2.imread('corn.jpg',1 ...
分类:其他好文   时间:2020-07-04 22:25:33    阅读次数:72
Python简易 爬虫+图形化界面
所需要库:thinter,python3自带 代码: from tkinter import * import re import requests def input1(): link = str(inp1.get()) headers = {'user-agent': 'Mozilla/5.0 ...
分类:编程语言   时间:2020-07-04 21:01:20    阅读次数:124
RHEL7.5-oracle-12c单机安装
环境: RHEL7.5 IP地址: 192.168.95.200/24 网络设置host-only 使用Xshell或Putty、SecureCRT等软件远程连接到RHEL7.5的服务器上. 1) 修改hosts file文件 [root@12c ~]# hostnamectl Static hos ...
分类:数据库   时间:2020-07-04 20:25:33    阅读次数:77
【Pycharm/设置】新建文件时 自动添加作者时间等信息
希望在创建文档的时候自动生成一系列信息,如作者,生成时间等。可以通过如下方法: File → Setting → File and Code Templates → 找到[ python Scripy],在右侧空白处输入元格式: eg: # -*- coding: utf-8 -*-# @Time ...
分类:其他好文   时间:2020-07-04 18:32:54    阅读次数:94
Java编写定时删除文件程序
Java编写定时删除文件程序/*Java教程:http://www.javaweb.cc*/import java.io.File;import java.util.Calendar;import java.util.Date;import java.util.Timer;import java.u ...
分类:编程语言   时间:2020-07-04 17:23:40    阅读次数:108
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!