Skip to main content
#pytasks
用于执行`例行任务`

###Example-1

```
#tasks.py是用于test的py文件
% python pytasks.py
```

###Example-2
*
```
% vim tasks.py
```
*
```
#tasks.py ----do task at 2014-12-12 12:12:00

from datetime import datetime as _date
def task():
##do-something
print 'done-work'
task.schedule = lambda:_date(2014,12,12,12,12)
```
*
```
%python pytasks.py
```
*
done

Download files

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

Source Distribution

pytasks-1.0.tar.gz (4.7 kB view details)

Uploaded Source

File details

Details for the file pytasks-1.0.tar.gz.

File metadata

  • Download URL: pytasks-1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pytasks-1.0.tar.gz
Algorithm Hash digest
SHA256 9af9fd1863ca08dc68ce5b45010dd20f0958228bc0aafe11a2271d9e030996f5
MD5 6d7476f03f607d44e629cc4a2fcef89b
BLAKE2b-256 04ef86efa255e916e4748a3a838b65becf693513130eb6732099bede289f7a14

See more details on using hashes here.

Release history Release notifications | RSS feed

1.3

1 file

1.2

1 file

1.1

1 file

This release

1.0 This release

1 file

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