Skip to main content

A small api for Python code

Project description

Easycoding 精简代码集

Python的常用代码太多、不好调用?

原始with open语句写法:

with open("文件名称","w") as w:
    w.write(要写入的内容、变量名称)

导入easycoding后:

ec.proFile("文件名称", "w", "内容")

pygame播放音乐原始写法:

pygame.load(文件路径)
pygame.play(1, 0)

导入easycoding后:

ec.musicPlay("play", 文件名)

帮助文档正在编写

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distribution

EasyCoding-1.0.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

EasyCoding-1.0-py3-none-any.whl (3.4 kB view hashes)

Uploaded Python 3

Supported by

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