Hello,
I've done database console in jython called jydbconsole. It's now
available on sourceforge. As you can guess console needs jdbc drivers.
The script that runs jython itself doesn't public -cp option to add
another classpaths. Yes I need to add jdbc drivers to classpath ...
Of course I see
Kent Johnson wrote:
> Jan Gregor wrote:
>
>> my typical scenario is that my swing application is running, and i see
>> some error or chance for improvement - modify sources of app, stop and
>> run
>> application again.
>> so task is to reload class defitions
In article <[EMAIL PROTECTED]>, Kent Johnson wrote:
> Jan Gregor wrote:
>> Hello folks
>>
>> I want to apply changes in my source code without stopping jython
>> and JVM. Preferable are modifications directly to instances of
>> classes. My applicati
In article <[EMAIL PROTECTED]>, Alan Kennedy wrote:
> [Jan Gregor]
>> I want to apply changes in my source code without stopping jython
>> and JVM. Preferable are modifications directly to instances of
>> classes. My application is a desktop app using swing library
Hello folks
I want to apply changes in my source code without stopping jython
and JVM. Preferable are modifications directly to instances of
classes. My application is a desktop app using swing library.
Python solutions also interest me.
Solution similiar to "lisp way" is ideal.
Thanks f
Hello
I run python script on another computer and want to "survive" that
script after my logout. the script also uses drive mapping to network drive.
Can you help me ? Or better is there some info for unix person how
to survive with python on windows ;-)
thanks,
jan grego
Hello
I want to redirect output of jython's functions print and println to
JTextArea component. Is it possible ?
I tried this (swingConsole.textArea is instance):
In my class
self.printStream= MyPrintStream(System.out)
System.setOut(self.printStream)
# This is a sucky hack. Fix printResult
self.console.textArea.append(data)
Jan
Jan Gregor wrote:
Hello
I want to redirect output of jython's functions print and println to
JTextArea component. Is it possible ?
I tried this (swingConsole.textArea is instance):
In my class
StringBuffer class from java was right solution - yours looses encoding,
and in jython I was unable to get it back - in python it worked fine.
Jan
> I don't use Jython, but are you not able to do something like:
>
> string_list = []
> for ... in ...:
> ...
> string_list.append(...)
>
Ok, thanks. I didn't think that += operator is nondestructive operation
- but strings are immutable so this makes sense.
On 2004-12-13, Diez B. Roggisch <[EMAIL PROTECTED]> wrote:
>> I found that price of += operator on string is too high in jython. For
>> example 5000 such operations took 90 se
Hello
I found that price of += operator on string is too high in jython. For
example 5000 such operations took 90 seconds (i generated html copy of
table with 1000 rows and 5 columns). Generation of row data into separate
string and joining after lead to time 13 seconds !!!
What's alternati
11 matches
Mail list logo