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 strongm 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: *

  1. beveronic

    INI comparator

    Hi, Does anybody have a python script that compares 2 .ini files and gives out the differences between them? Thanks in advance. Vero
  2. beveronic

    print text file with python

    Hi, I have a question about printing. I use the following script for printing in windows: import win32print printer_name = win32print.GetDefaultPrinter () hPrinter = win32print.OpenPrinter (printer_name) hJob = win32print.StartDocPrinter (hPrinter, 1, ("test of raw data", None, "RAW"))...
  3. beveronic

    libpath

    Hi, Does anyone know how can i get the path where the Python libraries are?For example when doing frame.f_code.co_filename for a ConfigParser.py file,I obtain the path: /var/tmp/python-2.2.2-root/usr/local/lib/python2.2/ConfigParser.py which is by the way not a real path. But how can I find out...
  4. beveronic

    howto get a list of all standard modules

    Hi Eric, Thanks for the information.At least I know there is no such stuff:(
  5. beveronic

    howto get a list of all standard modules

    Hi eric, So you propose to make a list of all modules offered by Python,but I don't want to update my script everytime python introduce a new module(new version)..and my script is supposed to differentiate if it is about a standard module or a user created one,and accordingly if is standard not...
  6. beveronic

    howto get a list of all standard modules

    Hi, I would like to get a list of all modules from Python Standard Library. The command >>>print help('modules'),prints all the existing modules...but I am interested only in the ones that come from Python. I hope that somebody can help me.
  7. beveronic

    SYS module

    I think the problem is at line: sys.stdout.write('VERBOSE “Script Started” 3 ') If you put other quotations(like normal ones): sys.stdout.write('VERBOSE "Script Started" 3 ') it must work...it says smth about not having in the ASCII the characters you put into it.Hope it helps.
  8. beveronic

    python debugger

    Does anyone know where can I find a script that make debugging for other python scripts and writes the results in an output file?
  9. beveronic

    debugging big functions

    I would like to debug functions&modules, but using sys.setrace() gives as output a lot of information.If possible I would like to reduce the output to something which makes sense.Can I use something else to have this done?
  10. beveronic

    deleting subdirectories

    Hi, I have the following problem: I want to delete a subdirectory but after deleting and rescaning the files the subdirectory is still there.When I look in my directory it is gone, so why does it find it again? def rescan(): scan_Files=[] def walker(arg, dir, path)...

Part and Inventory Search

Back
Top