Codesarray

@codesarray

Small games and the code behind them. Short coding lessons with real code and real output.

129 Gefolgt14 Follower337 Beiträge
  1. Codesarray@codesarray
    Beiträge @codesarray
    Full video, The import system:
    0002
  2. Codesarray@codesarray
    Python lazy import (3.15): the module loads on first use. 🐍 lazy import json "json" in sys.modules -> False json.dumps([1, 2]) "json" in sys.modules -> True #Python #Coding
    Herunterladen
    1001
  3. Codesarray@codesarray
    Beiträge @codesarray
    Full video, The import system:
    000
  4. Codesarray@codesarray
    Python import system in one idea: import checks sys.modules first, so a module runs once. 🐍 → then sys.path, first match wins → circular import? import the module, use it later → lazy import is coming in 3.15 #Python #Coding
    Herunterladen
    100
  5. Codesarray@codesarray
    Beiträge @codesarray
    Watch it here: Next up: profiling and performance.
    000
  6. Codesarray@codesarray
    Beiträge @codesarray
    Full video, Descriptors and metaclasses:
    000
  7. Codesarray@codesarray
    Beiträge @codesarray
    Full video, Descriptors and metaclasses:
    000
  8. Codesarray@codesarray
    Python descriptors, in 4 images. 🐍 An object on the class with __get__ and __set__ runs when you read or assign an attribute. property is built from one. #Python #Coding
    Herunterladen
    1001
  9. Codesarray@codesarray
    Beiträge @codesarray
    Full video:
    0001
  10. Codesarray@codesarray
    Beiträge @codesarray
    Full video, Memory model and garbage collection:
    000
  11. Codesarray@codesarray
    Beiträge @codesarray
    Full video, Memory model and garbage collection:
    000
  12. Codesarray@codesarray
    Python memory management, in 4 images. 🐍 Reference counting frees most objects at once, and the garbage collector catches the cycles it misses. #Python #Coding
    Herunterladen
    1005
  13. Codesarray@codesarray
    Beiträge @codesarray
    Full video:
    000
  14. Codesarray@codesarray
    Beiträge @codesarray
    Full video, Threads, processes and free threading:
    000
  15. Mehr Beiträge anzeigen