uniphy 0.0.3

Creator: bradpython12

Last updated:

0 purchases

TODO
Add to Cart

Description:

uniphy 0.0.3

[![PyPI version](https://badge.fury.io/py/uniphy.svg)](https://badge.fury.io/py/uniphy)[![Build Status](https://travis-ci.org/Phynix/uniphy.svg?branch=master)](https://travis-ci.org/Phynix/uniphy)[![Code Health](https://landscape.io/github/Phynix/uniphy/master/landscape.svg?style=flat)](https://landscape.io/github/Phynix/uniphy/master)[![Dependency Status](https://www.versioneye.com/user/projects/5967cb390fb24f004276ac8c/badge.svg?style=flat-square)](https://www.versioneye.com/user/projects/5967cb390fb24f004276ac8c)# uniphyUniphy stands for "**Uni**versity **Phy**sics". The package focuses on specialised functionality for research and teaching on university level without a focus on a certain branch of physics or science. It is part of the Phynix project.## Current projectsThe package is still in its early stage of planning and first implementations. It is currently not usable for any production-like application.### OutputWhat if "print" would simply save everything also into a file if I want to and not if I don't want to? Or if only those "prints" will be saved which I want to be saved?The answer is **Output** which does exactly the above (and more). But most of all, it does not change anything if not wanted.Simply replace **every** print with out.print. And everything works as usual. One line will let you save the output. If you like. And won't if you don't.Minimal example:```pythonimport uniphy as upout = up.output()out.print("Same as print", "\nBut I can be saved as well.")ORout = up.output("/my/path/to/folder")out.print("Same as print again, but will be saved this time")```

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files:

Customer Reviews

There are no reviews.