Removing Single Quotation Marks in Python

Hi All,

I would like to remove single quotation marks in python print output so when I use bumblebee all my numbers will be in 02 text format instead of number 2 in excel.

Also any other alternative way to convert numbers to text so even if we add zeros before number (eg. 01,05 etc…) it displays same in excel when using bumble bee plugin

removing_single_quotation_marks_python.gh (5.0 KB)

Funny you should mention leading zeros - I wrote a blog about this last year! (Yes i know how to have fun :slight_smile: )

https://dancergraham.github.io/blog/any-way-the-wind-blows/

2 Likes

Text = str(Data)[1:-2]

print Text

this seems to work

1 Like