I've tried several ways to create a string and use it in the line:
inproj = Proj(init="epsg:2276",preserve_units=True)
I'd like it to do something like this:
epsg_in = 2276
code = '"epsg:' + epsg_in + '"'
inproj = Proj(init=code,preserve_units=True)
but I've tried this and several other variations. No luck.
I've wrote a program to convert data, but would like to have it GUI driven so a non-computer savvy co-worker can use it. To do this, I must be able to pass the state plane epsg code to the inproj.