csev / py4e

Web site for www.py4e.com and source to the Python 3.0 textbook

Home Page:http://www.py4e.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Using Python on Replit": "Writing Your First Program on Replit" missing some details

Jonseed opened this issue · comments

When setting up Replit, you cannot just log in to your new account and go directly to the Files tab to create a new file. You must first create a "repl," set it to Python, and give it a title. Then you can create a new file in the Files tab, etc.

Also, creating a new file called hello.py, entering some code, and clicking the "Run" button it will not produce anything in the console because the repl is set to default running the main.py. So you either have to put your hello world code in the main.py or change the run file in the .replit config file (which is hidden and must be unhid) to hello.py before the "Run" button will run the hello world code.

Thanks! Let me come up with some better wording.