Thread View: pl.comp.lang.python
2 messages
2 total messages
Started by mo
Sun, 20 Sep 2009 12:10
Name not defined
Author: mo
Date: Sun, 20 Sep 2009 12:10
Date: Sun, 20 Sep 2009 12:10
6 lines
1202 bytes
1202 bytes
Czy ktoś mógłby znaleźć błąd w skrypcie, który jest tu: http://des.memphis.edu/lurbano/vpython/gas/Temp_KE_07.py To jest symulacja gazu doskonałego. Wyświetla się komunikat: NameError: name 'NewAxis' is not defined -- mo (nie jestem programistą :)
Re: Name not defined
Author: Daniel Mróz
Date: Sun, 20 Sep 2009 09:50
Date: Sun, 20 Sep 2009 09:50
19 lines
1572 bytes
1572 bytes
On 20.09.2009, mo <mich202_wywal@o2.pl> wrote: > Czy ktoś mógłby znaleźć błąd w skrypcie, który jest tu: > http://des.memphis.edu/lurbano/vpython/gas/Temp_KE_07.py > To jest symulacja gazu doskonałego. > Wyświetla się komunikat: NameError: name 'NewAxis' is not defined I prawidłowo. Nigdzie nie masz zdefiniowanej nazwy NewAxis, a próbujesz jej użyć w dwóch linijkach. Jedyne newaxis jakie znam jest w numpy, ale to jest "newaxis", a nie "NewAxis". Być może brakuje Ci jakiegoś importu? Pozdrawiam Beorn -- Daniel 'Beorn' Mróz <beorn@alpha.pl> http://127.0.0.1/beorn [GIT d s:- a-@ C++++ UL++++$ P+ L++++ E--- W+ N+++ o? K- w---] [O- M- V! PS+ PE++ Y+ PGP++ t- 5 X R !tv b+ DI D++ G++ e h*] [ r++ y+ ]
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads