zhongjiajie / Putils

Python utils in my daily work

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

weapon

中文说明

weapon is a collection of tools used in my daily work.

wpn_date

About date.

Class:

  • UnpackRangeDate : Unpack date range to detail date

Function:

  • is_valid_date : Whether date(string or integer) in format or not
  • is_outdate : Whether outdate or not

wpn_file

About file.

Class: None

Function :

  • create_not_exists : Create folder is not exists
  • delete_exists : Delete file or folder if exists
  • delete_outdate_file : Delete outdate file or folder
  • zip_file_folder : Zip file or folder

interesting?

Star, Fork, improve and PR. ;-)

About

Python utils in my daily work


Languages

Language:Python 100.0%