0

Is python really a high level langage ?

Everywhere i read,it's written that python is a high level programming langage,but how is it used on electronic for low level operations or even network communications ?

16th Dec 2017, 12:37 AM
LISANGOLA BONDJALI CHRISTIAN
LISANGOLA BONDJALI CHRISTIAN - avatar
3 Réponses
+ 4
Yep. Higher-level concepts *abstract* well-known patterns from lower levels, often giving you safe, reusable, wrappable, pluggable pieces that let you just do the job (you'd spend far longer doing in a lower level) and go home. This gives you the option of choosing your battles, i.e., what details get your time. Look at any language here - they're all abstracting something (from entire computers to design patterns) into predictable, reusable parts so you don't have to fight the details...unless you want to [many languages give you such access (C: ASM, Java: Unsafe class, jQuery (loosely included for browser differences), ...)]
16th Dec 2017, 1:56 AM
Kirk Schafer
Kirk Schafer - avatar
+ 3
Highly probable that electronic is infact operated by some linux flavour and have enough memory. So python interpreter itself is run under control of OS. That means in low level the kernel is doing all low level operations and even network communications. In contrast for example it can be possible to run C/C++ program on bare metal w/o any OS at all, but you as programmer have to write every single piece of code to do everything you need: to use network you will have to write somekind of network driver and implement TCP/IP stack.
16th Dec 2017, 12:46 AM
Artem Bets
Artem Bets - avatar
+ 1
higher than Mt Everest
17th Dec 2017, 5:27 AM
manny