Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!nntp.club.cc.cmu.edu!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!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.038 X-Spam-Evidence: '*H*': 0.92; '*S*': 0.00; '16,': 0.03; 'subject:Python': 0.06; 'subject:skip:a 10': 0.09; 'cc:addr :python-list': 0.11; 'python': 0.11; 'does,': 0.16; 'itunes,': 0.16; 'macs': 0.16; 'subject: \n ': 0.16; 'wrote:': 0.18; 'advance.': 0.19; 'starts': 0.20; 'email addr:gmail.com>': 0.22; 'python?': 0.22; 'cc:addr:python.org': 0.22; 'cc:2**0': 0.24; 'sort': 0.25; 'header:In-Reply-To:1': 0.27; 'unix': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'url:mailman': 0.30; 'that.': 0.31; 'loads': 0.31; 'run': 0.32; 'url:python': 0.33; 'subject:time': 0.33; "i'd": 0.34; 'could': 0.34; 'received:google.com': 0.35; 'version': 0.36; 'url:listinfo': 0.36; 'thanks': 0.36; 'possible': 0.36; 'hi,': 0.36; 'url:org': 0.36; 'handle': 0.38; 'planning': 0.38; 'pm,': 0.38; 'sure': 0.39; 'url:mail': 0.40; 'to:addr:gmail.com': 0.65; 'air': 0.66; 'boots': 0.84; 'macbook': 0.84; 'researched': 0.84; 'subject:Using': 0.84; 'underneath': 0.84; 'joel': 0.91; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=oi+7proEjekaV31Qh024TDEPL8UrDRRsxx375Cr/PVM=; b=ifRAn5tt5c6cY8fUFeLEF4Dd4yz1imUNHDA9CyxJwNavpSnxE3DNc7hD+kuMyy80+9 Htu3bnRgENw/mbLHpSgDFAQsS1sezE9WXNGcAFbPKt5KXMmKUfAj2zdjVaYNtNAksmn6 PVNAvC5FvzVj3nru1CH7kD8PfS8J0oid6aX9r1cM0aCDyNCW7l/Uq8WA7YygfmrE9H24 AP9Bnh0GvrOtHIrwZNUnTie5cuDeHtHwGgEOjKDaFEhcqOlehrnCyYN2yGIl/x75kZKK IyjnBYt6GCPSXLaZO/Krzx0bE5RS+0gsiHHJEfJdk6FA8kyQHyHkba1TpJzqtkUqTjQk oi0Q== MIME-Version: 1.0 X-Received: by 10.220.238.4 with SMTP id kq4mr3577087vcb.73.1371410715793; Sun, 16 Jun 2013 12:25:15 -0700 (PDT) In-Reply-To: <6f5ad203-f692-414f-a895-2c474082e9bb@googlegroups.com> References: <6f5ad203-f692-414f-a895-2c474082e9bb@googlegroups.com> Date: Sun, 16 Jun 2013 15:25:15 -0400 Subject: Re: Using Python to automatically boot my computer at a specific time and play a podcast From: Joel Goldstick To: "C. N. Desrosiers" Content-Type: multipart/alternative; boundary=047d7b33db4a8e61d904df4a7095 Cc: "python-list@python.org" 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: 67 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1371410718 news.xs4all.nl 15930 [2001:888:2000:d::a6]:42217 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:48472 --047d7b33db4a8e61d904df4a7095 Content-Type: text/plain; charset=UTF-8 On Sun, Jun 16, 2013 at 3:06 PM, C. N. Desrosiers wrote: > 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? > > Thanks in advance. > Since Macs run a version of Unix underneath you can write a cron job to get things started at a specific time. I'm not sure about the iTunes interface. Have you researched to see if it has and API? If it does, likely python could handle that. > > CND > -- > http://mail.python.org/mailman/listinfo/python-list > -- Joel Goldstick http://joelgoldstick.com --047d7b33db4a8e61d904df4a7095 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable



On Sun, Jun 16, 2013 at 3:06 PM, C. N. Desrosiers <cndesrosie= rs@gmail.com> wrote:
Hi,

I'm planning to buy a Macbook Air and I want to use it as a sort of ala= rm. =C2=A0I'd like to write a program that boots my computer at a speci= fic time, loads iTunes, and starts playing a podcast. =C2=A0Is this sort of= thing possible in Python?

Thanks in advance.

Since Macs run a ver= sion of Unix underneath you can write a cron job to get things started at a= specific time.=C2=A0 I'm not sure about the iTunes interface.=C2=A0 Ha= ve you researched to see if it has and API?=C2=A0 If it does, likely python= could handle that.

CND
--
http://mail.python.org/mailman/listinfo/python-list



--
--047d7b33db4a8e61d904df4a7095--