Hello, World!
Explore how to set up and use Transcrypt to convert Python code into JavaScript for a simple Hello World project. Understand creating the necessary files, running transpile commands, and serving the app through a web server. This lesson guides you through these initial steps to build foundational front-end development skills with Python and Transcrypt.
We'll cover the following...
We'll cover the following...
Hello, World!
To use Transcrypt, we first need to have a Python file to transpile into JavaScript. We also need to have an HTML file that references the generated JavaScript file, which will eventually be opened in a web browser. For our “Hello, World!” application, we’ll use the following two files:
hello.py