In this book we will explore how to use Google App Engine through the python interface.

computer science


1 Introduction

In this book we will explore how to use Google App Engine through the python interface. These examples should serve as a good introduction to some of the features and aspects available with this platform. Any applications that you create with this SDK will be uploadable to the Google Cloud infrastructure for which you will receive free daily limits. Should you exceed these limits your application will be shutdown until the limits are reset or you decide to pay for expanding those limits.

This document is only for GCD student use and should not be distributed to anyone else.

There are a few points to note before you get started and these will apply to your setup. It will be assumed for the purposes of this that you will have a fully working installation of the following on your laptop

1. A Python 2.x installation 

2. The Google Cloud SDK with app engine python

For point 1 above please be aware that Python 3 is available but currently Google App Engine does not support this but it may do in future. Thus we must use the Python 2 interface instead (2.7.14 at time of last check). The Google Cloud SDK is available from: 

It details the instructions necessary to install app engine to disk. Keep a note of where it installed to as you will need this information for running the sample applications that are listed in this book.

There is no editor or IDE provided by default for this but you have options available to you. Realistically all you need is access to a decent syntax highlighting text editor. Preferably one that can handle both Python and Yaml code. Personally I would recommend the Atom text editor as not only does it support this but is highly configurable and extensible. You are free to use whatever text editor you wish the only restriction is that files are saved in a single directory and that all files are encoded in the UTF-8 charset.

Related Questions in computer science category