File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Jython/Python and the fly likes Jython doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Languages » Jython/Python
Bookmark "Jython doubt" Watch "Jython doubt" New topic

Jython doubt

anuja Edathu
Ranch Hand

Joined: Sep 09, 2005
Posts: 84
Hai all,
Is this a place where i can ask jython doubts?
Then, I have installed jython in my machine
Can any one tell me how can i read a properties file using jython
Thanks & Regards
Anuja K
Lasse Koskela

Joined: Jan 23, 2002
Posts: 11962
Yes, this is the correct forum for Jython questions.

The easiest way to read a properties file in Jython is to use the java.util.Properties class from the standard Java API. The Jython documentation on calling Java from Jython explains how this can be done.

PS. Check out this page in our wiki. It'll help other users to see immediately from looking at the topic listings what your thread is about.

Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
anuja Edathu
Ranch Hand

Joined: Sep 09, 2005
Posts: 84
Thank You Lasse
Anuja K
I agree. Here's the link:
subject: Jython doubt
It's not a secret anymore!