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:
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
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
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
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
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
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?
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?
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
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 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,
11 matches
Mail list logo