Can I use a pyd compiled on linux in a Windows distribution?
Or must I recompile it for windows users?
--
http://mail.python.org/mailman/listinfo/python-list
Due to an ftp server issue, my python script sometimes hangs whilst
downloading, unable to receive any more data. Is there any way that I
could have python check, maybe through a thread or something, whether
it has hanged (or just, if it's still active after 10 seconds, stop
it?). I have looked at
I am using ftplib for a project, using a try/except loop.
I would like to find out the exception, but I am a python newbie and
do not know how.
How, in a try/except loop would I find the ftplib exception?
--
http://mail.python.org/mailman/listinfo/python-list
On Sep 15, 1:32 am, MRAB wrote:
> Bakes wrote:
> > On Sep 13, 11:47 pm, MRAB wrote:
> >> Bakes wrote:
> >>> On 13 Sep, 22:41, Chris Rebert wrote:
> >>>> On Sun, Sep 13, 2009 at 2:34 PM, Bakes wrote:
> >>>>> I am using a simple py
On Sep 13, 11:47 pm, MRAB wrote:
> Bakes wrote:
> > On 13 Sep, 22:41, Chris Rebert wrote:
> >> On Sun, Sep 13, 2009 at 2:34 PM, Bakes wrote:
> >>> I am using a simple python script to download my logfiles. This is on
> >>> a while loop, the logfile gr
On 13 Sep, 22:41, Chris Rebert wrote:
> On Sun, Sep 13, 2009 at 2:34 PM, Bakes wrote:
> > I am using a simple python script to download my logfiles. This is on
> > a while loop, the logfile grows rapidly, so it is necessary for python
> > to start downloading the new scr
I am using a simple python script to download my logfiles. This is on
a while loop, the logfile grows rapidly, so it is necessary for python
to start downloading the new script as soon as it has finished the
old.
It works fine (for about 20 minutes), then crashes. I have removed a
couple of except
If I were using the code:
(?P[0-9]+)
to get an integer between 0 and 9, how would I allow it to register
negative integers as well?
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 28, 5:36 pm, Dave Angel wrote:
> Bakes wrote:
> > On 28 July, 15:18, Bakes wrote:
>
> >> On 28 July, 15:01, Hrvoje Niksic wrote:
>
> >>> Bakes writes:
>
> >>>> The error I get is:
> >>>> ftplib.error_temp: 451-Res
On 28 July, 15:18, Bakes wrote:
> On 28 July, 15:01, Hrvoje Niksic wrote:
>
>
>
> > Bakes writes:
> > > The error I get is:
> > > ftplib.error_temp: 451-Restart offset 24576 is too large for file size
> > > 22852.
> > > 451 Restart offset
On 28 July, 15:01, Hrvoje Niksic wrote:
> Bakes writes:
> > The error I get is:
> > ftplib.error_temp: 451-Restart offset 24576 is too large for file size
> > 22852.
> > 451 Restart offset reset to 0
> > which tells me that the local file is larger than the exter
time
> for i in range(1, 2):
> time.sleep(0.2)
> print i
> f = open("data1.log","a")
> f.write('%s: This logfile is being automatically generated to help
> Bakes test his python ftptail. \n' % i)
> f.close()
and us
12 matches
Mail list logo