[Tutor] Tutoring co-workers.

Formula Root root.formula1 at gmail.com
Sun Feb 27 22:37:51 EST 2022


Trent,

Try:
- replit.com
- codingrooms.com



On Sun, Feb 27, 2022 at 12:01 PM <tutor-request at python.org> wrote:

> Send Tutor mailing list submissions to
>         tutor at python.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://mail.python.org/mailman/listinfo/tutor
> or, via email, send a message with subject or body 'help' to
>         tutor-request at python.org
>
> You can reach the person managing the list at
>         tutor-owner at python.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Tutor digest..."
> Today's Topics:
>
>    1. Re: Tutoring co-workers. (Nikil George)
>    2. Tkinter canvas on frame (Phil)
>    3. Re: Tkinter canvas on frame (Alan Gauld)
>
>
>
> ---------- Forwarded message ----------
> From: Nikil George <georgenikil at outlook.com>
> To: Mats Wichmann <mats at wichmann.us>, "tutor at python.org" <tutor at python.org
> >
> Cc:
> Bcc:
> Date: Sat, 26 Feb 2022 16:12:58 +0000
> Subject: Re: [Tutor] Tutoring co-workers.
> Thank you!!
>
> Get Outlook for Android<https://aka.ms/AAb9ysg>
> ________________________________
> From: Tutor <tutor-bounces+georgenikil=outlook.com at python.org> on behalf
> of Mats Wichmann <mats at wichmann.us>
> Sent: Saturday, February 26, 2022 10:06:45 AM
> To: tutor at python.org <tutor at python.org>
> Subject: Re: [Tutor] Tutoring co-workers.
>
> On 2/25/22 14:59, trent shipley wrote:
> > I'm looking at the possibility of teaching programming to a couple of
> > coworkers.  Python is an excellent pedagogical programming language, with
> > the added benefit of what you learn being directly applicable and
> > marketable in many work contexts.
> >
> > in the late 1980s, I took
> > computer science 110 and 210 in Pascal and turned in the code for my
> > assignments on fan-fold paper hard copy.
>
> My first "formal" language was also Pascal (had previously learned
> Fortran and Basic outside an academic setting). It was the era of
> Pascal, I guess (mine was a little earlier, we had to jockey for the
> very small number of cursor-addressable ADM 3a terminals that made
> screen-based editing possible).
>
> >
> > My goal is to use it for teaching coding by giving the same attention to
> my
> > students' feedback which Marrion Deckert gave to my ealy software writing
> > education, but without paper and at a distance.  How close can I come to
> > this vaporware ideal?
> >
> > (Oh yes, and a student should be able to drop their corrected code, with
> > all the history and comments hidden, straight into a syntax checker,
> REPL,
> > interpreter, or compiler.)
>
> There are some new and shiny ways to maybe get some of the spirit of
> this with some of the online collaborative editing environments, when
> combined with a github repo.  It would be very different than red pen on
> fanfold paper, but...  I don't know too many of the entrants in this
> exploding field, but take a look at Gipod, Replit or Codeshare.
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> To unsubscribe or change subscription options:
> https://mail.python.org/mailman/listinfo/tutor
>
>
>
>
> ---------- Forwarded message ----------
> From: Phil <phillor9 at gmail.com>
> To: tutor at python.org
> Cc:
> Bcc:
> Date: Sun, 27 Feb 2022 15:55:43 +1100
> Subject: [Tutor] Tkinter canvas on frame
> This is part of a project I was working on a couple of months ago and I
> didn't notice that there is a problem until today when I added some
> colours.
>
> The question is, how can I site the canvas on the frame so that the blue
> frame surrounds the canvas? Without the canvas the whole frame is blue.
> I suspect that it's to do with the pack manager.
>
> import tkinter as tk
>
>
> class Root(tk.Tk):
>      def __init__(self):
>          super().__init__()
>          self.title("Canvas Template")
>          self.geometry("400x300")
>
>          self.frame = tk.Frame(background='cornflowerblue')
>
>          self.frame.pack(fill=tk.BOTH, expand=1)
>
>          canvas = tk.Canvas(self, relief='flat', background='lightgrey',
>                             width=200, height=200)
>          canvas.pack(side=tk.TOP, anchor='nw', padx=10, pady=10)
>
>          quit_button = tk.Button(self, text="Quit", command=self.quit)
>          quit_button.pack(side=tk.BOTTOM, anchor='se', padx=10, pady=10)
>
>
> if __name__ == "__main__":
>      root = Root()
>      root.mainloop()
>
> --
> Regards,
> Phil
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Alan Gauld <alan.gauld at yahoo.co.uk>
> To: tutor at python.org
> Cc:
> Bcc:
> Date: Sun, 27 Feb 2022 08:35:31 +0000
> Subject: Re: [Tutor] Tkinter canvas on frame
> On 27/02/2022 04:55, Phil wrote:
>
> > class Root(tk.Tk):
> >      def __init__(self):
> >          super().__init__()
> >          self.title("Canvas Template")
> >          self.geometry("400x300")
> >
> >          self.frame = tk.Frame(background='cornflowerblue')
> >
> >          self.frame.pack(fill=tk.BOTH, expand=1)
> >
> >          canvas = tk.Canvas(self, relief='flat', background='lightgrey',
> >                             width=200, height=200)
> >          canvas.pack(side=tk.TOP, anchor='nw', padx=10, pady=10)
>
> Try changing the anchor from Northwest('nw') to 'center'
>
>
> --
> Alan G
> Author of the Learn to Program web site
> http://www.alan-g.me.uk/
> http://www.amazon.com/author/alan_gauld
> Follow my photo-blog on Flickr at:
> http://www.flickr.com/photos/alangauldphotos
>
>
>
> _______________________________________________
> Tutor maillist  -  Tutor at python.org
> https://mail.python.org/mailman/listinfo/tutor
>


More information about the Tutor mailing list