Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for the Python 3 version of ArcPy installed with ArcPro #1

Open
cgmorton opened this issue Mar 8, 2018 · 1 comment
Open

Comments

@cgmorton
Copy link
Contributor

cgmorton commented Mar 8, 2018

The only obvious change is probably in the ConfigParser module used for reading the INI file, but because of how the scripts are currently structured, this will impact almost every script.

In Python 3 this module was modified and renamed to "configparser". There is a backport version of the module available for Python 2 but this would add an extra (possibly confusing) step to setting up the scripts.

Before the scripts start getting used too much, we could consider switching to a different format for the input file. The YAML files seem to be pretty popular/trendy right now.

@Stumpelton
Copy link

Hi - I made the ConfigParser change you suggest above to configparser throughout the package. I get an error on lamba unpacking in the support_functions.py file. Apparently it can't be done in Python 3 like how it's being done currently in Python 2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants