py test

2009-02-19 Thread ssd
test

b 


--
http://mail.python.org/mailman/listinfo/python-list


Problem with lists.

2009-02-22 Thread ssd

Hi,

In the following code, (in Python 2.5)
I was expecting to get in "b" variable the values  b: [[0, 0], [0, 1],[0,
2], [0, 3],[0, 4], [1, 0],[1, 1], [1, 2], .]
But I get only the last value [4,4], b: b: [[4, 4], [4, 4], [4, 4], ... ]

My code:

a = ["",""]
b = []

for i in range (0,5):
for j in range (0,5):
a[0] = i
a[1] = j
print "a: " + str(a)
b.append(a)

print "b: " + str(b)

what is worng in the code?

Thanks,
Bye,





--
http://mail.python.org/mailman/listinfo/python-list


WinCE and python

2009-03-04 Thread ssd
Hi,

Has somebody tested this pyhton implementation in Windows CE 6.0?
http://sourceforge.net/projects/pythonce/


I have tried in my WinCE 6.0 platform, I can run some commands in the shell,
but I can not run that commands in python script (.py), "python.exe test.py"

Bye,






--
http://mail.python.org/mailman/listinfo/python-list


python 2.6 packages in python 3.0

2009-06-02 Thread ssd
Hi,

I usually works with packages like pyserial, numpy, mathplotlib,pyUSB, etc..

When is planned that these packages are supported in Python 3.0?

Seen this i would say that is not recommendable to use Python 3.0 at the 
moment? most of 2.6 packages are not available, not working in python 3.0.

Thanks,
Bye, 


-- 
http://mail.python.org/mailman/listinfo/python-list