Tag(path) in python?

Is there a python equivalent to this expression function?

Yes, system.tag.read(“Path/To/Tag”). The path is jus a string.

tag(path) returns a tag object.

system.tag.read(path) returns a qualified value.

I need a python function that returns a tag object not it’s current value.

Or the correct syntax for:


The tag function in the expression language returns the value not the tag object. The datatype is just an Object because a tag can be a boolean, integer, string, float, etc. If you want a specific part of the tag you have to address it:


Thanks for the clarification.