[Web-SIG] WAP communicating with server-side Python

2010-08-03 Thread David Shi
Is there an equivalent mailling list for WAP? I am in need of a very simple demo website/webpage accessible by mobile handset and simply get a few critical data, e.g. its id, or/and x, y, z position. http://www.google.co.uk/search?hl=en&q=how+to+mobile+website&aq=8&aqi=g10&aql=&oq=how+to+mobile&gs

[Web-SIG] High Performance solutions are needed to do things like urlretrieve

2010-07-14 Thread David Shi
urlretrieve works fine.  However, when file size get very large.  It goes on forever, and even fails. For instance, one of download .zip file is of 363,096KB. Particularly, when trying to get, with urlretrieve, a zipped folder of a very large size, it could take up to 20 to 30 minutes.  Often i

[Web-SIG] Shortening execution time of Python script

2009-09-09 Thread David Shi
I have a Python script that automatically downloads zip files containing large datasets from another server and then unzips the files to further process the data.   It has been used as a geoprocessor of ArcGIS Server.   The script works fine when two datasets each has several kilobytes size, but

[Web-SIG] Python-generating tokens dynamically at runtime

2009-04-15 Thread David Shi
I am using Python and promoting the use of Python. I am now interesting in finding good demos on generating tokens dynamically and using Javascript to call RESTful services with token embedded. Regards. David ___ Web-SIG mailing list Web-SIG

Re: [Web-SIG] RESTful Python email list?

2009-04-14 Thread David Shi
I am using Python and promoting the use of Python.  I am now interesting in finding good demos on generating tokens dynamically and using Javascript to call RESTful services with token embedded.   Regards.   David --- On Sat, 11/4/09, Jim Fulton wrote: From: Jim Fulton Subject: Re: [Web-SIG]

[Web-SIG] Use both Python and Javascript in html webpages

2009-03-04 Thread David Shi
Can we use both Python and Javascript in html webpages?   Any demo on this?   Regards.   David ___ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.org/mailman/options/web-sig/arc

[Web-SIG] Dynamically updating sections of webpage

2009-02-08 Thread David Shi
I want to dynamically update sections of webpage, something like a div or table or frame.   Where can I find best examples/demos for this?  Preferably with a generic loader.   I would also like to find a best book on this.  It needs to be concise, well explained and can be applied universally.  

[Web-SIG] How to use IIS Session ID in Dojo and Python - any demo scripts?

2009-01-20 Thread David Shi
Hello,   I am using Dojo at the client-side and Python at the server-side on a Windows server with IIS.   I am looking for concise instruction on how to use session ID in Dojo and Python.  Working demo scripts in Dojo and Python are preferred.   At the front-end/client-side, Dojo needs to tell us

[Web-SIG] Looking for an efficient Python script to download and save a .zip file programmatically

2009-01-10 Thread David Shi
I am looking for an efficient Python script to download and save a .zip file programmatically (from http or https call).   Regards.   David ___ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http

[Web-SIG] Fw: Extracting data from XML containing CDATA and store data in a .dbf file

2008-12-18 Thread David Shi
From: David Shi Subject: Extracting data from XML containing CDATA and store data in a .dbf file To: h...@python.org Date: Thursday, 18 December, 2008, 3:41 PM I am looking for advice/efficient script to extract data from XML containing CDATA.   I wish to extract all the data and store

Re: [Web-SIG] Looking for a Python Ajax Middleware script

2008-11-13 Thread David Shi
un-gzip it.   Regards.   David --- On Fri, 31/10/08, Benji York <[EMAIL PROTECTED]> wrote: From: Benji York <[EMAIL PROTECTED]> Subject: Re: [Web-SIG] Looking for a Python Ajax Middleware script To: [EMAIL PROTECTED] Cc: web-sig@python.org Date: Friday, 31 October, 2008, 1:13 PM 2008

[Web-SIG] Has anyone tried calling zip.py in feedback.py and print out an innerHTML to provide a download link?

2008-11-11 Thread David Shi
Hello, there.   Has anyone tried calling zip.py in feedback.py and print out an innerHTML to provide a download link?   I find difficult to make it work.   Sincerely,   David  #** # Description: #Zips the contents of a folder.

[Web-SIG] Looking for a nitty-gritty Python Ajax middleware script to fire off a number of processors

2008-11-06 Thread David Shi
Dear All,   I am looking for a nitty-gritty Python Ajax script to fire off a number of processing programmes, periodically checking their operations, sending messages back to an HTML div form by sending back the links of generated data files, to be downloaded by end users.   I am using .NET IIS

[Web-SIG] Looking for Python script to upload large data files over the internet

2008-11-05 Thread David Shi
Can anyone help?   I am looking for excellent Python scripts to upload large data files over the internet. Regards.   David ___ Web-SIG mailing list Web-SIG@python.org Web SIG: http://www.python.org/sigs/web-sig Unsubscribe: http://mail.python.

[Web-SIG] Seeking advice on user, session and folder management

2008-11-04 Thread David Shi
Looking for Python script to do the following.   Can anyone point me to right direction to implementing automatic registration, authentication similar to most modern web services?  I wish to obtain similar script to customise and further develop to add automatic allocation of folders by using th

[Web-SIG] Looking for a generic XMLrequest and data extraction script

2008-10-31 Thread David Shi
Hello,   I am also looking for a Python script to do the following:   Send an http request to a remote geodata server and read the data into our existing Python geoprocessing scripts.   Is there a generic script available so that I can customise it for the project in hand?   Sincerely,   David

[Web-SIG] Looking for a Python Ajax Middleware script

2008-10-31 Thread David Shi
Has anyone tried the following with Python?   1. Put a code into the script like Feedback.  The code is actually a data processing program/script, which runs about 1 or 2 minutes, generates a new file on the server for users to download. Or the code/script of data proc