Experimental Physics and Industrial Control System
|
Hi,
we are trying to have a Python/Jython script associated with a widget in
CSS BOY to work
with a SQLite database using sqlite-jdbc. When we try to import
"org.sqlite" , the "import"
statement fails even if we add the actual jar-file full name to
"sys.path" (which is somewhere in
my home directory). It looks as if the "import"-statement does not care
what the "sys.path"
variable is. I could do this using regular Jython 2.5.2, but we are
having problem doing this
with CSS. How can we use external jar-files in the Python scripts in
CSS, are these things
in CSS Python scripts supposed to work as they do in Jython?
Our current goal is to be able to read data from MySQL and SQLite databases
from our CSS BOY scripts. Any help would be appreciated.
Thanks,
Hovanes Egiyan.
- Replies:
- Re: importing jar files from CSS Python script Xihui Chen
- Navigate by Date:
- Prev:
Re: caget.c patch for dynamic array sizing J. Lewis Muir
- Next:
TPRO Field Definition Dudley, David
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
- Navigate by Thread:
- Prev:
.NET client and server availble as NuGet packages Bertrand Alain Gregor
- Next:
Re: importing jar files from CSS Python script Xihui Chen
- Index:
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
<2014>
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
|
ANJ, 17 Dec 2015 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|