On Tuesday, April 2, 2013 9:52:14 AM UTC-4, Chris Hulan wrote:
> Running Python 2.3.2 on AIX
>
> getting "OSError: [Errno 127] Value too large to be stored in data type"
>
> when executing:
>
>
>
> os.listdir('/some/NFS/dir')
>
>
>
Running Python 2.3.2 on AIX
getting "OSError: [Errno 127] Value too large to be stored in data type"
when executing:
os.listdir('/some/NFS/dir')
The error only happens on NFS mounted dirs
Anyone else seen this?
--
http://mail.python.org/mailman/listinfo/python-list
I'd just look a the unit tests for clarification/examples
--
http://mail.python.org/mailman/listinfo/python-list
The callback is a method so you need to specify the owner
builder.connect_signals({"on_window_destroy" : gtk.main_quit,
"on_btnExit_clicked" : self.btnExit_clicked})
Got this info from
http://www.pygtk.org/articles/pygtk-glade-gui/Creating_a_GUI_using_PyGTK_and_Glade.htm
cheers
--
http://mail.
On Mar 11, 1:21 pm, noydb wrote:
> Hello All,
>
> I am just looking to see if there is perhaps a more efficient way of
> doing this below (works -- creates two random teams from a list of
> players). Just want to see what the experts come up with for means of
> learning how to do things better.
>
On Mar 11, 9:56 am, Thomas W wrote:
> I`m thinking about creating a very simple revision system for photos
> in python, something like bazaar, mercurial or git, but for photos.
> The problem is that handling large binary files compared to plain text
> files are quite different. Has anybody done so
On Oct 21, 2:57 pm, Eric_NYRelEng wrote:
> Does anyone have any example with perforce integrate command? Please
> help
>
> —Code Snippet—
> import P4
> ##set p4.port, p4.client
>
> p4c = P4.P4()
> p4c.connect()
> view = “//depot/meta/project/frombranch/...//depot/meta/project/
> tobranch/..."
> p4
On Oct 16, 10:59 pm, jimgardener wrote:
> hi
> I have a program which I call findmatch that expects these arguments
> 1.a person name
> 2.a group name
> 3.an integer
> 4.a float value
>
> I thought I would allow user to call this program either using options
> or using positional arguments in a p
Haven't used it but Racket (http://racket-lang.org/) looks to be a new
and improved Scheme
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 8, 9:17 am, Jannis Syntychakis wrote:
> Hallo Everybody,
>
> Maybe you can help me with this:
>
> i have a picture. The picture is black, with some white objects.
>
> Is there any way i can detect the automatically? Something like:
> if there white objects bigger than 3 pixels draw a box th
On Mar 10, 10:55 am, Bill wrote:
> Look at this recursive fizzbuzz function
> fromhttp://www.codinghorror.com/blog/2007/02/why-cant-programmers-program...
>
> def fizzbuzz(num):
> if num:
> if num % 15 is 0: return fizzbuzz(num-1) + 'fizzbuzz \n'
> elif num % 5 is 0: return fi
On Dec 16, 9:09 am, Ed Keith wrote:
> I am having a problem when substituting a raw string. When I do the following:
>
> re.sub('abc', r'a\nb\nc', '123abcdefg')
>
> I get
>
> """
> 123a
> b
> cdefg
> """
>
> what I want is
>
> r'123a\nb\ncdefg'
>
> How do I get what I want?
>
> Thanks,
>
> -Ed
On Sep 9, 11:03 am, Gregor Horvath wrote:
> Hi,
>
> For an application in an industrial environment where the workers are
> not always sitting in front of the monitor, but are within earshot of
> the PC I would need an sound / speech handler for the standard logging
> system. It should beep or bet
On Jan 29, 4:50 pm, Oleksiy Khilkevich
wrote:
> Hello, everyone,
> This may be a totally noob question, but since I am one, so here is it.
>
> I have the following code (not something much
> of):http://paste.debian.net/27204
> The current code runs well, but the problem is with input
> value:htt
On Jan 29, 11:35 am, Uberman wrote:
> I've installed Python 2.6.1 (AMD64) under Windows Vista Ultimate 64-bit.
>
> First off, it didn't register the extension for .PY (although it did register
> .PYC).
>
> After manually associating the .PY extension with the python.exe executable, I
> am now gett
On Jul 7, 5:56 pm, korean_dave <[EMAIL PROTECTED]> wrote:
> From command Prompt, i type in a script, "tryme.py".
>
> This, instead, brings up PythonWin editor and Interactive Window.
>
> Path variable is "C:\Python24". (I need Python 2.4 installed, not 2.5)
>
> How do I make it so that the script
On Jul 4, 5:38 am, Dominic Rice <[EMAIL PROTECTED]> wrote:
> Dominic Rice wrote:
> > Miki wrote:
> >> Hello,
>
> >>> I can't seem to get python to run my scripts using the command: python
> >>> .py
>
> >>> If I type python the interpreter runs as I sorted out the Path property,
>
> >>> I'm afraid I
On May 28, 4:59 am, [EMAIL PROTECTED] wrote:
> On May 28, 3:47 am, Matt Nordhoff <[EMAIL PROTECTED]> wrote:
...
> Thanks. So if OSError().errno == errno.ENOENT, then it means the path
> doesn't exist? (What does "ENOENT" stan for?)
I always read it as Error NO ENTry
--
http://mail.python.org/mailm
On May 22, 5:24 pm, dj <[EMAIL PROTECTED]> wrote:
...snip...
> for d in dir:
> if end == d:
dir is the list of subdirs of the current dir, and the current dir
is NOT a subdir of itself so end == dir is never true
Are you trying to get a list per subdir?
cheers
--
http://mail.python.o
On May 9, 8:25 am, Viktor <[EMAIL PROTECTED]> wrote:
> Can somebody give me an explanation what happened here (or point me to
> some docs)?
>
> Code:
>
> HMMM = None
>
> def w(fn):
> print 'fn:', id(fn)
> HMMM = fn
> print 'HMMM:', id(HMMM)
> def wrapper(*v, **kw):
> fn(*v,
the list.sort method seems to do exactly what you want?
Unless your array() method is creating a custom array object with
different sort functionality than list?
Cheers
--
http://mail.python.org/mailman/listinfo/python-list
21 matches
Mail list logo