How To Change Package Representation on Shell?

Abdur-Rahmaan Janhangeer arj.python at gmail.com
Wed Apr 1 16:22:53 EDT 2020


Greetings list,

I have a custom package.

>>> import package
>>> package
<module 'package' from '<path>'>

what do i have to modify from my package to have like

>>> package
Hi!

Thanks!

Kind Regards,

Abdur-Rahmaan Janhangeer
compileralchemy.com <https://www.compileralchemy.com> | github
<https://github.com/Abdur-rahmaanJ/>
Mauritius


More information about the Python-list mailing list