import java.io.File;
public class Main {
public static void main(String[] args) {
System.out.println("Hello World!");
String src_path = "G:\\手写数字识别\\data\\数据均衡的训练集";
File src_file = new File(src_path);
File[] list_src = src_file.listFiles();
for (int i = 0; i<src_file.length();i++)
{
if(list_src[i].isDirectory()) {
String refile = list_src[i].getAbsolutePath();
File file = new File(refile);
if (file.isDirectory()) {
File[] list_file = file.listFiles();
if(list_file.length<5000) {
System.out.println(list_src[i].getAbsolutePath() + " " + String.valueOf(list_file.length) + "\n");
}
}
}
}
}
}
没有合适的资源?快使用搜索试试~ 我知道了~
资源推荐
资源详情
资源评论
收起资源包目录
number_of_floders.zip (10个子文件)
number_of_floders
hello.iml 437B
src
Main.java 896B
.idea
misc.xml 409B
vcs.xml 173B
description.html 97B
modules.xml 257B
encodings.xml 164B
compiler.xml 734B
workspace.xml 9KB
out
production
hello
Main.class 2KB
共 10 条
- 1
资源评论
钱亚锋
- 粉丝: 86
- 资源: 1万+
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功