Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 292 results for
jython
- Page 1
Re: Jython anyone?
Programming
Software Development
13 Years Ago
by jwenting
Jython
, now that's a name I've not heard mention in many years...
Jython anyone?
Programming
Software Development
13 Years Ago
by vegaseat
…played around with Java based Python, also known as
Jython
.
Jython
uses easy to learn Python syntax and can use the… '99 bottle of beer' song and show in a
Jython
(Java based Python) scrollable list box Download file jython_installer…) frame.visible = True [/code]If you have any
Jython
code samples, you are invited to the Python forum for…
Re: Jython anyone?
Programming
Software Development
13 Years Ago
by vegaseat
… you read the "[URL="http://www.
jython
.org/archive/21/docs/differences.html"]differences between… CPython and
Jython
[/URL]" page (not sure how updated that…quot;]Grinder[/URL]", the load testing framework uses
Jython
as its scripting language. :-)[/QUOTE]Looks like that …
Re: Jython anyone?
Programming
Software Development
13 Years Ago
by ~s.o.s~
…, those thinking of making a transition from CPython to
Jython
in hope of a better GC and threading, please …sure you read the "[URL="http://www.
jython
.org/archive/21/docs/differences.html"]differences between …CPython and
Jython
[/URL]" page (not sure how updated that page…
Re: Jython anyone?
Programming
Software Development
13 Years Ago
by vegaseat
… posting to avoid embarrassed entries like this. Question was about
Jython
not about Java GUI components and designs[/QUOTE] Actually, to… get to know
Jython
you have to know Python and Java. I know [B… me. I am personally looking more at GUI programming with
Jython
, swing is such a gem!
Re: Jython anyone?
Programming
Software Development
13 Years Ago
by peter_budo
[QUOTE=vegaseat;1572492]Actually, to get to know
Jython
you have to know Python and Java. I know [B]… me. I am personally looking more at GUI programming with
Jython
, swing is such a gem![/QUOTE] Yes these tutorials are…
Re: Jython anyone?
Programming
Software Development
13 Years Ago
by peter_budo
[QUOTE=bumsfeld;1571913]This might help: [url]http://download.oracle.com/javase/tutorial/uiswing/TOC.html[/url][/QUOTE] Please read original post before posting to avoid embarrassed entries like this. Question was about
Jython
not about Java GUI components and designs
Jython magic!!!
Programming
Software Development
16 Years Ago
by thekilon
…). HSQL seems like a proper choice. I am very new
Jython
user . I really like the Java library and love Python… this combination seemed perfect for me. Anyone else coding in
Jython
? Do you like
Jython
? If not , Why ?
jython read pickle from c-python, a way of exchanging data between the two
Programming
Software Development
15 Years Ago
by sunwei415
… running existing c-python code(python 2.5.4) from
jython
(version 2.5b3). Here I am trying to share the… work around I find out. The idea is to make
jython
read [URL="http://docs.python.org/library/pickle.html… I pickle the class. Then I load the class in
jython
, in which I can access all the data. Hope this…
Re: Jython code to parse command line arguments
Programming
Software Development
13 Years Ago
by potchi
…exception information: com.ibm.bsf.BSFException: exception from
Jython
: Traceback (innermost last): File "<string…? File "D:\IBM\WebSphere\AppServer\optionalLibraries\
jython
\Lib\javaos.py", line 137, in __getitem__… File "D:\IBM\WebSphere\AppServer\optionalLibraries\
jython
\Lib\UserDict.py", line 14, in…
Re: Jython code to parse command line arguments
Programming
Software Development
13 Years Ago
by potchi
Is it possible? to pass command line variables to
jython
? actually what happens to me is command line - server -
jython
I am using
jython
of websphere 6.1 so Im calling my script this way wsadmin -lang
jython
-f myScript.py
Jython question
Programming
Software Development
16 Years Ago
by jcafaro10
…'t really seem to find a
jython
forum and this question is somewhere between a
jython
and a python question. I'm…
Jython input editable to list
Programming
Software Development
14 Years Ago
by paul.hahn
Hi, I'm newbie on
Jython
and on this forum as well. I need to create … the Entry widget. Is there anything equivalent or similar on
Jython
? What I basically need is to create a layout that…
Re: Jython code to parse command line arguments
Programming
Software Development
13 Years Ago
by potchi
…file (test.bat) I have this code set TEST=512
jython
myScript.py In myScript.py I have this code import…os.environ['TEST'] But running my test.bat, I get '
jython
' is not recognized as an internal or external command, operable… failed calling myScript.py I'm stuck Im using
jython
with wsadmin overhead in WebSphere 6.1 Thanks!!!
Jython non blocking mode file read?
Programming
Software Development
13 Years Ago
by woodenduck
Hey all I need some help with
Jython
. In Python I'm given the easy option to read … = os.open('/dev/input/js0', os.O_NONBLOCK) [/CODE] But in
Jython
I'm not sure how to do this. I'm…
A Jython Image Viewer
Programming
Software Development
12 Years Ago
by vegaseat
Jython
is a version of Python that can use the extensive Java library.
Jython
uses Python syntax and avoids the rather ugly syntax (at least for Pythonions) of Java. Here we apply it to bring up an image from a file.
Re: Jython question
Programming
Software Development
16 Years Ago
by sillyboy
[CODE]myInterpretter.exec("import java.util")[/CODE] Not too sure what you are trying to do here. You should be able to simply use: [CODE]import java.util[/CODE]
Jython
is python with access to java packages.
Re: Jython or Python
Programming
Software Development
15 Years Ago
by vegaseat
… and don't clutter the sticky. [/QUOTE] In my opinion,
Jython
was created to serve the folks that were familiar with… many libraries, but disliked the rather cryptic syntax of Java.
Jython
gives them the opportunity to write more readable code. It…
Re: Jython or Python
Programming
Software Development
15 Years Ago
by jlm699
Holy crap no.
Jython
is the scourge of humanity, and in my opinion utter and complete garbage. I don't even know why it exists except to astound and bewilder. I used it once to make an application that could interface with Lotus Notes. Every time I look back at that period in my life I get sick thinking about having to use
Jython
. Blech.
Re: Jython code to parse command line arguments
Programming
Software Development
13 Years Ago
by TrustyTony
os.environ should work normally in
Jython
: [url]http://www.
jython
.org/jythonbook/en/1.0/InputOutput.html[/url]
Re: Jython code to parse command line arguments
Programming
Software Development
13 Years Ago
by TrustyTony
Usually you call
jython
something like this: [CODE]java -jar
jython
.jar my_python_file.py[/CODE] But in WebSphere you use wsadmin.sh, don't you? [url]http://www.ibm.com/developerworks/websphere/library/techarticles/0707_lepech/0707_lepech.html[/url]
Re: Jython code to parse command line arguments
Programming
Software Development
13 Years Ago
by TrustyTony
For regular
jython
everything works normally, you should check how websphere's environment is different. [CODE]import sys print('\n'.join(sys.argv))[/CODE] [CODE] K:\jython2.5.2>java -jar
jython
.jar args.py 123 24 435 args.py 123 24 435 K:\jython2.5.2>[/CODE]
Jython or Python
Programming
Software Development
15 Years Ago
by ithelp
I have one related question is
Jython
going to replace Python in a few year ?
Jython code to parse command line arguments
Programming
Software Development
13 Years Ago
by potchi
…=%cd% ... and I want to pass these values to a
jython
script (myScript.py) such that fullpath = '%cd%/myApp.war' AdminApp…
Re: Jython code to parse command line arguments
Programming
Software Development
13 Years Ago
by potchi
So how can I do it? Actually I have a properties file (myFile.properties) and my other option is to put the parameters (maxHeap, initialHeap) in the properties file. The question is, is there a way to read a properties file (myFile.properties) in
jython
?
Re: Jython code to parse command line arguments
Programming
Software Development
13 Years Ago
by TrustyTony
As long as you have read permissions to the file and it is visible from
Jython
, why not. What is the format? Or you could use command line arguments like your title says.
Re: Jython code to parse command line arguments
Programming
Software Development
13 Years Ago
by potchi
Hi, the code above is not working, is this because I am connecting to an application server (WebSphere 6.1) before using
jython
?
Jython non blocking mode file read?
Programming
Software Development
13 Years Ago
by woodenduck
Started this thread in the python area but seeing as
Jython
is a fusion of java and python I thought I'd post a link here in case someone can help [URL="http://www.daniweb.com/forums/showthread.php?t=415593"]http://www.daniweb.com/forums/showthread.php?t=415593[/URL]
Re: Get started with Jython
Programming
Software Development
13 Years Ago
by vegaseat
…of my Python26 code runs on
Jython
just fine. Not the Tkinter code, since
Jython
uses the Java GUI toolkit instead…an example [code]""" jy_input_output1.py a
Jython
example for getting input and output on a console using…!') [/code]I have my Editra IDE configured to run
Jython
code. Another general IDE that works well is ConText. …
Re: Jython anyone?
Programming
Software Development
13 Years Ago
by bumsfeld
This might help: [url]http://download.oracle.com/javase/tutorial/uiswing/TOC.html[/url]
1
2
3
5
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC