Greetings,
>Thank you very much Martin; you filled in a lot of details. I had an
>overall understanding of what unittest does, but you have now enhanced
>that understanding substantially.
Happy to help! I'll introduce you to my little menagerie below!
>I'm still iffy on how the mixin class ge
Hi,
you might want to look at things like Anaconda, Enthought, ... They come
with lots of packages/libraries pre-installed and a complete programming
environment. For small project, you could even look at Jupyter. I t allows
you to have your program, data & results (IIRC even pics & vids) in
somet
...
naturally, far better than what I wrote, is:
https://docs.microsoft.com/en-us/visualstudio/python/python-environments
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinf
On 04/18/2017 11:14 AM, Alan Gauld via Tutor wrote:
> On 18/04/17 17:55, Rafael Knuth wrote:
>> I wanted to start my first project using matplotlib (I have never
>> worked with libraries before).
>
> Every time you do an import you are using a library.
> eg
>
> import sys
> import os
> etc
>
>
On 18/04/17 17:55, Rafael Knuth wrote:
> I wanted to start my first project using matplotlib (I have never
> worked with libraries before).
Every time you do an import you are using a library.
eg
import sys
import os
etc
It's no big deal.
> I am trying to get started with VS Community 2017,
>
I wanted to start my first project using matplotlib (I have never
worked with libraries before). I am trying to get started with VS
Community 2017, and I am having trouble performing the most basic
tasks such as installing matplotlib. Anyone here using VS 2017? Or,
can anyone recommend an alternati
On 04/18/2017 04:00 AM, Thomas Güttler wrote:
> I would like to have read-only class properties in Python.
>
> I found this
> http://stackoverflow.com/questions/128573/using-property-on-classmethods
> But there are a lot of discussions of things which I don't understand.
>
> I want to be a user o
On 18/04/17 11:00, Thomas Güttler wrote:
> I would like to have read-only class properties in Python.
Is there a specific reason why? Do you think for example
that users of the class will deliberately try to modify
the attribute? Normally in Python we leave all attributes
public and unprotected (p
On Mon, 17 Apr 2017 22:57:41 -0500
boB Stepp wrote:
> I have yet to do much class writing with tkinter, but if I am
> understanding things correctly, in your Sudoku class where you
> instantiate a Canvas instance, you assign it to the name "the_canvas".
> This will be local to the __init__ method
Thomas Güttler wrote:
> I would like to have read-only class properties in Python.
>
> I found this
> http://stackoverflow.com/questions/128573/using-property-on-classmethods
> But there are a lot of discussions of things which I don't understand.
>
> I want to be a user of class properties, not
I would like to have read-only class properties in Python.
I found this
http://stackoverflow.com/questions/128573/using-property-on-classmethods
But there are a lot of discussions of things which I don't understand.
I want to be a user of class properties, not an implementer of the details.
I
Marilyn Davis wrote:
> #!/usr/bin/env python3
> """
> Hello Tutors,
>
> I can't figure out why the FillWithStars() function puts Canopus in the db
> twice.
>
> What am I missing?
>
> Thank you for any help.
>
> Marilyn Davis
>
> p.s. That Reset(db_name) is in there so that you can run it over
On 18/04/17 00:13, Phil wrote:
> Thank you for reading this.
>
> How do I reference the_canvas from my solve() method?
> class Sudoku(Frame):
> def __init__(self, parent):
> Frame.__init__(self, parent)
> self.parent = parent
>
> parent.title("Sudoku solver")
>
On 15Apr2017 14:05, Alan Gauld wrote:
On 15/04/17 03:17, Palm Tree wrote:
s="2*3+3(8-4(5+6+9))+2+3+3(4/4)"
i want to find expression enclosed in brackets.
i want outputs to be like:
(8-4(5+6+9))
(5+6+9)
(4/4)
You probably could do it with some fancy regex but personally
I'd investigate a
14 matches
Mail list logo