access address from object and vice versa

Discussion in 'Python' started by Tamer Higazi, Jan 22, 2012.

  1. Tamer Higazi

    Tamer Higazi Guest

    Hi people!
    I have asked myself the following thing.

    How do I access the address of an object and later get the object from
    that address ?!

    I am heavily interisted.


    thank you



    Tamer
     
    Tamer Higazi, Jan 22, 2012
    #1
    1. Advertising

  2. On Sun, 22 Jan 2012 04:04:08 +0100, Tamer Higazi wrote:

    > Hi people!
    > I have asked myself the following thing.
    >
    > How do I access the address of an object and later get the object from
    > that address ?!


    Use another language.

    By design, Python does not provide pointers. This is a good thing,
    because it makes a whole class of bugs and security vulnerabilities
    impossible in Python.


    --
    Steven
     
    Steven D'Aprano, Jan 22, 2012
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. carmen
    Replies:
    4
    Views:
    30,753
    ersecchio
    Jan 12, 2010
  2. Sam Hwang

    Java Object to XML and vice versa

    Sam Hwang, Apr 24, 2005, in forum: Java
    Replies:
    5
    Views:
    1,024
    iksrazal
    Apr 25, 2005
  3. JyotiC

    xml to object and vice versa

    JyotiC, Jul 23, 2008, in forum: Java
    Replies:
    10
    Views:
    647
    JyotiC
    Jul 30, 2008
  4. System Administrator

    Function instanceof Object and vice-versa ?

    System Administrator, Mar 10, 2007, in forum: Javascript
    Replies:
    2
    Views:
    146
  5. Peter Otten
    Replies:
    1
    Views:
    161
    Andreas Perstinger
    Jun 18, 2013
Loading...

Share This Page