Answers for "how can we import a .txt file and use the varible init"

1

how to get variabels from text file

#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.
Posted by: Guest on September-22-2020

Code answers related to "how can we import a .txt file and use the varible init"

Browse Popular Code Answers by Language