![]() ![]() That's how you'll get the most value out of this class. ![]() So I recommend that as I'm coding, and as I'm showing concepts, and as I'm experimenting that all of the students follow along in the REPL live. > Nina: Now I think that you know the best way to learn a language, the best way to learn anything is just typing along Muscle memory. > Nina: And that should open REPL here at the bottom. So in the VS Code to open the REPL, we're gonna go to VS Code, use the keyword shortcut for our command power for Mac, that's command Shift P and we're gonna select Start REPL. As a python developer, I've worked in python for six years, I still have REPL open daily so that I can experiment with my code, look at documentation very quickly etc. This is really great for quick prototyping, debugging. You can just type in the name of the variable and the REPL will show you its value. ![]() > Nina: Unlike running your Python code on a file, you also don't necessarily need to display any output in a print statement. It's the interactive Python interpreter that lets us type commands in and quickly see the output. REPL stands for Read Evaluate Print Loop. For Intermediate Python, we're gonna be working in both the REPL and in Python files. For Introduction to Python, we worked exclusively in the REPL. Transcript from the "REPL & Running Python in VS Code" Lesson ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |