[Bob Ippolito wrote]
> Of course the standard installers make this link. What they are
> missing (the framework ones anyway) is a link for pydoc,
ActivePython installs a /usr/local/bin/pydoc...
> and all of
> them are missing a versioned pydoc binary.
...but not a versioned one.
Trent
On Sep 3, 2005, at 2:05 AM, Bob Ippolito wrote:Because "import serial" imports whatever thing it finds named serial, and it's not finding PySerial because you have a module named serial.py. If the PySerial documentation says "name your script serial.py", then it's dumb because that won't work.-bob
On Sep 2, 2005, at 5:02 PM, Mark Baxter wrote:On Sep 3, 2005, at 1:57 AM, Bob Ippolito wrote:Don't name your module serial.Is there any particular reason why? The PySerial website (http://pyserial.sourceforge.net/) seems to think that it works and all I have done is try to follow the examples.Becau
On Sep 3, 2005, at 1:57 AM, Bob Ippolito wrote:Don't name your module serial.-bobIs there any particular reason why? The PySerial website (http://pyserial.sourceforge.net/) seems to think that it works and all I have done is try to follow the examples./MB
On Sep 2, 2005, at 4:17 PM, Mark Baxter wrote:Hi all.Sorry if this is really basic, but I've been tearing my hair out searching all over the place. I'm a complete beginner to Python (but not programming in general, I'm more of a C++ man normally).I am trying to install PySerial on a basic MacPython
Hi all.Sorry if this is really basic, but I've been tearing my hair out searching all over the place. I'm a complete beginner to Python (but not programming in general, I'm more of a C++ man normally).I am trying to install PySerial on a basic MacPython installation on 10.4. As is suggested by the
Bob Ippolito wrote:
>> I really wish specifying the version would become standard practice in
>> python development.
>
> That cuts both ways, for a lot of scripts you don't give a damn which
> python it is and changing the hash-bang every time you upgrade is a pain.
True. I actually make a cho
On Sep 2, 2005, at 2:52 PM, Chris Barker wrote:
> Just to add my $0.02 for completeness:
>
> I think the standard installers put a "python2.4" as well as "python"
> in usr/local/bin. If they don't, they should, and until then, you can
> put in a link yourself:
Of course the standard installers
Just to add my $0.02 for completeness:
People use:
#!/usr/bin/env python
so that the script will work on any system with a python on the PATH,
whether it's in /usr/bin or /usr/local/bin or wherever else.
Particularly on Linux systems, python gets installed different places
depending on whethe
Thanks Christian, it does work, on one Mac out of three...
It works on my laptop with matplotlib and stuff installed several months
ago.
It does not work on a Panther G5 with a newly installed matplotlib
(pythonmac).
It does not work on an out-of-the box Tiger with matplotlib (pythonmac)
installe
I just started using matplotlib a couple of weeks ago. And it will
generate .ps files.
I am using matplotlib 0.83.2 with python 2.41 framework on 10.4.2
but I have problems
with the font definitions in the .ps or .eps files. When I try to
convert them to .pdf I get an error
in distiller, pr
Hi Teemu,
Sure, why not? It works like in the examples provided with matplotlib.
For Example:
import matplotlib
matplotlib.use('Agg')
import pylab
pylab.plot(list1,list2,'k-')
pylab.title("some title")
pylab.xlabel('some unit label'
Hi,
Can the vector based backends (PS or SVG) be used on OS X? If so, could
someone provide examples.
I am using the binary package (Panther) from pythonmac
--
Teemu Rinne
Dept Psych
Univ Helsinki
___
Pythonmac-SIG maillist - Pythonmac-SIG@python.o
Bob Ippolito(e)k dio:
>
> On Sep 2, 2005, at 1:29 AM, altern wrote:
>
>> hi
>>
>> I am trying to launch a sound application (Pure Data) from a python
>> program. For this I am using this code:
>> #
>> execdir = os.path.dirname(sys.argv[0])
>> pdexc = os.path.join(execdir,
>> "/Pd-0.38-4-extended-
Hello all,
Can someone on the list be kind enough to explain
why my bundle
(created with bundlebuider) won't start when I
double click it in the
finder or when I type : >open
MyApp.app
but runs fine when I type :
>MyApp.app/Contents/MacOs/Myapp
in a terminal window.
The icon of my bund
On Sep 2, 2005, at 1:29 AM, altern wrote:
> hi
>
> I am trying to launch a sound application (Pure Data) from a python
> program. For this I am using this code:
> #
> execdir = os.path.dirname(sys.argv[0])
> pdexc = os.path.join(execdir,
> "/Pd-0.38-4-extended-RC1.app/Contents/MacOS/Pd")
> arg =
hi
I am trying to launch a sound application (Pure Data) from a python
program. For this I am using this code:
#
execdir = os.path.dirname(sys.argv[0])
pdexc = os.path.join(execdir,
"/Pd-0.38-4-extended-RC1.app/Contents/MacOS/Pd")
arg = os.path.join(execdir, "audio.pd")
os.spawnl(os.P_NOWAIT, pd
17 matches
Mail list logo