エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
A simple website with python using SimpleHTTPServer and SocketServer, how to only display the html file and not the whole directory?
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
A simple website with python using SimpleHTTPServer and SocketServer, how to only display the html file and not the whole directory?
How do I only display simplehttpwebsite_content.html when I visit localhost:8080? So that I can't... How do I only display simplehttpwebsite_content.html when I visit localhost:8080? So that I can't see my filetree, only the webpage. All these files are in the same directory btw. simplehttpwebsite.py #!/usr/bin/env python import SimpleHTTPServer import SocketServer Handler = SimpleHTTPServer.SimpleHTTPRequestHandler server = SocketServer.TCPServer(('0.0.0.0', 8080), Handler) server.serve_forever(

