The first few Python projects weren’t as difficult as the latest homework(homework 4). Despite having a decent knowledge in Python syntax, homework 4 is taking a fair bit of time. We have to create a mini language in Python. The basic functionality of the program involves getting keywords from the user commands and executing them such as adding files, removing, sort, search, etc. So far I have implemented two of the functions and it was very tough doing that. Initially, I created a list to store the data. I later realized that this could improved by having a dictionary which stores two values for each node of the list instead of one. This enables us to have the data variable name in one field and the content in the other. After making slight modifications to the existing code, I was able to implement it using both list and a Dictionary. I am planning on finishing this project today or tomorrow based on my workload.
For the first time, I have projects due for Software Engineering and Unix within two days. The project for Unix is due on Wednesday and the project for Software engineering is due on Friday. For the software engineering project, I have to loop across Directories and print out files and associated memory of each files and directories. The Qt libraries have several built in functions that we can use to iterate through the directories and files.
Previously, the sound was not working while I was on the Unix system. After doing some research and installing some drives, it was finally working. I later realized that the sound was not coming from the head phone jack. Presently, I am working on that issues. These are my updates for week 3/4> Please check back next week for a new post.