Opening file geodatabase in python

Opening file geodatabase in python

I'm new to python and this is my script:

import arcpy,sys
input=sys.argv[1]
field=sys.argv[2]
try:
cursor=arcpy.da.SearchCursor(input,field)
getvalue=[row.getValue(field) for row in cursor]
...