Hello All,

I have 3 functions, common utilities which I use several times in many modules of a main package. I don't want to create an utilies.py module in the package. Instead I declare it in the __init__.py of
the package. Then to use it inside my package I do the following:

from package import my_common_utility_fonction.

Is it ok to do this? Is it a common practise?

Advices are welcome!

Cheers
Karim
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to