← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #205117]: multiple scripts --- from sikuli import * needed

 

Question #205117 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/205117

    Status: Open => Answered

RaiMan proposed the following answer:
do not do this:

from unittest import *
from HTMLTestRunner import*

use instead:

import unittest
import HMLTestRunner

from some_module import *
should only be used with your own modules and if you know what you are doing.

import some_module

needs to use 
some_module.some_function()

which avoids naming conflicts.

If you import something from external or standard libraries/modules this
should always be the first approach.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.