🚀 Python-based programming language for beginners transitioning from block programming languages created by Safin Singh
In order to install this project on your computer, you must have Python 3.7+ installed. See the respective guides to see how to do this: MacOS, Windows.
- Open the
Terminal
app by pressing and holdingCommand+Space
- Install the
Homebrew
package manager by entering the following command:$ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
- Add the
brew
binary to yourPATH
environment variable by runningexport PATH="/usr/local/opt/python/libexec/bin:$PATH"
(If you're using MacOS 1.13+). If you're running MacOS 1.12 or lower, runexport PATH=/usr/local/bin:/usr/local/sbin:$PATH
- Finally, run
brew install python3
- To make sure your installation worked, run
python3 -v
in your terminal. If it doesn't, refer to the Python Documentation for more information
- Open the
PowerShell
app with administrative access - Run the following command:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
- Run the following command:
choco install python
- To make sure your installation worked, run
python3 -v
in your terminal. If it doesn't, refer to the Python Documentation for more information
Nice! You have now successfully installed Python on your computer. Before you start, the turtle
module for Python is required. In order to do this, you need to run the pip3 install turtle
command.
Time to install viper! To do this, you can select Clone or download > Download ZIP
. Then, extract the ZIP file into a directory of your choice.
In order to start a viper
program, add import viper
to the top of your file and start programming! You can check out the sample program to see an example of all of the functions. For more detailed explanations of all the functions, head over to the Wiki Page.
At the moment, the only developer tool that viper
provides is to view the source code of functions. To do this within the program, import the viper_dev
module. To add custom functions, feel free to edit viper.py
and add a PR.