Forums

Dynamic variable within python script

I am using this python code which has

filepath = "/home/smart/testing.csv"

The above path in the python script will be dynamic (not static).

That is, I will be using "Python Anywhere API" to upload to a CSV file with a different filename each time. Can I change the filename within the script each time?

Is this possible?

I believe we already ansered you via email -- let's keep conversation there.