SparkFun Forums 

Where electronics enthusiasts find answers.

By kashif1
#203032
i am working a project Raspberry based Web Server using Python its error or not working
i copy the code from this site
i dont know the code is correct check this web and suggest any other code
https://projectiot123.com/2019/01/28/ ... ng-python/
Code: Select all
app = Flask(__name__)
@app.route(‘/’)
def index():
deturn ‘Hello World’
df __name__==’’__main__’:
dpp.run(debug=True, port = 80,host = ‘0.0.0.0’)