pyw as extension for @clean imports

27 views
Skip to first unread message

reinhard...@googlemail.com

unread,
Aug 24, 2015, 2:24:09 AM8/24/15
to leo-editor
May I suggest to use not only 'py' but also 'pyw' as default extension for @clean imports of Python files.

Reinhard

Edward K. Ream

unread,
Aug 24, 2015, 10:36:26 AM8/24/15
to leo-editor
On Mon, Aug 24, 2015 at 1:24 AM, <reinhard...@googlemail.com> wrote:
May I suggest to use not only 'py' but also 'pyw' as default extension for @clean imports of Python files.

​Rev 859dea9bd adds .pyw as known extension in ​plugins/importers/python.py. 

This may be all that is required.  Please test and report any problems.

EKR

reinhard...@googlemail.com

unread,
Aug 25, 2015, 6:51:59 AM8/25/15
to leo-editor
Thank you!

I added the '.pyw' extension to the extensions list in the Python importer.
Everything works fine now.

Reinhard

Edward K. Ream

unread,
Aug 25, 2015, 9:59:26 AM8/25/15
to leo-editor


On Tue, Aug 25, 2015 at 5:51 AM, <reinhard...@googlemail.com> wrote:
Thank you!

​You're welcome :-)​
 

I added the '.pyw' extension to the extensions list in the Python importer.
Everything works fine now.

​Just to be clear, pulling 859dea9bd should do this automatically.

EKR
Reply all
Reply to author
Forward
0 new messages