Hi Kate, and welcome!
My replies are interleaved between your questions.
On Fri, Sep 19, 2014 at 04:25:50PM -0500, Kate Reeher wrote:
> I have a custom class called Game, and it has a variable called
> "goals". I'd like to make this a list of custom objects, with various
> information about t
Hi Clayton, and welcome.
My responses are interleaved between your questions below.
On Sat, Sep 20, 2014 at 03:20:09PM -0700, Clayton Kirkwood wrote:
> I'm ramping slowly unfortunately. How does one go about knowing which module
> to import to make certain functions work?
Experience, practice, r
>> Secondarily, why can you import a module without it importing all of its
>> daughters?
>
> The act of importing a module is "recursive": if you import a module,
> and that module itself has import statements, then Python will do the
> import of the child modules too. And so forth.
Hi Deb,
Oh!
On Sat, Sep 20, 2014 at 3:20 PM, Clayton Kirkwood wrote:
> I’m ramping slowly unfortunately. How does one go about knowing which module
> to import to make certain functions work? I have a read() that fails because
> there is no definition for it.
Specific details may help here. Can you tell us
> The command I need to run is "BYPASSROOT=yes
> ./octosetupBROADCASTER-linux_i386.bin"
Semantically, the command above means:
execute "./octosetupBROADCASTER-linux_i386.bin" in an environment
that binds BYPASSROOT to "yes".
The subprocess.Popen command takes in an optional "env" argument,
Hey all, hope everyone is well.
I am trying to write a script that automates a certain task I have recently
found myself doing a lot lately.
The command I need to run is "BYPASSROOT=yes
./octosetupBROADCASTER-linux_i386.bin"
I know how to use subprocess to execute the "./octosetup..." command
I'm ramping slowly unfortunately. How does one go about knowing which module
to import to make certain functions work? I have a read() that fails because
there is no definition for it. I am using the Wing IDE. I have traversed
much of the developer's guide and can't find any certainty.
Secondar
Kate Reeher Wrote in message:
> I have a custom class called Game, and it has a variable called "goals". I'd
> like
> to make this a list of custom objects, with various information about the
> goals.
> class Game:
> goals = {}
That's a class attribute; the others below are instance
a
http://cscircles.cemc.uwaterloo.ca/run-at-home/
On Fri, Sep 19, 2014 at 11:04 AM, Danny Yoo wrote:
> On Wed, Sep 17, 2014 at 4:36 PM, Art Pelletier wrote:
> >
> > I am a beginner with pythons programming I would like to see if their
> is a site that has samples programs that I can practice on
I have a custom class called Game, and it has a variable called "goals". I'd
like to make this a list of custom objects, with various information about the
goals.
class Game: goals = {} class Goal(object): def
__init__(self,time,goal_by,assist_by,team,is_powerplay ):
10 matches
Mail list logo