用周期表中的元素符号拼写单词(“he”、“cu”等)。

Stoichiograph的Python项目详细描述


用周期表中的元素符号拼写单词(“he”、“cu”等)。

A list of four words and their elemental spellings

一些单词及其基本拼写

用法

usage: stoichiograph [-h] [-b BATCH_FILE] [-c] [--debug] [--list-elements]
                     [--export-graph] [-o OUTPUT_FILE] [-s] [-t] [-v] [-V]
                     [words [words ...]]

Spell words with elemental symbols from the periodic table.

positional arguments:
  words                 word(s) for which to find elemental spellings

optional arguments:
  -h, --help            show this help message and exit
  -b BATCH_FILE, --batch-file BATCH_FILE
                        text file containing one word per line
  -c, --clobber         overwrite output file if it exists
  --debug               print debug log
  --list-elements       print list of elemental symbols and exit
  --export-graph        export graph of first word as dot code
  -o OUTPUT_FILE, --output-file OUTPUT_FILE
                        path of output json file
  -s, --sort            sort words by length
  -t, --tuples          display spellings as tuples
  -v, --verbose         print a detailed log
  -V, --version         print version info and exit

图形导出

化学学家建立一个图表来寻找单词的基本拼写。使用 –导出图形选项以输出graphviz可用于生成的点代码 图形的图像。

$ stoichiograph.py --export-graph cryptographer | dot -Tpng -o cryptographer.png

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java Cassandra复制因子大于节点数   java J2EE JTA事务回滚不适用于OSE Glassfish 4.0(Build 89)   java spring安全预认证用户登录   org的java类文件。反应流。从RxJava编译示例时未找到Publisher?   java在使用dataFormat作为POJO通过Camel调用Web服务时无法设置SOAP标头   Javafx类的java静态实例   java如何防止一个部件在关闭时覆盖另一个部件的位置   sql server无法从我的java代码连接到数据库   java在JList(Swing)中显示带有的ArrayList   从Java中的CXF服务获取WSAddressing数据   使用资产文件夹进行java简单json解析(本地)   java LDAPException未绑定的无效凭据   JavaJSFspring部署到weblogic   JAVA中字符数组中的特定元素排列?   如果脚本位于不同的目录中,则ant不会使用exec标记运行Javashell脚本