15.04.2013 Views

Core Python Programming (2nd Edition)

Core Python Programming (2nd Edition)

Core Python Programming (2nd Edition)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

23-8. Microsoft Outlook and Web Services. Similar to the previous problem, do the same<br />

thing, but put the data into a new e-mail message that you send with Outlook. Extra<br />

Credit: Do the same thing but send the e-mail with regular SMTP instead. (You may<br />

wish to refer to Chapter 17 on Internet Client <strong>Programming</strong>.)<br />

23-9. Microsoft PowerPoint. Design a presentation slide creator. Design the specification of a<br />

text file that users will create with Word or a normal text editor. Using the<br />

specification format, read in the presentation data and create the appropriate<br />

PowerPoint slides all as part of a single presentation.<br />

23-10. Microsoft Outlook, Databases, and Your Address Book.Write a program that will<br />

extract the contents of an Outlook address book and store the desired fields into a<br />

database. The database can be a text file, DBM file, or even an RDBMS. (You may<br />

wish to refer to Chapter 21, Database <strong>Programming</strong>.) Extra Credit: Do the reverse ...<br />

read in contact information from a database (or allow for direct user input) and create<br />

or update records in Outlook.<br />

23-11. Microsoft Outlook and E-mail. Develop a program that backs up your e-mail by taking<br />

the contents of your Inbox and/or other important folders and saves them in (as close<br />

to) regular "box" format to disk.<br />

23-12. Microsoft Outlook Calendar. Write a simple script that creates new Outlook<br />

appointments. Take at least the following as user input: start date and time,<br />

appointment name or subject, and duration of appointment.<br />

23-13. Microsoft Outlook Calendar. Build an application that dumps the contents of your<br />

appointments to a destination of your choice, i.e., to the screen, to a database, to<br />

Excel, etc. Extra Credit: Do the same thing to your set of Outlook tasks.<br />

23-14. Multithreading. Update the Excel version of the stock quote download script (estock.<br />

pyw) so that the downloads of data happen "concurrently" using multiple <strong>Python</strong><br />

threads. Optional: You may also try this exercise with Visual C++ threads using<br />

win32process.beginthreadex().

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!