Skip to main content

A expansion for me

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydll-1.1.0.tar.gz (5.3 kB view details)

Uploaded Source

Built Distribution

pydll-1.1.0-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file pydll-1.1.0.tar.gz.

File metadata

  • Download URL: pydll-1.1.0.tar.gz
  • Upload date:
  • Size: 5.3 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for pydll-1.1.0.tar.gz
Algorithm Hash digest
SHA256 394a47f9dc8006136c520402e0b7edf0e8574855e4a0860f8a34ba339073c790
MD5 0ad109f4272da3613625ec6afdd4726a
BLAKE2b-256 682b4a105643f1d64302387d13f76a6451f2d611810beb23972f05d0d71e8bf4

See more details on using hashes here.

File details

Details for the file pydll-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: pydll-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for pydll-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5ec89c7d98343b8b173db927326f8e1529c2aba5c05081ee4fe578c740620038
MD5 f055847494fc2f52585a5e54aa1f56d3
BLAKE2b-256 2bc980ee724fa08b221a04def739cb0dd5c0af877d28bc9ee40cdaeca4b44282

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page