I am a PhD student in construction management. I am currently learning IfcOpenShell-Python. There are not many practical examples of this software at present, I hope I can learn a lot from everyone.
Welcome @shanmama !
All of the code written for IfcOpenShell is open-source, so there are a lot of examples of it in use in the repository. In particular, look at:
src/ifcblenderexport/blenderbim/export_ifc.py and import_ifc.py
If you want a particular example of something, let us know and we can write an example for you :)