8.2.25 LT_get_str

It is recommended that you switch to the originpro package. PyOrigin is primarily for users who need to work with Origin version prior to 2021.


Description

Get LabTalk string variable

Syntax

LT_get_str(Var)

Parameters

var
string variable name

Return

string

Examples

EX1

import PyOrigin
PyOrigin.LT_execute('strvar$=example')
PyOrigin.LT_get_str('strvar')

EX2

import os
import PyOrigin
os.chdir(PyOrigin.LT_get_str('%Y'))
os.system('mkdir analysis')

See Also

LT_set_str