The Brief: Python Webservice APIs
For the next practical exercise you must create an auto-tweet agent.
Your program should identify the most recent page viewed by your browser (by looking in either the “Current Session” or “History” file). It should then acquire the title of the page last viewed.
For example, the title of the Ebay main page is: Electronics, Cars, Fashion, Collectibles, Coupons and More | eBay.
Your program should then tweet the fact that you liked the page:
I’m really liking Electronics, Cars, Fashion, Collectibles…
You’ll get more marks if you use the History file (it’s harder !) Include a loop so that it tweets about the most recent page every hour.
Continue reading “DAT 505 – Assignment Part 4 – Python Webservice APIs”
The Brief – Python Multimedia:
In the next practical you must create a graphical visualisation of a textual data file (to be given out in the practical). Read in the data and use it to generate some kind of visual output.
Rather than using Pygame to create your visualisation (which is powerful, but can be tricky to install), we will be using a library called graphics.py. This can just be dropped into your folder and used (no install needed). Continue reading “DAT 505 – Assignment – Part 3 – Python Multimedia”
The Brief – Python Chatbot:
In the practical session you will create an interactive Python chatbot. This should engage the user in interesting and intelligent conversation. The bot should be able to ask and answer questions. Try to make it as realistic and life-like as possible.
Continue reading “DAT 505 – Assignment Part 2 – Python Chatbot”