microsoft / azuredatastudio

Azure Data Studio is a data management and development tool with connectivity to popular cloud and on-premises databases. Azure Data Studio supports Windows, macOS, and Linux, with immediate capability to connect to Azure SQL and SQL Server. Browse the extension library for more database support options including MySQL, PostgreSQL, and MongoDB.
https://learn.microsoft.com/sql/azure-data-studio
MIT License
7.54k stars 899 forks source link

Convert python script to notebook #14184

Open amthomas46 opened 3 years ago

amthomas46 commented 3 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when I have to convert my python scripts to notebooks by hand

Describe the solution or feature you'd like A button to convert a .py file to a .ipynb file with Python kernel.

Describe alternatives you've considered Copy & paste

Additional context N/A

chlafreniere commented 3 years ago

@yualan FYI.

@amthomas46 out of curiosity have you tried leveraging nbconvert for this purpose before? We don't expose anything in ADS that uses nbconvert under the covers, but it would be interesting to hear if that helped make your workflow any easier.

amthomas46 commented 3 years ago

I've never tried it but I will look into it :)