Hi Poornima, Your question is more appropriate for the python-list mailing list ( https://mail.python.org/mailman/listinfo/python-list) or python-tutors mailing list (https://mail.python.org/mailman/listinfo/tutor). On Thu, Aug 9, 2018, 8:30 AM Poornima .D. <poornimad2811 at gmail.com> wrote: > Hi All, > > > I have limited knowledge on python development. I am trying to write a > test application which needs to import from many packages across > mutliple directories. > > > I tried using an environment variable and appending to sys.path variable > so that import Class methods works. > > > I am trying to replace the above logic by below syntax. > > > from directory.fileName import ClassName > > > But this syntax does not work. Please let me know any solution for this > issue. > > > > > > _______________________________________________ > Python-Dev mailing list > Python-Dev at python.org > https://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > https://mail.python.org/mailman/options/python-dev/mariatta.wijaya%40gmail.com > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20180809/79fa9d86/attachment.html>
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4