Skip to main content
University of Glasgow Mahara University of Glasgow Mahara
  • Login
PM617 workshop
  • Introduction to Python
  • Risk Assessment Blank Form
  • Smartphone Experiments Activity
  • Twitterology Science & Social Media
  • Zoology Activity

Introduction to Python This page is part of the collection 'PM617 workshop'.

  • Print Print

Minkang Xie's profile picture

Minkang Xie
10 April 2023 at 17:31

python is a very promising high-level language that has evolved over the years and is playing an increasing role in programming. During this semester, I have also gained some knowledge of python through the basics learned in my optional python class. Also, python is a great convenience for programmers compared to c when it comes to string handling. And python is not only that, but it also has a lot of libraries, and it is because of its powerful libraries that programming becomes less difficult. However, I think that while python is convenient in many ways compared to c, it also has its relatively weaker aspects, such as for loops and other aspects. Although I have only learned the basic aspects of python over the semester, the power of python is enough to attract me, and I hope that I will be able to learn python even better as I continue to learn. python is a very promising high-level language that has evolved over the years, and its role in programming is growing. During this semester, I have learned the basics of python through my elective python class.

 

In the first class of learning python, its initial impression on me was that it was much more concise compared to the c programming language I had studied. All the variables do not need to be defined in advance like in c, which gives the programmer a lot of freedom and convenience. For example, if x=2, the variable can be defined and assigned at the same time. This simplifies the code of the program in many ways. Also, python gives the programmer a great deal of convenience when dealing with strings compared to c. In c, only characters can be used. In c, you can only use arrays of characters to manipulate strings, and the steps are relatively cumbersome, whereas in python, when you need to create a string, all you need to do is use "s=" when creating the string. And python is not only that, it has a lot of libraries, and because of its powerful libraries, it makes programming less difficult. We only need to call the functions in the library, and there is no need for a specific implementation of the functions.

 

However, I think that while python is easier than c in many ways, it also has its weaker aspects, such as for loops and so on. It still doesn't affect the power of python though, and as it has grown in popularity in recent years, and the areas it is used in, such as artificial intelligence and big data, python is playing an important role in them. Although I have only learnt the basic aspects of python over the semester, the power of python is enough to attract me, and I hope I can learn python even better as I continue to learn.

 

In this study, I have grown in my ability to understand a new programming language and have a deeper understanding of python. In the future, I will deepen my understanding of python and really get to grips with this programming language.

Attachments (4)
  • Python1.jpgDownload Python1.jpg [129.9KB]
  • Python2.jpgDownload Python2.jpg [28.6KB]
  • Python3.jpgDownload Python3.jpg [35.7KB]
  • Python4.jpgDownload Python4.jpg [91.3KB]

Confirm copying

Please choose which you would like to copy:

Updated on April 10, 2023; 325 page visits from 10 April 2023 at 17:26 to 26 May 2025 at 0:15

This is the block content before your last saved changes. Restore it to replace the current content.

Powered by Mahara
  • Legal
  • About
  • Contact us
  • Help