2021-01-08 05:00:40 -0600 | received badge | ● Famous Question (source) |
2021-01-08 05:00:40 -0600 | received badge | ● Notable Question (source) |
2021-01-08 05:00:40 -0600 | received badge | ● Popular Question (source) |
2021-01-06 15:08:03 -0600 | received badge | ● Famous Question (source) |
2020-12-25 15:10:28 -0600 | commented answer | Sage in python no module called sage.all So if I run in shell python umphy.py If I run in sage console I get sage: python umphy.py File "<ipython-input-1-4d6f435033d8>", line 1 python umphy.py In the shell, I'm in the user's folder do I need to be in a different folder? |
2020-12-24 19:48:29 -0600 | commented answer | Sage in python no module called sage.all Sorry, I don't quite understand how do I use my python script with Sage's python? Can you dumb it down for me? |
2020-12-23 13:42:06 -0600 | asked a question | Sage in python no module called sage.all So I think I'm suppose to write the line from sage.all import * in my python script which raises the error File "c:/Users/user/Downloads/PyFolder/umphy.py", line 2, in <module> from sage.all import * ModuleNotFoundError: No module named 'sage.all' So I tried installing sage in python. PS C:\Users\user> pip install sage Requirement already satisfied: sage in c:\users\user\appdata\local\packages\pythonsoftwarefoundation.python.3.8_qbz5n2kfra8p0\localcache\local-packages\python38\site-packages (0.0.0) |
2020-08-24 17:13:06 -0600 | received badge | ● Popular Question (source) |
2020-06-15 04:07:54 -0600 | received badge | ● Notable Question (source) |
2020-06-12 13:02:56 -0600 | received badge | ● Famous Question (source) |
2020-01-08 18:07:07 -0600 | received badge | ● Popular Question (source) |
2019-09-21 03:26:18 -0600 | received badge | ● Notable Question (source) |
2019-06-05 15:39:29 -0600 | received badge | ● Popular Question (source) |
2019-02-22 11:32:26 -0600 | received badge | ● Popular Question (source) |
2018-06-26 16:33:15 -0600 | asked a question | plantri package not found and installing packages So I'm getting the plantri package not found error despite plantri appearing in my packages list in sage: pkgs=list_packages(local=True)
sorted(pkgs.keys())
sage: sorted(pkgs.keys()) |
2018-06-26 16:10:07 -0600 | commented answer | Output of plantri and graphs.planar_graphs Thank both, but it doesn't quite answer my question what is the output of plantri and graphs.planar_graphs how come when I use the output as a graph I do not get a plot as usual? and I guess how to get a "graph" from a planar graph in the easiest way possible? |
2018-06-25 16:25:30 -0600 | received badge | ● Scholar (source) |
2018-05-25 16:08:27 -0600 | asked a question | Output of plantri and graphs.planar_graphs I find the documentation of Sage much lacking what is the output of I assumed the output would be graphs (could not find documentation on this) and did the following |
2018-05-25 10:53:23 -0600 | commented answer | graphs.planar_graphs so what is the output of graphs.planar_graphs? |
2018-05-24 13:41:00 -0600 | commented answer | graphs.planar_graphs Okay thanks I'll have to read up on what a generator is, but what is wrong after I do gen=list(l) G=gen[ii] p=G.plot p.show? |
2018-05-23 17:10:38 -0600 | asked a question | graphs.planar_graphs So I'm a bit confused by the documentation of graphs.planar_graphs I thought it would just generate a list of planar graphs so I don't know why the following code doesn't work (and also why I need to do list(l) ) l = graphs.planar_graphs(4, dual=False) |
2018-05-08 02:51:45 -0600 | received badge | ● Good Question (source) |
2018-05-07 11:40:05 -0600 | received badge | ● Nice Question (source) |
2018-05-07 10:07:37 -0600 | asked a question | Running sage / cocalc I don't know if this is the place but I'm confused as to how to run a sage program. I'm told that there's not really a sage editor or whatnot does cocalc allow you to write an entire program and then run it or does it autorun any command entered into it? |
2018-05-06 21:54:02 -0600 | received badge | ● Editor (source) |
2018-05-06 21:52:09 -0600 | asked a question | syntax error near unexpected token '(' syntax error near unexpected token '(' when I try to run m = matrix(2) (like on the docs.sagemath page http://doc.sagemath.org/html/en/refer...) |
2018-05-06 20:31:11 -0600 | asked a question | Generating random matricies with random_matrix I'm having trouble finding the documentation for random_matrix what distributions are available besides the uniform distribution and what is the range of the uniform distribution? |
2018-05-06 19:36:46 -0600 | asked a question | Random orientation of a graph Is there a command to randomly orient a graph? (no additional edges) not the to_directed command |
2018-05-04 11:42:03 -0600 | asked a question | gen = graphs.planar_graphs(4, dual=True) is not working gen = graphs.planar_graphs(4, dual=True) is not working syntax error near unexpected '(' despite this exact code appearing on the wiki p.s. is there a way for sage to give me a random planar graph? (rather than a list of all planar graphs) |
2018-04-09 16:07:51 -0600 | commented question | temp22.sobj is not UTF-8 encoded Okay just do A=Matrix([[0,1],[1,0]]) G=Digraph(A) |
2018-04-08 21:32:11 -0600 | commented answer | Where does save( , '') save to? Thanks, when I do pwd however it gives me u'/home/h34sun' when my folder path should be C:\Users\h34sun would you happen to know why it does this? |
2018-04-06 12:33:52 -0600 | asked a question | temp22.sobj is not UTF-8 encoded I get a temp22.sobj is not UTF-8 encoded after trying to open this file I saved by using save(G.allsimplecycles, 'temp22') what am I doing wrong? |
2018-04-06 11:12:57 -0600 | received badge | ● Supporter (source) |
2018-04-06 10:01:17 -0600 | received badge | ● Student (source) |
2018-04-06 09:59:06 -0600 | asked a question | Where does save( , '') save to? Sorry if this is a stupid question but where to does save( , '') go to? how do I find the file location? |
2017-08-19 10:33:59 -0600 | asked a question | What is the difference between .sage and .sagesw? What is the difference between .sage and .sagesw? I've found that load does not work well with .sagesw why is that? |