On Jun 2, 6:46 am, Adam Tauno Williams wrote:
> On Wed, 2011-06-01 at 19:49 -0700, Uncle Ben wrote:
> > Shelving is a wonderfully simple way to get keyed access to a store of
> > items. I'd like to maintain this cache though.
>
> +1
>
> > Is there any way to rem
Shelving is a wonderfully simple way to get keyed access to a store of
items. I'd like to maintain this cache though.
Is there any way to remove a shelved key once it is hashed into the
system? I could do it manually by removing the value and erasing the
key in the directory list. But is there a
On May 27, 5:33 pm, Ethan Furman wrote:
> Lew Schwartz wrote:
> > So, if I read between the lines correctly, you recommend Python 3? Does
> > the windows version install with a development environment?
>
> Dabo, last I checked, uses wxPython, which uses wxWidgets (sp?), which
> is not yet ported t
On May 26, 12:46 am, Uncle Ben wrote:
> In playing with lists of lists, I found the following:
>
> (In 3.1, but the same happens also in 2.7)
>
> list = [1,2,3]
> list.append ( [4,5,6] )
> x = list
> x ->
> [1,2,3,[4,5,6]]
> as expected.
>
> But t
n this to me?
Uncle Ben
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 28, 5:17 pm, Andrew Berg wrote:
> On 2011.04.28 02:11 PM, Uncle Ben wrote:> It was suggested to me privately
> that I search for
> > HKEY_CLASSES_ROOT\*\shell,
> > right_click on "shell",
> > create a new key called "EDIT with IDLE"
> &g
On Apr 28, 3:11 pm, Uncle Ben wrote:
> On Apr 28, 12:28 pm, Uncle Ben wrote:
>
> > I have lost the convenient feature that to edit a .py file I could
> > right-click on the file name and reach the menu item "Edit with IDLE".
>
> > The workaround is not ha
On Apr 28, 3:29 pm, MRAB wrote:
> On 28/04/2011 20:11, Uncle Ben wrote:
>
>
>
> > On Apr 28, 12:28 pm, Uncle Ben wrote:
> >> I have lost the convenient feature that to edit a .py file I could
> >> right-click on the file name and reach the menu item "Edit
On Apr 28, 12:28 pm, Uncle Ben wrote:
> I have lost the convenient feature that to edit a .py file I could
> right-click on the file name and reach the menu item "Edit with IDLE".
>
> The workaround is not hard, but it wouild be nice to get this feature
> back.
>
>
ddition to Python 2.71, and got into trojuble uintil I discovered
that I was involuntarily RUNNING the older version. So I cleaned it
out, but still I have this aftermath.
Is there a Windows guru out there who can tell be how to add to the
right-click menu clicking on myfile.py?
Uncle Be
On Apr 20, 1:01 pm, Dan M wrote:
> > As a newbie Pythoner, I understand [] -1] but would some tell me how
> > '::' does its magic?
>
> > Uncle Ben
>
> The -1 is the "stride" or "step" argument. It's described
> athttp://docs.py
I found this in one of the online cookbooks:
#Raghunath Reddy Peesari 6 years, 3 months ago # | flag
#There is more simple way. ###
a = 'abcdefghi'
a = a[::-1]
print a
>>> 'ihgfedcba'
As a newbie Pythoner, I understand [] -1]
but would some tell me how
12 matches
Mail list logo