AnsweredAssumed Answered

convert VB expression to python

Question asked by nhester on Feb 23, 2016
Latest reply on Feb 25, 2016 by nhester

I am new to python.  I am using a model to automate a data update process.  Part of the model is to calculate a new field by concatenating 3 other fields and left trimming to remove white space as needed.  Below is the VB expression.  When I use python to automatically run this model it fails at the expression to calculate the field.   Below is the VB expression.  I cannot find an example of how this would look as a python expression.  Can anyone help?

 

FullStreet =

LTrim( [LOCN] &" " &  LTrim( [LOCD] & " " &  [LOCS]))

 

Any help would be greatly appreciated.

 

Sincerely,

 

Nita L Hester

Outcomes