-
Book Overview & Buying
-
Table Of Contents
NumPy Cookbook
Deploying GAE applications is pretty easy. For NumPy an extra configuration step is required, but that will take only minutes.
Let's create a new application.
Create a new application.
Create a new application with the launcher (File | New Application). Name it numpycloud. This will create a folder with the same name containing the following files:
app.yaml: YAML application configuration file
favicon.ico: Icon image
index.yaml: Auto generated file
main.py: Main entry point for the web application
Add NumPy to the libraries.
First, we need to let GAE know that we
want to use NumPy. Add the following lines to the app.yaml configuration file in the libraries section:
- name: NumPy version: "1.6.1"
The configuration file should have the following contents:
application: numpycloud version: 1 runtime: python27 api_version: 1 threadsafe: yes handlers: - url: /favicon\.ico static_files: favicon.ico upload: favicon\.ico - url: .* script...
Change the font size
Change margin width
Change background colour