Solved! Go to Solution.
So, I am being seeing more and more of the samples using os.getcwd(), is this a better approach than setting a wrksp variable with env.workspace?
I mean the code looks pretty smooth, then throw on os.path.join to combine your gdb paths with your fd/fc, does look cleaner, rather than having a lot of wrksp and swrksp 1,2,3,4 and so forth.
This wasn't a question necessarily for end users, but more for the creators of the [10.1] samples in the help perhaps it can be taken offline or a followup at the UC.
[If we] give the power users on here the power to give points to themselves when it would be their opinion especially if its from their answers.
Thanks for the clarification, Ted. I think it's annoying that we have yet another path in the ArcGIS environment to consider (I could about six right now.)
If any of the sample authors can chime in, this would be good to see here. Some of us can't make it to San Diego, unfortunately, and this is a good venue to discuss it I think.
I'm innocent, Ted! I did not check my own answer, and if I had the power would not do it that lightly. (Note, I don't even see the check icon on my screen, either.)
I agree if this power is given to MVPs we should get some guidance. One would be not to check your own answer unless the user has responded that it solved their problem.
Long story short: it matters a whole lot less than you think it does.