Python memorandum numbering variables

arcpy.ListFields


for i in range(1, 3):
    shape_num = "shape" + str(i)
    ns = locals()

    fieldList = arcpy.ListFields(ns[shape_num])

Get variables to pass to arcpy function

Recommended Posts

Python memorandum numbering variables
Python memorandum
Python Memorandum 2
[Python] Variables
Python memorandum
python memorandum
python memorandum
Python memorandum
python memorandum
Python memorandum
Python basics memorandum
Python pathlib memorandum
Python memorandum (algorithm)
Python memorandum [links]
[Python] Get environment variables
python memorandum (sequential update)
Python memorandum (personal bookmark)
Python basic memorandum part 2
[Python] Iterative processing_Personal memorandum
Memorandum @ Python OR Seminar
python memorandum super basic
Effective Python Learning Memorandum Day 15 [15/100]
Python: Class and instance variables
Cisco Memorandum _ Python config input
Effective Python Learning Memorandum Day 6 [6/100]
About Python variables and objects
Effective Python Learning Memorandum Day 12 [12/100]
Effective Python Learning Memorandum Day 9 [9/100]
Effective Python Learning Memorandum Day 8 [8/100]
ABC memorandum [ABC163 C --managementr] (Python)
Python notes using perl-special variables
About python beginner's memorandum function
Handle environment variables in Python
Memorandum @ Python OR Seminar: matplotlib
[Python] SQLAlchemy error avoidance memorandum
# 1 [python3] Simple calculation using variables
A memorandum about correlation [Python]
Python class variables and instance variables
Effective Python Learning Memorandum Day 14 [14/100]
Effective Python Learning Memorandum Day 1 [1/100]
Memorandum @ Python OR Seminar: Pulp
Python Beginner's Guide (Variables / Arrays)
Effective Python Learning Memorandum Day 13 [13/100]
A memorandum about Python mock
Effective Python Learning Memorandum Day 3 [3/100]
Python variables and object IDs
Effective Python Learning Memorandum Day 5 [5/100]
Memorandum @ Python OR Seminar: Pandas
[python] Random number generation memorandum
Effective Python Learning Memorandum Day 4 [4/100]
Memorandum @ Python OR Seminar: scikit-learn
Effective Python Learning Memorandum Day 7 [7/100]
Effective Python Learning Memorandum Day 2 [2/100]
python parallel / asynchronous execution memorandum
Initializing global variables using Python decorators
ABC memorandum [ABC159 C --Maximum Volume] (Python)
Python pywin32 (win32com) Excel operation memorandum
Python
Landmines hidden in Python class variables
[Python] A memorandum of beautiful soup4
python dict object memorandum (mysterious document)