Using Python to automatically boot my computer at a specific time and play a podcast

Petite Abeille petite.abeille at gmail.com
Sun Jun 16 15:44:54 EDT 2013


On Jun 16, 2013, at 9:06 PM, C. N. Desrosiers <cndesrosiers at gmail.com> wrote:

> I'm planning to buy a Macbook Air and I want to use it as a sort of alarm.  I'd like to write a program that boots my computer at a specific time, loads iTunes, and starts playing a podcast.

Under preferences, take a look at Energy Saver -> Power Adapter -> Schedule -> Start up or wake.

Alternatively, the command line utility pmset allows one to access the same functionalities.

>  Is this sort of thing possible in Python?

Sure. But why bother? All at one's finger tip already...






More information about the Python-list mailing list