Re: [Tutor] time.sleep() error

2005-08-02 Thread sunny sunny
Some additional information: I am calling this function from a thread and I get the error. However if I call the function from the main program it works fine. I am using thread.start_new_thread() to start the thread. Thanks. Santosh. On 8/2/05, sunny sunny <[EMAIL PROTECTED]> wrote

[Tutor] time.sleep() error

2005-08-02 Thread sunny sunny
Hi all, I am using time.sleep to stop my program execution for some time. I have imported time and am able to use it sucessfully in the main program. However if I use it in any function I get the following error: the time.sleep(1) command generates this error : TypeError : 'int' object is not ca

Re: [Tutor] Color text in Text widget

2005-08-02 Thread sunny sunny
quot;) > > txtBox.insert(END,"I am red ", "r") > txtBox.insert(END,"and I am blue\n", "b") > > Hope that helps > jorge > > >From: sunny sunny <[EMAIL PROTECTED]> > >To: tutor@python.org > >Subject: [Tutor] Color t

[Tutor] Color text in Text widget

2005-08-01 Thread sunny sunny
Hi all, How do I add color to the text in the Text widget? I tried using the ASCII sequence but it didnt work. For example, I want to add: This is red , but this is blue Thanks. Santosh. ___ Tutor maillist - Tutor@python.org http://mail.python.or

Re: [Tutor] Getting singal strength of the received packet

2005-07-19 Thread sunny sunny
m 2 header gives you parameters such as the signal strength etc which depend on the physical channel. My knowledge in this area is limited. Santosh. On 7/19/05, Byron <[EMAIL PROTECTED]> wrote: > sunny sunny wrote: > > >Hi, > > > >I am sending and receiving for a sim

[Tutor] Getting singal strength of the received packet

2005-07-19 Thread sunny sunny
Hi, I am sending and receiving for a simple server application over wirless link. Can I get the signal strength of the received packet in Python? One way would be to get the value of the RSSI from /proc/net/wireless. However I would like to get the signal strength (in terms of RSSI or dBm) of t