> On 14.03.2015, at 10:57, Danny Kramer <[email protected]> wrote:
> 
> Hi,
> I am getting the following error message:
> 
> C:\Python27\lib\site-packages\numpy\lib\npyio.py:819: UserWarning: loadtxt: 
> Empty input file: "[]"
>  warnings.warn('loadtxt: Empty input file: "%s"' % fname)
> main loop list assignment index out of range
> 
> 1. Why is it happening?
> 2. How can I fix it?
> 
> Thanks a lot in advance.
> 
> Danny
> 

Not seeing the code that produced this warning, we are left to guessing. My 
guess would be that the error warning tells you already what's going on. You 
give an empty list as a file name to loadtxt and loadtxt can't find a file of 
that name to load. 

Hanno
> _______________________________________________
> NumPy-Discussion mailing list
> [email protected]
> http://mail.scipy.org/mailman/listinfo/numpy-discussion
> 
_______________________________________________
NumPy-Discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to