Reflection of class on Oct
27th
In latest class before I went to galley for
lunch, I installed the Chinese input method in my Raspberry Pi 3 but it could
only work after restarting. So the first thing I paid attention to today after
I plugged in the charging and started the computer was the upper right corner
of the surface where the input method icon located. Luckily, it works very well
today, I can switch the Chinese input method by pressing ‘command + blank’
instantly so that I can type Chinese characters conveniently in Chinese search
engine if I wanted to search some relative information of Raspberry Pi.
Well, today I read
chapter 3 and did some practice about creating interactive programs which
emphasized the interaction between users and programs. As we all know, communication
and interaction between users and programs are pretty important because most programs
need users’ feedback when they provide dedicated service for users like online
shopping and hotel booking.
We usually need sigh
up in an interactive program or input some necessary information to use it
better, so input statement is integral to achieve this function. When I used Python
3 to type some input statement and tried to function it by pressing F5, there
was an error feedback displayed on the screen that mentioned me what I had inputted
was not valuable. I had to type in double quotation mark before I inputted the
answer to the right place to avoid the appearance of the same error.
I was very confused
about it because I followed the steps of example showed in book and could not
find any particular notes about it. So why there was an error with right
operation? Suddenly I realized that the text editor what I used was not the
newest version provided by Raspberry Pi. So I opened the newest version and
type in same statements on screen and press F5 to examine it. Fortunately, it
worked well, a successful troubleshooting.
Except input
statement, I learned a lot about how to add notes in my codes regularly and
join strings together to assemble an entire sentence. Of course, they were not
difficult for me. I tried to create my own interactive program by using Python
3 after I did enough practice in class, but the class was almost over. Well, I
would do it in next class after I finished regular learning because it was necessary
for me to understand interactive program deeply.
No comments:
Post a Comment