Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #48517

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

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <SRS0=ZK8RhM=QB=inqvista.com=inq1ltd@eigbox.net>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.050
X-Spam-Evidence '*H*': 0.90; '*S*': 0.00; '16,': 0.03; 'subject:Python': 0.06; 'machines.': 0.09; 'subject:skip:a 10': 0.09; 'python': 0.11; 'jan': 0.12; 'bios': 0.16; 'itunes,': 0.16; 'received:66.96.186': 0.16; 'saver': 0.16; 'wrote:': 0.18; 'advance.': 0.19; 'starts': 0.20; 'written': 0.21; 'machine': 0.22; 'cc:addr:gmail.com': 0.22; 'python?': 0.22; 'header:User- Agent:1': 0.23; 'connected': 0.24; 'cc:2**0': 0.24; 'sort': 0.25; '&gt;': 0.26; 'header:In-Reply-To:1': 0.27; 'on,': 0.29; 'dos': 0.30; "i'm": 0.30; 'loads': 0.31; 'received:10.20.15': 0.31; 'received:10.20.18': 0.31; 'received:10.20.55': 0.31; 'received:eigbox.net': 0.31; 'file': 0.32; 'another': 0.32; 'mac': 0.33; 'received:10.20': 0.33; 'subject:time': 0.33; 'screen': 0.34; "i'd": 0.34; 'could': 0.34; 'received:66': 0.35; 'but': 0.35; 'building': 0.35; 'url:rec-html40': 0.35; 'module.': 0.36; 'done': 0.36; 'charset:us-ascii': 0.36; 'thanks': 0.36; 'possible': 0.36; 'hi,': 0.36; 'url:org': 0.36; 'so,': 0.37; 'turn': 0.37; 'received:10': 0.37; 'to:addr:python-list': 0.38; 'planning': 0.38; 'little': 0.38; 'launch': 0.39; 'received:71': 0.39; 'sure': 0.39; 'to:addr:python.org': 0.39; 'called': 0.40; 'up,': 0.60; 'simply': 0.61; 'times': 0.62; 'day.': 0.63; 'our': 0.64; 'air': 0.66; 'computers': 0.72; 'url:dtd': 0.80; 'boots': 0.84; 'macbook': 0.84; 'subject:Using': 0.84; 'url:strict': 0.95; 'opt': 0.97; '2013': 0.98
X-Authority-Analysis v=2.0 cv=dt1Z+ic4 c=1 sm=1 a=7eDFjQhXsGoFIshBACl/Mw==:17 a=spKFjZujUncA:10 a=2Cs5qbXtQ68A:10 a=p9iAbSwKHhsA:10 a=OmMKortqy18A:10 a=tTExfe6FAAAA:8 a=-SvGfF1asRgA:10 a=8ONGxiEqAAAA:8 a=ZDL_K7E6BDraQn7D_toA:9 a=CjuIK1q_8ugA:10 a=P3uMDV8RXKwA:10 a=SSmOFEACAAAA:8 a=iicmjp6BGmfs043tQCkA:9 a=_W_S_7VecoQA:10 a=frz4AuCg-hUA:10 a=qMDZ_Ezp4_0A:10 a=vchVONZFXVgp8x1D:21 a=anyYG9rjTBM1sAjEBQ8Cew==:117
X-EN-OrigOutIP 10.20.18.11
X-EN-IMPSID pRTU1l0070EKspE01RTURj
From inq1ltd <inq1ltd@inqvista.com>
To python-list@python.org
Subject Re: Using Python to automatically boot my computer at a specific time and play a podcast
Date Mon, 17 Jun 2013 09:24:28 -0400
Organization inqvista
User-Agent KMail/4.7.2 (Linux/2.6.37.6-24-desktop; KDE/4.7.2; i686; ; )
In-Reply-To <6f5ad203-f692-414f-a895-2c474082e9bb@googlegroups.com>
References <6f5ad203-f692-414f-a895-2c474082e9bb@googlegroups.com>
MIME-Version 1.0
Content-Type multipart/alternative; boundary="nextPart2118119.bH1xKIScFc"
Content-Transfer-Encoding 7Bit
X-EN-UserInfo ea107384e720a598200e9790e8ca8002:9d89a6cbd5a73a41b134431a25286195
X-EN-AuthUser inq1ltd@inqvista.com
Sender inq1ltd <inq1ltd@inqvista.com>
X-EN-OrigIP 71.127.137.103
X-EN-OrigHost pool-71-127-137-103.rcmdva.east.verizon.net
Cc "C. N. Desrosiers" <cndesrosiers@gmail.com>
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.3480.1371477619.3114.python-list@python.org> (permalink)
Lines 109
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1371477619 news.xs4all.nl 15930 [2001:888:2000:d::a6]:36610
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:48517

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

On Sunday, June 16, 2013 12:06:08 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.
> 
> CND

Up  to Jan 1, 2012 we had 6 computers that 
were connected to timers.

The timers were set to come on at various times 
during the day.  When the timer came on, the computer,
on boot up, ran a .BAT file that called our screen saver 
which in turn launched another program.

I don't know about Mac but this was all written 
on DOS machines.  With a little research and I'm sure it 
could be done through the bios on a Mac.  

The screen saver gave us time to opt out of the call to 
another program. So, simply turning on a 
machine could launch an OS file that will call 
your python module.

Another approach is building a python screen saver that 
reboots your computer at a specific time.  On reboot,
your OS calls a python screen saver with options, 
as mentioned. 

jd
inqvista.com










Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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