How to create a .py file for Google App Engine?

I am only at the very beginning of what I think will be a long journey exploring the world of applications in the Google App Engine using Python .

I just downloaded Python 2.6.4 from the Python official website and installed it on my computer (I am using Windows XP). I also downloaded the Python Application Development Kit (SDK) (from this page ) and installed it. Both of these steps were suggested on the second page of the Google App Engine Getting Started Guide .

However, when I went to the third page, which is called "Hello, World!" I came across the issue of complications. It is written there:

"Create a directory called helloworld. All the files for this application are in this directory. Inside the helloworld directory, create a file called helloworld.py, and the following contents ..."

I am a little puzzled here: How to create a .py file? It looks like I need to create a notepad file (.txt) and call it helloworld.py (when I did this, it did not change to any other file of any other, but remained a regular .txt file) or should I somehow Am I creating this file using the Google App Engine Launcher that I installed?

0
5

, . "" " ..." "helloworld.py" , .py .txt

+1

Python, IDLE. , , , .py . , IDLE File -> New Window.

+3

.py - , Python. NotePad.

, Windows Explorer . , - , helloworld.py.txt, helloworld.py

+2

: .py? , (.txt) helloworld.py?

windows, : , ...

. .py - (, .docx, .bat,...), ( ).

. , http://www.e-texteditor.com/ , .

+1

, , . .py ( ), python.

python . Notepad ( ) .py . .

+1

Source: https://habr.com/ru/post/1725060/


All Articles