Easiest way to create website (server side ,solution ) | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Easiest way to create website (server side ,solution )

this is solution . Almost everyone is curious about what to use as server side language in website and sololearn fails to describe that . this is the most simplest server side framework about FLASK and PYTHON from flask import Flask app = Flask(__name__) @app.route("/") def hello(): return "Hello World!" if __name__ == "__main__": app.run() the return "hello world "can be changed to any HTML syntaxes or you can use a file .open statement to read from a HTML file . try it .

17th Dec 2016, 6:18 AM
Sun
Sun - avatar
2 Answers
+ 3
in python we believe that we only write codes which does "something" . plain HTML has no magic and JavaScript only works client side . server side programmes are needed if you don't want boring lame HTML+JavaScript sites that does nothing but shows linked texts
17th Dec 2016, 1:24 PM
Sun
Sun - avatar
0
the easiest, most performant, way to create a website is definitely using plain HTML. you do not need to know any programming language, since it is just writing text and with a proper Editor not even writing the tags. The question is always, what kind of interactivity you want to have, keeping in mind that every line of code that you write yourself is a potential security loophole.
17th Dec 2016, 1:22 PM
John Doe
John Doe - avatar