Parameter Passing - String Variable Truncated ?

Steve Holden steve at holdenweb.com
Fri Aug 31 21:50:34 EDT 2007


Steve Holden wrote:
[...]
>> in_featclass = sys.argv[1]
> 
> Try
> 
>    in_featclass = sys.argv[1:]
> 
Sorry, that should have been

     in_featclass = " ".join(sys.argv[1:])+"\n"

regards
  Steve
-- 
Steve Holden        +1 571 484 6266   +1 800 494 3119
Holden Web LLC/Ltd           http://www.holdenweb.com
Skype: holdenweb      http://del.icio.us/steve.holden
--------------- Asciimercial ------------------
Get on the web: Blog, lens and tag the Internet
Many services currently offer free registration
----------- Thank You for Reading -------------




More information about the Python-list mailing list