Python 3.5.0b2 - permission error after pip upgrade

2015-06-11 Thread Andreas Balogh
I've installed a fresh copy of Python 3.5.0b2 and - as recommended - upgraded pip. I don't understand the reason for the permission errors as I am owner and have full control for the temporary directory created. What can I do to fix this? C:\Apps\Python35>pip install --upgrade pip You are usin

Re: which "dictionary with attribute-style access"?

2009-10-24 Thread Andreas Balogh
tore those keys in a shadow dict. More problems arise when thinking about how to choose access between dict method names and item keys. -- Andreas Balogh baloand at gmail dot com That was indeed my last post. It seems for this thread Google does not sort correctly descending "crea

Re: which "dictionary with attribute-style access"?

2009-10-21 Thread Andreas Balogh
def fromkeys(self, seq, value = None): return AttrDict(dict.fromkeys(seq, value)) -- Andreas Balogh baloand (at) gmail.com -- http://mail.python.org/mailman/listinfo/python-list

which "dictionary with attribute-style access"?

2009-10-12 Thread Andreas Balogh
orage(dict) I enclosed the three implementations below. My question to the Python specialists: which one is the most correct? Are there restrictions with regards to pickling or copy()? Which one should I choose? Regards, Andreas -- Andreas Balogh baloand (at)

accessing dictionary keys

2009-10-01 Thread Andreas Balogh
def __init__(self, **kwds): self.__dict__.update(kwds) and do it like this: points.append(Bunch(x=4, y=5)) print points[-1].x, points[-1].y With the bunch at least all the quotes go away. Is there any shortcut which allows to use point.x with a dictionary, or defining keys with tuples and

looking for a pattern to code logic shared by gui/cli

2009-04-16 Thread Andreas Balogh
thought it'd be to lengthy to have a functioning sample, especially for the gui. -- Andreas Balogh baloand (at) gmail.com -- http://mail.python.org/mailman/listinfo/python-list