简体   繁体   English

与主管交流Python脚本的最简单方法?

[英]The easiest way to communicate a Python script to supervisors?

I finished my first draft-computation and was wondering how to most effectively communicate the code to non-Python users. 我完成了第一个初稿,想知道如何最有效地将代码传达给非Python用户。 I was thinking of a HTML or PDF file (maybe in jupyter notebook style) that allows to neatly show the code with it's rendered outputs, as well as some text to thoroughly explain what is done in every step. 我在想一个HTML或PDF文件(也许是jupyter笔记本样式),该文件可以清晰地显示代码及其呈现的输出,并提供一些文本来彻底解释每个步骤的完成情况。 I saw that Markdown seems to be a package for that purpose, but I was wondering whether there is a easier way to go about it, before I read into the package specific syntax. 我看到Markdown似乎是用于此目的的程序包,但我想知道在阅读程序包特定的语法之前是否有更简单的方法来解决它。

Have a look at Sphinx: http://www.sphinx-doc.org/en/master/ 看看Sphinx: http//www.sphinx-doc.org/en/master/

This is a library which allows you to generate professional looking documentation for your projects. 这是一个库,可让您为项目生成具有专业外观的文档。 I have used it myself to present my ideas / code to management. 我自己用它来向管理人员介绍我的想法/代码。 The results look very professional and it is pretty easy to use. 结果看起来非常专业,并且非常易于使用。 I would avoid Markdown. 我会避免Markdown。 Sphinx looks a lot better. 狮身人面像看起来好多了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM