Re: Creating a shared object in python
- From: Fabio Z Tessitore <fabioztessitore@xxxxxxxxx>
- Date: 31 Jul 2007 20:16:31 GMT
Il Tue, 31 Jul 2007 15:37:26 -0400, Delgado, Edgardo CIV NAVAIR 4.1.4.3
ha scritto:
Is there a way to create a shared object in python?
Thx,
Edgar
Usually object are shared in Python. i.e.
# a list
l = [ 1 , 2 , 3 ]
# a list containing l
m = [ l, 4, 5 ] # now m is [ [1,2,3] , 4 , 5 ]
# ok, let's change l
l[0] = 10
# now m is changed
# NOW m is [ [10,2,3] , 4 , 5 ]
.
- References:
- Creating a shared object in python
- From: Delgado, Edgardo CIV NAVAIR 4.1.4.3
- Creating a shared object in python
- Prev by Date: ◘ Legally Access FREE Satellite TV on PC ◘
- Next by Date: Re: Iteration over strings
- Previous by thread: Re: Creating a shared object in python
- Next by thread: Re: Creating a shared object in python
- Index(es):