question

NishimuraChinatsu-9854 avatar image
0 Votes"
NishimuraChinatsu-9854 asked ShaikMaheer-MSFT commented

I want to use python in syanpsenotebook activity, is there any difference in what I can do with normal python?

Is it possible to send an email using python in synapse notebook activity?

Also, is there anything I can't do with python in synapse's notebook activity?

azure-data-factoryazure-synapse-analyticsazure-databricks
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

ShaikMaheer-MSFT avatar image
0 Votes"
ShaikMaheer-MSFT answered ShaikMaheer-MSFT commented

Hi @NishimuraChinatsu-9854 ,

Thank you for posting query in Microsoft Q&A Platform.

There is no difference Synapse notebook with python allows you to write code in python only.

Make sure to run pip install <packageName> command if your code as any package references.
227985-image.png

If there are any specific ports to open for sending email then you have to consider that too.

Hope this helps. Please let us know if any queries.


Please consider hitting Accept Answer button. Accepted answers help community as well.



image.png (42.8 KiB)
image.png (40.4 KiB)
· 3
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ShaikMaheer-MSFT avatar image ShaikMaheer-MSFT NishimuraChinatsu-9854 ·

I think you can consider using them by installing package on Spark Pool if its missing. Are you facing any issues?

0 Votes 0 ·

Hi @NishimuraChinatsu-9854 , Just checking if you get chance to share any updates? If you found any other solution then feel free to share here. That helps community as well.

0 Votes 0 ·