๐ŸŒ
W3Schools
w3schools.com โ€บ python โ€บ python_compiler.asp
Python Online Compiler (Editor / Interpreter)
With our online Python compiler, you can edit Python code, and view the result in your browser. ... Click on the "Try it Yourself" button to see how it works. If you want to create your own website or build Python applications, check out W3Schools ...
๐ŸŒ
W3Schools
w3schools.com โ€บ python โ€บ trypython.asp
W3Schools online PYTHON editor
Run โฏ Get your own Python server ยท โฏRun Code Ctrl+Alt+R Change Orientation Ctrl+Alt+O Change Theme Ctrl+Alt+D Go to Spaces Ctrl+Alt+P ยท
๐ŸŒ
W3Schools
w3schools.com โ€บ python
Python Tutorial
Download Python from the official Python web site: https://python.org ยท Get certified by completing the course Get certified ... If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail: [email protected]
๐ŸŒ
W3Schools
w3schools.com โ€บ python โ€บ python_intro.asp
Introduction to Python
Python relies on indentation, using whitespace, to define scope; such as the scope of loops, functions and classes. Other programming languages often use curly-brackets for this purpose. ... If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail: [email protected]
๐ŸŒ
W3Schools
w3schools.com โ€บ tryit โ€บ trycompiler.asp
Tryit Compiler v1.0
Privacy policy and Copyright 1999-2025 ยท The source code will be changed
๐ŸŒ
W3Schools
w3schools.com โ€บ python โ€บ python_getstarted.asp
Python Getting Started
Python Examples Python Compiler Python Exercises Python Quiz Python Server Python Syllabus Python Study Plan Python Interview Q&A Python Bootcamp Python Certificate Python Training ... At W3Schools, you can try Python without installing anything.
๐ŸŒ
W3Schools
w3schools.com โ€บ python โ€บ ref_func_compile.asp
Python compile() Function
The compile() function returns the specified source as a code object, ready to be executed. compile(source, filename, mode, flag, dont_inherit, optimize) Compile more than one statement, and the execute it: x = compile('print(55)\nprint(88)', ...
๐ŸŒ
Python.org
discuss.python.org โ€บ python help
On-line Python compiler by w3schools is great but doesn't support user created files - Python Help - Discussions on Python.org
March 9, 2023 - On-line Python compiler by w3schools is great but doesnโ€™t support user created files Not to waste more time with Matplotlip and numpy crashing my Python 3.8 I visited w3schools for examples and great demos of use of โ€ฆ
๐ŸŒ
W3Schools
w3schools.com โ€บ python โ€บ python_exercises.asp
Python Exercises
Python Examples Python Compiler Python Exercises Python Quiz Python Server Python Syllabus Python Study Plan Python Interview Q&A Python Bootcamp Python Certificate Python Training ... Tip: Sign in to track your progress. ... If you haven't already, sign up to become a W3Schooler, and get points for every exercise you complete.
Find elsewhere
๐ŸŒ
W3Schools
w3schools.com โ€บ python โ€บ python_examples.asp
Python Examples
Well organized and easy to understand Web building tutorials with lots of examples of how to use HTML, CSS, JavaScript, SQL, Python, PHP, Bootstrap, Java, XML and more.
๐ŸŒ
W3schoolsapp
w3schools.w3schoolsapp.com โ€บ python โ€บ python_compiler.html
Python Online Compiler (Editor / Interpreter)
With our online Python compiler, you can edit Python code, and view the result in your browser.
๐ŸŒ
W3Schools
w3schools.com โ€บ python โ€บ default.asp
Python Tutorial - W3Schools
Download Python from the official Python web site: https://python.org ยท Get certified by completing the course Get certified ... If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail: [email protected]
๐ŸŒ
W3Schools
w3schools.in โ€บ python โ€บ basics
Basics of Python Programming - W3Schools
Learn Python code execution process: compile source code into bytecode, interpret it, and translate it into machine code for execution.
๐ŸŒ
Online Python
online-python.com โ€บ online_python_compiler
Online Python Compiler
w3schools.com - Python Tutorial ยท programiz.com - Python Tutorial ยท Python is a simple language to pick up. It has a simple syntax, and the code is quite easy to read. Python is useful in a wide variety of contexts. It is put to use in the creation of quick application development, data science, Internet of Things, and web applications, among other things.
๐ŸŒ
Reddit
reddit.com โ€บ r/learnpython โ€บ seeing if python is for me: trying out w3school tutorial for python and already lost.
r/learnpython on Reddit: Seeing if Python is for me: Trying out W3School tutorial for Python and Already Lost.
January 21, 2025 -

Checking out Python in W3 school to get my feet wet through the following link tutorial: https://www.w3schools.com/python/python_getstarted.asp

Sadly as I'm following along, I already seem to be having error:

___________________________

Python 3.13.1 (tags/v3.13.1:0671451) [MSC v.1942 64 bit (AMD64)] on win32

Type "help", "copyright", "credits" or "license" for more information.

>>> print("Hello, World!")

Hello, World!

>>> C:\Users\Your Name>python helloworld.py

File "<python-input-1>", line 1

C:\Users\Your Name>python helloworld.py

^

SyntaxError: unexpected character after line continuation character

>>> C:\Users\Your Name>python helloworld.py

File "<python-input-2>", line 1

C:\Users\Your Name>python helloworld.py

^

SyntaxError: unexpected character after line continuation character

>>>

>>>

______________________________

If I'm following this right, this should allow me to name the .py (python) file and save it. However, I seem to get a syntax error. Appreciate any guidance on what I'm doing wrong, and let me know if there are better alternative than W3 School.

Top answer
1 of 5
3
W3 School tutorial is your problem right there. ok! So you want to start coding! Great! Welcome. First there's a LOT to learn to start with a few ways to tackle that problem. Just like if you want to play a sport like soccer. You can't just pick up a ball and kick it anywhere. You do that in a house you'll break a window. You need a place for you to play soccer. Code needs somewhere to run. That is your python interpreter. And languages like javascript just run in your browser. Languages like C/C++/C# run somewhere else. No one really knows where. But Python! The great language Python runs in your python interpreter. You don't need to learn about it a lot but you need to know, there are versions of python just like soccer used to have different rules long ago. So you can't just run anything anywhere, you need to run the code in your IDLE (python compiler) and you need the right version running there on your computers path. So. I suggest starting with something like Anaconda (just install it from the GUI) and running code there. But there's a few things you should learn before you just want to "start coding" Terminal. This can be Bash/Shell or something like that. You don't need to learn EVERYTHING but you have to understand directories, cd, ls, $PATH (a little bit) and I dunno. I'm not a teacher, just do a small tutorial on it or watch a couple introductory vids on youtube. If you know nothing about command line you're gonna make mistakes like you're making that are wildly frustrating and completely avoidable. Second: You need to understand the python environment **a little** or you're gonna make some annoying mistakes that are avoidable. So this is: virtual environments, and how python is actually run by your computer. These things take a few hours to learn but maybe 2-3 days to fully understand when you're working with them. Don't do W3 schools. That's a for profit website that does a shit job being good. Do CS50, or Python Helsinki mooc or if you got $14 dollars or something like that 100 days of python on udemy (love that course. Or Zed Shaw's Learn Python the Hard Way which is the course which does the best explaining the python environment on your computer I've seen so far. (though it has issues in other places like giving meaningful homework and projects but the explanations of code are top tier, so if you can find projects yourself it's an excellent course. Also paid, like $20 something)
2 of 5
2
You are trying to run a script from the interactive interpreter (REPL). You need to exit and run your script from a regular command prompt. Also, don't enter the example prompt as part of the command... C:\Users\Your Name> was just used as an example in the tutorial and is not part of the command to run.
๐ŸŒ
W3Schools
w3schools.com โ€บ python โ€บ python_reference.asp
Python Reference
Python Examples Python Compiler Python Exercises Python Quiz Python Server Python Syllabus Python Study Plan Python Interview Q&A Python Bootcamp Python Certificate Python Training ... This section contains a Python reference documentation. Built-in Functions String Methods List Methods Dictionary Methods Tuple Methods Set Methods File Methods Keywords Exceptions Glossary ยท Random Module Requests Module Math Module CMath Module ... If you want to use W3Schools ...
๐ŸŒ
W3Schools
w3schools.com โ€บ python โ€บ scipy โ€บ scipy_compiler.php
SciPy Online Compiler (Editor / Interpreter)
If you don't know Python, we suggest that you read our Python Tutorial from scratch. Get an overview of your packages and easily add or delete frameworks and libraries. Then, with just one click, you can make changes to your packages without manual installation. ... You can also use the code editor in W3School Spaces to build frontend or full-stack websites from scratch.
๐ŸŒ
W3Schools
w3schools.com โ€บ tryit
W3Schools Online Code Editor - Tryit Yourself
The backend code compiler allows you to edit Python, C#, C++, PHP, Node.js, Java, Bash, Clojure, Fortran, Go, Kotlin, Perl, R, Ruby, Scala, Swift, TypeScript, and VB.NET code, and view the result in your browser.
๐ŸŒ
W3Schools
w3schools.com โ€บ python โ€บ python_syntax.asp
Python Syntax
Comments start with a #, and Python will render the rest of the line as a comment: ... If you want to use W3Schools services as an educational institution, team or enterprise, send us an e-mail: [email protected]
๐ŸŒ
W3Schools
w3schoolsua.github.io โ€บ python โ€บ index_en.html
Python Tutorial. Basics. Examples. Lessons for beginners. W3Schools in English
Python Examples Python Compiler Python Exercises Python Quiz Python Bootcamp Python Certificate ... Here is the best and most complete online Python tutorial in English from the world's largest and most famous Internet resource for learning web technologies - the site W3Schools.com.