Can't import builtin library from Visual code

Dear all,

i m using python to write bot but can’t import built-in libraries as below screenshot.
does anyone face to this issue and how to resolve it?


Try using just lower case letters, like import string and that should do the trick. Remember that python is case sensitive.

Happy hacking.

Hi @dunglerpa

The Robot Framework built-in libraries are accessible in the Python syntax like this

from robot.libraries.String import String
library = String()
library.convert_to_upper_case('rpaframework libraries are imported with RPA.* syntax')

thanks @mika
it works perfectly :slight_smile: