import arcpy def recase(): tools = arcpy.listtools() for tool_name in tools: arcpy.globals()[tool_name.lower()] = arcpy.globals()[tool_name] # add the case syntax recase()
import random randomList = [] for i in range (1,11): randomList.append(random.random())
Frank,
Pycharm sounds interesting. The only thing I know about refractoring tools is what I read in the last 5 minutes.
Could you very briefly explain what it takes to set up Pycharm to "fix" your code?
I'm curious.
Thanks.
PyCharm looks cool ($100 though - actually $200 for me (govt.)) - but where's the interactive/immediate window?
I run this code in PyCharm:import random randomList = [] for i in range (1,11): randomList.append(random.random())
How can I view the contents of randomList?
Nice. I use Wingware, but this seems quite slick as well. Thanks for the link.
Limitation, can you be more specific? What are some problems that you have encountered?
The Free Wing 101 still works good.
http://www.wingware.com/downloads/wingide-101/3.2.11-1/binaries
I have no association with Wing, other than using the product.
"Wing IDE 101 is free scaled down Python IDE designed for use in teaching introductory programming classes. It omits many features found in Wing IDE Professional and makes simplifications appropriate for beginners.The OS X version requires an X11 Server. "