Module: system

File: C:\Users\korde\Home\Github\task-runner-SDLC\src\utils\system.py Language: Python

Imports

  • import os
  • import tempfile
  • import platform
  • import sys

Functions

create_temp_directory()

Create a temporary directory

create_temp_file()

Create a temporary file

get_environment_variable(variable_name)

Get an environment variable

Parameters

  • variable_name

get_platform()

Get the operating system platform

get_python_version()

Get the Python version

get_temp_directory()

Get the temporary directory

get_user_home_directory()

Get the user's home directory

set_environment_variable(variable_name, value)

Set an environment variable

Parameters

  • variable_name
  • value