Skip to content
Sign upLog in
← Back to Community

Run Portion of Code

Profile icon
nschuster81

How do I run a portion of my code as opposed to the whole thing each time I hit run?
How do new files work? I added a new file just to run something different, but it ran the older file and not the newer.
Thanks.

Voters
Profile icon
RayaneBouakaz
Profile icon
nschuster81
Comments
hotnewtop
Profile icon
ash15khng

To run a portion of your code you could comment it off? To run new files you can import the file in Python. Sadly repl.it can only run the main file as the entrypoint.