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
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')
The error only happens on NFS mounted dirs
Anyone else seen
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
--
On Mar 11, 9:56 am, Thomas W thomas.weh...@gmail.com 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.
On Mar 11, 1:21 pm, noydb jenn.du...@gmail.com 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
On Oct 21, 2:57 pm, Eric_NYRelEng atiqul.is...@gmail.com 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/
On Oct 16, 10:59 pm, jimgardener jimgarde...@gmail.com 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
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 ioan...@live.nl 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
On Mar 10, 10:55 am, Bill bsag...@gmail.com 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
On Dec 16, 9:09 am, Ed Keith e_...@yahoo.com 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,
-EdK
Ed
On Sep 9, 11:03 am, Gregor Horvath g...@gregor-horvath.com 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
On Jan 29, 11:35 am, Uberman bhoo...@hotmail.com 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
On Jan 29, 4:50 pm, Oleksiy Khilkevich g...@asu.ntu-kpi.kiev.ua
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
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 runs?
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
userscript.py
If I type python the interpreter runs as I sorted out the Path property,
I'm afraid I don't know much
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
--
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
--
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, **kw)
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