Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #90197
| 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.python | Previous | Next — Next in thread | Find similar | Unroll thread
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? Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-05-09 20:29 +1000
Re: Jython from bathc file? vjp2.at@at.BioStrategist.dot.dot.com - 2015-05-09 21:04 +0000
Re: Jython from bathc file? Michael Torrie <torriem@gmail.com> - 2015-05-09 16:54 -0600
Re: Jython from bathc file? Dave Angel <davea@davea.name> - 2015-05-09 19:51 -0400
Re: Jython from bathc file? vjp2.at@at.BioStrategist.dot.dot.com - 2015-05-10 02:25 +0000
Re: Jython from bathc file? Rustom Mody <rustompmody@gmail.com> - 2015-05-09 19:36 -0700
Re: Jython from bathc file? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-05-09 23:26 -0400
Re: Jython from bathc file? vjp2.at@at.BioStrategist.dot.dot.com - 2015-05-10 02:18 +0000
csiph-web