Path: csiph.com!usenet.pasdenom.info!gegeweb.org!newsfeed.kamp.net!newsfeed.kamp.net!news.unit0.net!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.030 X-Spam-Evidence: '*H*': 0.94; '*S*': 0.00; 'subject:Python': 0.06; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:skip:a 10': 0.09; 'itunes,': 0.16; 'message-id:@4ax.com': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'starts': 0.20; 'python?': 0.22; 'url:home': 0.24; 'sort': 0.25; 'define': 0.26; 'task': 0.26; 'header:X-Complaints-To:1': 0.27; 'leave': 0.29; "i'm": 0.30; 'loads': 0.31; 'run': 0.32; 'subject:time': 0.33; "i'd": 0.34; "can't": 0.35; 'version': 0.36; 'scheduled': 0.36; 'charset:us-ascii': 0.36; 'possible': 0.36; 'should': 0.36; 'received:76': 0.38; 'to:addr:python-list': 0.38; 'planning': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'happen': 0.63; 'air': 0.66; '(probably': 0.84; 'boots': 0.84; 'macbook': 0.84; 'subject:Using': 0.84; '2013': 0.98 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Dennis Lee Bieber Subject: Re: Using Python to automatically boot my computer at a specific time and play a podcast Date: Sun, 16 Jun 2013 16:18:07 -0400 Organization: IISS Elusive Unicorn References: <6f5ad203-f692-414f-a895-2c474082e9bb@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: adsl-76-249-21-190.dsl.klmzmi.sbcglobal.net X-Newsreader: Forte Agent 6.00/32.1186 X-No-Archive: YES X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 16 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1371414010 news.xs4all.nl 15870 [2001:888:2000:d::a6]:46407 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:48479 On Sun, 16 Jun 2013 12:06:08 -0700 (PDT), "C. N. Desrosiers" declaimed the following: >Hi, > >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. Is this sort of thing possible in Python? > Uhm... It can't run a program until after it has been booted. And if you leave the system up and running, I'm sure the OS has some sort of scheduled task system (probably a version of cron) in which you can define what should happen when... -- Wulfraed Dennis Lee Bieber AF6VN wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/