Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: ModuleNotFoundError: No module named 'com'
Post: RE: ModuleNotFoundError: No module named 'com'

(Dec-10-2020, 06:51 PM)Marbelous Wrote: Where is the com module? Is it in the same directory as the main program or somewhere in the PYTHONPATH so your programs can find it? Setting PYTHONPATH: h...
aleksg General Coding Help 9 10,221 Dec-14-2020, 02:21 PM
    Thread: ModuleNotFoundError: No module named 'com'
Post: RE: ModuleNotFoundError: No module named 'com'

When I test what packages are available from folder main it shows : ['TestPackage', 'com', 'package1', 'setup'] but not 'com.my.pack'. http://prntscr.com/w18js9
aleksg General Coding Help 9 10,221 Dec-12-2020, 04:35 PM
    Thread: ModuleNotFoundError: No module named 'com'
Post: RE: ModuleNotFoundError: No module named 'com'

Thank you. Actually, I'm Java developer. So, as usual, I have created the class in a certain package package com.my.pack1 class MyClass { }Now I'm trying to utilize the same approach in Python. So I'v...
aleksg General Coding Help 9 10,221 Dec-12-2020, 03:26 PM
    Thread: ModuleNotFoundError: No module named 'com'
Post: ModuleNotFoundError: No module named 'com'

Hello. I have a simple class and a simple test. I've created packages com.my.pack and class My1.py class My1: val1="ABC" val2=12345 def init(self): print("init class My1...
aleksg General Coding Help 9 10,221 Dec-10-2020, 03:53 PM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020