Ask Your Question

kankamuso's profile - activity

2024-02-11 15:30:22 +0200 received badge  Famous Question (source)
2015-03-23 16:00:26 +0200 received badge  Notable Question (source)
2013-05-06 16:50:08 +0200 received badge  Popular Question (source)
2012-05-09 18:46:49 +0200 received badge  Editor (source)
2012-05-09 18:45:12 +0200 marked best answer Call pure python code from SAGE

Here are at least 3 ways:

  • Run the code with sage -python filename.py

  • In the notebook, choose "python" in the dropdown list at the top.

  • In the notebook, put the code in a cell with a %python at the top of the cell.

2012-05-09 18:45:12 +0200 received badge  Scholar (source)
2012-05-09 18:45:11 +0200 received badge  Supporter (source)
2012-04-30 20:45:37 +0200 received badge  Student (source)
2012-04-30 12:23:18 +0200 asked a question Call pure python code from SAGE

Dear all,

I want to move from matlab for my image processing tasks. Nevertheless, to load the file formats I use (SPIDER, MRC, etc..), I only have some python code. Is it possible to directly invoke such python code from SAGE?. If so.. how? (I have looked for a Python inteface, but no luck for SAGE invoking Python). If not.. what is the recommended workflow to program and publish my codes for the community?.

Thanks in advance!