Python : Web programming

Web Programming with Python

Want to make a web program? Then you have to host your program, that is, you need your own web server. 


Pyscript:

Pyscript:

- https://pyscript.net/

- https://pyscript.net/examples/

- https://github.com/pyscript/pyscript/blob/main/docs/tutorials/getting-started.md


github: https://github.com/pyscript/pyscript

course material:

https://realpython.com/pyscript-python-in-browser/

https://levelup.gitconnected.com/pyscript-python-in-the-browser-4c1a578d67f3

github에서의 호스팅: https://opentutorials.org/course/3084/18891

https://www.youtube.com/watch?v=3DuyJf_XPtM&ab_channel=%EB%85%B8%EB%A7%88%EB%93%9C%EC%BD%94%EB%8D%94NomadCoders





PythonAnywhere is an online integrated development environment and web hosting service based on the Python programming language. 

https://www.pythonanywhere.com/

You can start web services right away by signing up and simple coding.

Example: http://jungkeechul.pythonanywhere.com/

This is all for above site


from flask import Flask
app = Flask(__name__)

@app.route('/')
def hello_world():
    return 'Hello from Flask!'

@app.route('/login')
def login_page():
    return 'You are trying to log-in'





Comments

Popular posts from this blog

Python (Level-1): Introductions

Python (Level-3): Data Types

Processing Language(Level-1): Game Coding.