More compact code, thanks again to Python's syntax, along with a wealth of functionally-rich Python libraries (distributed freely with most Python language implementations).Ease of use and ease of refactoring, thanks to the flexibility of Python's syntax, which makes it especially useful for rapid prototyping.Some of the more common valid answers to this question include: The language comes with a large standard library that covers areas such as string processing like regular expressions, Unicode, calculating differences between files, Internet protocols like HTTP, FTP, SMTP, XML-RPC, POP, IMAP, CGI programming, software engineering like unit testing, logging, profiling, parsing Python code, and operating system interfaces like system calls, file systems, TCP/IP sockets.Īlthough likes and dislikes are highly personal, a developer who is "worth his or her salt" will highlight features of the Python language that are generally considered advantageous (which also helps answer the question of what Python is "particularly good for". Python is a high-level general-purpose programming language that can be applied to many different classes of problems. It uses English keywords frequently where as other languages use punctuation, and it has fewer syntactical constructions than other languages. Python is designed to be highly readable. Python is a high-level, interpreted, interactive and object-oriented scripting language. What is Python particularly good for? When is using Python the "right choice" for a project? Print("The letter at index %i is %s" % (i, letter))īonus points for mentioning enumerate and use of str.format. How can you improve the following code? import string
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |