Dynamic Rename - How to rename extension?

More
1 year 10 months ago - 10 months 1 week ago #24543 by admin
You forgot to import etltools

Code:
import etltools from pathlib import Path Result.Value = etltools.GetVariable('#EName#')[:-3] + 'xlsx'


Mike
ETL Architect
Last edit: 10 months 1 week ago by admin.

Please Log in or Create an account to join the conversation.

More
1 year 10 months ago - 10 months 1 week ago #24544 by prashant

You forgot to import etltools

Code:
import etltools from pathlib import Path Result.Value = etltools.GetVariable('#EName#')[:-3] + 'xlsx'

Same error as earlier
Could not convert variant of type (UnicodeString) into type (Boolean) . Loop work once and fails
Last edit: 10 months 1 week ago by admin.

Please Log in or Create an account to join the conversation.

Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Google
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Google Analytics
Accept
Decline
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.
Advertisement
If you accept, the ads on the page will be adapted to your preferences.
Google Ad
Accept
Decline
Save