Azure-docs: 4-d. Missing parenthesis in the print statement.

Created on 8 Nov 2018  Â·  4Comments  Â·  Source: MicrosoftDocs/azure-docs

Creating widgets for leveraging parameters, and printing the parameters

dbutils.widgets.text("input", "","")
dbutils.widgets.get("input")
y = getArgument("input")
print ("Param -\'input':")
print (y)


Document Details

⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

assigned-to-author data-factorsvc doc-bug triaged

Most helpful comment

@sorgina13 @jason-j-MSFT Be aware that the code in 4d is correct for Python 2. If you are using Python 3, you do indeed need to wrap the string in parentheses.

All 4 comments

@sorgina13 Thanks for the feedback! We are currently investigating and will update you shortly.

@sorgina13 @jason-j-MSFT Be aware that the code in 4d is correct for Python 2. If you are using Python 3, you do indeed need to wrap the string in parentheses.

We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ponant picture Ponant  Â·  3Comments

varma31 picture varma31  Â·  3Comments

paulmarshall picture paulmarshall  Â·  3Comments

ianpowell2017 picture ianpowell2017  Â·  3Comments

AronT-TLV picture AronT-TLV  Â·  3Comments