my problem was fixed with this
var = float(sys.argv[1])
thanks!
On 14 July 2011 16:24, Benjamin Root wrote:
> On Thursday, July 14, 2011, Pau wrote:
>> Hi,
>>
>> I have a very naive question ... howmdo I pass an arg to a matplotlib
>> script? I need to run MyScript 34 12 67 25 for the script
On Thursday, July 14, 2011, Pau wrote:
> Hi,
>
> I have a very naive question ... howmdo I pass an arg to a matplotlib
> script? I need to run MyScript 34 12 67 25 for the script to use those
> numbers to multiply quantities for producing a plot... I am using
> sysarg[1], 2, 3 but is seems not to
Hi,
I have a very naive question ... howmdo I pass an arg to a matplotlib
script? I need to run MyScript 34 12 67 25 for the script to use those
numbers to multiply quantities for producing a plot... I am using
sysarg[1], 2, 3 but is seems not to work.
thanks