[Tutor] intro book for python

2017-09-01 Thread Derek Smith
Hello! I am new to python coming from a Perl and Unix Admin background. I reviewed the site https://wiki.python.org/moin/IntroductoryBooks and would like to know which book(s) you all recommended for a newbie? Thank you! ___ Tutor maillist - Tuto

[Tutor] array input from keyboard

2017-09-15 Thread Derek Smith
I need to accept input from the user then store in an array/list. This is my 1st python script. #!/usr/bin/env python # Derek Smith # 09/2017 # accept volumes for TSM for tape mgmt. import os import sys nput1 = "" nput2 = "" nput1 = input("\nIs your input 'file

[Tutor] pip install of subprocess module

2017-09-18 Thread Derek Smith
ine 707, in call_subprocess % (command_desc, proc.returncode, cwd)) pip.exceptions.InstallationError: Command "git clone -q https://github.com/python/cpython/blob/3.6/Lib/subprocess.py /tmp/pip-bw8rryo9-build" failed with error code 128 in None Derek Smith |

[Tutor] subprocess check_output

2017-09-20 Thread Derek Smith
", "status='Scratch'", "and", "library_name='TS3200'" ] ) print (scratch) __OUTPUT__ # ./ts3200_scratchcount_check.py email sent successfully b' 8\n' Thx!! Derek Smith | Unix/TSM Administrator | Racksquared Data Centers :: dere

[Tutor] get javascript output data from ssi file

2017-11-27 Thread Derek Smith
31 (1)   Slot 32 (1)   Slot 35 (1)   Slot 36 (1)   Slot 37 (1)   Slot 40 (1)   Slot 41 (1)   Slot 44 (1)   Derek Smith

[Tutor] Fwd: print a for loop system call

2018-01-20 Thread Derek Smith
Sent from my iPhone Begin forwarded message: From: Derek Smith mailto:dereksm...@racksquared.com>> Date: January 19, 2018 at 4:01:58 PM EST To: "tutor-requ...@python.org<mailto:tutor-requ...@python.org>" mailto:tutor-requ...@python.org>> Subject: print a for loop