documents:120206pyip_cooking:python_imagej_cookbook
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
documents:120206pyip_cooking:python_imagej_cookbook [2018/12/12 23:28] – [Python + ImageJ, Fiji Cookbook] kota | documents:120206pyip_cooking:python_imagej_cookbook [2020/07/14 22:29] – [Path operations] kota | ||
---|---|---|---|
Line 5: | Line 5: | ||
For learning image processing using Fiji and Jython scripting, go to excellent tutorials written by Albert Cardona, such as [[https:// | For learning image processing using Fiji and Jython scripting, go to excellent tutorials written by Albert Cardona, such as [[https:// | ||
- | This page is like a cookbook: there are no details about how to do programming, | + | This page is like a cookbook: there are no details about how to do programming, |
Other resources: | Other resources: | ||
Line 221: | Line 221: | ||
print ff.getParent() | print ff.getParent() | ||
print ff.getName() | print ff.getName() | ||
+ | </ | ||
+ | ==== Loading a textfile as String ==== | ||
+ | |||
+ | <code python linenums: | ||
+ | path = "/ | ||
+ | with open(inpath, | ||
+ | data = myfile.read() | ||
+ | print data | ||
</ | </ | ||
documents/120206pyip_cooking/python_imagej_cookbook.txt · Last modified: 2022/10/16 07:12 by kota