Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: blacknred
  • Content: Threads
  • Order by date
  1. blacknred

    install fails

    Hi all, Trying to install a perl pgm here & it fails on my machine with below error: XML::SAX must be installed first at.... ppm install failed: Command exits with 2: C:\Perl\bin\perl.exe install_script stopped P.S I'm using activestate perl. Any thoughts? Thanks in advance David
  2. blacknred

    deleting all files in a dir

    I have a share -//192.168.0.11/myshare which has many files in it. Which is the best way to delete all the files in this directory using python? I tried: import os folder = '\\192.168.0.12\myshare1' for the_file in os.listdir(folder): file_path = os.path.join(folder, the_file) try...
  3. blacknred

    regex puzzle

    Hi, I'm trying to 'grep' the string which comprises of all non-zero values 0x0000000a in this case. >>> match = re.search('0x0000000[1-9,a-z]', "My values are value=0x00000000 0x00000000 0x0000000a 0x00000000 0x00000000 0x00000000") This works but in this case, but not over any string as in...
  4. blacknred

    logging to csv

    Hi, I'm intend to do the following -do a calculation ; record the value with timestamp to excel (csv format will do) -repeat above step; append a new row to csv with newly calculated value and timestamp. ... ... continue in endless loop. Could someone give me some pointers on this. This...
  5. blacknred

    changing timestamps in a log file

    I'm trying to parse xml file and convert all the unixtimestamps in it to datetime... <Sample> <TimeStamp>1291052077</TimeStamp> blah blah blah blah </Sample> <Sample>...
  6. blacknred

    List Manipulation for a ssy admin task

    Hi I just started with python, and trying to implement some system admin tasks and running into some rough. Basically I need to do some task on whichever share exists on their corresponding server. eg Server A has shares 1,2 and 3 Server B has share 1 and so on. Any help is appreciated :)...

Part and Inventory Search

Back
Top