glitchでPythonが使えると聞いたのですが、どうすれば使えますか?
こんにちは!コミュニティから、こちらのようなFlaskテンプレートが提供されています!ただし、これはPythonを単独で実行する方法ではありません。これで質問の答えになりましたか?
マイルズが言ったように、サーバーを作成するためのFlaskテンプレートがありますが、pythonのみを使用する場合は、グリッチパイソン をリミックスしてください。グリッチは python 3 をサポートしていないことに注意してください。パイソン2のみ。
Like Miles said, there is a Flask template for creating a server, but if you want to use python alone, remix the glitch python. Note that glitch doesn’t support python 3. Only python 2.
ya it does
Just a note: I think you forgot the closing “)” to finish the link
皆さん、わかりやすく教えてくれてありがとうございます!解決しました😊
Not that I’ve seen.
python3 --version
It gives me 2.7 (or something like that)
Update:
I remixed the ~python3 project and typed in the terminal python
and it says 2.7.12
that sounds like python --version
. python
is Python 2 in that version of ubuntu
notice that you’re running python
, which is not the same as running python3
=)
(Only windows gets to enjoy the sanity of “the python executable is called python, the end”, on unix/linux/mac the 2.x and 3.x versions are separate executables. That also includes pip
, which has a pip3
counterpart)
Ahh, okay. That makes sense.