FreeKB - Python (Scripting) articles
Python (Scripting) articles

ArraysAppend values to the end of an arrayArrays []CommandsConfigure the "python" command to invoke the "python3" commandpython --version commandHashesGetting Started with Hasheshash has_keyif elif else statementif elif else statementsImportimport moduleInstallInstall pycharm on LinuxInstall Python on Linux CentOSLoopsFor loopModulesGetting Starting with Import Modulesys.pathPrinting outputPrinting text to the console (print)Spliting stringSplit or cut apart a stringSubroutinesCreate a subroutine or function (def) Pass values into a subroutineVariablesVariablesVersionpython --version commandVirtual EnvironmentActivate a virtual environmentCreate a virtual environment (venv virtualenv)Installing packages in a virtual environment