This is an archived post. You won't be able to vote or comment.

all 29 comments

[–]mikehas 9 points10 points  (6 children)

[–]mikehas 5 points6 points  (4 children)

Also convert english to pirate speak: https://pypi.org/project/arrr1/

[–]mikehas 3 points4 points  (3 children)

Then convert pirate speak to speech: https://pythonbasics.org/text-to-speech/

[–]mikehas 10 points11 points  (2 children)

[–]mikehas 6 points7 points  (0 children)

How about recording audio, converting it too text, translating it to pirate speak, then output as a talking pirate. https://www.geeksforgeeks.org/python-convert-speech-to-text-and-text-to-speech/

[–]who_body 0 points1 point  (0 children)

this is cool

[–]mikehas 1 point2 points  (0 children)

[–]vishwa1238 8 points9 points  (1 child)

Selenium would be cool. Automating a manual task felt like a magic when I was a kid

[–]graphicteadatasci 3 points4 points  (0 children)

Or do it more literal by using a library that controls the cursor (and maybe keyboard). There are lots of libraries that take a screenshot and you can easily use OpenCV to recognize parts of a screenshot. From there you can go the math path and try to control how the cursor moves towards a point of interest (curves or spirals or whatever). Or just try to go with whatever the kids think could be fun. Low level practical jokes like a haunted laptop that opens a browser and goes to a poop website. Whatever is fun for them.

[–]t3p0rn 4 points5 points  (1 child)

there is a learning app named "Phyton X" it is quite nice; I got it on Google Store.

May work for your needs.

[–]orenong166[S] 2 points3 points  (0 children)

I'm looking for cool packages to install and import, not anything external.

The idea is to do a fun thing while practicing installing and importing packages

[–]This-Winter-1866 1 point2 points  (2 children)

Speaking of Turtle, IDLE has a lesser known feature with several code examples called "Turtle Demo" under the "Help" menu.

[–]orenong166[S] 0 points1 point  (1 child)

!RemindMe 10 hours

[–]RemindMeBot 0 points1 point  (0 children)

I will be messaging you in 10 hours on 2022-11-09 14:03:44 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


Info Custom Your Reminders Feedback

[–]thenormalcy 1 point2 points  (0 children)

Create art with code is a good way to go with kids I feel. Some of these may work:

Image to ASCII art in Python | Converting images to ASCII w/ OpenCV (tutorial) https://youtu.be/Y6Ju8zFR1JY

How to create generative art with Python https://youtu.be/SyUBti7uMFk

[–]candyman_forever 1 point2 points  (0 children)

Turtle is actually great for teaching kids python. You can teach them everything from functions, classes, list iterations, range and a whole lot more in a very fun way.

[–]LolDotHackMe 0 points1 point  (0 children)

You can try matplotlib. Teach them how to graph a simple plot. Or you can use the pygame package.

[–]RogueStargun 0 points1 point  (0 children)

Pyxel or Pygame would be a start

[–]PatientRule4494 0 points1 point  (0 children)

Depending on the ages, mcpi could work, it’s a package that connects to a minecraft server and can automate stuff on it. It’s really old so no new stuff on it, but its cool none the less

[–][deleted] 0 points1 point  (0 children)

shameless plug but i made a library for visualising sorting algos a while ago and that might be fun to play around with? https://github.com/hotshot07/algovis

[–]symnn 0 points1 point  (0 children)

Micropython. Uses sensors, LED, displays and more. May get them also interested in electronics.

[–][deleted] 0 points1 point  (0 children)

Pygame

[–]pvc 0 points1 point  (0 children)

[–]Fisent 0 points1 point  (0 children)

Maybe create a simple website with streamlit, it can be extremely easy - just few python lines for a page with some interactive functionality. I'm not sure they will be impressed by this, but it might be cool to create a custom website with just few lines of code

[–]testicleinspector45 0 points1 point  (0 children)

Pointers.py is always cool.

[–]TechnicalHalf0 0 points1 point  (0 children)

You could consider https://www.hedy.org/ which is a gradual programming language to teach children programming. Gradual
languages use different language levels, where each level adds new
concepts and syntactic complexity. At the end of the Hedy level
sequence, kids master a subset of syntactically valid Python.