Looks like the installer for the Win32 extensions has changed from Wise to
distutils, so now my automated silent installations don't work anymore.
Anyone know if the distutils binary installer can be run silently?I
haven't been able find a command line reference for distutils binaries (I'm
Anyway, what's to worry about?When the time comes just whip out a little
script that converts Python 1.6 (or whatever you like) to Python3K; it will
only take seven lines of P3K code.
--
http://mail.python.org/mailman/listinfo/python-list
You didn't specify exactly how the string is parsed, so this is a guess:
class Thingy(object):
def __init__(self,rawinfo):
self.StructId, vq,self.ProcessName = rawinfo.split()
self.Version,self.QName = vq.split('.')
def __str__(self):
return '' % (self.StructId, self.Versio
That sounds easy enough, but I imagine the Acive State package requires some
kind of licensing.I'm pre-installing on millions of consumer PCs.
--
http://mail.python.org/mailman/listinfo/python-list
You guessed correctly. Python is on HP (and Compaq now) PCs because I put
it there.
And yes, I did get the "I've found Python on my computer, what does it do
and can I remove it" from the support group. How to answer that?You
have a computer with Windows Script Host (JScript & VBScript)
"Peter Hansen" <[EMAIL PROTECTED]> wrote:
> Only pure Python code can run without change on a newer interpreter.
Is the interpreter smart enough to rebuild a pyc (if the corresponding py
file is there of course) file that was built by a previous version?
--
http://mail.python.org/mailman/list
"Brad Tilley" <[EMAIL PROTECTED]> wrote:
>>>I'm dealing with a terabyte of files. Perhaps I should have mentioned
>>>that.
I wouldn't automatically assume that recursing the directories with a Python
script that calls a C program for each file is faster than doing the
processing in Python. Fo
Are you able change this directories attributes in a command shell or with
explorer?If so, have you tried win32file.SetFileAttributes()?
--
http://mail.python.org/mailman/listinfo/python-list
This is probably so easy that I'll be embarrassed by the answer. While
enhancing and refactoring some old code, I was just changing some map()s to
list comprehensions, but I couldn't see any easy way to change a zip() to a
list comprehension.Should I just let those sleeping dogs lie? (li
Actually i was not mutable. Try this:
i = 1
id(i)
i += 1
id(i)
Change both of your sample functions to also print the id of the default
variable and that might shed a little more light on the matter.
"i = i + 1" is only changing the local reference called i to refer to an
instance of a diffe
10 matches
Mail list logo