I use MAC OSX 10.9.5
Canopy Enthought python 2.7.6
I also use the Enthought Package Manager to keep my installation up-todate.
For about two weeks now, Canopy says that I need to install psutil
2.2.0-1 instead of the currently installed version 2.1.1.
I appear to do that successfully, but the n
Dear All,
I created a class that invoke from another file another class
I get an error that I do not understand: gobal name Job is not defined
However If I see the class imported I found the class Job.
Any suggestion or example on class invoke another class
#job,py
class Jobs:
.
#trial
On Thu, Jan 22, 2015 at 8:11 AM, jarod...@libero.it wrote:
> Dear All,
>
> I created a class that invoke from another file another class
> I get an error that I do not understand: gobal name Job is not defined
Please use copy-and-paste. You just typed out the error message by
hand: we can tell
-- Forwarded message --
From: dw
Date: Thu, Jan 22, 2015 at 7:49 AM
Subject: Re: [Tutor] Testing a string to see if it contains a substring
To: Danny Yoo
Hi Danny.
Thanks for your email.
The number of elements could start out as up to 500.
But since they are short string element
And will this vary depending on whether a version control system is
being used or not? Or is the use of a version control system
considered to be highly recommended (if not mandatory)?
--
boB
___
Tutor maillist - Tutor@python.org
To unsubscribe or cha
On 22Jan2015 17:11, jarod...@libero.it wrote:
I created a class that invoke from another file another class
I get an error that I do not understand: gobal name Job is not defined
However If I see the class imported I found the class Job.
Any suggestion or example on class invoke another class
On 22/01/15 21:17, boB Stepp wrote:
And will this vary depending on whether a version control system is
being used or not? Or is the use of a version control system
considered to be highly recommended (if not mandatory)?
Virtually nothing in Python is mandatory - unless you plan on putting
you
On 22/01/15 12:56, Sydney Shall wrote:
I use MAC OSX 10.9.5
Canopy Enthought python 2.7.6
I also use the Enthought Package Manager to keep my installation up-todate.
Canopy and Enthoughts paqckage management are well beyond the bounds of
standard Python.
What in fact is my problem? I simp
boB Stepp writes:
> And […]
Could you write a message body that asks the question? (The Subject
field isn't part of the message body.)
As it is, I'm not sure what in particular you're asking about.
--
\ “Are you thinking what I'm thinking, Pinky?” “Uh... yeah, |
`\ Brain, but
On Thu, Jan 22, 2015 at 03:17:58PM -0600, boB Stepp hid the following
question in the subject line:
"Does the Python way of doing things have a definite preference for the
structure and content of program file header comments?"
and then wrote:
> And will this vary depending on whether a versio
Dear All
How can gave the attributes __name__ to a function?
class Foo(object):
def __init__(self):
steps = {}
tmp = open("rnaseq.base.ini","rb")
config.readfp(tmp)
readsets =
parse_illumina_readset_file("/home/mauro/Desktop/readset.csv")
@prop
On Thu, Jan 22, 2015 at 5:25 PM, Ben Finney wrote:
> boB Stepp writes:
>
>> And […]
>
> Could you write a message body that asks the question? (The Subject
> field isn't part of the message body.)
Does the Python way of doing things have a definite preference for the
structure and content of pro
On Thu, Jan 22, 2015 at 5:45 PM, Steven D'Aprano wrote:
> On Thu, Jan 22, 2015 at 03:17:58PM -0600, boB Stepp hid the following
> question in the subject line:
>
> "Does the Python way of doing things have a definite preference for the
> structure and content of program file header comments?"
>
>
boB Stepp writes:
> Does the Python way of doing things have a definite preference for the
> structure and content of program file header comments?
To my knowledge, the term “program file header comments” for Python
would best describe a module docstring; not a comment, but documentation
https:/
Ben Finney writes:
> I would consider it good practice to have a copyright statement and a
> grant of license at the top; a handful of lines should suffice.
> […]
> But none of that belongs in the docstring.
>
> […]
> There is PEP 257 https://www.python.org/dev/peps/pep-0257/> which
> defines the
15 matches
Mail list logo