Yesterday, I installed PythonCE on my cellphone whose OS is Windows
Mobile 5.I wanted to use numpy as calculation tool.But after I copy
numpy module in my desktop computer into my phone,I find many file
names in directory \numpy were changed into capital letters.For
example:
__init__.py
was chaged
On 10月24日, 下午1时10分, "James Mills" <[EMAIL PROTECTED]>
wrote:
> On Fri, Oct 24, 2008 at 2:58 PM, <[EMAIL PROTECTED]> wrote:
> > maybe id(x) can get it ,but how to cast it back into a object
>
> You can't. Python is NOT C/C++/Java or whatever.
>
> If you have a variable, x, and you want to "copy" it
On 10月24日, 下午12时51分, [EMAIL PROTECTED] wrote:
> Hi,I have a strange idea:is there any way to get memory address of a
> object.
>
> For example:
>
> i = 10
>
> addr = get_address(i)
> address will be assigned a integer which is pointer of object
> i,then
Hi,I have a strange idea:is there any way to get memory address of a
object.
For example:
i = 10
addr = get_address(i)
address will be assigned a integer which is pointer of object
i,then I want to recast addr into another integer:
j