forked from p46318075/CodePattern
parent
e27ecadb25
commit
31a4dfc8e5
@ -1,5 +1,8 @@
|
||||
from cppy.cp_util import *
|
||||
|
||||
# 这个例子没有实际意义,是用来帮助理解下一个例子
|
||||
# 程序,只需要做第一件事情,后面的顺序逻辑写到各个函数里面了
|
||||
|
||||
def readfile(path_to_file, func):
|
||||
data = read_file(path_to_file)
|
||||
func(data, frequencies)
|
Loading…
Reference in new issue