Re: i have to change default tab length in pydev

2009-04-01 Thread Coonay
On Mar 31, 8:39 am, "Rhodri James" wrote: > > i understand that you get request token,and you need to get Access > > tokens after that, > > my question is about Access tokens:which mechanism  do u use to tore > > access tokens for future use > > I'm sorry, I have no idea what you're talking about

Re: how to optimize zipimport

2009-03-30 Thread Coonay
On Mar 26, 1:38 pm, John Machin wrote: > On Mar 26, 2:06 pm, Coonay wrote: > > > see,the zipimort takes nearly 0.5 second > > > D 03-25 07:53PM 21.374 > > Loading __main__ > > I 03-25 07:53PM 21.455 > > zipimporter('/base/data/home/apps

Re: i have to change default tab length in pydev

2009-03-29 Thread Coonay
On Mar 30, 6:13 am, "Rhodri James" wrote: > On Sat, 28 Mar 2009 11:30:36 -, Coonay wrote: > > during last few days, i code python using notepad++ or pydev, the > > compiler always complain there is a problem with Indentation,in my > > eyes ,there is no Inden

if there is a return type of a method definition like java does

2009-03-29 Thread Coonay
if there is a return type of a method definition,that would lead to faster decision to do with the method called,do you think so? -- http://mail.python.org/mailman/listinfo/python-list

i have to change default tab length in pydev

2009-03-29 Thread Coonay
during last few days, i code python using notepad++ or pydev, the compiler always complain there is a problem with Indentation,in my eyes ,there is no Indentation problem at all,because i format the code to make it comply with python style guide strictly,but after i change the default tab length ,i

how to optimize zipimport

2009-03-26 Thread Coonay
in my mudule ,i import another mudule from a zip , when i call my mudle method,the module in the zip will be import from the zip every time,that slow down the operation, i try to search the some workarodnd or solution but i don't get one, could you help me ? -- http://mail.python.org/mailman/li

Re: how to optimize zipimport

2009-03-25 Thread Coonay
see,the zipimort takes nearly 0.5 second D 03-25 07:53PM 21.374 Loading __main__ I 03-25 07:53PM 21.455 zipimporter('/base/data/home/apps/coonay/1.332322118600950324/ django.zip', '') W 03-25 07:53PM 22.046 appengine_django module On Mar 26, 10:41 am, Coonay wrote:

Re: urllib2.URLError:

2009-03-12 Thread Coonay
:\PROGRA~1\Python26\lib\urllib2.py", line 361, in _call_chain result = func(*args) File "C:\PROGRA~1\Python26\lib\urllib2.py", line 1138, in https_open return self.do_open(httplib.HTTPSConnection, req) File "C:\PROGRA~1\Python26\lib\urllib2.py", line 1105, in do_open

Re: can python import class or module directly from a zip package

2009-03-12 Thread Coonay
On Mar 11, 9:47 pm, Lorenzo wrote: > On Mar 10, 2:13 pm, Flank wrote: > > > can python import class or  module directly from  a zip package ,just > > like jave does from jar package without extracting the class file into > > directory > > > so far as i know ,python module should be unzip to file

urllib2.URLError:

2009-03-10 Thread Coonay
i use python2.6 File "C:\PROGRA~1\Python26\lib\urllib2.py", line 383, in open response = self._open(req, data) File "C:\PROGRA~1\Python26\lib\urllib2.py", line 401, in _open '_open', req) File "C:\PROGRA~1\Python26\lib\urllib2.py", line 361, in _call_chain result = func(*args) F