Paul Sutton

Python

Code Club 2/9/2023 reminder

The next Paignton Library code club is on Saturday 2nd September 2023, 10 am to 12:00. We will carry on with with the Code Club and hour of code projects and hopefully also the Python Projects.

I have added more links below to try and reflect our current set of activities.

Useful Links

Tags

#CodeClub,#Python,#HourOfCode,#Scratch,#Minecraft,#Themes, #Java,#Programmng

Code Club 2/9/2023

The next Paignton Library code club is on Saturday 2nd September 2023, 10 am to 12:00. We will carry on with with the Code Club and hour of code projects and hopefully also the Python Projects.

I have added more links below to try and reflect our current set of activities.

Useful Links

Tags

#CodeClub,#Python,#HourOfCode,#Scratch,#Minecraft,#Themes, #Java,#Programmng

Code Club 19/8/2023 Write up

So this week, we started the attendees with more Hour of Code activities. We are slowly starting to move towards learning text based programming languages and away from Scratch.

The hour of code activities allow for block programming but the resulting block code be viewed as java based code which is really useful for building that link.

In order to support this I had a go at Mario secret advantures which helps to build some of the many important features of gaming, movement, collision, scoring etc.

I have just made a video and uploaded to peer tube, my system is a little slow so I have left out the music part, but the main point of this exercise is to use loops to reduce code needed.

Next code club 2nd September.

Useful Links

Tags

#CodeClub,#Projects,#Python,#Scratch,#Coding.#Programming,#Children, #Education

Code Club – testing input

Once you have code working nicely, it is a good idea to add in error checking so that when asking for user input, what is put in to the program matches what is required.

We can ask a user for a numerical value so we know how many times to repeat the loop. How do we test for this.

letter = rawinput(“Enter your name “) i = letter.isalpha() while i != True: print(“Input MUST use letters”) letter = rawinput(“Name “) i = letter.isalpha() print letter

In this example, the user is asked to enter their name, this is stored and checked that is is actually a alphabetical character a-z or A-Z.

Tags

#CodeClub,#Python.#Programming,#UserInput,#Testing

Code Club 19/8/2023

The next Paignton Library code club is on Saturday 19th August 2023 10 am to 12:00. We will carry on with with the Code Club and hour of code projects and hopefully also the Python Projects.

Useful Links

Tags

#CodeClub,#Projects,#Python,#Scratch,#Coding.#Programming,#Children, #Education

Jupyter Notebook

This article on Jupyter notebook ties in nicely with a previous article on Scientific Writing so another really interesting article relating to this posted to the fediverse. This gives some useful tips and tricks to help you make the most of this powerful software.

You can read the article on Makeuseof here

Links

Tags

#Tech #MakeUseOf #TechNews #IT via @morganeogerbc #ProductivityTricks #ProductivityTips #Programming #CodingTips #Python,#JupyterNotebook

Code Club 5/8/2023

The next Paignton Library code club is on Saturday 5th August 2023 10 am to 12:00. We will carry on with with the Code Club projects, hour of code and some more Rocks and diamonds.

Useful Links

Tags

#CodeClub,#Projects,#Python,#Scratch,#Coding.#Programming,#Children, #Education

Code Club 22/7/2023 Write up

We had three new starters today, so as everyone is interested in Minecraft, I started everyone off with the Hour of Code Minecraft activities. This went really well,. kept everyone engaged with lots of valuable learning taking place.

I have also figured out how to set up Rocks and diamonds so we can skip completed levels and carry on from where people got to previously. I need to do this as the computers reset each time they are turned off, which means that progress data is also lost.

Useful Links

Next Code Club

The next code club is August 5th

Tags

#CodeClub,#Projects,#Python,#Scratch,#Coding.#Programming,#Children,#Education

Code Club 22/7/2023

The next Paignton Library code club is on Saturday 22nd July 2023 10 am to 12:00. We will carry on with with the Code Club projects, hour of code and perhaps hour of code. Probably some more Rocks and diamonds.

Useful Links

Tags

#CodeClub,#Projects,#Python,#Scratch,#Coding.#Programming,#Children, #Education

Code Club 1/7/2023 writeup

So today we did more of the usual coding. I spent some of the time trying to fix the issue I had with the Pi pico routine I have been working on. Please see earlier post.

This now appears to be fixed (or at least working a lot better than it was) and there should be video and photos up on the library website and social media pages.

I will get a video made for this and uploaded to peertube and post the new code block in a new post.

Next week is the STEM Group on 8th July 11 to 15:00 at the library.

I have put some of the links from this below as a list.

Useful Links

If you also sign up to the Raspberry Pi foundation, you can track your own progress and collect badges. This is optional, as this presents more ways for data to be collected.

As before if you would like to save work, please sign up for a scratch or Trinket account so you can save project progress and carry on at home or at the next session.

Video

Tags

#CodeClub,#Projects,#Python,#Scratch,#Coding.#Programming,#Children, #Education