= File formats related to SageMath = * files for Sage objects * ''.sobj'' * files for Sage code * Python code: ''.py'' * Cython code: ''.pyx'' * Sage code: ''.sage'' * reading from a text file (''.txt'') and writing to a text file * reading from a ''.csv'' file and writing to a ''.csv'' file * reading from a ''.xls'' or ''.xlsx'' spreadsheet * various notebook worksheets can be used with Sage * ''.sws'' (for the old legacy notebook) * ''.sagews'' (for the Cocalc notebook), * ''.ipynb'' (for the Jupyter notebook) * location of Sage Notebook worksheets: in the .sage folder * how to retrieve those ''.sws'' worksheets * how to convert them into ''.sagews'' or ''.ipynb'' worksheets * https://github.com/sagemathinc/smc/blob/master/src/smc_pyutil/smc_pyutil/sws2sagews.py * https://github.com/sagemathinc/smc/blob/master/src/smc_pyutil/smc_pyutil/ipynb2sagews.py * how to convert to and from other formats: reStructuredText ''.rst'', ''.pdf'', etc. * https://github.com/nthiery/rst-to-ipynb * https://github.com/sagemathinc/smc/blob/master/src/smc_pyutil/smc_pyutil/sagews2pdf.py * https://bitbucket.org/whuss/sws2tex/ * pandoc == Related pages == * CodeSharingWorkflow