What can Python not do? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

What can Python not do?

I feel like there is a module for everything in Python :P Am I wrong?

4th May 2017, 5:19 PM
Martin Möhle
Martin Möhle - avatar
11 Answers
+ 9
@Kuba.. But there are a lot of Python compilers! So it defenetly CAN
4th May 2017, 5:29 PM
WittyBit
WittyBit - avatar
+ 8
@Kuba, I had one math expression compiler without any libraries. Old code written within 1 day .. And now I'm looking forward to use some LLVM framework. To generate optimized code much more easelly. If you want to learn it with me and try something challenging - write in my collaboration thread. We will make it possible!
4th May 2017, 7:24 PM
WittyBit
WittyBit - avatar
+ 7
Yeah, you are... But... you can create your own module in C++ if you want at any time! So let's think there MIGHT BE a modules for everything.
4th May 2017, 5:24 PM
WittyBit
WittyBit - avatar
+ 7
@Kuba... Compiled to run with their 'natural environment'... =~)
4th May 2017, 6:57 PM
WittyBit
WittyBit - avatar
+ 7
@Kuba, yeah, maybe... Let's make our own compiler! I know how to fix some issues... Maybe we will lose dynamic variables allocation(And then we'll add var table) Maybe we will losr objects(But they are just dictionaries, so we'll add them) Something else?
4th May 2017, 7:13 PM
WittyBit
WittyBit - avatar
+ 7
If you want a compiler, you have to go down a level or two, in a programming sense :) That's where the fun starts ;)
4th May 2017, 7:20 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 6
Those are not compilers - those are "embedders" :) They make the code executable, sure. But the program itself is still not compiled - it just unpacks an interpreter on the go and runs it (along with all necessary imported modules).
4th May 2017, 5:33 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 6
interpreted langs are compiled langs * i see people are afraid of this statement maybe if they asked i'll give the explanation . . .
9th Jun 2017, 5:34 AM
Abdur-Rahmaan Janhangeer
Abdur-Rahmaan Janhangeer - avatar
+ 5
You can imagine driving an electrical cofee machine with Python... but you cannot find module to use it for directly produce cofee ;P
4th May 2017, 6:52 PM
visph
visph - avatar
+ 4
@Michael I always underline this - Python executables are cool and all to show off and demonstrate something on different environments. But you have to take into account that it contains the whole freaking package - and might as well be a 20-40MB .exe file that when run - prints "Hello world!" and is terminated :)
4th May 2017, 7:08 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar
+ 2
It can't compile :)
4th May 2017, 5:25 PM
Kuba SiekierzyƄski
Kuba SiekierzyƄski - avatar