一个Python包,它打印用户可以选择的指定文件夹中的所有文件。

fileselector的Python项目详细描述


天气预报员

一个Python包,用于显示选定路径中的所有文件, 允许用户选择他们想要的任何文件。在

使用

#Imports FileSelector as fs.
import FileSelector as fs.

#path < folder you want to list.
#a,b < opening and closing characters, eg <1>,(1),[1]
#txt < Future versions will include keyboard controls, Txt/keyboard.
fs.PrintLocation(path, "a", "b", "txt")

#text < This will alter the visible text before Input()
#color < changes highlights colors, Pick from Colorama's Library  of colors.
#true/false < True Adds a confirmation  screen for the selected file.
fs.txt('text','color','true/false')

#returns the filepath selected by the user.
fs.filepath

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
JAXB可以将ArrayList作为逗号分隔的值输出吗?   java使用bcel将一个内部类移动到另一个外部类   java无法识别Lucene MoreLikeThis中的错误   安卓如何在Frida中将动态类转换为json或java文件   java如何使用Struts2在blob类型的列中保存我的sql中的图像?   使用mavenreleaseplugin将java maven发布到nexus 3.0.1失败   java这是正确的方法吗?   Windows上的java Runner不工作   找不到java Hibernate+Spring xml映射   java如何访问WMI查询的数据(通过JNA)SAFEARRAY结果   java如何在本地导入库而不使用Maven中的Nexus?   java渐变本地项目依赖项   使用URLFetchService/URL Google appengine for java