Hello. For documening my thesis project, i'm, looking for 2 things:
A GUI tool that allows me to enter descriptions, arguments, return
values etc, for each function, class, etc. in some forms and then
generates and inserts the correct comment syntax, so pydoc can generate
the documentation H
MRAB wrote:
Esben von Buchwald wrote:
Hello
Are there any simple ways to collect the data, python prints to the
console when running an app?
I'm doing som apps for S60 mobile phones and can't see the console,
when the UI is running, but i'd like to collect the output, to loo
Hello
Are there any simple ways to collect the data, python prints to the
console when running an app?
I'm doing som apps for S60 mobile phones and can't see the console, when
the UI is running, but i'd like to collect the output, to look for
eventual exceptions etc.
Cant it be redirected
It seems to solve the problem.
What I did:
def contextDataHandler(self):
self.contextdata.process_busy=True
self.services.findServices()
self.drawDisplay()
self.contextdata.process_busy=False
def doCallback(self):
self.at.cancel()
if self.
Hendrik van Rooyen wrote:
Hmm - now I am really starting to fly by the seat of my pants - but it looks
as if your problem is that your routine is basically being called faster than
what it can do the processing.
So what I would try is to define a global (you should really acquire a lock,
bu
Dennis Lee Bieber wrote:
The only other thing I could suggest is exactly what is done on:
http://pys60.garage.maemo.org/doc/s60/node59.html
Initialize a counter value to 0, then increment it in the callback,
only doing REAL work every n calls.
def doCallback(self):
Dennis Lee Bieber wrote:
On Tue, 25 Aug 2009 15:21:16 +0200, Esben von Buchwald
declaimed the following in
gmane.comp.python.general:
This is how the accelerometer is accessed
http://pys60.garage.maemo.org/doc/s60/node59.html
I found this called "after"...
http://pys60.garage.mae
Hendrik van Rooyen wrote:
would that be usable?
Probably
If so, how?
This is a guess, for your device, but I suspect
something along these lines:
t = Ao_timer()
cb = t.after(100,thing_that_does_the_work(with_its_arguments))
Lots of assumptions here - the 100 should give you a tenth of a s
Dennis Lee Bieber wrote:
On Mon, 24 Aug 2009 17:32:23 +0200, Esben von Buchwald
declaimed the following in
gmane.comp.python.general:
I'm new to python, what is an after function and an after call? Couldn't
find excact answer on google...? Do you have a link to some docs?
Hendrik van Rooyen wrote:
see if there is an "after" method somewhere.
What you have to do is to "break the link" between the callback
and the processing. Your code above is all in the callback "thread", despite
the fact that you call another function to do the processing.
So if you replace
Hello
I'm using Python for S60 1.9.7 on my Nokia phone.
I've made a program that gets input from an accelerometer sensor, and
then calculates some stuff and displays the result.
The sensor framework API does a callback to a function defined by me,
every time new data is available.
The prob
11 matches
Mail list logo