Ruby is flexible than python. But python has many good modules ...
thanks for all your answer ! For me if no rails, i will not know ruby :)
garbage in,garbage out
hi, friends
i have heard both Ruby and Python can do same thing. i evaluated them quickly and i like Python a bit. But i still want to hear more infomation ...
any suggestion is appreciated !
garbage in,garbage out
A python CGI program can run on linux but not on
windows. By looking at CGIHTTPServer.py, we found out the reason: on windows, the
parent cannot pass os.environ to child demonstrated
as below:
main.py
import os, sys, shutil
env = {}
env["AAA"] = "111"
os.environ.update(env)
print...
hi, friends
i am a python newbie. however i like it very much when i first touch it.
i tried to build a web site using python. but encountered some problems.
1. the browser cannot receive out Cookie:
import cgi, Cookie
C = SimpleCookie()
C.load('a=1; b=2;')
print C.output()
2. at server side...
Moreover if adding ';'(voice) after atd138xxxyyyzz
,then mgetty can get RING but useless for digital communication, right ?
ipo_z@cmmail.com
garbage in,garbage out
hi sir,
the following is test environment:
(windows)---(modem A)~~~~~~(modem B)---(linux)
where, modem A and modem B are different band.And modemB's phone# is 138xxxyyyzz
On linux, we can dial windows successfully using minicom.However we can NOT dial linux from windows as below:
On linux,run...
hi,friends
I want to share the BDE database connection .but i donot know how to do it? Now i use a separate TDatabase both in exe and dll :(
any suggestion is appreciated ! ipo_z@cmmail.com
garbage in,garbage out
Thanks for your answers ! My NT version is NT 4.0(Build 1381:service pack 5) .
I have searched microsoft web site for new pack but i cannot found chinese pack 6 :(
Do you mind telling me a site where i can download chinese NT pack ?
thanks in advance ! ipo_z@cmmail.com
garbage in,garbage out
If i need cross-platform i will use jbuilder.If i need to develop native program i will use delphi/kylix !
then i will not use .net because i donot want to lose freedom ! ipo_z@cmmail.com
garbage in,garbage out
hello,friends
It is not recommended to use stored procedure for good portablity.However if you only use one RDBMS,then SP will improve performance greatly.
Of course the BMP entity bean can use SP directly.But how about CMP entity bean ? As i know the EJB QL doesnot support to call SP. Is it...
thank you for your quick answer !
if what you said is right then why does the "try ... finally" works in dpr ?
By delving the assembly code i find that compiler seems do something for the "try...finally" however nothing for "try...except" !
sorry i donot...
The following is a dpr framework
.....
const
APP_FLAG = 'LON-METER-READER';
var
app_atom : ATOM;
begin
Application.Initialize;
app_atom := globalFindAtom(APP_FLAG);
try
if app_atom <> 0 then begin //only allow one instance
Application.Terminate ...
Hi friends,
Now i am using TIdHTTP to call a servlet which will accept and return XML data. The TIdHTTP works very well but i have question about it.
.the get methods
procedure Get(AURL: string; const AResponseContent: TStream); overload;
function Get(AURL: string): string; overload...
Is the following code right ?
procedure TForm1.Button2Click(Sender: TObject);
const
URL = 'http://192.168.1.118:8080/imonitor/putXml.jsp';
var
ms : TMemoryStream;
hi : TIdHeaderInfo;
begin
if memo1.Text <> '' then
try
ms := TMemoryStream.Create...
It seems this is a difficult question.Let us put a breakpoint on line "bean := home.create()".When the program stops at that line we press ctrl+alt+c to enter assembly window.The following is the code snippet:
...
push $0044c0e4
lea eax,[ebp-$10]
push eax
lea eax,[ebp-$40]
push eax...
Up to now i can NOT make delphi work with axis so i am trying to find anothee way.Recently i found an article below however i am not sure whether JAsta works with delphi ?
--------------------------------------------------------
JAsta and JBoss
While Java has been less then perfect as a...
Hi,friends,
Recently i downloaded apache-axis and deployed it on tomcat successfully.I can run its built-in samples,such as $(axis_home)/samples/addr.
In order to test web service's interoperability i used delphi6 to write a client program as below:
procedure TfrmAddr.Button1Click(Sender...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.