ASKSAGE: Sage Q&A Forum - Latest question feedhttp://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 24 Aug 2010 20:31:48 -0500Calling Unix shell command as an expressionhttp://ask.sagemath.org/question/7633/calling-unix-shell-command-as-an-expression/Can I call a Unix shell command from within Sage as an expression? For example, I might want to do something like
process_local_directory_for_something(!pwd)
Unfortunately, the !-operator does _very_ weird things when used as an expression (bug?), so the above doesn't work. The os.system() does not work either (it returns the return code instead of the output). Of course, Python has options, like handling pipes or subprocesses, but for many applications this is a bit tedious.jsrnTue, 24 Aug 2010 20:31:48 -0500http://ask.sagemath.org/question/7633/How do I find if/where a specific algorithm has been implementedhttp://ask.sagemath.org/question/7580/how-do-i-find-ifwhere-a-specific-algorithm-has-been-implemented/Hi
Since beginning using Sage, I have often been in the position that I need to find a specific algorithm for solving some problem. I might or might not already know that Sage has _some_ algorithm for doing it, but I want this one (for some reason). Is there an index or an easy way to search for this? The times I have tried using the search bar of sagemath.org, it has mostly been irrelevant posts, while a search on google like "<algorithm-name> site:sagemath.org" can give a bit as it also searches through the comments of the source code; but this is not very user-friendly, and it can take some time from finding some comment in a file, to know how to actually invoke specifically that code.
An example of this is the Berlekamp-Zassenhaus algorithm for factorising polynomials over integers.jsrnWed, 18 Aug 2010 20:49:49 -0500http://ask.sagemath.org/question/7580/