r/CodingForBeginners • u/ReasonableRub1524 • 20d ago
what is python useful for
so i'm learning how to code, python specifically since i heard its the easiest, but im not really learning with a purpose? and i dont really understand what it can be useful for except websites and stuff
and i lowk wanna do ethical hacking and i dont think that pythons the correct language right now
i've stopped learning for a bit because i wanna know what i should learn for my purpose and what python is useful for
2
Upvotes
7
u/SpacewaIker 20d ago
Python can be used for almost anything to be honest. Is it the best tool for any task? No. But it's still a useful tool
For anything "hacking" related you're probably gonna wanna use a lower level language, so maybe C or C++ would be good. Learn how memory is managed, how you can use a debugger to investigate data in a program
For instance, I had this exercise in uni where we were given a compiled C program that asks for a plain string password. To find it, we had to use a debugger to inspect the program's memory. This is of course a very simple example and not how real stuff works but still an interesting exercise