maharshmellow maharshmellow - 24 days ago 10
Python Question

Edit a text file hosted online with python

I am trying to create a program in Python that needs to read and write to a file that is hosted online on my website. I know how to read a text file that is online, but what are some possible ways that I can write to the same file, without the use of databases. Any possible methods will be appreciated!

Answer

Have you tried using SSH? Here is a primer for writing to a remote file

In Python, how to write a string to a file on a remote machine?

Cheers

Comments