(specific read/write library, no extras) https://github.com/blink1073/tifffile/blob/master/tifffile/tifffile.py
from tifffile import imsave
import numpy as np
# create data
--- | |
creation date: <% tp.file.creation_date() %> | |
tags: DailyNote <% tp.file.title.split('-')[0] %> | |
--- | |
modification date: <%+ tp.file.last_modified_date("dddd Do MMMM YYYY HH:mm:ss") %> // This doesn't currently work in front matter, hoping that gets fixed. | |
# <% tp.file.title %> | |
<< [[<% tp.date.now("YYYY-MM-DD", -1, tp.file.title, "YYYY-MM-DD") %>]] | [[<% tp.date.now("YYYY-MM-DD", 1, tp.file.title, "YYYY-MM-DD") %>]]>> |
1. Go to Sublime Text to: Tools -> Build System -> New Build System | |
and put the next lines: | |
{ | |
"cmd": ["python3", "-i", "-u", "$file"], | |
"file_regex": "^[ ]File \"(...?)\", line ([0-9]*)", | |
"selector": "source.python" | |
} | |
Then save it with a meaningful name like: python3.sublime-build |
(specific read/write library, no extras) https://github.com/blink1073/tifffile/blob/master/tifffile/tifffile.py
from tifffile import imsave
import numpy as np
# create data
/* ------------------------------------------------ | |
* SERIAL COM - HANDELING MULTIPLE BYTES inside ARDUINO - 03_function development | |
* by beltran berrocal | |
* | |
* this prog establishes a connection with the pc and waits for it to send him | |
* a long string of characters like "hello Arduino!". | |
* Then Arduino informs the pc that it heard the whole sentence | |
* | |
* the same as examlpe 03 but it deploys 2 reusable functions. | |
* for doing the same job. |