Ask coding questions

← Back to all posts
Can I upload files users create to my own file?
watsonHasAKnife (0)

im a beginner at python, and im trying to upload a file that is created when the user runs the program, to my own personal text file. is this possible?

thanks!

Comments
hotnewtop
Coder100 (18109)

where is your own personal text file?

watsonHasAKnife (0)

it can be on my pc if it needs to be

Coder100 (18109)

so, you are trying to upload a file from your pc to your reply? @watsonHasAKnife

watsonHasAKnife (0)

im trying to record a response from a users input, and send it to my pc
@Coder100

Coder100 (18109)

oh, well in that case you could.

step 1: write all that user input into some file in your python repl
step 2: download your repl as a zip

and extract the zip to get your file!
@watsonHasAKnife

watsonHasAKnife (0)

I dont think you understand, i want the users input to be sent to my own file. im wondering if this can be automated without the user having to do anything. thanks for the help though! @Coder100

Coder100 (18109)

nope, replit won't be able to interact with your computer. @watsonHasAKnife

btfuss (177)

@watsonHasAKnife Have a python program hooked up with socket io to one on your computer. Have the one on your computer constantly listening for a send from replit