# -*- coding: utf-8 -*-
"""
Created on Sat Mar 28 10:06:36 2020
@author: Hi Daniel
"""
import os
import time
# 统计项目代码数量
class TotalCodeLines():
def __init__(self, basedir,filetype):
self.basedir = basedir
self.filelists = []
self.filetype = filetype
#遍历文件, 递归遍历文件夹中的所有
def readfile(self, basedir, filetype):
global filelists
for parent,dirnames
Python统计项目代码行数
最新推荐文章于 2024-04-20 16:14:53 发布