[Tutor] Shut down PC

David Holland davholla2002 at yahoo.co.uk
Mon Aug 2 18:05:38 CEST 2004


Hi I have both Windows and Linux on my PC.
Basically I want the operating system to terminate if
people using the PC do not know a password and do not
answers questions  within a time limit or if they try
to avoid doing these questions  by crashing the
program. 
 --- vicki at thepenguin.org wrote: 
> > Hi,
> > I want to write a program to force my niece
> improve
> > her maths skills.  I can quite easily write a
> program
> > that asks her random questions.
> > How can you make a python program that under
> certaim
> > cirumstances shuts down the PC (eg crashing the
> > program).
> > I know this may sound silly but she is 15 and
> > innumerate !
> > Thanks
> >
> > David
> 
> Do you mean that you want the program to terminate
> or the operating system
> to terminate? If the latter, you need to tell us
> what OS you are using. If
> you mean the former, you might describe a sequence
> of events that you want
> to simulate to give us a better idea how to help.
> 
> --vicki
> 
>  


	
	
		
___________________________________________________________ALL-NEW Yahoo! Messenger - all new features - even more fun!  http://uk.messenger.yahoo.com


More information about the Tutor mailing list