Re: [Tutor] How to run a python script

2016-02-21 Thread Chad Perry
This is the shabang for Python http://stackoverflow.com/questions/6908143/should-i-put-shebang-in-python-scripts-and-what-form-should-it-take Sincerely, Chad Perry cperry...@hotmail.com 512.961.0291 > On Feb 21, 2016, at 3:11 AM, Chris Warrick wrote: > > Forwarding to mailing lis

Re: [Tutor] How to run a python script

2016-02-21 Thread Chad Perry
Can you share the knowledge on what you did. I love Python it's easy...to use most of the time Sincerely, Chad Perry cperry...@hotmail.com 512.961.0291 > On Feb 21, 2016, at 3:11 AM, Chris Warrick wrote: > > Forwarding to mailing list, please use Reply All in the future. >

Re: [Tutor] How to run a python script

2016-02-21 Thread Chad Perry
What version of Python are you using? Have you tried an apt-get -y update yum -y update Sincerely, Chad Perry cperry...@hotmail.com 512.961.0291 From: Alan Gauld<mailto:alan.ga...@btinternet.com> Sent: Saturday, February 20, 2016 6:32 PM To: tutor@python.org<mailto:tutor@p

[Tutor] Substitution function needed

2016-01-15 Thread Chad Perry
#The function for writing random data to the disk. def random(): print "" os.system("/sbin/fdisk -l") print "" print "Please choose a device to kill. Remember if you want to" print "wipe the whole drive and not just a partition, you can" print "remove the number appended. Exampl

[Tutor] Hard Drive wipe

2016-01-15 Thread Chad Perry
#The function for writing random data to the disk. def random(): print "" os.system("/sbin/fdisk -l") print "" print "Please choose a device to kill. Remember if you want to" print "wipe the whole drive and not just a partition, you can" print "remove the number appended.