Hi all,
I made 2 arrays, which are i and uzuy (both are
float). And I want to plot the graph between those
arrays.
I followed from the manual
==
from Gnuplot import Gnuplot, Data
g=Gnuplot()
results=Data(i,uzuy)
g.plot(results)
=
here I got the message
Hi all,
I use apache2.0, mod_python 3.0, and python2.2.2. In
/etc/httpd/conf.d/python.conf, I added following (as I
read in the manual)
AddHandler python-program .py
PythonHandler mptest
PythonDebug On
and create mptest.py under directory
/var/www/html/htdocs, (as I read in the manual)
---
I just use Gnuplot for plot module.
Maybe you can visit
http://gnuplot-py.sourceforge.net/
or the mailing list
http://lists.sourceforge.net/lists/listinfo/gnuplot-py-users
--- "Shankar Iyer ([EMAIL PROTECTED])"
<[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am looking for documentation on the plot mo
Hi all,
I've downloaded vrmlexport.py from:
http://www.andrew.cmu.edu/user/mzk/vrmlexport/
and install it under /usr/lib/python2.2/lib-old
directory using command:
python vrmlexport.py
I got the following error:
=
Traceback (most recent call last):
Fi
I tried
>>>foo.codetoexecwhenloaded()
and it worked
--- Arthas <[EMAIL PROTECTED]> wrote:
> How I do it?
>
> I wanna execute some code when a module is imported:
>
> -- foo.py --
> #!/usr/bin/env python
>
> def codetoexecwhenloaded():
> print "bar"
> -- end of foo.py --
>
> -- in console --
>
I never use python2.4, I use python 2.3 and here is
(maybe it works). For example, the hello.py is under
directory
C:\Python23\latihan\
and put the setup.py under that directory
--
#setup.py
from distutils.core import setup
import py2exe
setup(console=["hel
Hi all,
I have some questions:
1. Can we use Tkinter for web application such as Java
?
2. I use gnuplot.py module for interfacing with
gnuplot in linux. Can we make the plot result shown in
web ? I tried using cgi, and it didn't work.
Thanks
_
Hi all,
I have some questions:
1. Can we use Tkinter for web application such as Java
?
2. I use gnuplot.py module for interfacing with
gnuplot in linux. Can we make the plot result shown in
web ? I tried using cgi, and it didn't work.
Thanks
__
Here is my code in cgi.
=
#!/usr/bin/python
print "Content-Type:text/plain\n\n"
# python code here (create a simulation or graphics)
The python code is ok when I run it in executable file
.py.
Friend told me to change the def