RE: [Tutor] Of fish and foul...(aka the Perl require command)

2005-04-19 Thread Smith, Jeff
thon.org Subject: Re: [Tutor] Of fish and foul...(aka the Perl require command) On Apr 18, 2005, at 19:59, Smith, Jeff wrote: > Is there a Python equivalent to the Perl > > require 5.6.0 > > Which enforces a minimum interpreter version? As far as I know, no. But: >>>

Re: [Tutor] Of fish and foul...(aka the Perl require command)

2005-04-18 Thread Max Noel
On Apr 18, 2005, at 19:59, Smith, Jeff wrote: Is there a Python equivalent to the Perl require 5.6.0 Which enforces a minimum interpreter version? As far as I know, no. But: >>> import sys >>> sys.version_info (2, 3, 0, 'final', 0) >>> (2, 4, 0) > sys.version_info True >>> (2, 2, 0) > sys.versi

Re: [Tutor] Of fish and foul...(aka the Perl require command)

2005-04-18 Thread Bill Campbell
On Mon, Apr 18, 2005, Smith, Jeff wrote: >Is there a Python equivalent to the Perl > >require 5.6.0 > >Which enforces a minimum interpreter version? > >Is there a good Python for Perl Programmers book? It thought O'Reilly >had one but I couldn't find it. Was this particular question in the >book

[Tutor] Of fish and foul...(aka the Perl require command)

2005-04-18 Thread Smith, Jeff
Is there a Python equivalent to the Perl require 5.6.0 Which enforces a minimum interpreter version? Is there a good Python for Perl Programmers book? It thought O'Reilly had one but I couldn't find it. Was this particular question in the book you recommend? Thanks, Jeff _