摘要:
# FilesBatchRename.py # 导入os库 import os # 图片存放的路径 path = r"D:/temp" # 遍历更改文件名 num = 1 for file in os.listdir(path): os.rename(os.path.join(path,file), 阅读全文
摘要:
python版本: 3.8 问题:在python运行代码: import time print(time.clock()) 出现错误 : AttributeError module 'time' has no attribute 'clock' 原因 : Python time.clock在Pyth 阅读全文
摘要:
以下是小黑宇宙收集的一些采集接口,我自己也在用,用来搭建一个影视站是绰绰有余了,现在分享出来做个记录 。因为影视资源站的不稳定,经常会换域名换接口之类的,如果下面接口失效了,可以在评论区留言,我会去验证看看。 采集接口 # 百度云资源 https://api.apibdzy.com/api.php/ 阅读全文
摘要:
在运行命令:python wsgi.py报错: Traceback (most recent call last): File "wsgi.py", line 5, in <module> app = create_app() File "C:\Users\kegek\Desktop\flask_t 阅读全文
摘要:
names.txt 小A同学 小B同学 小C同学 小D同学 小E同学 小F同学 小G同学 小H同学 小I同学 CallNameDemo.java package LearnJava12; import java.io.BufferedReader; import java.io.FileNotFou 阅读全文
摘要:
集合到文件 package LearnJava12; import java.io.BufferedWriter; import java.io.FileWriter; import java.io.IOException; import java.util.ArrayList; public cl 阅读全文
摘要:
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, 阅读全文
摘要:
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, 阅读全文
摘要:
package Demo4; import java.io.*; public class CopyMp4Demo { public static void main(String[] args) throws IOException { // 记录开始时间 long startTime = Sys 阅读全文
摘要:
import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.FileOutputStream; import java.io.IOException; public class CopyPn 阅读全文