pydiary
MatLab style commands logger for the Python interpreter
Usage
The package exports a single class.
from pydiary import Diary
Diary() # Turns diary on, saving commands to the default file diary.py
Diary('mydiary.py') # Turns diary on, saving commands to a file called mydiary.py in the current directory
my_diary = Diary() # You can save a reference to the Diary instance to use it later
...
# The current active diary is automatically assigned to a variable called "diary"
diary.off() # Turns diary off
my_diary.on() # Turns on the previously created diary
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pydiary-1.0.0.tar.gz
(2.1 kB
view details)
File details
Details for the file pydiary-1.0.0.tar.gz.
File metadata
- Download URL: pydiary-1.0.0.tar.gz
- Upload date:
- Size: 2.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c4ab47d36ebac151082040cdb90aebff7de1c8c0014f69f31471156ce34d834b
|
|
| MD5 |
bb8c5c8aa6e8c5c541e86a12de78a466
|
|
| BLAKE2b-256 |
f7a60a683bb466afafa123d0e5f2789b90872b0127547c9b4e44d1fa709fdec6
|