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. Advertisements

  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. Advertisements

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. Jimmy
    Replies:
    1
    Views:
    3,334
    Eliyahu Goldin
    Jun 14, 2005
  2. carmen
    Replies:
    4
    Views:
    31,369
    ersecchio
    Jan 12, 2010
  3. Sam Hwang

    Java Object to XML and vice versa

    Sam Hwang, Apr 24, 2005, in forum: Java
    Replies:
    5
    Views:
    1,229
    iksrazal
    Apr 25, 2005
  4. -
    Replies:
    8
    Views:
    894
    Antti S. Brax
    Jun 11, 2005
  5. Matt Garman
    Replies:
    1
    Views:
    850
    Matt Garman
    Apr 25, 2004
  6. JyotiC

    xml to object and vice versa

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

    Function instanceof Object and vice-versa ?

    System Administrator, Mar 10, 2007, in forum: Javascript
    Replies:
    2
    Views:
    238
  8. Peter Otten
    Replies:
    1
    Views:
    274
    Andreas Perstinger
    Jun 18, 2013
Loading...