For the first suggested code I recieve an error message that reads:PythonWin 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit (Intel)] on win32.
Portions Copyright 1994-2006 Mark Hammond - see 'Help/About PythonWin' for further copyright information.
Traceback (most recent call last):
File "C:\Python25\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 310, in RunScript
exec codeObject in __main__.__dict__
File "C:\Documents and Settings\ceruffino\Desktop\scripts\name.py", line 15, in <module>
gp.rename_management(fc, new_fc) # Rename the feature class
ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000735: Output data element: Value is required
Failed to execute (Rename).
For the second suggested code I recieve this error message
File "C:\Python25\Lib\site-packages\pythonwin\pywin\framework\scriptutils.py", line 310, in RunScript
exec codeObject in __main__.__dict__
File "C:\Documents and Settings\ceruffino\Desktop\scripts\name.py", line 12, in <module>
gp.rename_management(fc,fc[:-7])
ExecuteError: Failed to execute. Parameters are not valid.
ERROR 000735: Output data element: Value is required
Failed to execute (Rename).
I unfortunately am not yet skilled enough in Python to figure this out on my own . Any suggestions are welcome. ~Cari