hong zhang wrote:
"cont_x --" doesn't work. So the above can't be the
actual code.
You never want to post the actual code you're
running. That would make it too easy for people to help.
It is typo.
To avoid typos, copy and paste, as has been suggested many times.
--
http://mail.python.
--- On Wed, 11/18/09, Grant Edwards wrote:
> From: Grant Edwards
> Subject: Re: IOError: [Errno 28] No space left on device
> To: python-list@python.org
> Date: Wednesday, November 18, 2009, 2:00 PM
> On 2009-11-18, Diez B. Roggisch
>
> wrote:
> > hong zhan
On 2009-11-18, Diez B. Roggisch wrote:
> hong zhang wrote:
>>>
>>> > but following is good.
>>> >
>>> > cont_tx = 1
>>> > for i in
>>> glob.glob('/sys/kernel/debug/ieee80211/phy*/iwlagn/data/continuous_tx'):
>>> >with open(i, 'w') as f:
>>> >print >>f,
>>> cont_tx
>>>
>>> Well, if that works, th
--- On Wed, 11/18/09, Diez B. Roggisch wrote:
> From: Diez B. Roggisch
> Subject: Re: IOError: [Errno 28] No space left on device
> To: python-list@python.org
> Date: Wednesday, November 18, 2009, 12:11 PM
> hong zhang wrote:
>
> >
> >
> > --- On W
--- On Wed, 11/18/09, Grant Edwards wrote:
> From: Grant Edwards
> Subject: Re: IOError: [Errno 28] No space left on device
> To: python-list@python.org
> Date: Wednesday, November 18, 2009, 9:22 AM
> On 2009-11-18, hong zhang
> wrote:
>
> >> Apparently the
hong zhang wrote:
>
>
> --- On Wed, 11/18/09, Grant Edwards wrote:
>
>> From: Grant Edwards
>> Subject: Re: IOError: [Errno 28] No space left on device
>> To: python-list@python.org
>> Date: Wednesday, November 18, 2009, 9:22 AM
>> On 2009-11-18,
--- On Wed, 11/18/09, Grant Edwards wrote:
> From: Grant Edwards
> Subject: Re: IOError: [Errno 28] No space left on device
> To: python-list@python.org
> Date: Wednesday, November 18, 2009, 9:22 AM
> On 2009-11-18, hong zhang
> wrote:
>
> >> Apparently the
On 2009-11-18, hong zhang wrote:
>> Apparently the harddisk where you stored the file is full?
It's not a real file, and takes up no space.
> I have plenty space see:
> $ df -l
> Filesystem 1K-blocks Used Available Use% Mounted on
> /dev/sda1 74027808 4910016 65357
Lie Ryan schrieb:
hong zhang wrote:
--- On Tue, 11/17/09, Tim Chase wrote:
From: Tim Chase
Subject: Re: IOError: [Errno 28] No space left on device
To: "Lie Ryan"
Cc: python-list@python.org
Date: Tuesday, November 17, 2009, 7:47 PM
for i in
glob.glob('/sys/kernel/debu
hong zhang wrote:
--- On Tue, 11/17/09, Tim Chase wrote:
From: Tim Chase
Subject: Re: IOError: [Errno 28] No space left on device
To: "Lie Ryan"
Cc: python-list@python.org
Date: Tuesday, November 17, 2009, 7:47 PM
for i in
glob.glob('/sys/kernel/debug/ieee80211/p
--- On Tue, 11/17/09, Tim Chase wrote:
> From: Tim Chase
> Subject: Re: IOError: [Errno 28] No space left on device
> To: "Lie Ryan"
> Cc: python-list@python.org
> Date: Tuesday, November 17, 2009, 7:47 PM
> >> for i in
> glob.glob('/sys/kernel/debu
for i in
glob.glob('/sys/kernel/debug/ieee80211/phy*/iwlagn/data/continuous_tx'):
with open(i, 'w') as f:
print >>f, cont_tx
work perfectly.
But following get error like:
print >>f, cont_tx
IOError: [Errno 28] No space left on device
A
--- On Tue, 11/17/09, Lie Ryan wrote:
> From: Lie Ryan
> Subject: Re: IOError: [Errno 28] No space left on device
> To: python-list@python.org
> Date: Tuesday, November 17, 2009, 6:59 PM
> hong zhang wrote:
> > List,
> >
> > My python script has a strange er
r like:
print >>f, cont_tx
IOError: [Errno 28] No space left on device
def do_cont_tx( is_start):
global cont_tx_started, stdscr
if is_start == START and not cont_tx_started:
cont_tx = 1
for i in
glob.glob('/sys/kernel/debug/iee
, cont_tx
IOError: [Errno 28] No space left on device
def do_cont_tx( is_start):
global cont_tx_started, stdscr
if is_start == START and not cont_tx_started:
cont_tx = 1
for i in
glob.glob('/sys/kernel/debug/ieee80211/phy*/iwlagn/data/continuo
[sir_alex]
| Is there any function to see how much space is left on a device (such
| as a usb key)? I'm trying to fill in an mp3 reader in a little script,
| and this information could be very useful! Thanks!
If you're talking Win32, have a look at
win32file.GetDiskFreeSpace from the pywin32 exte
On 16 Jan 2006 07:52:46 -0800, sir_alex <[EMAIL PROTECTED]> wrote:
>Is there any function to see how much space is left on a device (such
>as a usb key)? I'm trying to fill in an mp3 reader in a little script,
>and this information could be very useful! Thanks!
If you are on a platform with statvf
sir_alex wrote:
> Is there any function to see how much space is left on a device (such
> as a usb key)? I'm trying to fill in an mp3 reader in a little script,
> and this information could be very useful! Thanks!
>
On windows with the win32 extensions, you might try this:
# Get hard drive info
Is there any function to see how much space is left on a device (such
as a usb key)? I'm trying to fill in an mp3 reader in a little script,
and this information could be very useful! Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
Is there any function to see how much space is left on a device (such
as a usb key)? I'm trying to fill in an mp3 reader in a little script,
and this information could be very useful! Thanks!
--
http://mail.python.org/mailman/listinfo/python-list
20 matches
Mail list logo