Re: How to start using python

2020-11-12 Thread Bob Gailer
On Nov 12, 2020 10:41 PM, "Anthony Steventon" wrote: > > I am new to Python and have downloaded the software onto my pc. There is no shortcut on my desktop. How the heck do I access it to start learning how to program with it? Visit www.Python.Org there should be some links to tutorials that shou

How to start using python

2020-11-12 Thread Anthony Steventon
I am new to Python and have downloaded the software onto my pc. There is no shortcut on my desktop. How the heck do I access it to start learning how to program with it? Anthony Steventon. -- This email has been checked for viruses by AVG. https://www.avg.com -- https://mail.python.org/mailman

Re: Getting rid of virtual environments with a better dependency system

2020-11-12 Thread Chris Angelico
On Fri, Nov 13, 2020 at 9:41 AM Peter J. Holzer wrote: > > On 2020-11-12 10:56:45 +1100, Chris Angelico wrote: > > On Thu, Nov 12, 2020 at 10:44 AM Dan Stromberg wrote: > > > I do get a .../bin/backshift though, which is a bash script that > > > knows how to start up python on the main module. S

Re: Getting rid of virtual environments with a better dependency system

2020-11-12 Thread Peter J. Holzer
On 2020-11-12 10:56:45 +1100, Chris Angelico wrote: > On Thu, Nov 12, 2020 at 10:44 AM Dan Stromberg wrote: > > I do get a .../bin/backshift though, which is a bash script that > > knows how to start up python on the main module. So the user need > > not source something at install time or at run

Re: Class Definitions

2020-11-12 Thread dn via Python-list
On 13/11/2020 08:47, Alan Bawden wrote: r...@zedat.fu-berlin.de (Stefan Ram) writes: I expected this solution: class Main: def __init__( self ): self.value = 0 def count( self ): self.value += 1 but a student turned in the following so

Re: Class Definitions

2020-11-12 Thread Alan Bawden
r...@zedat.fu-berlin.de (Stefan Ram) writes: I expected this solution: class Main: def __init__( self ): self.value = 0 def count( self ): self.value += 1 but a student turned in the following solution: class Main: value = 0 def