Back9 wrote:
Hi,
Is this grammer working in Python?
class test:
self._value = 10
def func(self, self._value)
When i try it, it complains about undefined self.
i don't know why.
TIA
... not exactly; try:
class Test:
_value = 10
def func(self):
print id(self._value), self._v
Stefan Behnel wrote:
j vickroy, 11.05.2010 16:46:
> Stefan Behnel wrote:
No, what Hudson actually does, is, it writes your command(s) into a
text file and runs it with the system's shell interpreter (which,
unless otherwise configured, is "cmd.exe" on Windows).
This is not
Stefan Behnel wrote:
j vickroy, 11.05.2010 16:46:
> Stefan Behnel wrote:
No, what Hudson actually does, is, it writes your command(s) into a
text file and runs it with the system's shell interpreter (which,
unless otherwise configured, is "cmd.exe" on Windows).
This is not
Thanks again, Stefan. My comments are below.
Stefan Behnel wrote:
j vickroy, 10.05.2010 17:39:
Unfortunately, when "Hudson Build now" is performed, the Hudson Console
output, for this job, is:
Started by user anonymous
Up
Jean-Michel Pichavant wrote:
j vickroy wrote:
Stefan Behnel wrote:
j vickroy, 07.05.2010 20:44:
I apologize if this is not the appropriate forum for a question about
Hudson (http://hudson-ci.org/), but I did not know where else to ask
and
my web searches have not been fruitful.
Certainly
Jean-Michel Pichavant wrote:
Stefan Behnel wrote:
j vickroy, 07.05.2010 20:44:
I apologize if this is not the appropriate forum for a question about
Hudson (http://hudson-ci.org/), but I did not know where else to ask and
my web searches have not been fruitful.
Certainly nice to read
Stefan Behnel wrote:
j vickroy, 07.05.2010 20:44:
I apologize if this is not the appropriate forum for a question about
Hudson (http://hudson-ci.org/), but I did not know where else to ask and
my web searches have not been fruitful.
Certainly nice to read something about Hudson in this forum
Scott wrote:
I want to write a script to automate log archiving/compressing on a
Win2003 server. I have Python 2.6 installed. I am planning to use 7-
zip for compression (because I have been using it manually for a while
now). For now all operations will be local in the C: drive.
As a total begi
Hello,
I have just upgraded from Python 2.5 to 2.6 and am unable to locate any
trace of the --install-script option, in release 2.6.4 (MS Windows XP),
for distutils.core.setup. I also have been unable to locate any mention
of it on-line.
My v2.5 setup.py scripts are failing with the falling
Aldo Cortesi wrote:
> We are happy to announce the first release of Pry, a unit testing framework.
>
> Features
>
>
> * Built-in coverage analysis, profiling, and quick-and-dirty benchmarking
> * Assertion-based tests - no ugly failUnless*, failIf*, etc. methods
> * Tree-base
Hello all,
I am using py.test (http://codespeak.net/py/dist/test.html) to perform
unit testing. I would like to include test coverage analysis using
coverage.py (http://nedbatchelder.com/code/modules/coverage.html), but I
do not know how to simultaneously apply the two tools in a single run.
Arnaud Delobelle wrote:
> On Mar 25, 6:13 pm, j vickroy <[EMAIL PROTECTED]> wrote:
>> Hello,
>>
>> Here is some pseudo-code that hopefully illustrates what I want to do:
>>
>> records = list(...)
>> for record in records:
>> new_
Hello,
Here is some pseudo-code that hopefully illustrates what I want to do:
records = list(...)
for record in records:
new_fcn = define_a function_for(record)
instance = my_new_class_instance()
setattr(instance, 'myfcn', new_fcn)
instance.execute() # instance.execute() calls ins
Ok, that indeed did work. Thanks for your help.
"Michael Auerswald" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Ok, problem solved, more or less. What happens is that Tcl isnt looking
> for the Tix DLL along the python path nor is it looking along the
> os.environ path, but
The Python modules documentation indicates crypt is only available on Unix
platforms.
<[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi folks!
>
> Can't compile my file due to some problems with crypt module.
> My platform is WinXP:
> First I launch my Python Shell,
> Than I open th
Hello,
I've just installed (accepted all installation defaults) Python 2.4 (final)
on my Microsoft Windows XP (home edition - service pack 2) computer, and I
am experiencing the following behavior regarding Tix:
>>> import sys
>>> sys.version
'2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32 bit
16 matches
Mail list logo