On Thursday, May 7, 2020 at 2:45:51 PM UTC+2, kcrisman wrote:

> ... and again many users may not even know there is a directory structure 
> at all.   This is not a "highly peculiar set of disabilities" - rather, the 
> skill set of people on sage-devel is a "highly peculiar set of abilities", 
> even among people doing math on a regular basis.
>

I have never used search_src/_def/_doc. But in general, I would not 
deprecate a well working functionality without a real need. Surely, there 
are users to whom this will be annoying. But if we talk about users who are 
not interested in code and strings, wouldn't it be more useful for them to 
have a function that searches through the global name space? Do we have 
such a one?
The tutorial mentions *Tab completion*. But that only helps if you already 
know the beginning of the word:

 
sage: def search_names(string):
....:     g = globals()
....:     for s in g.keys():
....:         if s.find(string)>=0:
....:             print(s)

sage: search_names('poly')
bell_polynomial
bernoulli_polynomial
characteristic_polynomial
charpoly
conway_polynomial
cyclotomic_polynomial
exists_conway_polynomial
hilbert_class_polynomial
hyperbolic_polygon
hyperbolic_regular_polygon
lattice_polytope
lfsr_connection_polynomial
minimal_polynomial
minpoly
polygen
polygens
polygon
polygon2d
polygon3d
polygon_spline
polygons3d
polylog
polymake
polytopes

BTW: How do you use *Tab completion* on SageMathCell?

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-devel/660629e8-3985-494f-96dd-317762d7f554%40googlegroups.com.

Reply via email to