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!

Recent content by backpacker299

  1. backpacker299

    Import Problems, Attribute Error

    Have you imported the .py file? If the file is called File.py, you need the following line to use it: import File at the head of the file using it. Also, to access functions, you use: File.FUNCTIONNAME Hope it helps.
  2. backpacker299

    Python as a Service Registry Key

    I am running a python script as a service and I need to be able to store the log file in a folder other than the one the script executes from, but I cannot hard code the folder into the script. Does anyone know a Registry Key or a different fix for my problem? Thanks in advance

Part and Inventory Search

Back
Top