python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
upload multiple files with fetch
I am trying to receive more than one file per time using reactjs and flask api, but I get this error
data = file.read()
AttributeError: 'str' object has no attribute 'read'
fontend code using reactjs...

Ibraheem Alibraheem
Votes: 0
Answers: 2
Return data to same template with python/flask
I'm trying to return value from my python code to template, but nothing changes in html output.
Does somebody know what is wrong?
Flask Code:
@app.route('/')
def index():
return render_te...
Samuel Martins
Votes: 0
Answers: 1
Failed to find Flask application or factory in module 'app'. Use 'FLASK_APP=app:name' to specify one
>>> flask run
* Serving Flask app 'app' (lazy loading)
* Environment: development
* Debug mode: on
Usage: flask run [OPTIONS]
Try 'flask run --help' for help.
Error: Failed to find Flask ...

fedor.chernolutsky
Votes: 0
Answers: 1
Screen socket not generating
I'm making a python flask server to run and turn off multiple Minecraft servers, Im using screen to run the minecraft server however screen seems to ignore my command
@app.route('/startserver/<int:...
Tom Mccormack
Votes: 0
Answers: 1