Python tutorial - Acronym maker script with source code
This script takes a string and creates an acronym by taking the first two characters of each word in the string.
========================================================================================
This was made in Visual Studio Code within a virtual environment.
The most important commands in working with your virtual environment are:
1. Create your virtual environment
> py -m venv env
2. Activate your virtual environment
> env\Scripts\activate
3. Go to View > select Command Palette > Select Python Interpreter > (env:venv)
3. Run your application
> py main.py
========================================================================================
Screenshot I
(Desktop users): To view the sections below clearly > left click on the script > should go to a new window with a zoomed in view or left click once to zoom in.
========================================================================================
main.py
Comments
Post a Comment