Up 起動スクリプト 作成: 2021-03-18
更新: 2021-03-18


    $ cd ~/www
    $ vi python_web_server.py
    import http.server server_address = ("", 8000) handler_class = http.server.SimpleHTTPRequestHandler python_web_server = http.server.HTTPServer(server_address, handler_class) python_web_server.serve_forever()

    $ python3 python_web_server.py

    PC から http://[RaspberryPi の IPアドレス]:8000/ にアクセス :