[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] new additions



On Tue, 30 Jan 2001, Pete Shinners wrote:

>>>> import pygame.version
>>>> print pygame.version.ver
>0.5
>>>> import pygame
>>>> print pygame.ver
>0.5

Should this work?

% rpm -q pygame
pygame-0.5-1

% python
Python 2.0 (#1, Oct 16 2000, 18:10:03)
[GCC 2.95.2 19991024 (release)] on linux2
Type "copyright", "credits" or "license" for more information.
>>> import pygame.version
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
ImportError: No module named version
>>> import pygame
>>> print pygame.ver
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
AttributeError: ver
>>> 

Not that I do need it for anything, but it could be handy to print out
when starting what versions are being used.

--------------------+--------------------------------------------------------
Jan 'Chakie' Ekholm |     Balrog New Media    http://www.balrog.fi/
   Linux Inside     | I'm the blue screen of death, nobody hears your screams

____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org