# Python 3: Simple output (with Unicode)
>>> print("Hello, I'm Python!")
Hello, I'm Python!
# Input, assignment
>>> name = input('What is your name?\n')
>>> print('Hi, %s.' % name)
What is your name?
Python
Hi, Python.
After taking several courses, I have learned lots of skills about social media with both conceptual and technical aspects. To be honest, I didn't use python before this course although my major was computer science in undergraduate. But when using it, I find that it is much easier than any other programming language I use before, like C, C++, JAVA and C#. There's no doubt that each language has its own advantages but the most suitable and convenient programming language to analyze social media is only Python.
So what is Python first?--------Python is a widely used general-purpose, high-level programming language. Its design philosophy emphasizes code readability, and its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C++ or Java. The language provides constructs intended to enable clear programs on both a small and large scale.
Python is easy to learn for the beginners. I have to say its advantages when using it. First I want to say it is simple. Reading Python program feels like just reading English so people can solve problems directly but not try to understand this language itself first. Secondly, I want to say it is easy to get started because Python has extremely simple documentation. Thirdly, it has a very good running speed with developed by C language and many standard libraries and third-party libraries are written by C too. Fourthly, Python is one of FLOSS, so users can publish this software's copy and change it personally or use it into new software. As high-level language, uses don't worry some bottom details like memory usage or some management of memory when using python. What is the most important I think is that Python standard library is really huge which can handle much work. I guess this is the reason why python is a best tool to analyze social media.
We did two assignments of Social Media Analytics already. One is to do statistics of the frequency occurrence of key words and another is to analyze the word in article belongs to which category. We can use some functions to solve it, like Sharding, Counting, Sort to solve questions directly and simply.
Having Python, I become more and more interested in this course and love to program because we can not only to analyze some surface itself but also can move into essential aspects.
Your blog is cool and Python plays an important role at present. Hope I can learn more about it.
回复删除I think the display style of your blog is very cool.The language is also vivid. And I also agree with you about Python. Thank you for your sharing.
回复删除