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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by bdowen

  1. bdowen

    help using os.mkdir

    Could do this also.... import os ..... for folder in wf: os.mkdir("C:/CorVuReports/" + folder)
  2. bdowen

    _winreg.EnumValue chaos

    I figured it out. I was looking at(referenceing from) the registry Editor and the vaules are listed alphabetically in here but this may not be the order they were created. What seemed like chaos really wasn't.
  3. bdowen

    _winreg.EnumValue chaos

    I am trying to enumerate the values inside of a key. I am trying to use _winreg.EnumValue. EnumValue takes two inputs, key and index. key is an already open key, or any one of the predefined HKEY_* constants. index is an integer that identifies the index of the key to retrieve. I want to...
  4. bdowen

    detecting a name on a drive

    Is there a way to detect a name on a drive. For instance if I named my c:\ drive "Local Disk" is there a way to detect or decifer this name. Thanks for the help!!!
  5. bdowen

    using netsh

    thanks for the link, One more question though. Do you know what this syntax means: set dns name="Local Area Connection 2" source=static addr=(some #) register=BOTH if I have more than one DNS Server address, only one shows up here from the "dump" output, how do I get the...
  6. bdowen

    using netsh

    This question may be out of place on this forum but I will ask it anyways. I am using the netsh command. I want to be able to save my network configuration and reconfigure from my saved network configuration so I use the command: netsh -c interface dump > f:\config.txt What I get get is a...
  7. bdowen

    Module to Innumberate the drives???

    sebsauvage, Thanks a lot
  8. bdowen

    Module to Innumberate the drives???

    Is there a module that can tell what drives are on the computer and report them back in a list or such? What I want to be able to do is "plug" in a USB drive and know what letter windows assigns to this drive (f:,g:,h:, etc) Also is there a way in telling if it is a removable drive...
  9. bdowen

    Formatted output in python

    Thanks for the info, it helps a lot. One additional question: is there a way to print off, for example, 35 spaces without mannually typing in 35 spaces in the print statement?
  10. bdowen

    Formatted output in python

    Does python have the capabilities to format output much like C or Perl?? I am still learning Python and have not come across it yet in my reading. Any pointers about where to read more, if it is on the python website can you point me to where to look on the site.
  11. bdowen

    Using python to "zip" a directory

    Thanks for the help!!! I actually found a round about way of doing it. I am just learning classes. There is a function in distutils.archive_util called make_zipfile. Turns out this is a very simple way to zip a directory and all its contents. Receives the location of the directory to be...
  12. bdowen

    Using python to "zip" a directory

    I am new to Python programming but have made considerable progress in the last week. I need to know if it is possible and how if it is, to zip the contents of a directory using python. I have tried to call winzip using os.system, but have run into some challenges. I would like to make my...

Part and Inventory Search

Back
Top