2023-12-07 21:08:29 +0200 | received badge | ● Notable Question (source) |
2023-06-16 14:31:27 +0200 | received badge | ● Famous Question (source) |
2023-04-14 20:53:48 +0200 | received badge | ● Notable Question (source) |
2022-11-12 23:02:44 +0200 | received badge | ● Famous Question (source) |
2022-10-26 08:36:07 +0200 | received badge | ● Popular Question (source) |
2021-11-02 04:52:34 +0200 | received badge | ● Popular Question (source) |
2021-06-29 15:52:00 +0200 | received badge | ● Famous Question (source) |
2021-03-23 15:32:56 +0200 | received badge | ● Notable Question (source) |
2021-03-18 15:30:21 +0200 | received badge | ● Notable Question (source) |
2021-03-02 11:51:30 +0200 | received badge | ● Notable Question (source) |
2021-03-02 11:51:30 +0200 | received badge | ● Popular Question (source) |
2021-02-19 22:07:04 +0200 | received badge | ● Popular Question (source) |
2021-01-08 12:00:40 +0200 | received badge | ● Famous Question (source) |
2021-01-08 12:00:40 +0200 | received badge | ● Notable Question (source) |
2021-01-08 12:00:40 +0200 | received badge | ● Popular Question (source) |
2021-01-06 22:08:03 +0200 | received badge | ● Famous Question (source) |
2020-12-25 22:10:28 +0200 | 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-25 02:48:29 +0200 | 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 20:42:06 +0200 | 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-25 00:13:06 +0200 | received badge | ● Popular Question (source) |
2020-06-15 11:07:54 +0200 | received badge | ● Notable Question (source) |
2020-06-12 20:02:56 +0200 | received badge | ● Famous Question (source) |
2020-01-09 01:07:07 +0200 | received badge | ● Popular Question (source) |
2019-09-21 10:26:18 +0200 | received badge | ● Notable Question (source) |
2019-06-05 22:39:29 +0200 | received badge | ● Popular Question (source) |
2019-02-22 18:32:26 +0200 | received badge | ● Popular Question (source) |
2018-06-26 23:33:15 +0200 | 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 23:10:07 +0200 | 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 23:25:30 +0200 | received badge | ● Scholar (source) |
2018-05-25 23:08:27 +0200 | 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 17:53:23 +0200 | commented answer | graphs.planar_graphs so what is the output of graphs.planar_graphs? |
2018-05-24 20:41:00 +0200 | 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-24 00:10:38 +0200 | 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 09:51:45 +0200 | received badge | ● Good Question (source) |
2018-05-07 18:40:05 +0200 | received badge | ● Nice Question (source) |
2018-05-07 17:07:37 +0200 | 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-07 04:54:02 +0200 | received badge | ● Editor (source) |
2018-05-07 04:52:09 +0200 | 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-07 03:31:11 +0200 | 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-07 02:36:46 +0200 | 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 18:42:03 +0200 | 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 23:07:51 +0200 | commented question | temp22.sobj is not UTF-8 encoded Okay just do A=Matrix([[0,1],[1,0]]) G=Digraph(A) |
2018-04-09 04:32:11 +0200 | 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 19:33:52 +0200 | 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? |