Skip to main content
Open

Expose os.path methods in text-editor, parameter builder etc..

Related products:Integrations
  • July 7, 2021
  • 0 replies
  • 28 views

martinkoch
Enthusiast
Forum|alt.badge.img+25

Hello all,


Since the revamped date/time implementations in FME, my use of small python-snippets has been reduced dramatically. No more 'import datetime' to do some simple operation.


Now the bulk of my python-use involves the os.path library, like splitting, joining or testing for existence.


There are a couple of transformers who have path-functionality, but I often need it in text-editor like situations. e.g. building the output-file-name of a writer from parts of the input parameters. Splitting and concatenating using 'text-methods' is not platform-agnostic due to the path-separator. So I put in some python-scripted-parameter.


So please, give the os.path methods the same treatment as the datetime library got some years ago.


Martin