I installed Python 3 on Fedora 14 By Downloading python3.2 bziped source tarball and install it according to the README, Now How shall I uninstalled python 3.2?

2011-05-23 Thread Varuna Seneviratna
I installed Python 3 By Downloading python3.2 bziped source tarball
and install it according to the README, Now How shall I uninstalled
python 3.2?

The README instructions are as below
  Build Instructions
--

On Unix, Linux, BSD, OSX, and Cygwin:

./configure
make
make test
sudo make install
-- 
http://mail.python.org/mailman/listinfo/python-list


I am not able to verify the integrity of python.2.5.4.msi

2010-12-25 Thread Varuna Seneviratna
Hello there!

I downloaded python msi version for Windows from
http://www.python.org/download/releases/2.5.4/  .At the bottom of the page
it is said that "The signatures above were generated with
GnuPG using
release manager Martin v. Löwis's public
key which
has a key id of 7D9DC8D2" according to this description I want to the page
http://www.python.org/download/#pubkeys and downloaded the file
http://www.dcl.hpi.uni-potsdam.de/people/loewis/mvl.asc and imported it into
gpg as below

D:\Python>gpg --import mvl.asc.txt
>
> gpg: key 7D9DC8D2: "Martin v. Löwis " not changed
>
> gpg: Total number processed: 1
>
> gpg:  unchanged: 1
>
>
And also I downloaded the Signature of python-2.5.4.msi from the download
page http://www.python.org/download/releases/2.5.4/python-2.5.4.msi.asc
But when I try to verify the integrity of the downloaded
Python installation package as below


> D:\Python>gpg --verify python-2.5.4.msi.asc
gpg: no valid OpenPGP data found.
gpg: the signature could not be verified.
Please remember that the signature file (.sig or .asc)
should be the first file given on the command line

What am I doing wrong in this process?
Please help me!

Varuna
-- 
http://mail.python.org/mailman/listinfo/python-list


If a dictionary key has a Python list as its value!

2024-03-07 Thread Varuna Seneviratna via Python-list
If a dictionary key has a Python list as its value, you can read the values
one by one in the list using a for-loop like in the following.

d = {k: [1,2,3]}


> for v in d[k]:
>  print(v)


No tutorial describes this, why?
What is the Python explanation for this behaviour?

Varuna
-- 
https://mail.python.org/mailman/listinfo/python-list