{"id":21398,"date":"2020-06-15T12:49:24","date_gmt":"2020-06-15T19:49:24","guid":{"rendered":"https:\/\/www.tynker.com\/blog\/?p=21398"},"modified":"2023-10-09T18:27:58","modified_gmt":"2023-10-10T01:27:58","slug":"tynker-toolbox-the-python-editor","status":"publish","type":"post","link":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-python-editor\/","title":{"rendered":"Tynker Toolbox: The Python Editor"},"content":{"rendered":"\n<p>Did you know that you can code in your web browser using more than just Tynker Blocks?\u00a0<\/p>\n\n\n\n<p>Tynker supports Python, the text-based programming language used by millions of <strong><em>professional coders <\/em><\/strong>at places like Google, NASA, and IBM.<\/p>\n\n\n\n<p>Python is a simple but powerful tool that anyone can learn, at any age, young or old. Python is a <strong><em>general purpose<\/em><\/strong><em> <\/em>programming language: That means you\u2019ll find Python used in a wide variety of professional fields like web development, statistics, scientific analysis, computer security, and more. Even journalists and business analysts use Python these days.&nbsp;<\/p>\n\n\n\n<p>Python coding projects are growing in popularity as educational tools because it\u2019s readable and high-level. Python has a welcoming and beginner-friendly community, as well as a flourishing ecosystem of powerful tools. Python has excellent libraries, tutorials, courses, books, and more, including some excellent online IDEs (integrated development environments), where you can experiment without installing anything. The language is named after the British comedy troupe, Monty Python.<\/p>\n\n\n\n<p>Let\u2019s see how you can become a Pythonista yourself, as simple as Tynker! You don\u2019t need to install anything\u2014just follow along online at <strong>tynker.com<\/strong>.&nbsp;<\/p>\n\n\n\n<p><\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_69_1 counter-hierarchy ez-toc-counter ez-toc-transparent ez-toc-container-direction\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<label for=\"ez-toc-cssicon-toggle-item-69d77b3c48673\" class=\"ez-toc-cssicon-toggle-label\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #206be5;color:#206be5\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #206be5;color:#206be5\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/label><input type=\"checkbox\"  id=\"ez-toc-cssicon-toggle-item-69d77b3c48673\"  aria-label=\"Toggle\" \/><nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-python-editor\/#Your_First_Python_Project\" title=\"Your First Python Project\">Your First Python Project<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-python-editor\/#Code_Snippets_and_Settings\" title=\"Code Snippets and Settings\">Code Snippets and Settings<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-python-editor\/#Project_1_Fantasy_Name_Generator\" title=\"Project #1: Fantasy Name Generator&nbsp;\">Project #1: Fantasy Name Generator&nbsp;<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-python-editor\/#Project_2_How_Much_Spare_Change\" title=\"Project #2: How Much Spare Change\">Project #2: How Much Spare Change<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-python-editor\/#Where_to_Go_From_Here\" title=\"Where to Go From Here?\">Where to Go From Here?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-python-editor\/#More_Activities\" title=\"More Activities\">More Activities<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Your_First_Python_Project\"><\/span>Your First Python Project<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Login at <strong>tynker.com<\/strong>. From your dashboard, select <strong>+Create Project<\/strong>, then choose <strong>Python Project<\/strong>. You\u2019ll see the Python Editor appear. Let\u2019s take a closer look. <\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"666\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200615100247\/python-editor-w-console-annotated-1024x666.png\" alt=\"An annotated image of Tynker's Python Editor. \" class=\"wp-image-21468\" srcset=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200615100247\/python-editor-w-console-annotated-1024x666.png 1024w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200615100247\/python-editor-w-console-annotated-150x98.png 150w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200615100247\/python-editor-w-console-annotated-300x195.png 300w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200615100247\/python-editor-w-console-annotated-768x499.png 768w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200615100247\/python-editor-w-console-annotated-1280x832.png 1280w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200615100247\/python-editor-w-console-annotated.png 2000w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u2776 This is the File Manager. Your Python programming project can be as simple as a single file, like this one named main.py. Advanced Python projects might contain several scripts, images, and other assets, organized into folders. Click on the \u25be next to the file names to Rename, Move, Download, or Delete a file.<\/p>\n\n\n\n<p>\u2777 This is the Editor. Write your Python code here. Notice how line numbers in the Python code editor online appear on the left\u2014this is a quick and easy way to refer to the particular parts of a Python program. (Don\u2019t see anything to edit? First select a file from the File Manager.)<\/p>\n\n\n\n<p>\u2778&nbsp; This is the Output Area. You\u2019ll see the results of what you created using our Python coding tool displayed here. Click Play to run your code.<\/p>\n\n\n\n<p>\u2779 This is the <strong>Console<\/strong>. If you made an error in your code, you\u2019ll get a notification here and some hints about what\u2019s wrong, including the line number where the error appears. The Console pane won\u2019t appear until you receive an error message (or use the console for another purpose). Click <strong>Clear <\/strong>to remove old messages, or the <strong>(X) <\/strong>to close the console entirely.<\/p>\n\n\n\n<p>\u277a Notice, too, that you can edit your project\u2019s <strong>Title<\/strong>.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Code_Snippets_and_Settings\"><\/span>Code Snippets and Settings<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>The top of the code editor also has some special features worth pointing out.&nbsp;<br><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200604120520\/editor-buttons.png\" alt=\"The top of Tynker's Python Editor has several shortcuts. These icons are described below, from left to right\" class=\"wp-image-21400\" width=\"398\" height=\"102\" srcset=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200604120520\/editor-buttons.png 530w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200604120520\/editor-buttons-150x38.png 150w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200604120520\/editor-buttons-300x77.png 300w\" sizes=\"auto, (max-width: 398px) 100vw, 398px\" \/><\/figure><\/div>\n\n\n<p><\/p>\n\n\n\n<p><strong>Undo. <\/strong>Revert an edit.\u00a0<br><\/p>\n\n\n\n<p><strong>Redo. <\/strong>Undoes your last undo.&nbsp;<br><\/p>\n\n\n\n<p><strong>Media Library. <\/strong>Add images to your project. Then they\u2019ll appear in the File Manager.&nbsp;<\/p>\n\n\n\n<p><strong>Code Snippets. <\/strong>Forget the syntax for a coding concept, like a <strong><em>for loop<\/em><\/strong> or how to <strong><em>get user input<\/em><\/strong>? Click this button to reveal some pre-written code that you can <strong>Insert <\/strong>directly into your project.  <\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200604120557\/snippets-1024x703.png\" alt=\"Tynker's code snippet interface has prebuilt code inserts\" class=\"wp-image-21401\" width=\"512\" height=\"352\" srcset=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200604120557\/snippets-1024x703.png 1024w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200604120557\/snippets-150x103.png 150w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200604120557\/snippets-300x206.png 300w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200604120557\/snippets-768x527.png 768w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200604120557\/snippets-220x150.png 220w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200604120557\/snippets.png 1214w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><\/figure><\/div>\n\n\n<p><\/p>\n\n\n\n<p><strong>\u2699\ufe0f Settings. <\/strong>Customize the editor\u2019s display. For example, you can swap themes from Light to Dark.\u00a0<\/p>\n\n\n\n<p>Looking for some simple Python programs to see the possibilities? Read on.\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Project_1_Fantasy_Name_Generator\"><\/span>Project #1: Fantasy Name Generator&nbsp;<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>How about a random name generator! This program generates goofy medieval titles. Just read the code closely to start.&nbsp;<br><\/p>\n\n\n\n<p><strong><em>nobles.py<\/em><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">import random<br><br>rank = [\"Duke\", \"King\", \"Baron\", \"Earl\", \"Jester\", \"Queen\", \"Warden\", \"Knight\", \"Emperor\"]<br>territory = [\"The North\", \"The Basement\", \"Northumbria\", \"Dubuque, Iowa\", \"The Frozen Wastes\", \"The Endless Grasslands\", \"Tlon\", \"Mordor\"]<br><br>def new_name():&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;print(\"Her majesty blesses you with a new position and rank.\")&nbsp;<br>&nbsp;&nbsp;&nbsp;&nbsp;print(\"Your new title is \" + random.choice(rank) + \" of \" + random.choice(territory))<br><br>new_name()<br><\/pre>\n\n\n\n<p>One list called <strong>rank <\/strong>holds all possible titles, while a second list called <strong>territory <\/strong>holds the possible lands you might rule over. The program randomly selects one element from <strong>rank <\/strong>and <strong>territory<\/strong>, then joins them together using the + operator.&nbsp;<br><\/p>\n\n\n\n<p>Write a version of it yourself and press <strong>Play<\/strong>. Don\u2019t like your luck? Re-run the program and get a new title. Here\u2019s are a few sample runs, so you get the idea of what this program should output and how you might tweak it:&nbsp;<\/p>\n\n\n\n\n\n<p><strong>&nbsp;    Her majesty blesses you with a new position and rank.&nbsp;<\/strong><br><strong>&nbsp;    Your new title is Emperor of The Endless Grasslands<\/strong><\/p>\n\n\n\n<p><strong>&nbsp;    Her majesty blesses you with a new position and rank.&nbsp;<\/strong><br><strong>&nbsp;    Your new title is King of Dubuque, Iowa<\/strong><\/p>\n\n\n\n<p><strong>&nbsp;    Her majesty blesses you with a new position and rank.&nbsp;<\/strong><br><strong>&nbsp;    Your new title is Baron of The Basement<\/strong><br><\/p>\n\n\n\n\n\n<p>Change the name generator program so that it\u2019s <strong><em>your <\/em><\/strong>favorite theme or fictional world. Can you add code so that this program gives you a henchman at random too? What about new honorifics or random adjectives? Perhaps you\u2019re the Honorable Milkman or the Desperate Duchess.<em>&nbsp;<\/em><\/p>\n\n\n\n<p><strong><em>HINT: <\/em><\/strong><em>Create another list variable (like <\/em><strong><em>rank <\/em><\/strong><em>and <\/em><strong><em>territory<\/em><\/strong><em>), then edit the  <\/em><strong><em>new_name()<\/em><\/strong><em> function definition. Play around with it!&nbsp;<\/em><br><\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Project_2_How_Much_Spare_Change\"><\/span>Project #2: How Much Spare Change<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Here\u2019s a Python script that defines a function called <strong>spare_change() <\/strong>\u2014 then gets the user\u2019s input to calculate the worth of a handful of coins.&nbsp;<br><\/p>\n\n\n\n<p><strong><em>sparechange.py<\/em><\/strong><br><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">def spare_change(quarters, dimes, nickels, pennies) :<br>&nbsp;&nbsp;&nbsp;&nbsp;cents = quarters * 25 + dimes * 10 + nickels * 5 + pennies<br>&nbsp;&nbsp;&nbsp;&nbsp;return cents<br><br>q = int(input(\"How many quarters? \"))<br>d = int(input(\"How many dimes? \"))<br>n = int(input(\"How many nickels? \"))<br>p = int(input(\"How many pennies? \"))<br><br>print(\"You have \" + str(spare_change(q, d, n, p)) + \" cents!\")<\/pre>\n\n\n\n<p>Program it yourself, then press <strong>Play <\/strong>to see it in action. Here\u2019s a sample run:&nbsp;<\/p>\n\n\n\n\n\n<p>How many quarters? <strong>5<\/strong><br>How many dimes? <strong>2<\/strong><br>How many nickels? <strong>4<\/strong><br>How many pennies? <strong>23<\/strong><br>You have 188 cents!<\/p>\n\n\n\n\n\n<p>Can you write your own program that asks the user a question, then makes a calculation based on their answer? Here are a few ideas:\u00a0<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Ask the user how much they weigh, in pounds. Then reply with how much the user weighs in tangerines &#8230; paperclips \u2026 or elephants? Or how much they&#8217;ll weigh on the Moon!\u00a0<\/li>\n\n\n\n<li>Calculate how many golf balls you&#8217;d need to stack to reach a distance, in miles. (Hint: A golf ball is 1.68 inches wide.)<\/li>\n\n\n\n<li>Calculate a duration: Convert a time given in <em>weeks <\/em>to a time in <em>seconds<\/em>.\u00a0<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Where_to_Go_From_Here\"><\/span>Where to Go From Here?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p><a href=\"https:\/\/www.tynker.com\/blog\/learning-python-for-kids-is-an-essential-21st-century-skill\/\">Python coding<\/a> is undeniably more challenging than coding with Tynker blocks\u2014as you\u2019ve noticed already, you have to spell everything <strong><em>exactly <\/em><\/strong>right and be careful about punctuation and spacing, too.\u00a0<\/p>\n\n\n\n<p>But Python is also <strong>rewarding<\/strong>: it unlocks powerful new tools and countless new avenues for the study of computer science. <\/p>\n\n\n\n<p>If you&#8217;re hitting the limits of block coding, or considering your next steps in CS education, definitely check out Tynker\u2019s Python courses, which are perfect for kids (and kids-at-heart, too) who want to learn something new about coding:&nbsp;<br><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.tynker.com\/courses\/python-1-jungle-run-adventure\"><strong>Python 101<\/strong><\/a> is an engaging interactive course suitable for readers of any age. Start by solving movement puzzles and brushing up on core coding concepts \u2014 before you know it, you\u2019ll be designing games like Snake, Frogger, and Tetris.&nbsp;<\/li>\n\n\n\n<li><a href=\"https:\/\/www.tynker.com\/courses\/python-2\"><strong>Python 201<\/strong><\/a> is a text-driven course that takes a deeper dive into syntax, with interactive examples and exciting coding challenges.&nbsp;<\/li>\n\n\n\n<li><a href=\"https:\/\/www.tynker.com\/parents\/curriculum\/data-science-1\/\"><strong>Data Science 1<\/strong><\/a> is a crash course in basic statistics and data visualization techniques. Data is everywhere around us, transforming our world. Learn how to make use of Python, the most popular language for data science \u2014 and create beautiful data visualizations.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.tynker.com\/courses\/home-microbit-python\"><strong>Micro:Python<\/strong><\/a> is an advanced Python&nbsp;course for those interested in controlling gizmos and hardware gadgets with code. Connect a micro:bit to your computer and get coding!&nbsp;<\/li>\n<\/ul>\n\n\n\n<p>Looking for something free? Find more starter projects in the <strong>Python <\/strong>category, too:&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"765\" src=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200604121440\/python-tuts-1024x765.png\" alt=\"A screenshot displays Tynker's Python Tutorials, including Charting, Fractals, Text Games, and more\" class=\"wp-image-21402\" srcset=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200604121440\/python-tuts-1024x765.png 1024w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200604121440\/python-tuts-150x112.png 150w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200604121440\/python-tuts-300x224.png 300w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200604121440\/python-tuts-768x573.png 768w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200604121440\/python-tuts-94x70.png 94w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200604121440\/python-tuts-1280x956.png 1280w, https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200604121440\/python-tuts.png 1326w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Did you make something cool with Python? Tell us at <a href=\"mailto:community@tynker.com\">community@tynker.com<\/a>.&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"More_Activities\"><\/span>More Activities<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Looking for more coding activities? Check out the <a href=\"https:\/\/www.tynker.com\/parents\/\">Course Catalog<\/a>.\u00a0<\/p>\n\n\n\n<p>And read the rest of our free tutorials in the Tynker Toolbox series:\u00a0<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.tynker.com\/blog\/tynker-workshop-basics\/\"><strong>Tynker Workshop Basics<\/strong><\/a> \u2014 Learn about coordinates and start coding with Tynker.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.tynker.com\/blog\/animation-tool\/\"><strong>The Animation Tool<\/strong><\/a> \u2014 Learn about frame-based animation and other animation tips.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-character-creator\/\"><strong>The Character Creator<\/strong><\/a> \u2014 Take control of custom rigs using the Animation blocks.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.tynker.com\/blog\/text-tricks\/\"><strong>Text Tricks<\/strong><\/a> \u2014 Work with speech bubbles and more. Tell your own stories, put on a play, or make a computer write poetry!<\/li>\n\n\n\n<li><a href=\"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-sound-blocks\/\"><strong>The Sound Blocks<\/strong><\/a> \u2014 Play music with code! Add custom sound effects, too. Tynker\u2019s brand new music tool supports MIDI and MP3.&nbsp;<\/li>\n\n\n\n<li><a href=\"https:\/\/www.tynker.com\/blog\/the-synth-blocks\/\"><strong>The Synth Blocks<\/strong><\/a> \u2014 Create your own sound effects and instruments! You can create crunchy dubstep drops, glitchy chiptunes, or instruments from any style of music you can imagine!&nbsp;<\/li>\n\n\n\n<li><a href=\"https:\/\/www.tynker.com\/blog\/tynker-toolbox-code-block-tricks\/\"><strong>Code Block Tricks<\/strong><\/a> \u2014 Get top-secret ninja tips for writing code fast in Tynker Workshop.&nbsp;<\/li>\n\n\n\n<li><a href=\"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-pen-blocks\/\"><strong>The Pen Blocks<\/strong><\/a> \u2014 Make your actors draw as they move. Create patterns, draw geometric shapes, and more.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-physics-blocks\/\"><strong>The Physics Blocks<\/strong><\/a> \u2014 Create games or simulations with gravity, collisions, and more. Think: <em>Angry Birds<\/em> and <em>Marble Madness<\/em>.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.tynker.com\/blog\/the-ar-blocks\/\"><strong>The Augmented Reality (AR) Blocks<\/strong><\/a> \u2014 Want to use video or photos in your programs? Try the AR Blocks, which let you code your own selfie!&nbsp;<\/li>\n\n\n\n<li><a href=\"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-ai-blocks\/\"><strong>The Artificial Intelligence (AI) Blocks<\/strong><\/a> \u2014 Take your AR projects to the next level with face-, hand-, and pose-tracking. Explore what makes AI special.&nbsp;<\/li>\n\n\n\n<li><a href=\"https:\/\/www.tynker.com\/blog\/debugger\/\"><strong>The Debugger<\/strong><\/a><span style=\"color: initial;\"> \u2014 Learn about Tynker\u2019s data debugger and get bug-fixing tips.<\/span><\/li>\n\n\n\n<li><a href=\"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-tutorial-builder\/\"><strong>The Tutorial Builder<\/strong><\/a> \u2014 Did you ever make a really cool Tynker Block project and wish you could teach the whole world exactly how you did it? Now you can!<\/li>\n<\/ul>\n\n\n\n<p><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Did you know that you can code in your web browser using more than just Tynker Blocks?\u00a0 Tynker supports Python, the text-based programming language used by millions of professional coders at places like Google, NASA, and IBM. Python is a simple but powerful tool that anyone can learn, at any age, young or old. Python is a general purpose programming [&hellip;]<\/p>\n","protected":false},"author":25,"featured_media":21471,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[53,12,123,511],"tags":[418,429],"class_list":["post-21398","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-coding-at-home","category-ideas-and-tips","category-new-tynker-features","category-programming-languages","tag-python","tag-tynker-toolbox"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Tynker Toolbox: The Python Editor - Tynker Blog<\/title>\n<meta name=\"description\" content=\"Tynker&#039;s Python Editor makes getting started coding easy. Get started with a few starter scripts and explore Tynker&#039;s Python courses.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-python-editor\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Tynker Toolbox: The Python Editor - Tynker Blog\" \/>\n<meta property=\"og:description\" content=\"Tynker&#039;s Python Editor makes getting started coding easy. Get started with a few starter scripts and explore Tynker&#039;s Python courses.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-python-editor\/\" \/>\n<meta property=\"og:site_name\" content=\"Tynker Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/Gotynker\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-06-15T19:49:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-10-10T01:27:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200615112957\/blog-26.png\" \/>\n\t<meta property=\"og:image:width\" content=\"996\" \/>\n\t<meta property=\"og:image:height\" content=\"450\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Tynker Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@gotynker\" \/>\n<meta name=\"twitter:site\" content=\"@gotynker\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tynker Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"8 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Tynker Toolbox: The Python Editor - Tynker Blog","description":"Tynker's Python Editor makes getting started coding easy. Get started with a few starter scripts and explore Tynker's Python courses.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-python-editor\/","og_locale":"en_US","og_type":"article","og_title":"Tynker Toolbox: The Python Editor - Tynker Blog","og_description":"Tynker's Python Editor makes getting started coding easy. Get started with a few starter scripts and explore Tynker's Python courses.","og_url":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-python-editor\/","og_site_name":"Tynker Blog","article_publisher":"https:\/\/www.facebook.com\/Gotynker\/","article_published_time":"2020-06-15T19:49:24+00:00","article_modified_time":"2023-10-10T01:27:58+00:00","og_image":[{"width":996,"height":450,"url":"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200615112957\/blog-26.png","type":"image\/png"}],"author":"Tynker Team","twitter_card":"summary_large_image","twitter_creator":"@gotynker","twitter_site":"@gotynker","twitter_misc":{"Written by":"Tynker Team","Est. reading time":"8 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-python-editor\/#article","isPartOf":{"@id":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-python-editor\/"},"author":{"name":"Tynker Team","@id":"https:\/\/www.tynker.com\/blog\/#\/schema\/person\/934d769f4839cb9df678306ee728f671"},"headline":"Tynker Toolbox: The Python Editor","datePublished":"2020-06-15T19:49:24+00:00","dateModified":"2023-10-10T01:27:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-python-editor\/"},"wordCount":1482,"publisher":{"@id":"https:\/\/www.tynker.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-python-editor\/#primaryimage"},"thumbnailUrl":"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200615112957\/blog-26.png","keywords":["Python","Tynker Toolbox"],"articleSection":["Coding at Home","Ideas and Tips","New Tynker Features","Programming Languages"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-python-editor\/","url":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-python-editor\/","name":"Tynker Toolbox: The Python Editor - Tynker Blog","isPartOf":{"@id":"https:\/\/www.tynker.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-python-editor\/#primaryimage"},"image":{"@id":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-python-editor\/#primaryimage"},"thumbnailUrl":"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200615112957\/blog-26.png","datePublished":"2020-06-15T19:49:24+00:00","dateModified":"2023-10-10T01:27:58+00:00","description":"Tynker's Python Editor makes getting started coding easy. Get started with a few starter scripts and explore Tynker's Python courses.","breadcrumb":{"@id":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-python-editor\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-python-editor\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-python-editor\/#primaryimage","url":"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200615112957\/blog-26.png","contentUrl":"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20200615112957\/blog-26.png","width":996,"height":450},{"@type":"BreadcrumbList","@id":"https:\/\/www.tynker.com\/blog\/tynker-toolbox-the-python-editor\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Coding for Kids","item":"https:\/\/www.tynker.com\/"},{"@type":"ListItem","position":2,"name":"Blog","item":"https:\/\/www.tynker.com\/blog\/"},{"@type":"ListItem","position":3,"name":"Tynker Toolbox: The Python Editor"}]},{"@type":"WebSite","@id":"https:\/\/www.tynker.com\/blog\/#website","url":"https:\/\/www.tynker.com\/blog\/","name":"Tynker Blog","description":"Tynker makes it fun and easy to learn computer programming. Get started today with Tynker&#039;s easy-to-learn, visual programming courses designed for young learners in grades K-12.","publisher":{"@id":"https:\/\/www.tynker.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.tynker.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.tynker.com\/blog\/#organization","name":"Tynker - Coding for Kids","url":"https:\/\/www.tynker.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.tynker.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20220713063303\/appicon-120.png","contentUrl":"https:\/\/images.tynker.com\/blog\/wp-content\/uploads\/20220713063303\/appicon-120.png","width":120,"height":120,"caption":"Tynker - Coding for Kids"},"image":{"@id":"https:\/\/www.tynker.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/Gotynker\/","https:\/\/x.com\/gotynker","https:\/\/www.instagram.com\/tynkercoding\/","https:\/\/www.pinterest.com\/gotynker\/","https:\/\/www.linkedin.com\/company\/tynker"]},{"@type":"Person","@id":"https:\/\/www.tynker.com\/blog\/#\/schema\/person\/934d769f4839cb9df678306ee728f671","name":"Tynker Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.tynker.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0c99790faad86022606c21f06600125a?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0c99790faad86022606c21f06600125a?s=96&d=mm&r=g","caption":"Tynker Team"},"url":"https:\/\/www.tynker.com\/blog\/author\/lpateltynker-com\/"}]}},"_links":{"self":[{"href":"https:\/\/www.tynker.com\/blog\/wp-json\/wp\/v2\/posts\/21398","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tynker.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tynker.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tynker.com\/blog\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tynker.com\/blog\/wp-json\/wp\/v2\/comments?post=21398"}],"version-history":[{"count":32,"href":"https:\/\/www.tynker.com\/blog\/wp-json\/wp\/v2\/posts\/21398\/revisions"}],"predecessor-version":[{"id":36470,"href":"https:\/\/www.tynker.com\/blog\/wp-json\/wp\/v2\/posts\/21398\/revisions\/36470"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.tynker.com\/blog\/wp-json\/wp\/v2\/media\/21471"}],"wp:attachment":[{"href":"https:\/\/www.tynker.com\/blog\/wp-json\/wp\/v2\/media?parent=21398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tynker.com\/blog\/wp-json\/wp\/v2\/categories?post=21398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tynker.com\/blog\/wp-json\/wp\/v2\/tags?post=21398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}