-
Notifications
You must be signed in to change notification settings - Fork 0
/
function_list.py
56 lines (37 loc) · 1.46 KB
/
function_list.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
from function_implementation import basic_function
from function_implementation import school_time_tables
from function_implementation import weibo_data
from function_implementation import system_function
from function_implementation import translate as translate_service
import main_sender
def default(data):
sender_data = basic_function.no_function_tip(data)
main_sender.send_data(data, sender_data)
def want_to_tell_me(data):
sender_data = basic_function.tell_me(data)
main_sender.send_data(data, sender_data)
def incorrect_format(data):
sender_data = basic_function.incor_format(data)
main_sender.send_data(data, sender_data)
def school_table(data):
sender_data = school_time_tables.main_run(data)
main_sender.send_data(data, sender_data)
def root_to_user(data):
sender_data = basic_function.root_to_user(data)
main_sender.send_data(data, sender_data)
def get_weibo_hot(data):
sender_data = weibo_data.weibo_hot_search(data)
main_sender.send_data(data, sender_data)
def square_extension(data):
sender_data = basic_function.broadcast_message(data)
main_sender.send_data(data, sender_data)
def Qobot_off(data):
sender_data = system_function.power_off(data)
main_sender.send_data(data,sender_data)
def translate_on(data):
sender_data = translate_service.main_run(data)
main_sender.send_data(data,sender_data)
if __name__ == '__main__':
str2 = "123 sjhid dhi"
list2 = str2.split()
print(list2)