分享66个Html企业模板,总有一款适合您

简介: 分享66个Html企业模板,总有一款适合您

分享66个Html企业模板,总有一款适合您


 

66个Html企业模板下载链接:https://pan.baidu.com/s/1j2ZGqAeoZ170pXsiU_2GXg?pwd=8888

提取码:8888

Python采集代码下载链接:采集代码.zip - 蓝奏云

学习知识费力气,收集整理更不易。知识付费甚欢喜,为咱码农谋福利。

image.gif 编辑

通讯产品服务网页模板

软件公司下载服务网页模板

模特公司网页模板

雪峰企业信息动态网页模板

餐厅会员服务信息网页模板

城市通信公司网页模板

蓝色企业产品信息网页模板

深蓝导航介绍网页模板

简单公司信息网页模板

工业信息介绍网页模板

网路服务信息网页模板

设计工作室介绍网页模板

企业动态信息网页模板

开源信息网页模板

灰黑渐变信息介绍网页模板

信息介绍网页模板

灰蓝信息介绍网页模板

黑色商业公司网页模板

健身俱乐部网页模板

高尔夫公司网页模板

蓝色医院介绍网页模板

超级模特公司网站模板

橙色信息介绍网页模板

在线商业公司网页模板

枯叶自然颜色网页模板

蓝色渐变导航信息网页模板

image.gif 编辑

浅蓝企业信息网页模板

明尼阿波利斯城市网页模板

金属玻璃质感企业网站模板

卡通设计工作室网页模板

财务管理企业网页模板

中式餐馆网页模板

美国曼哈顿信息网页模板

复古风格企业信息网页模板

绿色果蔬公司网页模板

蓝火博客信息网页模板

蓝色导航企业信息网页模板

绿色产品介绍网页模板

企业动态产品信息网页模板

绿色植物信息网页模板

橙色标题公司网页模板

红色产品信息网页模板

学习教育产品信息网页模板

蓝色数字产品企业网页模板

新商业营销信息网页模板

网络产品信息网页模板

数字商务服务网页模板

城市天空企业网站模板

情侣钻戒公司网页模板

粉彩悲歌影集网页模板

企业服务中心网页模板

草绿色商业公司网页模板

现代工艺企业网站模板

商业科技企业网站模板

商务贸易企业网页模板

商业公司信息网页模板

蓝色商业公司网页模板

葡萄酒生产企业网站模板

模特经纪人企业网站模板

棒球俱乐部网站模板

创意空间艺术设计网页模板

全球商务公司网页模板

高尔夫俱乐部网页模板

商务座谈网页模板

电脑系统企业网站模板

电脑产品商务网页模板

import os
import shutil
def void_folder(path):
    # 访问path路径下的文件或文件夹
    lst = os.listdir(path)
    # 打印每一层的文件或文件夹
    for name in lst:
        # 拼接名称,得到绝对路径,判断该文件是否符合是文件夹
        real_path = os.path.join(path, name)
        # 如果是文件夹,则打空格表示,并且递归访问下一层
        if os.path.isdir(real_path):
            # print(name)
            files = os.listdir(real_path)
            if len(files) == 0:
                print("void_folder():"+name)
                shutil.rmtree(real_path)
                endindex = len(real_path) - len(name)
                real_path = real_path[0:endindex]
                void_folder(real_path)
            else:
                void_folder(real_path)
        # 如果不是文件夹,直接打印,不再递归访问下一层
        else:
            #print(name)
            pass
def void_file(dirPath):
    dirs = os.listdir(dirPath)  # 查找该层文件夹下所有的文件及文件夹,返回列表
    for file in dirs:
        file_full_name = dirPath + '/' + file
        file_ext = os.path.splitext(file_full_name)[-1]
        if file_ext is None  or file_ext=="":
            continue
        if "rar" == str(file_ext.split(".")[1]):
            os.remove(file_full_name)
        if "zip" == str(file_ext.split(".")[1]):
            os.remove(file_full_name)
        if "gz" == str(file_ext.split(".")[1]):
            os.remove(file_full_name)
        if "tgz" == str(file_ext.split(".")[1]):
            os.remove(file_full_name)
