|
|
|
|
|
by phillmv
4412 days ago
|
|
Well… checkout Flask, for instance: from flask import Flask
app = Flask(__name__)
@app.route('/')
def hello_world():
return 'Hello World!'
if __name__ == '__main__':
app.run()
Of course, you still need to know how Python Does Things, and The Thousand Ways To Deploy An App, and Package Management and so on, but for this trivial example it's a lot more conceptually lean than the semi-equivalent offered above. I don't need to know about `Bootstrap<Configuration>` or a `JModernConfiguration`.It's fair to point out that there will be a corresponding text file or option somewhere else, but… |
|
public class HelloWorld { public static void main(String[] args) {