← Back to team overview

sikuli-driver team mailing list archive

[Bug 799223] Re: during import search dir of importing script first

 

** Changed in: sikuli
       Status: New => In Progress

** Changed in: sikuli
   Importance: Undecided => High

** Changed in: sikuli
     Assignee: (unassigned) => Tsung-Hsiang Chang (vgod)

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/799223

Title:
  during import search dir of importing script first

Status in Sikuli:
  In Progress

Bug description:
  Factored out from the very long bug #799067.

  The standard import in a Sikuli script does not search for an imported
  .sikuli in the directory containing the main script. Need to mention
  that normal Python does look up in this dir first. For Sikuli there is
  a documented workaround - http://sikuli.org/docx/globals.html - but it
  is not intuitive for Python users mainly because it doesn't explain
  why this change of behavior is required.

  RaiMan adds:
  It is the users responsibility to avoid naming conflicts
  between .py-modules and .sikuli-folders. This behavior should be
  consistent for any supported type of running a Sikuli script.

To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/799223/+subscriptions


References