Trouble importing a file into arcpy

120
1
02-14-2020 11:48 AM
HunterChristianson
New Contributor

So I am trying to import and write commands for a file in ArcPro via arcpy using a the same line of code I used a few days ago but now when I try and run said code again, it comes up with a syntax error. The file is from a flash drive I have been using for roughly 6 months now. Thoughts? I have pasted a screenshot below for reference. 

0 Kudos
1 Reply
DanPatterson_Retired
MVP Esteemed Contributor

you can't import a path, you have to import a module that exists within a path that python recognizes