ROS Code
 All Classes Namespaces Files Functions Variables
ros.system Namespace Reference

Functions

def getplatform
 
def shellcommand
 
def pipupdate
 
def dirtool
 
def file
 
def exitexecution
 
def charlimit
 
def unilimit
 
def pyversion
 
def pyexec
 
def pycopyright
 
def loglevel
 
def logfile
 
def clipaction
 
def text
 

Function Documentation

def ros.system.charlimit ( )

Definition at line 107 of file system.py.

def ros.system.clipaction (   action = 'get',
  text = None 
)

Definition at line 213 of file system.py.

def ros.system.dirtool (   operation,
  directory 
)

Definition at line 44 of file system.py.

def ros.system.exitexecution (   arguments = 0)

Definition at line 100 of file system.py.

def ros.system.file (   operation,
  path 
)

Definition at line 68 of file system.py.

def ros.system.getplatform ( )

Definition at line 13 of file system.py.

def ros.system.logfile (   targetfile = "ros.log")
Set the file for ROS Code to log to

targetfile:
Change the file to log to. By default it is ros.log

Definition at line 189 of file system.py.

def ros.system.loglevel (   leveltype = None,
  isequal = False 
)
Set the logging level of ROS Code

without arguments:
Gives you the logging level

leveltype:
Choose the logging level. Possible choices are none (0), debug (10), info (20), warning (30), error (40) and critical (50)

isequal:
Instead of setting the level, returns True if the level is equal to leveltype. Otherwise, returns False

Definition at line 144 of file system.py.

def ros.system.pipupdate ( )
Update all currently installed pip packages

Definition at line 30 of file system.py.

def ros.system.pycopyright ( )

Definition at line 137 of file system.py.

def ros.system.pyexec ( )

Definition at line 130 of file system.py.

def ros.system.pyversion (   part = None)

Definition at line 121 of file system.py.

def ros.system.shellcommand (   command)
Execute a command in the host's terminal/shell/bash

command:
Specify the command to be executed

Definition at line 17 of file system.py.

def ros.system.text (   operation,
  path,
  argument 
)

Definition at line 227 of file system.py.

def ros.system.unilimit ( )

Definition at line 114 of file system.py.