building python for qnx 6.5

2016-04-19 Thread rasikasriniva...@gmail.com
friends I am interested in python3 for QNX 6.5. Since i have not found a prebuilt distribution, I would like to build it. I wanted to find out how I could use Momentics IDE to build python for different targets. I want to build only for x86 right now but may want to build for the ARM target as

Re: Binary data exchange

2014-05-29 Thread rasikasriniva...@gmail.com
Of course Cut and paste issue. Anyhow, i will look at the struct module. cheers, srini On Thursday, May 29, 2014 7:09:21 PM UTC-4, MRAB wrote: > On 2014-05-29 23:08, rasikasriniva...@gmail.com wrote: > > > friends > > > > > > I have a pair of sim

Re: Binary data exchange

2014-05-29 Thread rasikasriniva...@gmail.com
BTW - My environment is: H:\>python Enthought Canopy Python 2.7.6 | 64-bit | (default, Apr 11 2014, 20:31:44) [MSC v .1500 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> -- https://mail.python.org/mailman/listinfo/python-list

Binary data exchange

2014-05-29 Thread rasikasriniva...@gmail.com
friends I have a pair of simple python programs as follows: #!/usr/bin/python # broadcast.py import socket from ctypes import * import random class PurgeData(Structure): _fields_ = [("press",c_int), ("ticks",c_int), ("volume",c_float)] myPort = 10756 sock=socket.socket(socket.AF_INET,s

Re: ifconfig in python

2009-01-20 Thread rasikasriniva...@gmail.com
On Jan 20, 7:33 am, Mark Wooding wrote: > Дамјан Георгиевски writes: > > Something *like*  this could work: > > >    myip = urllib2.urlopen('http://whatismyip.org/').read() > > This is going to cause all manner of problems. > > Firstly, many users are stuck behind NAT routers.  In this case, the