Joan Miller writes:
> On 26 feb, 12:35, Ben Finney wrote:
> > A common convention is to have a ‘README’ text file, written in
> > reStructuredText for rendering to various output formats as part of
> > the documentation. You could then have the ‘setup.py’ program read
> > the contents of that fi
On 26 feb, 12:35, Ben Finney wrote:
> Joan Miller writes:
> > I use a function in 'setupy.py' to get automatically the description
> > from the package's docstring, but there is a problem when you import a
> > module that has to be built by cython (because it tries load a module
> > that doesn't
Joan Miller writes:
> I use a function in 'setupy.py' to get automatically the description
> from the package's docstring, but there is a problem when you import a
> module that has to be built by cython (because it tries load a module
> that doesn't exists).
A simple approach (at least, simpler
On 26 feb, 10:57, Peter Otten <__pete...@web.de> wrote:
> Joan Miller wrote:
> > When a package is imported, it gets the dosctring to store it in
> > *__doc__*.
>
> > Does that funcion is built in python? because I would want use it to
> > get the docstring without import a package
>
> Something to
On 26 feb, 10:51, Ben Finney wrote:
> Joan Miller writes:
> > When a package is imported, it gets the dosctring to store it in
> > *__doc__*.
>
> Joan, in this message and numerous others you've been following the
> widespread convention of using asterisks ‘*’ to surround text you want
> to empha
Joan Miller wrote:
> When a package is imported, it gets the dosctring to store it in
> *__doc__*.
>
> Does that funcion is built in python? because I would want use it to
> get the docstring without import a package
Something to get you started:
import ast
def walk(root, stack):
for nod
Joan Miller writes:
> When a package is imported, it gets the dosctring to store it in
> *__doc__*.
Joan, in this message and numerous others you've been following the
widespread convention of using asterisks ‘*’ to surround text you want
to emphasise.
Normally that's good, but in a programming
Joan Miller wrote:
When a package is imported, it gets the dosctring to store it in
*__doc__*.
Does that funcion is built in python? because I would want use it to
get the docstring without import a package
Epydoc, a documentation builder is able to do so with the --parse-only
option. You co
Am 26.02.10 09:55, schrieb Joan Miller:
When a package is imported, it gets the dosctring to store it in
*__doc__*.
Does that funcion is built in python? because I would want use it to
get the docstring without import a package
You'd need to write your own parser for that. All standard tools s
When a package is imported, it gets the dosctring to store it in
*__doc__*.
Does that funcion is built in python? because I would want use it to
get the docstring without import a package
--
http://mail.python.org/mailman/listinfo/python-list
10 matches
Mail list logo