![]() |
Python Idlex setup - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Python Idlex setup (/thread-31915.html) |
Python Idlex setup - robsuttonjr - Jan-09-2021 I am trying to setup an extension for Python Idle called Idlex. The instructions are not working for me. The final step to "include the contents of "config_extension_def" found in the extension source code" is not working for me. I can't figure out where "config_extension_def" is. I searched the extension folder with nothing found. Here are the instructions: Adding Extensions to Standard IDLE ================================== If you want to include an extension in the standard IDLE, copy the extension to "idlelib" and then modify idlelib/config-extensions.def to include the contents of "config_extension_def" found in the extension source code. Could someone tell me where to find "config_extension_def" and provide a sample of what config-extensions.def would look like? RE: Python Idlex setup - Gribouillis - Jan-09-2021 There is a file config-extensions.def in the idlelib directory. To find this directory, try>>> import idlelib >>> idlelib <module 'idlelib' from '/usr/lib/python3.8/idlelib/__init__.py'> RE: Python Idlex setup - robsuttonjr - Jan-09-2021 I know where config-extensions.def file is. I need to modify this file and "include the contents of "config_extension_def" found in the extension source code". I don't know where to find "config_extension_def" and add this to "config-extensions.def" RE: Python Idlex setup - Gribouillis - Jan-09-2021 I don't think you need this to run IdleX. It looks rather like a reminder of the system of extensions for Idle. For example in pypi one can find old extensions such as squeezer and they contain a file to append to config-extensions.def. I never did anything like this when installing IdleX and it works very well. |