mirror of
https://github.com/shufflewzc/faker2.git
synced 2025-04-23 10:58:44 +08:00
Create jlhb.py
This commit is contained in:
parent
9096abbb2a
commit
9464fe8540
24
jlhb.py
Normal file
24
jlhb.py
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
# -*- coding: utf-8 -*
|
||||||
|
'''
|
||||||
|
项目名称: JD-Script / jlhb
|
||||||
|
活动名称: 锦鲤红包-助力
|
||||||
|
Author: SheYu09
|
||||||
|
cron: 0 0 * * * jlhb.py
|
||||||
|
new Env('京东 -*- 锦鲤红包')
|
||||||
|
'''
|
||||||
|
import os
|
||||||
|
if os.path.exists('jd_jlhb.py'):
|
||||||
|
os.system('rm -rf jd_jlhb.so')
|
||||||
|
try:
|
||||||
|
from jd_jlhb import *
|
||||||
|
except:
|
||||||
|
try:
|
||||||
|
os.system('mv jd_jlhb.py jd_jlhb.so')
|
||||||
|
from jd_jlhb import *
|
||||||
|
except:
|
||||||
|
print('未知错误...')
|
||||||
|
exit()
|
||||||
|
|
||||||
|
if __name__ == '__main__':
|
||||||
|
start()
|
Loading…
Reference in New Issue
Block a user