Python App

73 views
Skip to first unread message

Zain Basit

unread,
Nov 29, 2020, 9:58:09 AM11/29/20
to Google App Engine
Want to execute and run python app

yananc

unread,
Nov 29, 2020, 2:28:24 PM11/29/20
to Google App Engine

Hello, 

If you would like to know general information on how to deploy and run Python apps on App Engine, please refer to the Quickstart for Python 3 in App Engine Standard and Quickstart for Python in App Engine Flexible for detailed steps and sample Hello World apps for demonstration. 

If you have any specific questions or issues regarding the matter, please kindly elaborate so it would be much easier to get them answered.

Zain Basit

unread,
Nov 29, 2020, 2:52:13 PM11/29/20
to Google App Engine
https://github.com/zainbasit/GoogleCloudPlatform this is the app I want to deploy and execute, cloud functions didn't work. 

wesley c

unread,
Nov 30, 2020, 4:30:19 PM11/30/20
to google-a...@googlegroups.com
Unfortunately the code you have is a Python command-line script, meaning you can't use Google Cloud serverless platforms (App Engine, Cloud Functions, Cloud Run) unless you either add API endpoints and data serialization, or turn it into a full web app.

Based on what you have right now, you can try to run it elsewhere: 1) in Cloud Shell, 2) on a Compute Engine VM (most users get an f1-micro free each month), 3) Kubernetes Engine (more complex, but you seem have a `google.yml` file for it), or 4) on your own computer.

--
You received this message because you are subscribed to the Google Groups "Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-appengi...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/294a84ea-b75f-43d4-a9bf-be5304612fd8n%40googlegroups.com.


--
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
"A computer never does what you want... only what you tell it."
    wesley chun :: @wescpy :: Software Architect & Engineer
    Developer Advocate at Google Cloud by day; at night...
    Python training & consulting : http://CyberwebConsulting.com
    "Core Python" books : http://CorePython.com
    Python blog: http://wescpy.blogspot.com

Zain Basit

unread,
Dec 1, 2020, 3:13:28 PM12/1/20
to Google App Engine
I try with VM but got this error.
mess.PNG

Juan Carlos Gomez

unread,
Dec 2, 2020, 5:42:14 AM12/2/20
to Google App Engine
Hello, this group is for App Engine and should be kept in topic.

You are trying to execute a Python script from a GCE instance, the python scripts shows an error that says  `FileNotFoundError` when trying to find the file `Output/Persons 3011201921.csv`.

You need to contact the author of this script for more information about how to solve this issue since it is expecting a file that you do not have in the GCE filesystem.
Reply all
Reply to author
Forward
0 new messages