deeplylovepython.blogspot.com
deeply love python: using static files
http://deeplylovepython.blogspot.com/2008/08/using-static-files.html
Add following lines in yaml. 160; static dir: stylesheets. Add a directory stylesheets under project directory . Css files are in this directory. Add following lines in html. 160; link type="text/css" rel="stylesheet" href="/stylesheets/main.css" /. 標籤: google app engine. 訂閱: 張貼留言 (Atom). Deeply love javascript and ajax. Deeply love html and css. Deeply love apple and mac. Using django with app engine. Webpage about django and app engine. Create application on app engine. A hello world page.
deeplylovepython.blogspot.com
deeply love python: URL mapping in app engine
http://deeplylovepython.blogspot.com/2008/09/url-mapping-in-app-engine.html
URL mapping in app engine. Defined in app.yaml. Appyaml defines which handler script will handle the request(URL). 標籤: google app engine. 訂閱: 張貼留言 (Atom). Deeply love javascript and ajax. Deeply love html and css. Deeply love apple and mac. URL mapping in app engine. Google app engine video. App程式設計入門 iPhone . iPad 第二版 2012.2 App程式設計入門 iPhone . iPad 第一版 2010.11.
deeplylovepython.blogspot.com
deeply love python: google blogger data api & app engine
http://deeplylovepython.blogspot.com/2008/12/google-blogger-data-api.html
Google blogger data api and app engine. Gdata feed fetcher code. Svn co http:/ google-app-engine-samples.googlecode.com/svn/trunk/gdata feedfetcher. 1 get gdata library. Http:/ code.google.com/p/gdata-python-client/. 2 copy gdata and atom directories of gdata-python-client library into project directory. Get blogs updated at today:. Ex: if today is 2008-12-30, want to get blogs with tag "apple command". Http:/ deeplyloveapple.blogspot.com/feeds/posts/default/-/apple%20command? 標籤: google api.
deeplylovepython.blogspot.com
deeply love python: using django with app engine
http://deeplylovepython.blogspot.com/2008/08/using-django-with-app-engine.html
Using django with app engine. 1 create django project. 160; django-admin.py startproject Test. 2 add main.py in project:. Google App Engine imports. From google.appengine.ext.webapp import util. From django.core.management import setup environ. Force Django to reload its settings. From django.conf import settings. Settings. target = None. Import django.core.handlers.wsgi. Import django.core.signals. Import django.dispatch.dispatcher. Unregister the rollback event handler. If name = ' main ':.
deeplylovepython.blogspot.com
deeply love python: 七月 2008
http://deeplylovepython.blogspot.com/2008_07_01_archive.html
If model in Django wants to use ImageField, we must install python imaging library. 標籤: python general. 160;template object and context object:. From django.template import Template, Context. A=Template(" p hello { name} /p "). B=Context({ 'name': 'Peter' } ). In template define the variable. Context is a dictionary that map variable to value. Render function replace the value with value. Call method in }:. No () and no arguments. List in }:. Dictionary in }:. 160; hello. 160;ifequal a b %}.
deeplylovepython.blogspot.com
deeply love python: create application on app engine
http://deeplylovepython.blogspot.com/2008/08/create-application-on-app-engine.html
Create application on app engine. 1 create an application from http:/ appengine.google.com/. 160; application identifier must be the same as application in app.yaml. 160; appcfg.py update helloworld. 3 by default,. 160; the application url is http:/ helloworld.appspot.com/. 標籤: google app engine. 訂閱: 張貼留言 (Atom). Deeply love javascript and ajax. Deeply love html and css. Deeply love apple and mac. Using django with app engine. Webpage about django and app engine. Create application on app engine.
deeplylovepython.blogspot.com
deeply love python: 九月 2008
http://deeplylovepython.blogspot.com/2008_09_01_archive.html
URL mapping in app engine. Defined in app.yaml. Appyaml defines which handler script will handle the request(URL). 標籤: google app engine. Google app engine video. Campfire One: Introducing Google App Engine . Http:/ tw.youtube.com/watch? V=3Ztr-HhWX1c&eurl=http:/ code.google.com/appengine/articles/cf1-text.html. 標籤: google app engine. 訂閱: 文章 (Atom). Deeply love javascript and ajax. Deeply love html and css. Deeply love apple and mac. URL mapping in app engine. Google app engine video.
deeplylovepython.blogspot.com
deeply love python: 六月 2008
http://deeplylovepython.blogspot.com/2008_06_01_archive.html
A python file is a module. Use import to import module:. This will import test.py. A module is imported only once per process by default. Further imports reuse loaded modules in memory. Use sys.modules.keys() to find loaded module. When module is imported, the module is executed. Import modules in other directories:. 1 only use import:. 2 use import and from. From test import run. Now we can reference run() without test. From test import *. Now we can reference any attribute of module test. 160; &#...