something wrong in wx

Tim Roberts timr at probo.com
Sun Nov 13 03:29:49 EST 2005


Robert <Tomasik at 2kop.mil.pl> wrote:
>
>something wrong in wx

I doubt it.

>I wrote program training na Artificial Neural Network. It work well in
>console mode, but when I try to add GUI there is an error:
>FANN Error 10: Error reading info from train data file "zapis.txt", line: 2

How are you launching the GUI version?  Are you double-clicking on an icon
somewhere?  Are you sure the application is starting in the correct
directory -- the one that contains zapis.txt?

Perhaps you should try hard-code the full path, or at least doing an
os.chdir().
-- 
- Tim Roberts, timr at probo.com
  Providenza & Boekelheide, Inc.



More information about the Python-list mailing list