Skip to content

NovaAndrom3da/Replit-Pyfile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

What is Replit Pyfile?

Replit Pyfile is a project template/add-in for you to be able to run another python file using the run button. It automatically installs any modules you need to use in your program. This makes it easy for anyone who works on a project in replit and on a local computer.

Why do I need it?

It can improve the flow between working on a local computer and replit. It was originally created to avoid renaming the main file in a project.

How do I use it?

First, fork the project on Replit or on GitHub.

  1. Then, you can delete the test_script.py file.
  2. Edit the configuration lines in the replit.py file.
    • debug - Enable (True) or disable (False) extra logging to the console.
    • update_pip - Enable or disable updating pip on run.
    • program_d - The directory of the file when in replit (such as Replit-Pyfile, in which test_script.py can be found).
    • program_f - The name of the file (such as test_script.py).
    • packages - The required modules (in python list form), such as pygame or arcade.

How is it licensed?

Copyright © 2022 Froggo

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

The license can be found under docs/LICENSE.md.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages