Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.help > #3386
| From | vjp2.at@at.BioStrategist.dot.dot.com |
|---|---|
| Newsgroups | comp.lang.python, alt.msdos.batch.nt, comp.lang.java.help |
| Subject | Jython from bathc file? |
| Date | 2015-05-08 23:36 +0000 |
| Organization | PANIX Public Access Internet and UNIX, NYC |
| Message-ID | <mijh9c$nv6$2@reader1.panix.com> (permalink) |
Cross-posted to 3 groups.
How do I do this in a .bat file?
Do I include the Jython or pipe it?
% CLASSPATH=$CLASSPATH:$RDBASE/Code/JavaWrappers/gmwrapper/org.RDKit.jar; jython
-Djava.library.path=$RDBASE/Code/JavaWrappers/gmwrapper
Jython 2.2.1 on java1.6.0_20
Type "copyright", "credits" or "license" for more information.
>>> from org.RDKit import *
>>> from java import lang
>>> lang.System.loadLibrary('GraphMolWrap')
>>> m = RWMol.MolFromSmiles('c1ccccc1')
>>> m.getNumAtoms()
Back to comp.lang.java.help | Previous | Next — Next in thread | Find similar
Jython from bathc file? vjp2.at@at.BioStrategist.dot.dot.com - 2015-05-08 23:36 +0000 Re: Jython from bathc file? Todd Vargo <tlvargo@sbcglobal.netz> - 2015-05-09 06:17 -0400 Re: Jython from bathc file? vjp2.at@at.BioStrategist.dot.dot.com - 2015-05-09 21:04 +0000
csiph-web