jazziiRed / nbs-converter

92 stars 14 forks source link

Fast Formatting #9

Open StarshinePony opened 1 year ago

StarshinePony commented 1 year ago

So basically what this does is giving people the oppertunity to stay away from the terminal commands. (Atleast if they are on windows). So i created a new folder windows and created the nbs_create.py file. This file is basically the formatter and schem generator in one file. Here is a quick summary what this does:

If you open the batch file it automatically runs the script

It asks you for the file name (.nbs file) Then it formats the file and generates the .schem file. If thats done it asks you if you want to keep the formatted file (y/n) If "n" it deletes the formatted nbs file.

Other additions: requirements.txt install_requirements.bat

This is a file where you can add libaries that you want others to download so you code works. The libaries can be downloader via pip install -r requirements.txt

There is also a batch file (install_requirements.bat), that runs that command if you double click the file.