#python_ninja ⚔

1.4K posts

#python_ninja ⚔ banner
#python_ninja ⚔

#python_ninja ⚔

@KraftyCoder

Control freak , art 🎨, code 😌, Adrenaline junkie 😁⚡ developer 💯 Problem solver:

Kenya Se unió Şubat 2016
525 Siguiendo356 Seguidores
Okoth Kongo
Okoth Kongo@okothkongo·
learning new things for whole day,waah!! whole day!?..what about the hunger?..no don't worry we got you covered free breakfast and lunch..so don't only come with brains to learn but stomach to fill #DevFest18 #DevFestWestenKE
Okoth Kongo tweet media
English
1
2
2
0
#python_ninja ⚔ retuiteado
PyGirl
PyGirl@PyGirl254·
Day 9 Implemented user authentication and secured endpoints with tokens. #100DaysOfCode #Python #TDD
English
0
5
4
0
#python_ninja ⚔
#python_ninja ⚔@KraftyCoder·
for more information about Cpython's memory allocation, you can visit the link and also scroll at the top for more info or to start from the begining Thanks @realpython #cpythons-memory-management" target="_blank" rel="nofollow noopener">realpython.com/python-memory-…
English
0
0
4
0
#python_ninja ⚔
#python_ninja ⚔@KraftyCoder·
#CPython has an object allocator that is responsible for allocating memory within the object memory area. This object allocator is where most of the magic happens. It gets called every time a new object needs space allocated or deleted.
English
0
0
1
0
#python_ninja ⚔
#python_ninja ⚔@KraftyCoder·
When CPython(The default python implementation) handles memory, it uses the GIL to ensure that it does so safely.
English
0
0
1
0
#python_ninja ⚔
#python_ninja ⚔@KraftyCoder·
The GIL(Global Interpreter Lock) is a solution to the common problem of dealing with shared resources, like memory in a computer. which prevents garbled mess where neither of the threads ends up with what they wanted.
English
0
0
1
0
#python_ninja ⚔
#python_ninja ⚔@KraftyCoder·
Memory is a shared resource on the computer, and bad things can happen if two different processes try to write to the same location at the same time.
English
0
0
1
0
#python_ninja ⚔
#python_ninja ⚔@KraftyCoder·
Each object also has an object-specific memory deallocator that “frees” the memory once it’s no longer needed. #Python
English
0
1
1
0
#python_ninja ⚔
#python_ninja ⚔@KraftyCoder·
The PyObject, the grand-daddy of all objects in #Python, contains only two things: * ob_refcnt: reference count * ob_type: pointer to another type
English
0
0
1
0
#python_ninja ⚔
#python_ninja ⚔@KraftyCoder·
A struct, or structure, in #C, is a custom data type that groups together different data types. To compare to object-oriented languages, it’s like a class with attributes and no methods. #programming #Python
English
0
0
1
0
#python_ninja ⚔
#python_ninja ⚔@KraftyCoder·
If you have ever noticed a .pyc file or a __pycache__ folder and you've never actually noticed what they are... Then, know that they are the byte-compiled code that gets interpreted by the virtual machine. #Python
English
0
0
3
0
#python_ninja ⚔
#python_ninja ⚔@KraftyCoder·
The default #python implementation converts your Python code into instructions that it then runs on a virtual machine. In addition, #python is an interpreted prog' language
English
0
0
1
0
#python_ninja ⚔
#python_ninja ⚔@KraftyCoder·
Memory management for your Python code is handled by the Python applications.
English
0
0
1
0