We have created some programs with examples of programs to add additional functionality to our Python code editor. All teachers and students can fork a copy of the programs to try out the code!
If you would like to add this into existing assignments, you can create a custom assignment! You can also fork the program to your sandbox and assign it to your class from there.
Concatenate strings
This is the Author Names exercise demonstrated and explained with comments for a teacher. You can check out the code here.
Emojis in code
Did you know you can use emojis in our Python IDE? 🤩
Check out a sample program here.
for
loop incrementing
This program will demonstrate the value of i
in for
loops and how to add or changes its value as it increments. Check out the code here.
Google search with Python
Here is a simple program showing how to do a Google search. You can check out the code here.
Operators = vs ==
This is a short program that shows the difference between assignment operators and comparison operators. Check out the code here.
pep8
This will check Python code for correct/conventional style. Check out the code here.
Pygame
This program shows how to create fullscreen in Pygame. Check out the code here.
Python autograder library sneak peek
This program demonstrates some behind-the-scenes autograder code! Check it out here.
Python color text
Does your console output need a bit of flair? This program will show you how to add some color to your Python console programs! Check it out here.
Python fetch text
This program shows how to fetch text from an external site. Check it out here.
Python3 REPL
As a shell, the Read, Evaluate, Print Loop lets you continuously repeat reading a line of code inputted by a user, evaluate that line, and print out the evaluation. View our Tutorial for more info and check out the code here.
Reading a .csv file
Check out this program here to see how to read a .csv file from your Python IDE!
Tabulate
This program shows how to install and use the Tabulate library. Check it out here.
Still have questions? Contact our team at hello@codehs.com to learn more!