Conditional Formatting – when cell contains text

Its the start of a new year and I’m getting my class timetable from our school system. I like working with colour coding so I can see what years I’m teaching. I used to do it manually but today I looked into how to do it using conditional formatting in Excel. It’s a bit odd but it seems to work. You have to add it based on a formula and the formula I used is this:

=ISNUMBER(SEARCH($A$1,"9"))

..to look for a cell that contains “9”. Note: $A$1 is the first cell of the block I have selected. And I make the background colour change to yellow.

I’ve added 4 other rows depending on what Year groups I’m teaching (eg 10, 11, 12 and 13)

It should also make it easier to change the colours if I think they’re a bit naff!

Another useful conditional formatting rule I discovered to highlight those students who missed marks in each question is shown below:

See how the max mark is shown at the top of the column (row 8) and the student marks are from G12 across and down. It just makes it easy to spot patterns where students haven’t got full marks.

Python Code to Know

This is the copy of the Jupyter Notebook I was working on Google Co Lab to show the Year 10/11s for the basics of Python programming. But alas Google Colab is blocked in school. However there is a way of publishing the notebook as a GitHub Gist. And the link below should show the gist (which is linked to the Colab notebook. Confused? I know I am!)

How I finally got a Python Flask app installed on Cpanel

In summary:

1. Check versions! Of Python, Flask and Jinja
2. Read this really useful tutorial https://dev.to/lordghostx/how-to-host-flask-applications-on-namecheap-cpanel-299b (Thanks LordGhostX)

Okay so I’ve been meaning to figure this out for a while. Flask is a good library for letting students use the power of Python as a back end to the graphical niceties of HTML,CSS and Javascript. But we’ve been stuck to using it on Replit or Glitch which, being public sites, aren’t ideal for students who are doing their final year project and suffer the other issues of remotely hosted IDEs. So I was always interested in finding another way. Read more…

Learning about AI with Google’s Teachable Machine

https://teachablemachine.withgoogle.com/

I’m teaching a module on Artificial Intelligence to my Year 9 students, and they are really enjoying it. Today’s lesson was about “How do we get a machine to learn” and led on to training the following machine to recognise the difference between two students.
Unfortunately, the model was taking too long to train at the end of the lesson (hint – always leave plenty of time to do this activity!) but I didn’t want to lose the value training it had done so at the end I downloaded the model and set up a page that has a webcam that will (hopefully) detect which student is standing in front of the camera. The beauty of this is that no images of the students are stored anywhere. The model has already learned all it needs and discarded the original images.

https://geekcandy.co.uk/teachablemachine/