我很确定我在mystuff文件夹中获得了ex15_sample.txt!
GRANT EXECUTE ON PROCEDURE
这是我的代码
GRANT EXECUTE ON PROCEDURE
答案 0 :(得分:0)
你可以用这个
import os
__location__ = os.path.realpath(
os.path.join(os.getcwd(), os.path.dirname(__file__)))
file_name = raw_input("type the file name")
txt = open(os.path.join(__location__, filename))
print txt.read()