# A bundled Python interface

**URL:** <https://swi-prolog.discourse.group/t/a-bundled-python-interface/6735>\
**Category:** Request For Comments\
**Created:** [July 23, 2023, 11:42am UTC](https://swi-prolog.discourse.group/t/a-bundled-python-interface/6735 "2023-07-23T11:42:37Z")\
**Posts on this page:** 1\
**Showing post:** 97

<div class="post-metadata">

**Author:** ![eddiec](https://yyz2.discourse-cdn.com/free1/user_avatar/swi-prolog.discourse.group/eddiec/32/3846_2.png) [@eddiec](https://swi-prolog.discourse.group/u/eddiec)\
**Post date:** [August 13, 2023, 7:19pm UTC](https://swi-prolog.discourse.group/t/a-bundled-python-interface/6735/97 "2023-08-13T19:19:57Z")

</div>

> > I was just blindly copying the “from janus import \*”

> This is considered to be bad style for large code bases (even with fancy IDEs because it can be difficult to statically resolve names due to Python’s dynamic nature); better to do import janus and explicitly give the module name janus when referencing imported classes or functions.

For sure, I was meaning just the name _janus_ vs _janus\_swi_, I could have made that clearer!

---

_[View the full topic](https://swi-prolog.discourse.group/t/a-bundled-python-interface/6735)._
