Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #48475
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin1!goblin.stu.neva.ru!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <jason.swails@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.019 |
| X-Spam-Evidence | '*H*': 0.96; '*S*': 0.00; '16,': 0.03; 'subject:Python': 0.06; 'bash': 0.09; 'subject:skip:a 10': 0.09; 'cc:addr:python-list': 0.11; 'python': 0.11; 'cc:name:python list': 0.16; 'itself,': 0.16; 'itunes,': 0.16; 'subject: \n ': 0.16; 'wrote:': 0.18; '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; 'script': 0.25; 'header:In-Reply-To:1': 0.27; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'loads': 0.31; 'run': 0.32; 'subject:time': 0.33; "i'd": 0.34; 'could': 0.34; 'received:google.com': 0.35; 'possible': 0.36; 'hi,': 0.36; 'turn': 0.37; 'jason': 0.38; 'planning': 0.38; 'pm,': 0.38; 'skip:p 20': 0.39; "you're": 0.61; 'to:addr:gmail.com': 0.65; 'air': 0.66; 'fact,': 0.69; 'boots': 0.84; 'macbook': 0.84; 'subject:Using': 0.84; '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=rR6xwjyriSygn5hQ/zzUc4hNKW1uxpG2iJx0ZpPtki4=; b=m8l1SrfE5uZoejNWjIaq+1YnKCHtF6wtbooIQohoencLOC7rrnJPb/kWyTp0fPAClA IMb9LHAo7PoPSoK5D2A2W7laftM3Kdph2T9BI++lyzW4T82vGHL4qCUzhMTlSVVEn/R/ 0kgfkFszzoH8nBdLKoPq8RGB6xXigIXHgaFYc2LsxaQydT6/ILjS+OOageJ8pnA6Xazr N2F2seBPSPeWpRZX6ymzpJtDu50QKtgx8lQJ1jNSIDuLTk/TIKbL2NrjHLKmtooCuMHg 39sPjDpB9ED9bNBKz+MMIVvqP9rD5Kx29tk2gDL2KsIOifGzTIY+ulx/hxDbn+sCWlaL WqxA== |
| MIME-Version | 1.0 |
| X-Received | by 10.50.92.69 with SMTP id ck5mr3190327igb.107.1371412190595; Sun, 16 Jun 2013 12:49:50 -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:49:50 -0400 |
| Subject | Re: Using Python to automatically boot my computer at a specific time and play a podcast |
| From | Jason Swails <jason.swails@gmail.com> |
| To | "C. N. Desrosiers" <cndesrosiers@gmail.com> |
| Content-Type | multipart/alternative; boundary=047d7b10d03d76115204df4ac8f5 |
| Cc | python list <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 <python-list.python.org> |
| List-Unsubscribe | <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.3456.1371412200.3114.python-list@python.org> (permalink) |
| Lines | 58 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1371412200 news.xs4all.nl 15902 [2001:888:2000:d::a6]:58358 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:48475 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Sun, Jun 16, 2013 at 3:06 PM, C. N. Desrosiers <cndesrosiers@gmail.com>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? > Python cannot do this by itself, as has already been mentioned. If you're using a Mac, you can schedule your computer to turn on (and/or off) using System Preferences->Energy Saver->Schedule... Then run a Python script in a cron job. In fact, you could do this in bash ;) HTH, Jason
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Using Python to automatically boot my computer at a specific time and play a podcast "C. N. Desrosiers" <cndesrosiers@gmail.com> - 2013-06-16 12:06 -0700
Re: Using Python to automatically boot my computer at a specific time and play a podcast Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-06-16 19:22 +0000
Re: Using Python to automatically boot my computer at a specific time and play a podcast Joel Goldstick <joel.goldstick@gmail.com> - 2013-06-16 15:34 -0400
Re: Using Python to automatically boot my computer at a specific time and play a podcast Joel Goldstick <joel.goldstick@gmail.com> - 2013-06-16 15:25 -0400
Re: Using Python to automatically boot my computer at a specific time and play a podcast Petite Abeille <petite.abeille@gmail.com> - 2013-06-16 21:44 +0200
Re: Using Python to automatically boot my computer at a specific time and play a podcast Jason Swails <jason.swails@gmail.com> - 2013-06-16 15:49 -0400
Re: Using Python to automatically boot my computer at a specific time and play a podcast Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-06-16 16:18 -0400
Re: Using Python to automatically boot my computer at a specific time and play a podcast "C. N. Desrosiers" <cndesrosiers@gmail.com> - 2013-06-16 16:56 -0400
Re: Using Python to automatically boot my computer at a specific time and play a podcast Chris Angelico <rosuav@gmail.com> - 2013-06-17 07:55 +1000
Re: Using Python to automatically boot my computer at a specific time and play a podcast inq1ltd <inq1ltd@inqvista.com> - 2013-06-17 09:24 -0400
Re: Using Python to automatically boot my computer at a specific time and play a podcast Irmen de Jong <irmen.NOSPAM@xs4all.nl> - 2013-06-17 19:03 +0200
Re: Using Python to automatically boot my computer at a specific time and play a podcast "Lefavor, Matthew (GSFC-582.0)[MICROTEL LLC]" <matthew.lefavor@nasa.gov> - 2013-06-17 10:02 -0500
Re: Using Python to automatically boot my computer at a specific time and play a podcast Giorgos Tzampanakis <giorgos.tzampanakis@gmail.com> - 2013-06-17 17:52 +0000
csiph-web