[Arcmap10]python script to add and populate a field for several shapefiles

Discussion created by yoann06 on Oct 18, 2011
Latest reply on Nov 3, 2011 by yoann06
Hi every one,
I'm realy new to python scripting, and I'm trying to write a script allowing me to create a shp file from a txt file, then add a new field to it and then fill this new field with a value extracted from the name of the file...this for several hundreds of txt files...
I have put together several bit of script but I can't get it to work...for some reason it stopped at the stage of creating the feature "arcpy.CreateFeaturesFromTextFile_samples"
could any one help me, that would be much appriciated

Ps ; the script in attached to this post

best regards