分享111个HTML建筑风光模板,总有一款适合您

分享了111个HTML建筑风光模板的下载链接,包括响应式室内装修、酒店住宿预定、房地产中介等各类网站模板。同时提供了Python采集代码的下载链接。部分模板可能依赖谷歌字体库,可能影响加载速度。文章还包含清理空文件夹和特定文件类型的Python代码,以及生成Word文档的功能。
摘要由CSDN通过智能技术生成

分享111个HTML建筑风光模板,总有一款适合您

 

111个HTML建筑风光模板下载链接:https://pan.baidu.com/s/14iwQ-X7IDfPl-sFHgBdkXw?pwd=pnzn 
提取码:pnzn

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

响应式室内装修公司网站模板

响应式酒店住宿预定服务网站模板

响应式酒店住宿预定服务网站模板是一款适合从事酒店住宿预定服务网站模板下载。提示:本模板调用到谷歌字体库,可能会出现页面打开比较缓慢。
 

HTML5房地产中介网站模板

HTML5房地产中介网站模板是一款适合房屋购买、销售、宣传等房地产中介网站模板下载。提示:本模板调用到谷歌字体库,可能会出现页面打开比较缓慢。
 

公寓别墅房地产行业网站模板

公寓别墅房地产行业网站模板是一款适合从事房地产行业HTML5响应式网站模板下载。提示:本模板调用到谷歌字体库,可能会出现页面打开比较缓慢。
 

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)

HTML5居民房屋建筑房地产网站模板

建筑开发商网站模板下载

别墅销售网HTML5模板

绿色内部设计网站模板

橙色建筑施工单位网站模板

房地产租房售房HTML模板

    def builder_filter_file(self, files):
        """

        :param files:
        :return:
        """
        for file in files:
            if len(self.filter_down_file) == 0:
                self.filter_down_file.append(str(file))
            for filter_file in self.filter_down_file:
                if str(file) in str(filter_file):
                    BaseFrame().error(filter_file + "文件存在...")
                    pass
                else:
                    self.filter_down_file.append(str(file))

    def builder_word(self, word_title, list_files):
        """
        输出产物是word文件
        :param word_title: 文件的标题
        :param list_files: 文件集合(单个内容)
        :return:
        """
        try:
            file_count = len(list_files)
            font_name = "楷体"

            random_full_file_name = SpriderTools.get_word_image("html", 14, "jpg")

            document = Document()
            document.add_paragraph("分享" + str(file_count) + "个" + word_title + ",总有一款适合您\r\n")
            document.add_paragraph("" + str(file_count) + "个" + word_title + "下载")
            document.add_paragraph("Python采集代码下载链接:https://wwgn.lanzoul.com/iKGwb0kye3wj")
            # Python采集代码下载链接:采集代码.zipt - 蓝奏云
            if os.path.exists(random_full_file_name):
                document.add_picture(random_full_file_name, width=Inches(3))
            file_index = 0
            for files in list_files:
                try:
                    document.add_paragraph(files[0])
                    file_index = file_index + 1
                    if file_index >= self.word_image_count:
                        continue
                    document.add_picture(files[1], width=Inches(3))
                    document.add_paragraph(files[2] + "\r")

                except Exception as e:
                    pass
            random_full_file_name1 = SpriderTools.get_word_image("html", 14, "jpg")
            if os.path.exists(random_full_file_name1):
                document.add_picture(random_full_file_name1, width=Inches(3))
            document.add_paragraph("最后送大家一首诗:")
            paragraph = document.add_paragraph()  # 单独控制
            paragraph.add_run("山高路远坑深,\r")
            paragraph.add_run("大军纵横驰奔,\r")
            paragraph.add_run("谁敢横刀立马?\r")
            paragraph.add_run("惟有点赞加关注大军。\r")
            paragraph.bold = True  # 字体加粗
            file_full_path = self.file_path + os.sep + word_title + ".docx"
            document.save(file_full_path)

            print("Create Word:" + word_title)
            self.gen_passandtxt(file_count, word_title, list_files)
            self.copy_file(file_count, self.save_path, word_title)

        except Exception as e:
            print("Create Word Fail reason:" + str(e))

房产建筑公司网站模板

公寓房地产公司网站模板

黄色建筑和商务网站模板

楼房设计建设HTML5模板

响应式房地产企业网站模板

房地产建筑设计公司模板

创意建筑设计HTML5模板

蓝色建筑工程公司HTML5模板

超大气城市建筑公司模板

宽屏扁平化房地产网站模板

别墅房地产评估公司模板

建筑施工单位网站模板

大气房产建筑网站模板

闪光摄影Bootstrap网站模板

漂亮的建筑工程企业网站模板

地产集团网站模板免费下载

私人别墅设计公司免费模板

大气扁平城市网站模板下载

木头房屋建筑商网站模板

房地产开发公司网站模板

建筑工程设计展示企业模板

视差滚动房地产网站模板

房产建筑设计CSS3网站模板

公路建设开发公司网站模板

时间轴房产单页网站模板

商业地产服务公司网站模板

室内建筑师HTML网站模板

租赁房地产企业网站模板

大气现代工业网站模板

高楼大厦建筑网站模板

绿色清爽工程建设网站模板

棕色室内建筑设计网站模板

房地产地皮公司网站模板

房地产建筑施工网站模板

机械施工单位网站模板

户外摄影工作室网页模板

建筑工程队简介模板

建筑施工工业网站模板

城市建筑企业Metro模板

铁艺工艺品网站模板

橙色个性工业网站模板

室内家具展示网站模板

房屋租赁html网站模板

蓝色楼房建筑网站模板

建筑公司网页模板下载

美国建筑房产网站模板

国外建筑工业CSS网站模板

粉色房地产行业网站模板

工程施工单位网页模板

建筑工程企业html5模板

土木工程公司网站模板

房屋建设设计公司CSS模板

房地产楼盘展示网站模板

国外别墅房产企业网站模板

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)

绿色大山设计网站模板

灰白色建筑设计方案模板

木屋别墅造价公司网站模板

桥梁建筑设计公司网站模板

气派的建筑公司网站模板

浅蓝色宽屏城市网站模板

高楼建筑设计公司网站模板

城市规划建设HTML5模板

建筑设计公司网站模板

美国白宫建筑网站模板

城市建筑HTML5模板

高楼建筑HTML5网页模板

房地产行业Bootstrap响应式网站模板

房地产住房类响应式网站模板

HTML5居民房地产机构网站模板

房地产建筑开发商网站模板

地产代理服务公司HTML5网站模板

别墅在线交易服务机构网站模板

现代建筑公司宣传网站模板

HTML5建筑室内设计公司网站模板

别墅交易地产机构网站模板

建筑师工作室HTML5模板

家居房屋装潢维修网站模板

建筑装修施工公司网站模板

房地产中介机构网页模板

房地产房屋交易网站模板

现代厨房设计HTML5网站模板

房地产别墅交易网站模板

最后送大家一首诗:

山高路远坑深,
大军纵横驰奔,
谁敢横刀立马?
惟有点赞加关注大军。
 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

亚丁号

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值