📌  相关文章
📜  如何从文本文件中获取变量 - 无论代码示例

📅  最后修改于: 2022-03-11 14:59:05.932000             🧑  作者: Mango

代码示例1
#python stuff over here
getVarFromFile(filename) #this is the function that im looking for
print var_b
#output: car, as string
print var_c
#output 15.5, as number.