how to remove the blank lines?

2006-12-08 Thread boyeestudio
The following program have the same function as the linux's command:tail -f logfile.log But it print a lot of blank lines while showing on the stdout. How to fix this problem and let it go ahead always showing the end line as the log file's increasing. #tail.py: import os import sys class Tail:

Can we run a script in gmail when it's openning, for example, the javascript or python script or any other!

2006-12-12 Thread boyeestudio
I feel like uploading a attachment using remote uploading in gmail. I'm here (command) / / (getting file) [gmail]<->(remote) I just send a command to the gmail(where I send a mail and it contains some script which can run directly in gmail),then the scrip

I compile the Pychm in windows,But meet a lot of errors......

2007-01-09 Thread boyeestudio
The Error is show as below: D:\Downloads\pychm-0.8.4>python setup.py build running build running build_py running build_ext building 'chm._chmlib' extension D:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\link.exe /DLL /nologo /INCREMENTAL:NO /LIBPATH:D:\Python24\libs /LIBPATH:D:\Pytho

Are there any python jobs worked at home from the internet?

2007-06-09 Thread boyeestudio
Hi,all buddies. Are there any python jobs worked at home from the internet? I want to find a part time job. Please give a clue to this for me. Thanks a lot! -- http://mail.python.org/mailman/listinfo/python-list

How to process the nested String for sybase sql statement?

2007-04-04 Thread boyeestudio
now,I want to insert some data to the sybase database, some variable such as i,j,k,name,k,j I have defined before. I write the sql statement here But I meet some errors,How to write this nested String for sql query? For example: import Sybase db = Sybase.connect('boyee','sa','',"test'') c = db.c

About python Sybase module and the database manipulation!

2007-04-05 Thread boyeestudio
I write a python program which can insert one record into the Sybase databae at a time using the function "fetchone()",But I find it runs slowly. So I want speed it up,But I don't know how to manipulate the database more efficiently! Thread or any other methods can do it?? -- http://mail.python.o

How to fix this? Sybase module and character set!!!!

2007-04-06 Thread boyeestudio
C:\>python msMdbPro2.py Traceback (most recent call last): File "msMdbPro2.py", line 152, in ? main() File "msMdbPro2.py", line 132, in main testSyb = SybaseProc(199477,'10.130.58.154','sa','','zxdb_ecity',173624) File "msMdbPro2.py", line 44, in __init__ self.sybdata = Sybase.connect(

How to run python program on the embeded system?

2006-03-30 Thread boyeestudio
How to run python program on the embeded system? My mobile phone support J2ME,CLDC-1.1,midp-2.0  and I want to let it run python program,but I have no idea how to. Maybe I need write a python compiler which can run on my phone,But it is a complex work. Please help and tell me What can I do,

How to write a python program to export the help document to a file?

2006-04-10 Thread boyeestudio
How to write a python program to export the help document to a file? for example:    I need the os document,I use: >>>import os >>>help(os) then it will show me all about os.But I need it redirect to a file. How to do that? Thanks a lot! -- http://mail.python.org/mailman/listinfo/python-list

the mysql for python cann't be install from the source! Help!!

2006-04-11 Thread boyeestudio
I install the mysqldb module for python,I use: python setup.py build   but it tell me "cann't find include file my_conf.h' I search the mysql directory but gain none of it! Please help me with it! Thanks a lot! -- http://mail.python.org/mailman/listinfo/python-list

I meet problems while using the py2exe,Please help me!

2006-04-11 Thread boyeestudio
I want build a python source to .exe file. I use the py2exe and the script file I wrote as below: from distutils.core import setupimport py2exe setup(windows=["main.py"], name='palaver', description="palaver is a p2p software", version='0.05', ) it build rightly,But when I run the executable file,