24 Respuestas
+ 8
Zerø Twø
Hi, just start coding and discover for yourself!
+ 7
Python has become one of the most popular programming languages in the world in recent years. It's used in everything from machine learning to building websites and software testing. It can be used by developers and non-developers alike.
Python is commonly used for developing websites and software, task automation, data analysis, and data visualization. Since it’s relatively easy to learn, Python has been adopted by many non-programmers such as accountants and scientists, for a variety of everyday tasks, like organizing finances.Data analysis and machine learning
Web development
Automation or scripting
Software testing and prototyping
Everyday tasks
+ 5
StarBoiRion for game dev C++/C# would be the reccomended options. Python is comparatively slower and you cannot make really complex games with it
+ 3
Currently I think it is most popular in machine learning (Artificial Intelligence)
Note: yesterday I read python is also popular among hackers. Isn't this crazy!? Python can be used in almost anything.
+ 3
🤩 Python is one of the most loved programming languages in the community.
🤩 Python is simple and easy to use. It avoids a lot of pain points we found in other languages.
👨💻 ~Areas~
1 ) AI 🤖
📚 We can find tons of super useful libraries for every step in developing AI-based applications.
💆♂️ They help us to solve complex mathematical problems needed for AI with few lines of code.
2 ) Web 🌐
😎 Django is another most popular framework for web development and Django REST for web API development.
😃 plus point: we can easily implement machine learning in our web project if we use python based web framework.
3 ) Game Development 🎮
🐍 Pygame library allows us to develop cross-platform games using python.
🤔 We can use python for any kind of software development but I can't recommend it 🤷♂️.
💁♂️ For example, we can use python for developing android apps 📱. but it never gets performance and robustness like the android app which is built using Java or Kotlin🔥.
+ 3
Python is best language and main feature in python I was like it has modules for everything,
+ 1
Also, i believe a good code also needs comments. When developing a full application, it's hard to remember everything and quickly become a headache in case of nested functions. So, a comment will help in saving lot of time.
+ 1
Python is a jack of all trades but performs really well in multiple domains: best choice for data science, artificial intelligence, machine learning, robotics; one of the most solid choices for backend web development (with Django framework), among other uses
+ 1
I heard that python can be used in game development, so that's what got me to try to learn it
+ 1
Python is one of the most wide used langs in the world. There are so much great ways to work with Python.
Use libs and modules to open some of them.
Tkinter lib is used to create graphic apps and games for Windows PCs and MACs.
Yfinance lib is used to get financial data.
There are more than 100 libs and modules in Python.
0
Data Science and using Lybraries.
Especially short codes are very easy to write in python. But as you can do everything in python there simply is no best… what is the best thing you can use english for?
0
Sandeep Almost every langiage can be used in almost anything
0
Alexander Thiem
oh! I am new, i don't know much about other languages.
I have a question, can we use Java or C in Web development or ml or hacking?
For example:- we have django or flask in python for backend
0
Web development? For sure there are Java/C/… Frameworks for web development… pretty sure they are even a lot older than pythons and were used more for a long time. And are more efficient for sure.
Machine Learning? Sure! I myself wrote some (obviously inefficient) programms in C++ (which basically is C). Many Python Lybraries such as numpy and pytorch are written in C, because Python is just slow as fuck. Python is NEVER going to win this race because it is interpreter based…
For hacking i have not much experience, but all of the hacking tools and attacks i know (Dos, MIA, owerflow, bruteForce/social/virus/worms) can be made in every language… and afterall python itself is written in C.
Pythons only strengths are (my view):
- Huge accesibility of Lybraries
- seemingly easy/ quick to use (only for small projects)
While it feels overly complicated for more advanced tools and unreadable for big projects and is very slow. It should be mainly used for teaching the very beginnings from my point of view
0
Thanks for telling me something new :)
looks like I have to learn more.
Also, about teaching perspective, other langs like C is hard to type, I have tried learning it earlier but couldn't so why not just continue with implementation like numpy. (both the benefit of speed and easy syntax) what do you think?
0
Adam Sandero someone will need to develop those lybraries anyway. And as soon as you make a huge project on your own (instead of only using Lybraries), your code might be to slow for your needs.
But what disturbs me most about python is, that at the end it isnt really easier than C… instead of dealing with adresses, you need to remember how python deals with adresses (shallow copy versus deep copy). At the end you will add types everywhere anyway, because it is much more readable. There are no compile time errors, hence it is difficult to sport and correct errors. There are a lot of tools you need to remember properly when using python, such as all the list comprehension tools or generators. But i might be prejudiced, because i started with C++ and have more experience there than in python
0
Yes, python is slow but my point is, in 'ml' or 'ds' we have to deal with lot of data and I think python syntax makes it easier to interact with data instead of C or any other language.
Also, it is definitely easier than C, we don't have to worry about specifying the type when creating a variable, etc ( idk anything about C other than this ) and concepts like addresses are not too much of a headache once we know how to use it.
0
My argument was that not specifying the type makes python harder on large codebases, as you dont now exactly what type a function requires/ the compiler cant warn you in advance if you use some function wrong.
And as soon as i knew c, nothing there was a headdache for me either.
But I guess everyone should work with what he can use best
0
aren't there comments in C? (or documentation). They are required for knowing what a function does.
I think specifying the type helps the compiler to allocate and use the memory efficiently (pure guess)
0
“A good code doesnt need comments”
C++:
Queue combine(Queue first,Queue second); //<-readable function head in C++
combine(3,6); //<-returns an error before running the programm,except integers can be converted to class Queue (then it is a warning, so you know something could go wrong here due to implicit conversion)
def combine(first,second): #<- not telling anything
Combine(3,4) #<- results in a runtime error only and only if this part of code is executed, what in worst case just happens when a user uses the code, or a hacker exploits this weakness