May-24-2021, 07:06 PM
(This post was last modified: May-24-2021, 07:07 PM by Gribouillis.)
I uploaded a single-file module adddot.py here https://sourceforge.net/projects/adddot/. With it you can code in Python with optional dot operator. For example you would write
# coding: adddot import xml dom minidom result = xml dom minidom parse('spam.xml')To install the file (manually), follow the docstring
""""Module adddot: an encoding to add missing dot operators in python Usage: * put this file adddot.py on the Python path * in usercustomize.py add the lines import adddot adddot.register() * in utf8-encoded python programs, use the encoding line coding: adddot * Enjoy! you can now omit the dot operator in Python files Requires: * module 'untokenize' from Pypi (install with pip) Disclaimer: As of version 2021.05.24, this has been tested with very very few python (3.8) files. """Thanks for comments and feedback!