Re: [K3d-development] Still having problems execution python scripts on Win32
Brought to you by:
barche
From: Daniel S. M. <dsm...@gm...> - 2005-04-24 19:15:36
|
On Sun, 24 Apr 2005 13:00:47 -0600, Andreas Haferburg <nd...@gm...> wrote: > On Sun, 24 Apr 2005 11:32:38 -0600, Timothy M. Shead <ts...@k-...> > wrote: > >> It surprises me that Python would care about line-endings, since that >> would seem to complicate sharing *.py files across different platforms - >> are we sure that this is expected behavior? Is it documented anywhere? > > As I wrote here > http://sourceforge.net/mailarchive/forum.php?thread_id=7078028&forum_id=7633 > it is said here > http://sourceforge.net/tracker/?group_id=5470&atid=105470&func=detail&aid=1167922 > but apparentely not in the official docs. It does not complicate > anything when STL's text file handling is used (again). :) > > Oh, and I don't think that Python cares about line endings, but only the > Python/c API functions. > > Best regards > Andreas > > P.S.: Dan, did you try to convert to Unix line endings? > Yes, dos2unix.exe --d2u *.py will make them runable, but plot_function.py will stil kill k3d with no error messages. -- http://dan.3-e.net http://pic.3-e.net |