Object 02

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    Object 02 - Presentation Transcript

    1. ~ Python でオブジェクトがどのように生成されるか② ~ Python で 変数の値を変更すると、、、 http://www.cafechantant.com/blog/
    2. MacBook:~ kunkichi$ python Python 2.3.5 (#1, Jan 13 2006, 20:13:11) [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> a = 3 >>> a = 4 a=3 を実行した後に、 a=4 を実行して、 A の値を変えてみる。 この時 python の内部では、、、
    3. 3 値 3 のオブジェクトが作成される。
    4. 3 a 変数 a が作成される。
    5. 3 a この二つが、、、
    6. 3 a リンクする。
    7. ここまでは上の例と一緒。
    8. さらに a = 4 を実行する。
    9. 3 a 4 値 4 のオブジェクトが作成される。
    10. 3 a 4 リンク先がオブジェクト 4 になる。
    11. 3 a 4 使われなくなったオブジェクトは 廃棄される。 これが ガーベッジコレクション 。

    + kunkichikunkichi, 3 years ago

    custom

    877 views, 0 favs, 2 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 877
      • 823 on SlideShare
      • 54 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 0
    Most viewed embeds
    • 53 views on http://www.cafechantant.com
    • 1 views on http://72.14.235.132

    more

    All embeds
    • 53 views on http://www.cafechantant.com
    • 1 views on http://72.14.235.132

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories