[英]In python,how to output all the files name with the same extension in a directory?
I want to output the files name by using ~/*.java command. 我想使用〜/ *。java命令输出文件名。 I can check if it is a java file but I really don't know how to output and read all the files by *.java command. 我可以检查它是否是java文件,但我真的不知道如何通过* .java命令输出和读取所有文件。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.