Question: Please modify the python3.xx script to take a user input and allow the user to input the path .../desktop / at the time as the

Please modify the python3.xx script to take a user input and allow the user to input the path .../desktop / at the time as the script runs. there's no problem with the code it runs beautifully!

import arcpy arcpy.management.AddField('TRI', 'RentLevel', 'TEXT') #Create Rent Level Field arcpy.management.AddField('TRI', 'MedRent', 'LONG') #Create Median Rent Field

def CalcBuffDist(med_rent): #Needs Median Rent as Input if med_rent 1000: RentLevel = "high" else: Rentlevel = "unknown"

table

Please modify the python3.xx script to take a user input and allow

MedRent MrgErr Shape_Leng Shape_Area RentLevel -9999 0 16508.243105 13619192.1655 -9999 709 47 13761.119543 10861688.2995 709 1014 597 10700.841596 7182552.12429 1014 -9999 0 21332.673578 21251227.5314 -9999 895 150 14024.282383 11275679.4548 895 807 227 17934.648606 9565825.64026 807 MedRent MrgErr Shape_Leng Shape_Area RentLevel -9999 0 16508.243105 13619192.1655 -9999 709 47 13761.119543 10861688.2995 709 1014 597 10700.841596 7182552.12429 1014 -9999 0 21332.673578 21251227.5314 -9999 895 150 14024.282383 11275679.4548 895 807 227 17934.648606 9565825.64026 807

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!