# Modify 'import' command

**URL:** <https://discuss.python.org/t/modify-import-command/109468>\
**Category:** Python Help\
**Created:** [October 13, 2026, 9:10pm UTC](https://discuss.python.org/t/modify-import-command/109468 "2026-10-13T21:10:31Z")\
**Posts on this page:** 1\
**Showing post:** 84

<div class="post-metadata">

**Author:** ![Rosuav](https://sea2.discourse-cdn.com/flex002/user_avatar/discuss.python.org/rosuav/32/3429_2.png) [@Rosuav](https://discuss.python.org/u/Rosuav)\
**Post date:** [November 10, 2026, 12:07am UTC](https://discuss.python.org/t/modify-import-command/109468/84 "2026-11-10T00:07:40Z")

</div>

> [@NickC](#):
>
> At the moment I was thinking of something which can do constant replacement rather than syntax manipulation; as you say syntax manipulation would likely require the help of the core Python developers and judging from previous extremely negative comments on the subject I suggest that would not be forthcoming. Therefore, to achieve anything here will probably have to be done without code Python support and reserve the rest for later.
> 
> However as you point out including ‘compile time evaluation’ would be a great facility to include if it turned out that was possible.

Okay. I would recommend starting a fresh thread with a focused proposal, specifically what you want to make happen. The result might end up being suggestions for how you can do this using existing tools, or it might be that this is a proposal for within Python itself, but either way, starting with a clear description of what you’re trying to accomplish will be EXTREMELY helpful here.

---

_[View the full topic](https://discuss.python.org/t/modify-import-command/109468)._
