2018-01-05 XAMPP-python始める方法 httpd.confに下記追記 # # For Python # AddHandler cgi-script .py ScriptInterpreterSource Registry-Strict htdocs配下に下記内容のpyファイル作成 ※一番上の箇所は自分のpython.exeが格納されているパスを指定 #!C:\Python27\python.exe print("Content-Type: text/plain\n") print("hello world.")