LoginSignup
1
1

More than 5 years have passed since last update.

Python3でwebサーバーにtest.pyが反映されません。

Posted at

プログラミング初心者です。

ローカル環境にpythonのコードを反映させようとしているのですが、python のソースコードがそのまま反映されてしまいます。

$ python3 -m http.server 8000

をタイプした後、

に接続すると反映されております。

しかし

に移行しようとした途端、htmlに反映されず、test.pyのコードがそのまま表示されてしまいます。

解決策をいただけると助かります。
よろしくお願い致します。

1
1
3

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1