# 查找指定文件夹下所有相同名称的文件
def search_file(dirPath, fileName):
    dirs = os.listdir(dirPath)  # 查找该层文件夹下所有的文件及文件夹,返回列表
    for currentFile in dirs:  # 遍历列表
        absPath = dirPath + '/' + currentFile
        if os.path.isdir(absPath):  # 如果是目录则递归,继续查找该目录下的文件
            search_file(absPath, fileName)
        elif currentFile == fileName:
            print(absPath)  # 文件存在,则打印该文件的绝对路径
            os.remove(absPath)
if __name__ == "__main__":
    dirPath = 'D:\Spider\Html\Html企业模板\\68个Html企业模板\Html企业模板'
    search_file(dirPath, "ReadMe.txt")
    search_file(dirPath, "下载网页模板.url")
    search_file(dirPath, "下载网页特效.url")
    search_file(dirPath, "下载字体.url")
    search_file(dirPath, "轻松设计漂亮的网页-mobanwang.com.url")
    void_file(dirPath)
    # search_file(dirPath, "php中文网下载站.url")
    # search_file(dirPath, "php中文网免费下载站.txt")
    #
    # search_file(dirPath, "访问懒人之家.url")
    # search_file(dirPath, "lanrenzhijia.com下载说明.txt")
    #
    #
    # search_file(dirPath, "服务器软件.url")
    # search_file(dirPath, "downcode.com.txt")
    # search_file(dirPath, "中国源码下载站.url")
    #
    # search_file(dirPath, "脚本之家.url")
    # search_file(dirPath, 'jb51.net.txt')
    # search_file(dirPath, '说明.htm')
    # search_file(dirPath, "cnzzz.com.txt")
    # search_file(dirPath, "源码之家说明.txt")
    # search_file(dirPath, "服务器常用软件.html")
    # search_file(dirPath, "服务器常用软件.html")
    # search_file(dirPath, "访问脚本之家.html")
    # search_file(dirPath, "chinaz.com.txt")
    # search_file(dirPath, "访问查看.url")
    # fileName4 = '服务器软件.url'
    # fileName3 = '脚本之家.url'
    # fileName2 = 'Readme-说明.htm'
    # fileName5 = 'jb51.net.txt'
    # search_file(dirPath, fileName2)
    # search_file(dirPath, fileName3)
    # search_file(dirPath, fileName4)
    # search_file(dirPath, fileName5)
    # void_folder(dirPath)
    # void_folder(dirPath)
    # void_folder(dirPath)

image.gif

你有时间常去我家看看我在这里谢谢你啦...

我家地址:亚丁号

最后送大家一首诗:

山高路远坑深,

大军纵横驰奔,

谁敢横刀立马?

惟有点赞加关注大军。

目录
相关文章
|
5月前
|
安全 数据安全/隐私保护 Python
分享90个Html企业模板,总有一款适合您
分享90个Html企业模板,总有一款适合您
29 6
|
5月前
|
安全 BI Python
分享77个Html企业模板,总有一款适合您
分享77个Html企业模板,总有一款适合您
38 4
|
5月前
|
数据挖掘 Python
分享89个Html企业模板,总有一款适合您
分享89个Html企业模板,总有一款适合您
36 5
|
5月前
|
大数据 Python
分享92个Html企业模板,总有一款适合您
分享92个Html企业模板,总有一款适合您
40 2
|
5月前
|
监控 安全 数据建模
分享97个Html企业模板,总有一款适合您
分享97个Html企业模板,总有一款适合您
44 1
|
5月前
|
安全 前端开发 UED
分享94个Html企业模板,总有一款适合您
分享94个Html企业模板,总有一款适合您
39 1
|
5月前
|
前端开发 Python
分享64个Html企业模板,总有一款适合您
分享64个Html企业模板,总有一款适合您
30 0
分享64个Html企业模板,总有一款适合您
|
5月前
|
前端开发 Python
分享82个Html企业模板,总有一款适合您
分享82个Html企业模板,总有一款适合您
39 1
|
5月前
|
UED 芯片 Python
分享72个Html企业模板,总有一款适合您
分享72个Html企业模板,总有一款适合您
40 0
|
5月前
|
UED Python
分享73个Html企业模板,总有一款适合您
分享73个Html企业模板,总有一款适合您
39 0
下一篇
无影云桌面