Forum Discussion
MrDysprosium
Contributor
Also, someone marked this post as "solved"...
... it's not.
tristaanogre
6 years agoEsteemed Contributor
The notifications have you marking the solution... probably by accident.
That said, keep in mind, I'm not a python guru. But I took a look at the help about importing external packages (https://support.smartbear.com/testcomplete/docs/scripting/specifics/python.html#importing-packages) and I noticed that the pathing given in the sample code uses double backslashes.
Technically speaking, I don't THINK you need to change the sys path to import a package if it's been copyed to the TestComplete python lib folder. However, because of that incorrect string in the path (missing double backslashes) this could be your problem.
Related Content
- 2 years agolalit_singh
- 5 years agoHD1997
Recent Discussions
- 3 days agovladd1