Skip to main content

PyDll for Windows

这是一个自用的包,仅为个人爱好,有兴趣的也可以下载 点击此处转到主页

例子

import func
func.dir(".\\")

该语句将返回一个包含文件数量,大小,单位,和完整的路径的列表

函数及其用法

函数名 用途 返回值
ari 计算等差数列 list
fib 计算斐波那契数列 list
chase_distance 求追及问题路程 int
chase_time 求追及问题时间 int
meet_distance 求相遇问题路程 int
meet_time 求相遇问题时间 int
mkfod 创建文件或文件夹 bool
mkzip 压缩文件 str
unzip 解压文件 str
copy 复制和拷贝文件及文件夹 bool
dirs 遍历文件夹并打印所有文件 list
rename 批量重命名文件 int
get_module_dir 查询模块位置 str
deletefile 删除指定后缀名的文件 bool
musicfile 播放指定的音乐 None

常量

Now_Time 当前的时间 具体实现: Now_Time = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime(time.time()))

Data 当前用户的具体信息 具体实现:

Data = {"System" : platform.platform(),
        "UserName": getpass.getuser(),
        "NowTime": Now_Time,
        "File": sys.argv[0],
        "Args": sys.argv[1:]}

Filelist \ d_filelist 存储文件路径

所有异常

  • SameError
  • InputError
  • SystemVersionError
  • NotFoundError

Release files for pydll 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pydll 1.1.0
File Size Uploaded
pydll-1.1.0.tar.gz 5.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pydll 1.1.0
File Interpreter ABI Platform
pydll-1.1.0-py3-none-any.whl Python 3 none any Details

Total release size:11.6 kB

Release files / pydll-1.1.0.tar.gz

Download URL pydll-1.1.0.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
394a47f9dc8006136c520402e0b7edf0e8574855e4a0860f8a34ba339073c790
BLAKE2b-256 checksum
How to use checksums
682b4a105643f1d64302387d13f76a6451f2d611810beb23972f05d0d71e8bf4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.7

Release files / pydll-1.1.0-py3-none-any.whl

Download URL pydll-1.1.0-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5ec89c7d98343b8b173db927326f8e1529c2aba5c05081ee4fe578c740620038
BLAKE2b-256 checksum
How to use checksums
2bc980ee724fa08b221a04def739cb0dd5c0af877d28bc9ee40cdaeca4b44282
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/53.0.0 requests-toolbelt/0.9.1 tqdm/4.56.2 CPython/3.8.7

Release history Release notifications | RSS feed

This release

1.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page