By mapping network drives in windows I can get past these issues with path
names.
Thanks,
David
"Tim Golden" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> David S wrote:
>> Gets me further but still seems to be issue with space after 'Progra
nstallerdist')
File "installer.py", line 26, in compile
assert os.system('%s -quiet -Djava.target_version=%s -buildfile %s%s' %
(ant
, version, script, args)) == 0
AssertionError
"Bryan Olson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
&
Hi,
Using "C:\Program Files\apache-ant-1.7.0\bin\ant.bat" just gives me the same
result.
David
"Dennis Lee Bieber" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Fri, 14 Mar 2008 04:37:12 GMT, "David S" <[EMAIL PROTECTED]>
; does not exist' % ANT_CMD)
David
"Mensanator" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
On Mar 13, 5:16 pm, "David S" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have some code in which I have to change some path names to get it to
> w
Hi,
I have some code in which I have to change some path names to get it to
work. The original code seems to have assumed that path names would not have
any embedded spaces.
I am not sure how to write the following line so when used in my script the
path will be found.
ANT_CMD = r'C:\Program
Hi,
I have an error occurring at
self.build_root = os.path.abspath(os.path.split(__file__)[0])
The error states 'NameError: global name '__file__' is not defined'
In Python 2.5 I ran my script as a module in IDLE gui. How does _file_ get
defined?
Yours,
David
--
http://mail.python.
Ah, pretty Python.
Thanks, all.
--
http://mail.python.org/mailman/listinfo/python-list
Does something like operator.getattr exist to perform a chained attr
lookup?
I came up with the following, but I can not help but think it is
already done and done better.
Peace,
David S.
def compose(funcs):
""" return composite of funcs
this does not support exten
er that a script lived and somehow indicate the root of my source so that
distutils could find other modules that the scripts use. Perhaps, I have not
organized things appropriately--I do not know. I will try to read the doco
again and see if I can infer some best practices.
Peace,
David S.
not found a way to similarly rename these.
Finally, it seems odd that I should have so many XXXsetup.py scripts in my
package root directory.
Thanks again,
David S.
--
http://mail.python.org/mailman/listinfo/python-list
other documentation or guides to using distutils.
Peace,
David S.
--
http://mail.python.org/mailman/listinfo/python-list
://candygram.sourceforge.net/) might be the way for me
to go, but I would still like to understand this pretty basic question. So any
insight, advice, or references on the problem as described would be very
welcome. It seems it must be fairly common.
Peace, David S.
--
http://mail.python.org/mailman
David S. alumni.tufts.edu> writes:
>
> Is there a generally accepted way to denote method signatures---that is,
> expected type or required interface for each argument.
>
Here is an answer:
http://python.org/peps/pep-0257.html
http://www.python.org/peps/pep-0008.h
Is there a generally accepted way to denote method signatures---that is,
expected type or required interface for each argument.
--
http://mail.python.org/mailman/listinfo/python-list
M.N.A.Smadi grads.ece.mcmaster.ca> writes:
> I need to have a varaible that will contain a value that will be
> modified in one file, and when coming back to the same file it
> should retain the same value.
You must import the module in which the variable lives and qualify it
appropriately.
re a little confused about properties and descriptors.
>
> regards
> Steve
Quite confused, actually, which was the reason for my original post.
Thanks again to those who helped me and any other confused folks
understand this bit of Python that much better.
Peace,
David S.
--
http://mail
taken
reading http://users.rcn.com/python/download/Descriptor.htm about 4 times
along with your help to get this straight.
Peace,
David S.
--
http://mail.python.org/mailman/listinfo/python-list
Steven Bethard gmail.com> writes:
>
> David S. wrote:
> > I am looking for a way to implement the same simple validation on many
> > instance attributes and I thought descriptors
> > (http://users.rcn.com/python/download/Descriptor.htm) looked like the
> >
utes across multiple classes?
Thanks, David S.
--
http://mail.python.org/mailman/listinfo/python-list
David S. alumni.tufts.edu> writes:
> I am sure it can be improved, but it was easy. By the
> way, it generates LaTeK.
LaTeX, rather.
--
http://mail.python.org/mailman/listinfo/python-list
If you are using ipython on Windows then you will
have made sure you have Gary Bishop's readline
library as instructed in the ipython install
directions found at:
http://ipython.scipy.org/
Even if you use the standard commandline tool,
installing readline makes the basic command line a
lot eas
john san att.net> writes:
>
> How to install python under DOS and is there any Wxpython-like can be
> installed under dos?
>
> Thanks.
>
If you are looking for Windows installers then, yes. See:
http://www.wxpython.org/
http://www.wxpython.org/download.php#binaries
If you are really looking f
Python 2.4 on Windows XP
In the python command-line the following works fine:
>>> from subprocess import *
>>> p = Popen('dir', stdout=PIPE)
>From within IDLE or PythonWin I get the following exception:
Traceback (most recent call last):
File "", line 1, in -toplevel-
p = Popen('dir', stdo
23 matches
Mail list logo