ftputil - uploading many files too long
Hi, When I try to upload many files I get such a error message: Traceback (most recent call last): File "I:\Python\my_py\wwwzaci\xcopy_ftp.py", line 51, in ? except: x=host.upload(zdroj, cilFTP,'b') File "C:\prg\python24\Lib\site-packages\ftputil\ftputil.py", line 463, in uplo ad self.__copy_file(source, target, mode, open, self.file) File "C:\prg\python24\Lib\site-packages\ftputil\ftputil.py", line 452, in __co py_file target = target_open(target, target_mode) File "C:\prg\python24\Lib\site-packages\ftputil\ftputil.py", line 265, in file host = self._copy() File "C:\prg\python24\Lib\site-packages\ftputil\ftputil.py", line 241, in _cop y return FTPHost(*self._args, **self._kwargs) File "C:\prg\python24\Lib\site-packages\ftputil\ftputil.py", line 138, in __in it__ self._session = self._make_session() File "C:\prg\python24\Lib\site-packages\ftputil\ftputil.py", line 235, in _mak e_session return ftp_error._try_with_oserror(factory, *args, **kwargs) File "C:\prg\python24\Lib\site-packages\ftputil\ftp_error.py", line 78, in _tr y_with_oserror raise TemporaryError(obj) ftputil.ftp_error.TemporaryError: 421 Login Timeout (25 seconds): closing contro l connection. I think its not about many files but because of it takes too long for my ftp server (25s). I tried many things but nothing helps. Any help is appreciated... -- geon -- http://mail.python.org/mailman/listinfo/python-list
Re: return None
Ximo wrote: > Can I do a function which don't return anything? > > The question is that, if I do a function that have a return or without > return, it returns always "None", but i want that it doesnt return me > nothing Nothing is None, or isnt? You probably print the function, what you neednt, of course. You can just call it: def x(): pass print x() # calling with printing x() # calling only x() prints really nothing, even not None ;-) -- geon Vyjímka je pravidlo. Rekurzivní. -- http://mail.python.org/mailman/listinfo/python-list
how to get playtime ( playback time ) of movie files?
hi.. i want get playtime of movie files ( avi , mpeg , wav , mov etc... ) how to get ?? please help me .. -- http://mail.python.org/mailman/listinfo/python-list
Re: patch
sorry, pls forget :-( -- http://mail.python.org/mailman/listinfo/python-list
pysqlite install error on hp ux (ld: Can't find library for -lpython2.5)
hi everyone! when i install pysqlite i meet bellow error. ( use easy_install and source code building same problem ) ld: Can't find library for -lpython2.5 what mean this message? and what i do? my system is hp-ux 11i v3. and python2.5 is installed. ld command also avaliable. please help for me~ -- http://mail.python.org/mailman/listinfo/python-list
Re: pysqlite install error on hp ux (ld: Can't find library for -lpython2.5)
On 11월10일, 오전11시29분, "Geon." <[EMAIL PROTECTED]> wrote: > hi everyone! > > when i install pysqlite i meet bellow error. ( use easy_install and > source code building same problem ) > > ld: Can't find library for -lpython2.5 > > what mean this message? and what i do? > > my system is hp-ux 11i v3. and python2.5 is installed. > ld command also avaliable. > > please help for me~ sorry wrong write :-) bellow -> below avaliable -> available -- http://mail.python.org/mailman/listinfo/python-list
Re: pysqlite install error on hp ux (ld: Can't find library for -lpython2.5)
On 11월10일, 오후1시31분, 一首诗 <[EMAIL PROTECTED]> wrote: > On Nov 10, 10:29 am, "Geon." <[EMAIL PROTECTED]> wrote: > > > hi everyone! > > > when i install pysqlite i meet bellow error. ( use easy_install and > > source code building same problem ) > > > ld: Can't find library for -lpython2.5 > > > what mean this message? and what i do? > > > my system is hp-ux 11i v3. and python2.5 is installed. > > ld command also avaliable. > > > please help for me~ > > Hi, as far as I know. > > 1. you can use module sqlite3 instead. > 2. you can use these commands on ubuntu: > > sudo apt-get install libsqlite3-dev > sudo easy_install -Z pysqlite is possible apt-get on hp unix? i think apt-get is only available ubuntu linux system.. -- http://mail.python.org/mailman/listinfo/python-list
Re: pysqlite install error on hp ux (ld: Can't find library for -lpython2.5)
On 11월11일, 오후6시10분, Thorsten Kampe <[EMAIL PROTECTED]> wrote: > * Geon. (Mon, 10 Nov 2008 18:00:56 -0800 (PST)) > > > > > > > On 11?10?, ??1?31?, ??? <[EMAIL PROTECTED]> wrote: > > > On Nov 10, 10:29 am, "Geon." <[EMAIL PROTECTED]> wrote: > > > > when i install pysqlite i meet bellow error. ( use easy_install and > > > > source code building same problem ) > > > > > ld: Can't find library for -lpython2.5 > > > > > what mean this message? and what i do? > > > > > my system is hp-ux 11i v3. and python2.5 is installed. > > > > ld command also avaliable. > > > > > please help for me~ > > > > Hi, as far as I know. > > > > 1. you can use module sqlite3 instead. > > > 2. you can use these commands on ubuntu: > > > > sudo apt-get install libsqlite3-dev > > > sudo easy_install -Z pysqlite > > > is possible apt-get on hp unix? > > i think apt-get is only available ubuntu linux system.. > > No, on all Debian based distributions. > > Thorsten- 따온 텍스트 숨기기 - > > - 따온 텍스트 보기 - thanks, all response -- http://mail.python.org/mailman/listinfo/python-list