大家好,本文将围绕python作业提交什么文件展开说明,python123怎么提交作业是一个很多人都想弄明白的事情,想搞清楚python期末作业程序需要先了解以下几个事情。
火车头采集ai伪原创插件截图:
I have a python project, whose folder has the structure
main_directory - lib - lib.py
- run - .py
.py is
from lib.lib import add_two
spark = SparkSession \
.builder \
.master('yarn') \
.appName('') \
.getOrCreate()
print(add_two(1,2))
and lib.py is
def add_two(x,y):
return x+y
I want to launch