bedankt voor de tutorials, het hielp wel iets

maar ik blijf problemen hebben
mijn huidige structuur bij mijn python files is de volgende:
Python/
     __init__.py
     MasterClass/
         __init__.py
         test2.py

    Global/
        __init__.py
        UserData.py

wanneer ik echter in test2.py dit schrijf:
   from Python.Global import UserData
geeft hij een error, namelijk dat hij geen module vindt met de naam
Python.Global

dit is toch de juiste mannier om modules uit een andere subfolder aan te
roepen hé?

PS: aan Albert: ik weet het, maar ik gebruik altijd dezelfde naam als mijn
classes voor mijn files waarin ze staan. dat is eenvoudiger om te onthouden
:)

mvg,
UnrealEd
--
View this message in context: 
http://www.nabble.com/classes-importeren-uit-subfolders-t1230193.html#a3286428
Sent from the Python - python-nl forum at Nabble.com.

_______________________________________________
Python-nl mailing list
Python-nl@python.org
http://mail.python.org/mailman/listinfo/python-nl

Antwoord per e-mail aan