Re: Frameworks for "Non-Content Oriented Web Apps"

2005-01-02 Thread Sridhar
You need Twisted - http://twistedmatrix.com
---
: http://en.wikipedia.org/wiki/User:Sridharinfinity

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


Re: alternatives to mod python

2005-01-25 Thread Sridhar
> Anyone have any suggestions? The only other thing
> I looked at was twisted, which I'm still evaluating.
I second that. Add Nevow too - www.nevow.com

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


Suggesion for an undergrad final year project in Python

2005-01-31 Thread Sridhar
Hi,

I am doing my undergrade CS course.  I am in the final year, and would
like to do my project involving Python.  Our instructors require the
project to have novel ideas.  Can the c.l.p people shed light on this
topic?

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


Online Programming Contest (Python solutions accepted)

2005-03-02 Thread Sridhar
Hi,

We, the students of CEG, Anna University [1] are organizing an online
programming contest as part of aBaCus [2] 2005.  The contest itself
will start on 6th March 2005 at 1:00 pm IST [3] and will end after 5
hours.  You have to solve the problems posted at the start of the
contest.  Teams ranking high will be awarded the prizes.

As a special note, inspite of C,C++ and Java we also allow Python [4]
this time.  So we hope a lot of Pythonistas also could attend the
contest for fun. :-)

For more details about the contest, visit the contest page

 --   http://203.197.138.181/OPC  --

[1] http://en.wikipedia.org/wiki/Anna_University
[2] http://www.annauniv.edu/abacus/
[3] Indian Standard Time (IST) is the time zone for India. It is 5
hours and 30 minutes ahead of GMT/UTC.
[4] http://www.python.org

--
Sridhar Ratna - http://srid.bsdnerds.org

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


Online Programming Contest (Python solutions accepted) + Amazon offer

2005-03-03 Thread Sridhar
Hi,

We, the students of CEG, Anna University [1] are organizing an online
programming contest as part of aBaCus [2] 2005.  The contest itself
will start on 6th March 2005 at 1:00 pm IST [3] and will end after 5
hours.  You have to solve the problems posted at the start of the
contest.  Teams ranking high will be awared the prizes.

As a special note, inspite of C,C++ and Java we also allow Python [4]
this time.  So we hope a lot of Pythonistas also could attend the
contest for fun. :-)

Top performers would be considered to join the 'Circle of Innovation'
at Amazon India [5]. You may also have a chance to be considered for
Internships/Externships/Work at Amazon India!


For more details about the contest, visit the contest page

 --   http://203.197.138.181/OPC  --

[1] http://en.wikipedia.org/wiki/Anna_University
[2] http://www.annauniv.edu/abacus/
[3] Indian Standard Time (IST) is the time zone for India. It is 5
hours and 30 minutes ahead of GMT/UTC.
[4] http://www.python.org
[5] http://india.amazon.com/circle.php

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


Re: Web framework

2005-03-13 Thread Sridhar
I'd say Nevow! For apache setup, you might be interested in my wsgi [1]
implementation.

[1]
http://twistedmatrix.com/pipermail/twisted-web/2005-March/001293.html

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


python-database

2006-09-03 Thread sridhar
is there any way to call stored procedures from python as in java?

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


sending emails using python

2006-09-06 Thread sridhar
iam having user account on an exchangeserver.
with that can i send an email using python?

if iam using the following code iam getting error


fromAddress = '[EMAIL PROTECTED]'
toAddress = '[EMAIL PROTECTED]'
msg = "Subject: Hello\n\nThis is the body of the message."
import smtplib
server = smtplib.SMTP("hstmsg002",25)
server.sendmail(fromAddress, toAddress, msg)

error:

Traceback (most recent call last):
  File
"C:\sridhar\Beginning_Python\Beginning_Python\Chapter16\tryitout\InitialMailExample.py",
line 5, in ?
server = smtplib.SMTP("hstmsg002",25)
  File "C:\Python24\lib\smtplib.py", line 244, in __init__
(code, msg) = self.connect(host, port)
  File "C:\Python24\lib\smtplib.py", line 307, in connect
(code, msg) = self.getreply()
  File "C:\Python24\lib\smtplib.py", line 351, in getreply
raise SMTPServerDisconnected("Connection unexpectedly closed")
SMTPServerDisconnected: Connection unexpectedly closed

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


Re: sending emails using python

2006-09-14 Thread sridhar

Tim Williams wrote:
> On 07/09/06, Sybren Stuvel <[EMAIL PROTECTED]> wrote:
> > sridhar enlightened us with:
> > > iam having user account on an exchangeserver.
> > > with that can i send an email using python?
> > >
> > > if iam using the following code iam getting error
> > >
> > > Traceback (most recent call last):
> > >   File
> > > "C:\sridhar\Beginning_Python\Beginning_Python\Chapter16\tryitout\InitialMailExample.py",
> > > line 5, in ?
> > > server = smtplib.SMTP("hstmsg002",25)
> > >   File "C:\Python24\lib\smtplib.py", line 244, in __init__
> > > (code, msg) = self.connect(host, port)
> > >   File "C:\Python24\lib\smtplib.py", line 307, in connect
> > > (code, msg) = self.getreply()
> > >   File "C:\Python24\lib\smtplib.py", line 351, in getreply
> > > raise SMTPServerDisconnected("Connection unexpectedly closed")
> > > SMTPServerDisconnected: Connection unexpectedly closed
> >
> > Well that's useless. You could install a network sniffer
> > (http://www.ethereal.com/) and find out what's actually sent over the
> > network connection, and where things go wrong.
>
> Have you verified that you are allowed to use SMTP on this server ?
> Can you send email via it using outlook express or a similar POP3/IMAP
> mail client?
> 
> :)


yes , because iam having account on that server

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


Re: sending emails using python

2006-09-14 Thread sridhar

Brendon Towle wrote:
> On Sep 7, 2006, at 3:50 AM, "sridhar"
> <[EMAIL PROTECTED]>wrote:
>
>
> > iam having user account on an exchangeserver.
> > with that can i send an email using python?
> >
> > if iam using the following code iam getting error
> >
> >
> > fromAddress = '[EMAIL PROTECTED]'
> > toAddress = '[EMAIL PROTECTED]'
> > msg = "Subject: Hello\n\nThis is the body of the message."
> > import smtplib
> > server = smtplib.SMTP("hstmsg002",25)
> > server.sendmail(fromAddress, toAddress, msg)
> >
> > error:
> >
> > Traceback (most recent call last):
> >   File
> > "C:\sridhar\Beginning_Python\Beginning_Python\Chapter16\tryitout
> > \InitialMailExample.py",
> > line 5, in ?
> > server = smtplib.SMTP("hstmsg002",25)
> >   File "C:\Python24\lib\smtplib.py", line 244, in __init__
> > (code, msg) = self.connect(host, port)
> >   File "C:\Python24\lib\smtplib.py", line 307, in connect
> > (code, msg) = self.getreply()
> >   File "C:\Python24\lib\smtplib.py", line 351, in getreply
> > raise SMTPServerDisconnected("Connection unexpectedly closed")
> > SMTPServerDisconnected: Connection unexpectedly closed
> >
>
> I saw a similar error when I was not following the server's
> authentication protocol -- either failing to authenticate when it
> wanted it, or authenticating when it didn't want it. Here's the code
> I use -- tested on both an Exchange server and on Comcast's SMTP
> servers. It assumes some globals (in all caps) which you need to set
> first.
>
> def emailGivenString(host=SMTP_HOST, fromAddr=FROM_ADDR,
>   toAddr=TO_ADDR, subject='', body='', auth=False):
>  server = smtplib.SMTP(host)
>  if auth:
>  server.login('username', 'password')
>  outMessage = 'From: %s\rTo: %s\rSubject: %s\r%s' %
>   (FROM_HEADER, TO_HEADER, subject, body)
>  server.sendmail(fromAddr, toAddr, outMessage)
>
> If this doesn't work, I second the previous suggestion of talking to
> the server admin.
>
> B.
>
> --
> Brendon Towle, Ph.D.   <[EMAIL PROTECTED]>  +1-412-362-1530
> "Debugging is twice as hard as writing the code in the first place.
> Therefore,
> if you write the code as cleverly as possible, you are, by
> definition, not
> smart enough to debug it." - Brian W. Kernighan



well, this type of authentication might work.Because the same process
of sending mail with authentication worked when i used java mail
application so iam confident of the same thing works in python also.

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


Re: ActivePython - how to configure portable framework?

2010-05-08 Thread Sridhar
Copy all the files in the ZIP to your USB stick and run 
INSTALLDIR\python.exe


-srid

On 5/7/2010 3:24 AM, balzer wrote:
I downloaded ActivePython-2.6.5.12-win32-x86.zip, it contains two 
folders and 3 files:


SystemFolder
INSTALLDIR
sh2.py
install.bat
_install.py

Anyone know how to configure this Python environment  as "portable 
application" to work with it without installation, to set a 
fully-functional Python environment that executes entirely from hard 
drive (or USB stick) without leaving no registry entries, no mess with 
windows system files, etc on machine it's run on.


I created folder "Python",  what files I should copy inside?

thanks.


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


How to parse the starting and ending of a loop statements in python

2013-07-30 Thread karthik sridhar
My objective is to find the line numbers of the start and the end of a loop 
statement in python.

Example scenario

#A.py
Line1: a=0  
Line2: while a<5:   
Line3:print a  
Line4:a=a+1 

Desired output:
Start of a loop Line2 
End of a loop   Line4
 
Current parser code
#parser.py
with open(a) as f:
tree = ast.parse(f.read())
taskline=[]
for node in ast.walk(tree):
if isinstance(node, (ast.For)) or isinstance(node,(ast.While)): 
   
print node.lineno-1  <-- This give line number on for the start of a 
loop

I wanted to achieve the above output. I use AST to parse a given file and 
determine the occurrence of loops. With AST parsing i am able to find line 
number for the start of the loop but the line number for ending of the loop is 
yet to be determined. Is there any way i could parse an entire loop statement 
and determine its starting and ending line number ?
-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: ActivePython 2.7.2.5 is now available

2011-07-08 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 2.7.2.5, a complete, 
ready-to-install binary distribution of Python 2.7.

  http://www.activestate.com/activepython/downloads


What's New in ActivePython-2.7.2.5
==

New Features & Upgrades
---

- Upgrade to Python 2.7.2 (`release notes
  <http://hg.python.org/cpython/raw-file/eb3c9b74884c/Misc/NEWS>`__)
- Security upgrade to openssl-0.9.8r
- [Windows] Upgrade to PyWin32 CVS snapshot as of 2011-01-16
- Upgrade to pythonselect 1.3 which supports Windows
- Upgrade to PyPM 1.3.4:

  - [Windows] `Bug #89474 <http://bugs.activestate.com/show_bug.cgi?id=89474>`_:
automatically expand %APPDATA%\Python\Scripts
  - Bug #90382: --no-ignore option to fail immediately for missing packages


- Upgraded the following packages:

  - Distribute-0.6.19
  - pip-1.0.1
  - virtualenv-1.6.1

Noteworthy Changes & Bug Fixes
--

- PyPM:

  - Upgrade to six 1.0.0
  - Bug #89540: `uninstall` command now properly removes symlinks
  - Bug #89648: shebang fixer skips symlinks 
  - Include SQLAlchemy in the private area (pypm/external/{2,3}/sqlalchemy)


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX 
builds, and access to older versions are available in ActivePython Business, 
Enterprise and OEM editions:

  http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for 
low-level library access, and others. The Windows distribution ships with 
PyWin32 -- a suite of Windows tools developed by Mark Hammond, including 
bindings to the Win32 API and Windows COM.

ActivePython also includes a binary package manager for Python (PyPM) that can 
be used to install packages much easily. For example:

  C:\>pypm install numpy
  [...]

  C:\>python
  >>> import numpy.linalg
  >>>

See this page for full details:

  http://docs.activestate.com/activepython/2.7/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the "What's New in Python" series, "Dive into Python", 
the Python FAQs & HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

  http://docs.activestate.com/activepython/2.7/

We would welcome any and all feedback to:

  [email protected]

Please file bugs against ActivePython at:

  http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows (x86 and x64)
- Mac OS X (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86 (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/IA-64 (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

  http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

  http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: ActivePython 2.6.7.20 is now available

2011-07-08 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 2.6.7.20, a complete, 
ready-to-install binary distribution of Python 2.6.

  http://www.activestate.com/activepython/downloads


What's New in ActivePythonEE-2.6.7.20
=

New Features & Upgrades
---

- Upgrade to Python 2.6.7 (`release notes
  <http://www.python.org/download/releases/2.6.7/NEWS.txt>`__)
- Upgrade to pythonselect 1.3 which supports Windows
- Upgrade to PyPM 1.3.4:

  - [Windows] `Bug #89474 <http://bugs.activestate.com/show_bug.cgi?id=89474>`_:
automatically expand %APPDATA%\Python\Scripts
  - Bug #90382: --no-ignore option to fail immediately for missing packages
  
- Upgraded the following packages:

  - Distribute-0.6.19
  - pip-1.0.1
  - virtualenv-1.6.1

Noteworthy Changes & Bug Fixes
--

- PyPM:

  - Upgrade to six 1.0.0
  - Bug #89540: `uninstall` command now properly removes symlinks
  - Bug #89648: shebang fixer skips symlinks 


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX 
builds, and access to older versions are available in ActivePython Business, 
Enterprise and OEM editions:

  http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for 
low-level library access, and others. The Windows distribution ships with 
PyWin32 -- a suite of Windows tools developed by Mark Hammond, including 
bindings to the Win32 API and Windows COM.

ActivePython also includes a binary package manager for Python (PyPM) that can 
be used to install packages much easily. For example:

  C:\>pypm install numpy
  [...]

  C:\>python
  >>> import numpy.linalg
  >>>

See this page for full details:

  http://docs.activestate.com/activepython/2.6/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the "What's New in Python" series, "Dive into Python", 
the Python FAQs & HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

  http://docs.activestate.com/activepython/2.6/

We would welcome any and all feedback to:

  [email protected]

Please file bugs against ActivePython at:

  http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows (x86 and x64)
- Mac OS X (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86 (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/IA-64 (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

  http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

  http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: ActivePython 2.5.6.10 is now available

2011-07-08 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 2.5.6.10, a complete, 
ready-to-install binary distribution of Python 2.5.

  http://www.activestate.com/activepython/downloads


What's New in ActivePython-2.5.6.10
===

New Features & Upgrades
---

- Upgrade to Python 2.5.6 (`release notes
  <http://www.python.org/download/releases/2.5.6/NEWS.txt>`__)
- Upgrade to Tcl/Tk 8.5.9 (`changes <http://wiki.tcl.tk/26961>`_)
- [Windows] Installer upgrade: automatically uninstall previous versions - Bug 
#87783
- [Linux] Include Tcl/Tk development files (`#40`_)
- [Windows] Upgrade to PyWin32 CVS snapshot as of 2011-01-16
- Security upgrade to openssl-0.9.8r

Noteworthy Changes & Bug Fixes
--

- [MacOSX] Fix uninstall on Snow Leopard (10.6)
- Bug #87600: create a `idleX.Y` script on unix
- [Windows] Renamed "python25.exe" to "python2.5.exe" (Unix like)
- [Windows] Include "python2.exe"


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX 
builds, and access to older versions are available in ActivePython Business, 
Enterprise and OEM editions:

  http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for 
low-level library access, and others. The Windows distribution ships with 
PyWin32 -- a suite of Windows tools developed by Mark Hammond, including 
bindings to the Win32 API and Windows COM.

ActivePython also includes a binary package manager for Python (PyPM) that can 
be used to install packages much easily. For example:

  C:\>pypm install numpy
  [...]

  C:\>python
  >>> import numpy.linalg
  >>>

See this page for full details:

  http://docs.activestate.com/activepython/2.5/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the "What's New in Python" series, "Dive into Python", 
the Python FAQs & HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

  http://docs.activestate.com/activepython/2.5/

We would welcome any and all feedback to:

  [email protected]

Please file bugs against ActivePython at:

  http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows (x86 and x64)
- Mac OS X (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86 (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/IA-64 (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

  http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

  http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: ActivePython 3.2.1.2 is now available

2011-07-20 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 3.2.1.2, a complete, 
ready-to-install binary distribution of Python 3.2.

  http://www.activestate.com/activepython/downloads


What's New in ActivePython-3.2.1.2
==

(combining with the very recently released 3.2.1.1)

New Features & Upgrades
---

- Upgrade to Python 3.2.1 (`release notes
  <http://hg.python.org/cpython/file/v3.2.1/Misc/NEWS>`__)
- Upgrade to pythonselect 1.3 which supports Windows
- Include virtualenv (1.6.3) and pip (1.0.2)
- Upgrade to PyPM 1.3.5:

  - [Windows] `Bug #89474 <http://bugs.activestate.com/show_bug.cgi?id=89474>`_:
automatically expand %APPDATA%\Python\Scripts
  - Bug #90382: --no-ignore option to fail immediately for missing packages

- Upgraded the following packages:

  - Distribute-0.6.19

Noteworthy Changes & Bug Fixes
--

- PyPM:

  - `sudo pypm ..` should always use root user's BE license file
  - Bug #89540: `uninstall` command now properly removes symlinks
  - Bug #89648: shebang fixer skips symlinks 
  - Upgrade SQLAlchemy to 0.6.8
  - Upgrade to six 1.0.0


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX 
builds, and access to older versions are available in ActivePython Business, 
Enterprise and OEM editions:

  http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for 
low-level library access, and others. The Windows distribution ships with 
PyWin32 -- a suite of Windows tools developed by Mark Hammond, including 
bindings to the Win32 API and Windows COM.

ActivePython also includes a binary package manager for Python (PyPM) that can 
be used to install packages much easily. For example:

  C:\>pypm install numpy
  [...]

  C:\>python
  >>> import numpy.linalg
  >>>

See this page for full details:

  http://docs.activestate.com/activepython/3.2/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the "What's New in Python" series, "Dive into Python", 
the Python FAQs & HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

  http://docs.activestate.com/activepython/3.2/

We would welcome any and all feedback to:

  [email protected]

Please file bugs against ActivePython at:

  http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows (x86 and x64)
- Mac OS X (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86 (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/IA-64 (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

  http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

  http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: ActivePython: multiple versions on OSX?

2011-07-26 Thread Sridhar Ratnakumar
On Mon, Jul 25, 2011 at 5:18 PM, Robert  wrote:
> Is it possible to install the 2 and 3 series side by side?
>

Yup.

Moreover, ActivePython includes a tool called `pythonselect` that can
be used to set the "current" version of Python,
https://github.com/ActiveState/pythonselect#readme

For OSX, this basically sets symlinks in /usr/local/bin targeting the
appropriate Framework location.

The included pip and easy_install scripts are versioned, eg: pip-2.7
and pip-3.2.

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


Re: Problem with keyboard up/down arrows in Python 2.4 interpreter

2011-03-22 Thread Sridhar Ratnakumar
On Monday, March 21, 2011 at 11:37 PM, Benjamin Kaplan wrote:
On Tue, Mar 22, 2011 at 2:27 AM, Julien  wrote:
> > Hi,
> > 
> > I'm having problems when typing the up/down arrows in the Python 2.4
> > interpreter (exact version: Python 2.4.6 (#1, Mar 3 2011, 15:45:53)
> > [GCC 4.2.1 (Apple Inc. build 5664)] on darwin).
> > 
> > When I press the up arrow it outputs "^[[A" and when I press the down
> > arrow it outputs "^[[B".
> > 
> > I've google it and it looks like it might be an issue with the
> > readline not being installed or configured properly. Is that correct?
> > If so, how can I fix this issue?
You need to install this module:
http://pypi.python.org/pypi/readline/

Out of curiosity, which distribution of Python are you using? ActivePython, 
MacPorts, python.org or homebrew?

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


Re: Switching between Python releases under Windows

2011-03-22 Thread Sridhar Ratnakumar
On Tue, Mar 8, 2011 at 8:03 AM, Tim Golden  wrote:
> On 08/03/2011 15:58, Tim Golden wrote:
>>
>> On 08/03/2011 14:55, Edward Diener wrote:
>>>
>>> I have multiple versions of Python installed under Vista. Is there any
>>> easy way of switching between them so that invoking python and file
>>> associations for Python extensions files work automatically ?
>>
>> Well, the answer depends a bit on how au fait you are with fiddling
>> with env vars etc
>
> But essentially involves:
>
> * Adding c:\pythonxy and c:\pythonxy\script to PATH

FWIW, ActivePython automatically does this. As it includes versioned
binaries as well, one can type (just like on Unix) `python2.7.exe` or
`python3.2.exe` in the Command Prompt.

> * assoc .py=python.file [probably already done]
>
> * python.file="C:\Pythonxy\python.exe" "%1" %*

I suppose I should soon implement Windows support in pythonselect,
https://github.com/Activestate/pythonselect

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


Re: Standard way to distribute utilities with packages

2011-03-27 Thread Sridhar Ratnakumar
On Sunday, March 27, 2011 at 1:05 PM, Laszlo Nagy wrote:
I'd like to distribute a pure Python package named "foo". By default it 
> will be placed in lib/site-packages/foo. What if I want to add 
> utilities? Command line or GUI programs that are not full featured 
> applications, but they can be handy for some tasks that are related to 
> the package. Here is what I see:
> 
> * Python places them under "tools" in the Python installation dir (under 
> windows). I'm not sure about Unix.
> 
> Other variants:
> 
> * site-packages/foo/scripts (example: win32)
> * site-packages/foo/util (example: vtk)
> * directory site-packages/foo/tools (example: numpy)
None of the above are standard practices, as far as I know. 
> Is there a PEP number / standard way for this?
No PEP, but - yes - there is a conventional, if not standard, way to do this. 
It's called "entry points" (part of setuptools or Distribute).

Documentation: 
http://packages.python.org/distribute/setuptools.html#automatic-script-creation

Example: https://github.com/ActiveState/pythonselect/blob/master/setup.py#L49

Users of your package will need to have Distribute installed, which is 
available in ActivePython (all platforms), OSX and almost all of the Linux 
distributions.

-srid


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


Re: Can not uninstall activepython. Missing msi ?

2011-04-12 Thread Sridhar Ratnakumar
Looks like this is resolved for you,
http://community.activestate.com/node/6558

On Tue, Apr 12, 2011 at 10:13 AM, goldtech  wrote:
> Hi,
>
> I want to uninstall Active Python 2.6.2.2 and upgrade. Certain things
> are not working and it's probably time to upgrade anyway. When I try
> to uninstall it says "missing msi".
>
> Before I delete all the folders and clean the registry out is there
> something I can try to have a normal or more graceful uninstall? Using
> WinXP.
>
> Thanks,
>
> Lee G.
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-- 
http://mail.python.org/mailman/listinfo/python-list


The Industry choice

2004-12-30 Thread Sridhar R
>From technical point of view, I could not understand the the reasoning
behind using Java in major companies.  Sure that Python, is used in
some, but still Java is considered as a sure-job language.

After being a python programmer for long time, I consider it painful to
learn/use Java now (well, like many I will be forced to do that in my
job).

What makes such companies to choose Java over dynamic, productive
languages like Python?  Are there any viable, technical reasons for
that?

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


[no subject]

2015-11-23 Thread sridhar gunasekaran
Hai I have installed python 3.5 in my pc I could not see any application icon 
or application shortcut on my pc


Sent from Mail for Windows 10
-- 
https://mail.python.org/mailman/listinfo/python-list


ANN: ActivePython 3.2.2.3 is now available

2011-09-19 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 3.2.2.3, a complete, 
ready-to-install binary distribution of Python 3.2.

  http://www.activestate.com/activepython/downloads


What's New in ActivePython-3.2.2.3
==

New Features & Upgrades
---

- Upgrade to Python 3.2.2 (`release notes
 <http://hg.python.org/cpython/file/v3.2.2/Misc/NEWS>`__)
- [Windows] Security upgrade to openssl-1.0.0e
- Upgraded the following packages:

 - Distribute-0.6.21
 - virtualenv-1.6.4

What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX 
builds, and access to older versions are available in ActivePython Business, 
Enterprise and OEM editions:

  http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for 
low-level library access, and others. The Windows distribution ships with 
PyWin32 -- a suite of Windows tools developed by Mark Hammond, including 
bindings to the Win32 API and Windows COM.

ActivePython also includes a binary package manager for Python (PyPM) that can 
be used to install packages much easily. For example:

  C:\>pypm install numpy
  [...]

  C:\>python
  >>> import numpy.linalg
  >>>

See this page for full details:

  http://docs.activestate.com/activepython/3.2/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the "What's New in Python" series, "Dive into Python", 
the Python FAQs & HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

  http://docs.activestate.com/activepython/3.2/

We would welcome any and all feedback to:

  [email protected]

Please file bugs against ActivePython at:

  http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows (x86 and x64)
- Mac OS X (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86 (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/IA-64 (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

  http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

  http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
-- 
http://mail.python.org/mailman/listinfo/python-list


change default install directory when using bdist_rpm

2006-07-20 Thread krithika . sridhar
Hi,

I'm using :
python setup.py bdist_rpm

to create an rpm package to distribute my python app on linux.

When i install the rpm, the files are installed in
/usr/share/python/site-packages/. directory by default.

How do i change the installation directory??

Thanks,
krithika

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


LovePython

2006-02-09 Thread Sridhar Ratna
http://www.lovepython.com/ (a reaction to loveperl.com)

This is going to be a weekend project for me. Development not yet
started. Still looking for good ideas! I welcome your suggestions.

--
Sridhar Ratna | [EMAIL PROTECTED] | http://www.24dot1.com

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


Re: Packing a simple dictionary into a string - extending struct?

2007-06-20 Thread Sridhar Ratna
On 6/20/07, Jonathan Fine <[EMAIL PROTECTED]> wrote:
> Hello
>
> I want to serialise a dictionary, whose keys and values are ordinary strings
> (i.e. a sequence of bytes).
>
> I can of course use pickle, but it has two big faults for me.
> 1.  It should not be used with untrusted data.
> 2.  I want non-Python programs to be able to read and write these
> dictionaries.
>
> I don't want to use XML because:
> 1.  It is verbose.
> 2.  It forces other applications to load an XML parser.
>
> I've written, in about 80 lines, Python code that will pack and unpack (to
> use the language of the struct module) such a dictionary.  And then I
> thought I might be reinventing the wheel.  But so far I've not found
> anything much like this out there.  (The closest is work related to 'binary
> XML' - http://en.wikipedia.org/wiki/Binary_XML.)
>
> So, what I'm looking for is something like and extension of struct that
> allows dictionaries to be stored.  Does anyone know of any related work?
>

What about JSON? You can serialize your dictionary, for example, in
JSON format and then unserialize it in any language that has a JSON
parser (unless it is Javascript).

-- 
http://srid.nearfar.org/
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: python book for a C programmer

2009-03-14 Thread Sridhar Ratnakumar

On 3/13/2009 10:29 PM, Paul Rubin wrote:

Saurabh  writes:

>  Hi all,
>  I am an experienced C programmer, I have done some perl code as well.
>  But while thinking about large programs,I find perl syntax a
>  hinderance.


I would say read the online tutorial, then "Python in a Nutshell".


That exactly was what I did! I second that too. I knew only C/C++/Java 
fairly well before jumping into Python.

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


ANN: ActivePython 2.6.2.2, 3.1.0b1.0, 2.5.4.4 is now available

2009-05-15 Thread Sridhar Ratnakumar

I'm happy to announce that ActivePython 2.6.2.2, 3.1.0b1.0 and 2.5.4.4
are now available for download from:

http://www.activestate.com/activepython/

This is a patch release that updates ActivePython to core Python 2.6.2
and 3.1b2.  This release also contains updates to Tcl/Tk 8.5.7 and Tix
8.4.3. We recommend that you try 2.6 version first. See the release
notes for full details:

http://docs.activestate.com/activepython/2.6/relnotes.html


What is ActivePython?
-

ActivePython is ActiveState's binary distribution of Python. Builds
for Windows, Mac OS X, Linux, HP-UX and AIX are made freely available.

ActivePython includes the Python core and the many core extensions:
zlib and bzip2 for data compression, the Berkeley DB (bsddb) and
SQLite (sqlite3) database libraries, OpenSSL bindings for HTTPS
support, the Tix GUI widgets for Tkinter, ElementTree for XML
processing, ctypes (on supported platforms) for low-level library
access, and others. The Windows distribution ships with PyWin32 -- a
suite of Windows tools developed by Mark Hammond, including bindings
to the Win32 API and Windows COM. See this page for full details:

http://docs.activestate.com/activepython/2.6/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both
new and experienced Python programmers. In addition to the core Python
docs, ActivePython includes the "What's New in Python" series, "Dive
into Python", the Python FAQs & HOWTOs, and the Python Enhancement
Proposals (PEPs).

An online version of the docs can be found here:

http://docs.activestate.com/activepython/2.6/

We would welcome any and all feedback to:

[email protected]

Please file bugs against ActivePython at:

http://bugs.activestate.com/query.cgi?set_product=ActivePython


On what platforms does ActivePython run?


ActivePython includes installers for the following platforms:

- Windows/x86
- Windows/x64 (aka "AMD64")
- Mac OS X
- Linux/x86
- Linux/x86_64 (aka "AMD64")
- Solaris/SPARC
- Solaris/x86
- HP-UX/PA-RISC
- AIX/PowerPC


Extra Bits
--

ActivePython releases also include the following:

- ActivePython26.chm: An MS compiled help collection of the full
  ActivePython documentation set. Linux users of applications such as
  xCHM might find this useful. This package is installed by default on
  Windows.

Extra bits are available from:

http://downloads.activestate.com/ActivePython/etc/


Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
--
http://mail.python.org/mailman/listinfo/python-list


A question regd configobj

2009-05-21 Thread Srijayanth Sridhar
Hello,

I am wondering if it is possible to have hexadecimal strings in a ini file
and have configobj parse it correctly.

for eg:
moonw...@trantor:~/python/config$ cat foo
foo="\x96\x97"
.
.
.
>>> a=ConfigObj("foo")
>>> a
ConfigObj({'foo': '\\x96\\x97'})
>>> a['foo']
'\\x96\\x97'

As you can see the string has escaped the '\' and I want to suppress that
behavior. I've looked at the documentation and haven't been able to figure
out if this is an available feature or not.

Any help will be greatly appreciated.

Thank you,

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


Need Help

2008-04-09 Thread pramod sridhar
Hello,

I would like to access type library files (.tlb) from python.

The application (with .tlb extension) controls an external instrument over
standard GPIB interface.
Is it possible to control this application from Python? If so, how ?
Can anyone share or send link of some examples ?

Many Thanks in advance,
Pramod
-- 
http://mail.python.org/mailman/listinfo/python-list

help: Question regarding parallel communication using python

2008-04-30 Thread pramod sridhar
Hello,

I would like from my Python application to control 2 (or more devices) using
the existing port's interface in my PC,like serial (COM1) or Parallel port
(lpt) or any other like PCI...etc.
The control mechanism usually involves sending messages to the connected
devices in parallel.
For instance, I would like to send a command to a target connected on COM
port and at the same time would like to read the value of a Digital
multimeter over other COM port ( or may be via USB with some adapter)

My Question is:
- Is it possible to achieve the above in Python ?
- Do we need to use any kind of Parallel processing to achieve this ?
- If so, Which of the available packages (like pypar or Pydusa..etc) suits
best ?

Please suggest.

Thank you very much in advance,

With Regards,
Pramod
--
http://mail.python.org/mailman/listinfo/python-list

Re: how do I set a Python installation as the default under windows ?

2009-12-20 Thread Sridhar Ratnakumar

On 12/20/2009 1:35 AM, Stef Mientki wrote:

Steve Holden wrote:

Stef Mientki wrote:


hello,

I just upgraded from Python 2.5 to 2.6.
Most of the things work,
but I'm struggling with one issue,
when I start Python in a command window,
it still uses Python 2.5.

Is there a way to get Python 2.6 as my default Python environment ?

thanks,
Stef Mientki



It's a matter of replacing C:\Python25 with C:\Python26 in your PATH
environment variable, which is what the Windows command processor uses
to fined executable programs.

Thanks Steve,
that works exactly as you say.


Additionally if you're using ActivePython, you do not even have to 
fiddle with PATH because:


1) C:\PythonXY (and %APPDATA%\Python\Scripts) is automatically added to 
%PATH%.


2) "python.exe" is also available as "python26.exe", so you can simply 
type "python26" in the console to get Python 2.6 (if another version of 
ActivePython/Python is already installed).


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


Re: Fwd: I would like to install Python on my 64 bit Win 7

2010-01-05 Thread Sridhar Ratnakumar

On 1/5/2010 11:31 AM, aung paing Soe wrote:


Hello ,
   I would like to study about Python Programming . So I want to
install Python .
But my laptop is Window 7 64-bit home basic  .
So please give me a advice how to install Python in my 64 bit computer.
I really want to study python programming .
I am looking forward your reply.
Thank you very much


Even though your laptop runs a 64-bit operating system, you do not have 
to install 64-bit Python build. You may also install a 32-bit build. 
(Some Python packages may not even build on 64-bit Python)


You can install Python from one of the two places:

1. http://python.org/download/releases/2.6.4/ (AMD64 == 64-bit)

2. http://www.activestate.com/activepython/ (Includes PyWin32, a package 
manager and extra documentation and tutorials).


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


Re: lxml 2.2.4 on python3.1, Windows XP gives importerror

2010-01-06 Thread Sridhar Ratnakumar

On 1/5/2010 1:38 AM, VYAS ASHISH M-NTB837 wrote:

Dear All
I have Python 3.1 installed on Windows XP and Works nice.
I downloaded lxml 2.2.4 (lxml-2.2.4.win32-py3.1.exe) from pypi.
When I try:
from lxml import etree
I get:
ImportError: DLL load failed: This application has failed to start
because the application configuration is incorrect. Reinstalling the
application may fix this problem.


Are you by any chance running 64-bit Python (whereas the lxml binary you 
have installed is 32-bit)?


C:> python -c "import platform; print platform.architecture()"

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


Re: A question about Python versions

2010-01-12 Thread Sridhar Ratnakumar

On 1/12/2010 10:09 PM, Gib Bogle wrote:

I am learning Python, and using PyQt to develop a GUI that will be used
to run a Fortran program on Windows, Linux and Mac OS X (I think Python
is great, btw). Without thinking about it I downloaded and started
working with a fairly recent Python version, 2.5.4.  I've now become
aware of the existence of Python 3.1, which apparently is a major
revision of the language.  Does it make sense to stick with Python 2.x
at this point, or should I be starting off with 3.1?


Stick with 2.x.


If it is
recommended to stick with version 2, should I use the latest (2.6.4 or
2.7), and if so why?  Thanks.


2.6.4 definitely (as 2.7 final is not released yet).

Also see: http://stackoverflow.com/questions/170921

-srid

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


Re: maintain 2 versions of python on my computer

2010-01-17 Thread Sridhar Ratnakumar

On 1/14/2010 3:23 PM, Lie Ryan wrote:

On 01/14/10 22:21, luis wrote:

>
>  Hi
>
>  I am not an expert in programming and using Python for its simplicity
>
>  I have 2 versions of python installed on my computer (windos xp) to
>  begin the transition from version 2.4 to 2.6 or 3. maintaining the
>  operability of my old scripts
>
>  Is there any way to indicate the version of the python interpreter
>  must use a script?
>
>  thanks

On my Windows machine, I make a copy python.exe and rename it as
python25.exe, python26.exe, python3.exe, etc in their respective
directories. Then after setting up the PATH environment variable, you
can simply call python25, python3, etc from any directory in the command
prompt.


Lie, ActivePython does both of this during the installation -- 
pythonXY.exe and set PATH accordingly.


Luis, Distribute (a setuptools fork) has a feature called "entry points" 
that will create exe wrappers for the specified Python script. These exe 
wrappers use the #! line to determine the actual Python interpreter to 
invoke.



http://packages.python.org/distribute/setuptools.html#automatic-script-creation

If your script is foo-script.py, foo.exe will ultimately read the first 
line in foo-script.py which is #!C:\Python26\python.exe .. and that is 
used to run the script. Task manager will show "foo.exe" instead of 
"python.exe".


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


ANN: ActivePython 2.6.3.7 (and PyPM) is now available

2009-10-06 Thread Sridhar Ratnakumar

I'm happy to announce that ActivePython 2.6.3.7 is now available for
download from:

http://www.activestate.com/activepython/

This is a patch-level release that updates ActivePython to core Python
2.6.3 along with the fixes for a couple of critical regressions that
instigated the work on 2.6.4.  See the release notes for full details:

http://docs.activestate.com/activepython/2.6/relnotes.html

Introducing PyPM


This release includes a new packaging tool by activestate called Python
Package Manager (PyPM). PyPM - currently in beta - is the package
management utility for ActivePython. It simplifies the task of locating,
installing, upgrading and removing Python modules. For full details,
see:

http://docs.activestate.com/activepython/2.6/pypm.html

Here's a sample command line output::

$ pypm install lxml
Get: [pypm.activestate.com] :repository-index:
Ready to perform these actions:
The following packages will be installed:
 lxml-2.2.2
Get: [pypm.activestate.com] lxml 2.2.2-1
Installing lxml-2.2.2
$ python
>>> import lxml.etree
>>>^D

$ pypm remove lxml
Ready to perform these actions:
The following packages will be removed:
 lxml-2.2.2
Removing lxml-2.2.2

$ pypm install pylons
Ready to perform these actions:
The following packages will be installed:
 pastescript-1.7.3 formencode-1.2.2 weberror-0.10.1 simplejson-2.0.9  
routes-1.11 nose-0.11.1 mako-0.2.5 past
edeploy-1.3.3 pylons-0.9.7 tempita-0.4 webtest-1.2 beaker-1.4.2  
webhelpers-0.6.4 paste-1.7.2 pygments-1.1.1

decorator-3.1.2 webob-0.9.6.1
Get: [pypm.activestate.com] formencode 1.2.2-1
Get: [pypm.activestate.com] nose 0.11.1-1
[...]
Get: [pypm.activestate.com] decorator 3.1.2-1
Get: [pypm.activestate.com] webob 0.9.6.1-1
Installing formencode-1.2.2
Installing weberror-0.10.1
[...]
Installing pygments-1.1.1
Fixing script /home/sridharr/.local/bin/pygmentize
Installing decorator-3.1.2


What is ActivePython?
-

ActivePython is ActiveState's binary distribution of Python. Builds for
Windows, Mac OS X, Linux, HP-UX and AIX are made freely available.

ActivePython includes the Python core and the many core extensions: zlib
and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite
(sqlite3) database libraries, OpenSSL bindings for HTTPS support, the
Tix GUI widgets for Tkinter, ElementTree for XML processing, ctypes (on
supported platforms) for low-level library access, and others. The
Windows distribution ships with PyWin32 -- a suite of Windows tools
developed by Mark Hammond, including bindings to the Win32 API and
Windows COM. See this page for full details:

http://docs.activestate.com/activepython/2.6/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new
and experienced Python programmers. In addition to the core Python docs,
ActivePython includes the "What's New in Python" series, "Dive into
Python", the Python FAQs & HOWTOs, and the Python Enhancement Proposals
(PEPs).

An online version of the docs can be found here:

http://docs.activestate.com/activepython/2.6/

We would welcome any and all feedback to:

[email protected]

Please file bugs against ActivePython at:

http://bugs.activestate.com/query.cgi?set_product=ActivePython


On what platforms does ActivePython run?


ActivePython includes installers for the following platforms:

- Windows/x86
- Windows/x64 (aka "AMD64")
- Mac OS X
- Linux/x86
- Linux/x86_64 (aka "AMD64")
- Solaris/SPARC
- Solaris/x86
- HP-UX/PA-RISC
- AIX/PowerPC
- AIX/PowerPC 64-bit


Extra Bits
--

ActivePython releases also include the following:

- ActivePython26.chm: An MS compiled help collection of the full
  ActivePython documentation set. Linux users of applications such as
  xCHM might find this useful. This package is installed by default on
  Windows.

Extra bits are available from:

http://downloads.activestate.com/ActivePython/etc/

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com



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


ANN: ActivePython 2.6.4.8 is now available

2009-11-12 Thread Sridhar Ratnakumar

I'm happy to announce that ActivePython 2.6.4.8 is now available for
download from:

http://www.activestate.com/activepython/

This is a patch release that updates ActivePython to core Python 2.6.4.
We recommend that you try 2.6 version first. See the release
notes for full details:

http://docs.activestate.com/activepython/2.6/relnotes.html#changes


What is ActivePython?
-

ActivePython is ActiveState's binary distribution of Python. Builds
for Windows, Mac OS X, Linux, HP-UX and AIX are made freely available.

ActivePython includes the Python core and the many core extensions:
zlib and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite
(sqlite3) database libraries, OpenSSL bindings for HTTPS
support, the Tix GUI widgets for Tkinter, ElementTree for XML
processing, ctypes (on supported platforms) for low-level library
access, and others. The Windows distribution ships with PyWin32 -- a
suite of Windows tools developed by Mark Hammond, including bindings
to the Win32 API and Windows COM.

Beginning the 2.6.3.7 release, ActivePython includes a binary package
manager for Python (PyPM) that can be used to install packages much
easily.

See this page for full details:

http://docs.activestate.com/activepython/2.6/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both
new and experienced Python programmers. In addition to the core Python
docs, ActivePython includes the "What's New in Python" series, "Dive
into Python", the Python FAQs & HOWTOs, and the Python Enhancement
Proposals (PEPs).

An online version of the docs can be found here:

http://docs.activestate.com/activepython/2.6/

We would welcome any and all feedback to:

[email protected]

Please file bugs against ActivePython at:

http://bugs.activestate.com/query.cgi?set_product=ActivePython


On what platforms does ActivePython run?


ActivePython includes installers for the following platforms:

- Windows/x86
- Windows/x64 (aka "AMD64")
- Mac OS X
- Linux/x86
- Linux/x86_64 (aka "AMD64")
- Solaris/SPARC
- Solaris/x86
- HP-UX/PA-RISC
- AIX/PowerPC
- AIX/PowerPC 64-bit


Extra Bits
--

ActivePython releases also include the following:

- ActivePython26.chm: An MS compiled help collection of the full
  ActivePython documentation set. Linux users of applications such as
  xCHM might find this useful. This package is installed by default on
  Windows.

Extra bits are available from:

http://downloads.activestate.com/ActivePython/etc/


Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com

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


ANN: ActivePython 2.6.4.10 is now available

2010-02-04 Thread Sridhar Ratnakumar
I'm happy to announce that ActivePython 2.6.4.10 is now available for download 
from:

http://www.activestate.com/activepython/

This is a minor release with several updates and fixes.

Changes in 2.6.4.10
---

- PyPM is now included in 64-bit Windows and Linux builds
- Include Distribute instead of setuptools
- Include pip
- Upgrade to Tcl/Tk 8.5.8
- [Windows] Upgrade to Pywin32 CVS (2009-11-10)
- [Windows] Support for OpenSSL in 64-bit
- [Windows] Include Tcl/Tk header files 
- [Windows] Fix broken IDLE on the 64-bit build 

See the release notes for full details:

http://docs.activestate.com/activepython/2.6/relnotes.html#changes


What is ActivePython?
-

ActivePython is ActiveState's binary distribution of Python. Builds
for Windows, Mac OS X, Linux are made freely available. Builds
for Solaris, HP-UX and AIX, and access to older versions are
available with ActivePython Business Edition:

http://www.activestate.com/business_edition/

ActivePython includes the Python core and the many core extensions:
zlib and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite
(sqlite3) database libraries, OpenSSL bindings for HTTPS
support, the Tix GUI widgets for Tkinter, ElementTree for XML
processing, ctypes (on supported platforms) for low-level library
access, and others. The Windows distribution ships with PyWin32 -- a
suite of Windows tools developed by Mark Hammond, including bindings
to the Win32 API and Windows COM. 

Beginning with the 2.6.3.7 release, ActivePython includes a binary package
manager for Python (PyPM) that can be used to install packages much
easily. For example:

pypm install pylons

See this page for full details:

http://docs.activestate.com/activepython/2.6/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both
new and experienced Python programmers. In addition to the core Python
docs, ActivePython includes the "What's New in Python" series, "Dive
into Python", the Python FAQs & HOWTOs, and the Python Enhancement
Proposals (PEPs).

An online version of the docs can be found here:

http://docs.activestate.com/activepython/2.6/

We would welcome any and all feedback to:

[email protected]

Please file bugs against ActivePython at:

http://bugs.activestate.com/query.cgi?set_product=ActivePython


On what platforms does ActivePython run?


ActivePython includes installers for the following platforms:

- Windows/x86
- Windows/x64 (aka "AMD64")
- Mac OS X
- Linux/x86
- Linux/x86_64 (aka "AMD64")
- Solaris/SPARC (Business Edition only)
- Solaris/x86 (Business Edition only)
- HP-UX/PA-RISC (Business Edition only)
- AIX/PowerPC (Business Edition only)
- AIX/PowerPC 64-bit (Business Edition only)

Custom builds are available in Enterprise Edition:

http://www.activestate.com/activepython/enterprise/

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com-- 
http://mail.python.org/mailman/listinfo/python-list


Re: ANN: ActivePython 2.6.4.10 is now available

2010-02-05 Thread Sridhar Ratnakumar

On 2010-02-05, at 6:31 AM, Tommy Grav wrote:

> 
> On Feb 5, 2010, at 12:01 AM, Sridhar Ratnakumar wrote:
> 
>> I'm happy to announce that ActivePython 2.6.4.10 is now available for 
>> download from:
> 
>> On what platforms does ActivePython run?
>> 
>> 
>> ActivePython includes installers for the following platforms:
>> 
>> - Windows/x86
>> - Windows/x64 (aka "AMD64")
>> - Mac OS X
> 
> Is the Mac OS X version still only 32 bit?

Yes.

> If so does ActiveState plan to make binaries for 64bit builds
> for Snow Leopard?

No concrete plans yet, but we do intend to make 64 bit for Mac available 
eventually.

-srid

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


Re: Possible? Python 2.6.x and PythonWin on 64-bit Windows 7

2010-02-09 Thread Sridhar Ratnakumar

On 2010-02-07, at 5:02 PM, escalation746 wrote:

> Andrej Mitrovic wrote:
> 
>> Perhaps you've accidentally downloaded the wrong version of PythonWin?
> 
> Erk, yes, my bad.
> 
> Thanks for the quick help! Though I still wonder why the ActiveState
> build does not include this.

I just added support for PyWin32 in ActivePython 2.6 64-bit.

  http://twitter.com/sridhr/status/8874549314

I should be part of next release (2.6.4.11).

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


ANN: ActivePython 2.5.5.7 is now available

2010-02-11 Thread Sridhar Ratnakumar
I'm happy to announce that ActivePython 2.5.5.7 is now available for
download from:

http://www.activestate.com/activepython/

This is a minor release with several updates and fixes.

Changes in 2.5.5.7
--

- Upgrade to Python 2.5.5
- Upgrade to Tcl/Tk 8.5.8
- Upgrade to PyWin32 CVS (2009-11-10)
- Security upgrade to openssl-0.9.8l
- [Windows] Include Tcl/Tk header files
- [Windows] Allow side-by-side installation of 32-bit and 64-bit builds
- [Mac] Fix the MacOSX build to use Tcl/Tk 8.5.x

See the release notes for full details:

http://docs.activestate.com/activepython/2.5/relnotes.html#changes


What is ActivePython?
-

ActivePython is ActiveState's binary distribution of Python. Builds
for Windows, Mac OS X, Linux are made freely available. Builds
for Solaris, HP-UX and AIX, and access to older versions are
available with ActivePython Business Edition:

http://www.activestate.com/business_edition/

ActivePython includes the Python core and the many core extensions:
zlib and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite
(sqlite3) database libraries, OpenSSL bindings for HTTPS
support, the Tix GUI widgets for Tkinter, ElementTree for XML
processing, ctypes (on supported platforms) for low-level library
access, and others. The Windows distribution ships with PyWin32 -- a
suite of Windows tools developed by Mark Hammond, including bindings
to the Win32 API and Windows COM. 

Beginning with the 2.6.3.7 release, ActivePython includes a binary package
manager for Python (PyPM) that can be used to install packages much
easily. For example:

pypm install pylons

See this page for full details:

http://docs.activestate.com/activepython/2.5/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both
new and experienced Python programmers. In addition to the core Python
docs, ActivePython includes the "What's New in Python" series, "Dive
into Python", the Python FAQs & HOWTOs, and the Python Enhancement
Proposals (PEPs).

An online version of the docs can be found here:

http://docs.activestate.com/activepython/2.5/

We would welcome any and all feedback to:

[email protected]

Please file bugs against ActivePython at:

http://bugs.activestate.com/query.cgi?set_product=ActivePython


On what platforms does ActivePython run?


ActivePython includes installers for the following platforms:

- Windows/x86
- Windows/x64 (aka "AMD64")
- Mac OS X
- Linux/x86
- Linux/x86_64 (aka "AMD64")
- Solaris/SPARC (Business Edition only)
- Solaris/x86 (Business Edition only)
- HP-UX/PA-RISC (Business Edition only)
- AIX/PowerPC (Business Edition only)
- AIX/PowerPC 64-bit (Business Edition only)

Custom builds are available in Enterprise Edition:

http://www.activestate.com/activepython/enterprise/

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com

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


Re: ANN: ActivePython 2.5.5.7 is now available

2010-02-13 Thread Sridhar Ratnakumar

On 2010-02-13, at 1:25 AM, Dennis Lee Bieber wrote:

> On Thu, 11 Feb 2010 16:22:49 -0800, Sridhar Ratnakumar
>  declaimed the following in
> gmane.comp.python.general:
> 
>> I'm happy to announce that ActivePython 2.5.5.7 is now available for
>> download from:
>> 
>>http://www.activestate.com/activepython/
>> 
>   This seems to be the first Windows installer I recall that can't
> "update" over an earlier 2.5.x version... It want's me to wipe out
> (uninstall) my existing base before it will allow for installation (bad
> enough it need admin privileges -- I'm going to be dead at work the next
> time they "refresh" my desktop machine as they no longer allow users to
> have local admin rights)

This is probably due to 
http://firefly.activestate.com/shanec/activepython/ticket/11 where the MSI 
product code for 64-bit installer was changed to be different from the 32-bit 
one. Specifically the product codes used are:

<=2.5.4.4: "a2e24bd9-085b-410f-aad0-5eb5fa5d73d2" 

>=2.5.4.6 32-bit: "a2e24bd9-085b-410f-aad0-5eb5fa5d73d2", 
>=2.5.4.5 64-bit: "64e24bd9-085b-410f-aad0-5eb5fa5d73d2", 

Consequently 64-bit installers for 2.X will have different MSI product code 
from 2.5.4.6 onwards. 

Was your "update" issue happening only with the 64-bit installer of 2.5.5.7?

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


Re: Python won't run

2010-02-22 Thread Sridhar Ratnakumar
Have you tried using http://dependencywalker.com/ ?

-srid

On 2010-02-18, at 1:00 PM, Nardin, Cory L. wrote:

> Quickly, I have a Mac Intel with Windows XP installed.  Tried installing 
> Python 2.6.4 from the binary and also ActivePython 2.6.4.10.  Both 
> installations acted the same.  There seemed to be no problems during 
> installation (used default options), but when I try to run Python I get an 
> error message: “This application has failed to start because the application 
> configuration is incorrect.  Reinstalling the application may fix this 
> problem.”
>  
> Of course I searched on that error and it seems to be related to a MS 
> library.  In a few different places it was recommended to install the MS 
> Visual Studio redistributable package, which I did with no change in outcome. 
>  I really have no idea what to do.
>  
> Any help is appreciated.
>  
> Thanks,
> Cory
> -- 
> http://mail.python.org/mailman/listinfo/python-list

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


ANN: ActivePython 2.6.5.12 and 3.1.2.3 are now available

2010-03-25 Thread Sridhar Ratnakumar
We are pleased to announce the availability of both ActivePython 2.6.5.12 and 
ActivePython 3.1.2.3. 

http://www.activestate.com/activepython/

Here is what you should know about these two releases:

PyWin32: PyWin32 is now included in the 64-bit & Python3 builds! Since we 
recently updated our PyWin32 source tree, this release comes with several bug 
fixes.

PyPM: There is now an “upgrade” feature in PyPM, our beloved Python Package 
Manager distributed with ActivePython free of charge. What this means is that 
if you type “pypm upgrade” it will update all your installed Python Packages to 
the latest version to save you time and keep you up-to-date.

Switch between Python versions: Also new in this 2.6 release is a new tool 
called "pythonselect" that can be used to switch between multiple ActivePython 
versions. This is currently only supported on MacOSX although support for other 
platforms and, perhaps, other Python installations, is in the roadmap (patches 
are welcome too!).

Dive Into Python 3: ActivePython 3.1.2.3 now includes Mark Pilgrim’s Dive Into 
Python 3, the popular advanced tutorial for learning Python3. You can find it  
in the documentation section.

Miscellaneous: We also updated the base Tcl/Tk version to 8.5.8; added OpenSSL 
and ctypes support in the 64-bit build; upgraded to openssl-0.9.8l; included 
Tcl/Tk development headers – among several other bug fixes with IDLE and 
Tkinter installation. And of course, they use the latest Python version: 2.6.5 
and 3.1.2.

See the release notes for full details:

http://docs.activestate.com/activepython/2.6/relnotes.html#changes
http://docs.activestate.com/activepython/2.6/relnotes.html#changes

And our blog post on this release:


http://blogs.activestate.com/2010/03/activestate-releases-activepython-2-6-5-12-and-activepython-3-1-2-3/


What is ActivePython?
-

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Builds for Solaris, HP-UX 
and AIX, and access to older versions are available with ActivePython Business 
Edition:

http://www.activestate.com/business_edition/

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML
processing, ctypes (on supported platforms) for low-level library access, and 
others. The Windows distribution ships with PyWin32 -- a
suite of Windows tools developed by Mark Hammond, including bindings to the 
Win32 API and Windows COM. 

Beginning with the 2.6.3.7 release, ActivePython includes a binary package 
manager for Python (PyPM) that can be used to install packages much easily. For 
example:

pypm install pylons

See this page for full details:

http://docs.activestate.com/activepython/2.6/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the "What's New in Python" series, "Dive into Python", 
the Python FAQs & HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

http://docs.activestate.com/activepython/2.6/

We would welcome any and all feedback to:

[email protected]

Please file bugs against ActivePython at:

http://bugs.activestate.com/query.cgi?set_product=ActivePython


On what platforms does ActivePython run?


ActivePython includes installers for the following platforms:

- Windows/x86
- Windows/x64 (aka "AMD64")
- Mac OS X
- Linux/x86
- Linux/x86_64 (aka "AMD64")
- Solaris/SPARC (Business Edition only)
- Solaris/x86 (Business Edition only)
- HP-UX/PA-RISC (Business Edition only)
- AIX/PowerPC (Business Edition only)
- AIX/PowerPC 64-bit (Business Edition only)

Custom builds are available in Enterprise Edition:

http://www.activestate.com/activepython/enterprise/


Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Possible? Python 2.6.x and PythonWin on 64-bit Windows 7

2010-03-25 Thread Sridhar Ratnakumar

On 2010-02-09, at 2:49 PM, Sridhar Ratnakumar wrote:

> 
> On 2010-02-07, at 5:02 PM, escalation746 wrote:
> 
>> Andrej Mitrovic wrote:
>> 
>>> Perhaps you've accidentally downloaded the wrong version of PythonWin?
>> 
>> Erk, yes, my bad.
>> 
>> Thanks for the quick help! Though I still wonder why the ActiveState
>> build does not include this.
> 
> I just added support for PyWin32 in ActivePython 2.6 64-bit.
> 
>  http://twitter.com/sridhr/status/8874549314
> 
> I should be part of next release (2.6.4.11).

PyWin32, and thus PythonWin, is now available in all of the recent ActivePython 
releases: 2.5.5.7, 2.6.5.12 and 3.1.2.3. 

See also 
http://blogs.activestate.com/2010/03/activestate-releases-activepython-2-6-5-12-and-activepython-3-1-2-3/

-srid

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


Re: How to install uTidylib, easy_install problem

2010-11-22 Thread Sridhar Ratnakumar

On 2010-11-22, at 4:22 PM, goldtech wrote:

> I'm using activepython 2.6 on XP. I am trying to install uTidylib 0.2
> with easy_install.  I like uTidylib more vs. newer modules.and want to
> use it. I get output below. How do I install it? I do see it in
> http://pypi.python.org/simple/uTidylib/
> 
> Thanks.
> 
> C:\Documents and Settings\user1>easy_install uTidylib
> install_dir C:\Python26\Lib\site-packages\
> Searching for uTidylib
> Reading http://pypi.python.org/simple/uTidylib/
> Reading http://utidylib.sf.net
> No local packages or download links found for uTidylib
> error: Could not find suitable distribution for
> Requirement.parse('uTidylib')

You could try using the Windows installer (uTidylib-0.2.1.win32.exe) from:
 http://developer.berlios.de/project/showfiles.php?group_id=1810

And perhaps also let Cory Dodt know that his 6-year old package entry has 
broken download link in it
http://pypi.python.org/pypi/uTidylib/

There is not even a source release for 0.2.1.  I'd be more than happy to make 
this available in PyPM  once I can 
find at least the source release of 0.2.1

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


ANN: ActivePython 2.6.6.17 is now available

2010-11-28 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 2.6.6.17, a complete, 
ready-to-install binary distribution of Python 2.6.

http://www.activestate.com/activepython/downloads

What's New in ActivePython-2.6.6.17
===

*Release date: 19-Nov-2010*

New Features & Upgrades
---

- Security upgrade to openssl-0.9.8p
- Upgrade to PyPM 1.2.5; noteworthy changes:

  - New command 'pypm log' to view log entries for last operation
  - depgraph bug fixes (Bug #88664, #88825)
  - Fix: ignore empty lines in requirements.txt
  - Ignore comments (starting with #) in the requirements file

What's New in ActivePythonEE-2.6.6.16
=

*Release date: 05-Nov-2010*

New Features & Upgrades
---

- Upgrade to PyPM 1.2.3; noteworthy changes:

  - Faster startup (performance) especially on Windows.
  - Rewrite of an improved dependency algorithm (#88038)
  - install/uninstall now accepts the --nodeps option
  - 'pypm install ' to directly download and install a .pypm file
  - 'pypm show' shows other installed packages depending on the shown package
  - 'pypm show' accepts --rdepends to show the list of dependents
  - 'pypm show' shows extra dependencies (for use in the 'install' cmd)
  - 'pypm show' lists all available versions in the repository
  - 'pypm freeze' to dump installed packages as requirements (like 'pip freeze')
  - Support for pip-stye requirements file ('pypm install -r requirements.txt')
  - Bug #87764: 'pypm upgrade' will not error out for missing packages
  - Bug #87902: fix infinite loops with cyclic package dependencies (eg: plone)
  - Bug #88370: Handle file-overwrite conflicts (implement --force)

- Upgraded the following packages:

  - Distribute-0.6.14
  - pip-0.8.1
  - SQLAlchemy-0.6.5
  - virtualenv-1.5.1


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX 
builds, and access to older versions are available in ActivePython Business, 
Enterprise and OEM editions:

http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for 
low-level library access, and others. The Windows distribution ships with 
PyWin32 -- a suite of Windows tools developed by Mark Hammond, including 
bindings to the Win32 API and Windows COM.

ActivePython 2.6, 2.7 and 3.1 also include a binary package manager for Python 
(PyPM) that can be used to install packages much easily. For example:

  C:\>pypm install mysql-python
  [...]

  C:\>python
  >>> import MySQLdb
  >>>

See this page for full details:

http://docs.activestate.com/activepython/2.6/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the "What's New in Python" series, "Dive into Python", 
the Python FAQs & HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

http://docs.activestate.com/activepython/2.6/

We would welcome any and all feedback to:

[email protected]

Please file bugs against ActivePython at:

http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows/x86   (32-bit)
- Windows/x64   (64-bit) (aka "AMD64")
- Mac OS X  (32-bit and 64-bit; 10.5+)
- Linux/x86 (32-bit)
- Linux/x86_64  (64-bit) (aka "AMD64")

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86   (32-bit)(Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit)(Business, Enterprise or OEM edition only)
- HP-UX/IA-64   (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC   (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
Python Developer
ActiveState, The Dynamic Language Experts

[email protected]
http://www.activestate.com

Get insights on Open Source and Dynamic Languages at 
www.activestate.com/blog

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


ANN: ActivePython 3.1.3.5 is now available

2010-12-10 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 3.1.3.5, a complete, 
ready-to-install binary distribution of Python 3.1.

http://www.activestate.com/activepython/downloads

What's New in ActivePython-3.1.3.5
==

*Release date: 6-Dec-2010*

New Features & Upgrades
---

- Upgrade to Python 3.1.3 (`release notes
  <http://svn.python.org/projects/python/tags/r313/Misc/NEWS>`__)
- Upgrade to Tcl/Tk 8.5.9 (`changes <http://wiki.tcl.tk/26961>`_)
- Security upgrade to openssl-0.9.8q
- [MacOSX] Tkinter now requires ActiveTcl 8.5 64-bit (not Apple's Tcl/Tk 8.5 on
  OSX)
- Upgrade to PyPM 1.2.6; noteworthy changes:

  - New command 'pypm log' to view log entries for last operation

- Upgraded the following packages:

  - SQLAlchemy-0.6.5
  - virtualenv5-1.3.4.5

Noteworthy Changes & Bug Fixes
--

- [MacOSX] Include missing architecture binaries - Bug #88876
- PyPM bug fixes:

  - depgraph: Fix a bug with missing extra in install_requires - Bug #88825
  - depgraph: Fix a bug with double-marking a package for upgrade 
  - Bug #88664: handle cyclic dependencies in the depgraph algorithm
  - Ignore comments (starting with #) in the requirements file
  - Fix: ignore empty lines in requirements.txt
  - Bug #2: Fix pickle incompatability (sqlite) on Python 3.x


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX 
builds, and access to older versions are available in ActivePython Business, 
Enterprise and OEM editions:

http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for 
low-level library access, and others. The Windows distribution ships with 
PyWin32 -- a suite of Windows tools developed by Mark Hammond, including 
bindings to the Win32 API and Windows COM.

ActivePython 2.6, 2.7 and 3.1 also include a binary package manager for Python 
(PyPM) that can be used to install packages much easily. For example:

  C:\>pypm install mysql-python
  [...]

  C:\>python
  >>> import MySQLdb
  >>>

See this page for full details:

http://docs.activestate.com/activepython/3.1/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the "What's New in Python" series, "Dive into Python", 
the Python FAQs & HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

http://docs.activestate.com/activepython/3.1/

We would welcome any and all feedback to:

[email protected]

Please file bugs against ActivePython at:

http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows   (x86 and x64)
- Mac OS X  (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86   (32-bit)(Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit)(Business, Enterprise or OEM edition only)
- HP-UX/IA-64   (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC   (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
Python Developer
ActiveState, The Dynamic Language Experts

[email protected]
http://www.activestate.com

Get insights on Open Source and Dynamic Languages at 
www.activestate.com/blog

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


ANN: ActivePython 2.7.1.3 is now available

2010-12-13 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 2.7.1.3, a complete, 
ready-to-install binary distribution of Python 2.7.

http://www.activestate.com/activepython/downloads

What's New in ActivePython-2.7.1.3
==

*Release date: 6-Dec-2010*

New Features & Upgrades
---

- Upgrade to Python 2.7.1 (`release notes
  <http://svn.python.org/projects/python/tags/r271/Misc/NEWS>`__)
- Upgrade to Tcl/Tk 8.5.9 (`changes <http://wiki.tcl.tk/26961>`_)
- Security upgrade to openssl-0.9.8q
- [MacOSX] Tkinter now requires ActiveTcl 8.5 64-bit (not Apple's Tcl/Tk 8.5 on
  OSX)
- Upgrade to PyPM 1.2.6; noteworthy changes:

  - New command 'pypm log' to view log entries for last operation
  - Faster startup (performance) especially on Windows.
  - Rewrite of an improved dependency algorithm (#88038)
  - install/uninstall now accepts the --nodeps option
  - 'pypm install ' to directly download and install a .pypm file
  - 'pypm show' improvements
- 'pypm show' shows other installed packages depending on the shown package
- 'pypm show' accepts --rdepends to show the list of dependents
- 'pypm show' shows extra dependencies (for use in the 'install' cmd)
- 'pypm show' lists all available versions in the repository
- 'pypm freeze' to dump installed packages as requirements (like 'pip 
freeze')
  - Support for pip-stye requirements file ('pypm install -r requirements.txt')

- Upgraded the following packages:

  - Distribute-0.6.14
  - pip-0.8.2
  - SQLAlchemy-0.6.5
  - virtualenv-1.5.1

Noteworthy Changes & Bug Fixes
--

- Bug #87951: Exclude PyPM install db to prevent overwriting user's database.
- Bug #87600: create a `idleX.Y` script on unix
- [Windows] Installer upgrade: automatically uninstall previous versions - Bug 
#87783
- [Windows] Renamed "python27.exe" to "python2.7.exe" (Unix like)
- [Windows] Include "python2.exe"
- PyPM bug fixes:

  - Bug #2: Fix pickle incompatability (sqlite) on Python 3.x
  - Bug #87764: 'pypm upgrade' will not error out for missing packages
  - Bug #87902: fix infinite loops with cyclic package dependencies (eg: plone)
  - Bug #88370: Handle file-overwrite conflicts (implement --force)


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX 
builds, and access to older versions are available in ActivePython Business, 
Enterprise and OEM editions:

http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for 
low-level library access, and others. The Windows distribution ships with 
PyWin32 -- a suite of Windows tools developed by Mark Hammond, including 
bindings to the Win32 API and Windows COM.

ActivePython 2.6, 2.7 and 3.1 also include a binary package manager for Python 
(PyPM) that can be used to install packages much easily. For example:

  C:\>pypm install mysql-python
  [...]

  C:\>python
  >>> import MySQLdb
  >>>

See this page for full details:

http://docs.activestate.com/activepython/2.7/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the "What's New in Python" series, "Dive into Python", 
the Python FAQs & HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

http://docs.activestate.com/activepython/2.7/

We would welcome any and all feedback to:

[email protected]

Please file bugs against ActivePython at:

http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows   (x86 and x64)
- Mac OS X  (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)
- Solaris/x86   (32-bit)(Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit)(Business, Enterprise or OEM edition only)
- HP-UX/IA-64   (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC   (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

http://www.activestate.com/business-edition

Custom builds are available in the Ente

Re: ANN: ActivePython 2.7.1.3 is now available

2010-12-13 Thread Sridhar Ratnakumar

On 2010-12-13, at 10:38 AM, [email protected] wrote:

> [SRID] Release notes for 2.7.1.3 [...]
> [SRID] - Upgrade to Tcl/Tk 8.5.9 (`changes `_)
> Do the Windows versions of ActivePython 2.7.1.3 have different versions
> of Tcl/Tk, sqlite3(.dll), and/or openssl (_ssl.pyd?) than the python.org
> builds of Python 2.7.1?

You can find the versions used in ActivePython here,
http://docs.activestate.com/activepython/2.7/whatsincluded.html

We generally build with the latest compatible version of extensions (except for 
Tcl/Tk on 2.5/2.6/3.1 as python.org still uses 8.4) ... but that should not be 
an issue with 2.7 as I believe that the python.org MSI installer is now using 
Tcl/Tk 8.5 (albeit with an older patch-level version?) to support the new `ttk` 
module in 2.7+.

Does that answer your query?

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


Re: ANN: ActivePython 2.7.1.3 is now available

2010-12-13 Thread Sridhar Ratnakumar

On 2010-12-13, at 11:50 AM, Terry Reedy wrote:

> On 12/13/2010 1:48 PM, Sridhar Ratnakumar wrote:
> 
>> We generally build with the latest compatible version of extensions
>> (except for Tcl/Tk on 2.5/2.6/3.1 as python.org still uses 8.4) ...
> 
> The PSF 3.1 Windows installer ships with tcl/tk 8.5 and ttk support.
> You ought to too.

ActivePython (APy) 2.5+/3.1+ already use Tcl/Tk 8.5 ... I was referring to the 
PSF installers (hence the mismatch in versions between APy and PSF). Maybe that 
was changed in 3.1.3.

>> but that should not be an issue with 2.7 as I believe that the
>> python.org MSI installer is now using Tcl/Tk 8.5 (albeit with an
>> older patch-level version?) to support the new `ttk` module in 2.7+.
> 
> For 3.1.3 and 3.2, the tcl/tk85.libs are dated 8/28/2010. Don't know what 
> that means though.

I did this for ActivePython 2.7,

>>> import Tkinter
>>> root = Tkinter.Tk()
>>> root.tk.eval('info patchlevel')
'8.5.9'
>>>

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


Re: ANN: ActivePython 2.7.1.3 is now available

2010-12-13 Thread Sridhar Ratnakumar

On 2010-12-13, at 4:21 PM, Terry Reedy wrote:

> On 12/13/2010 4:23 PM, Sridhar Ratnakumar wrote:
> 
>>> The PSF 3.1 Windows installer ships with tcl/tk 8.5 and ttk support.
> 
>> Maybe that was changed in 3.1.3.
> 
> No, 3.1 (not sure of 3.0) has always used 8.5 on windows and included
> tkinter.ttk module.

Ok, good to know.

>> I did this for ActivePython 2.7,
>> 
>>>>> import Tkinter
>>>>> root = Tkinter.Tk()
>>>>> root.tk.eval('info patchlevel')
>> '8.5.9'
> 
> 8.5.2 here. Are there noticeable improvements?

Nothing I can think of except module updates and bug fixes[1],
http://wiki.tcl.tk/405

I don't know how dependencies are managed when building PSF installers. From my 
experience, updating to newer tcl/tk patchlevel releases never broke the 
ActivePython build.

-srid

[1] David wanted to use >=8.5.8 due to a specific bug fix, 
http://community.activestate.com/forum/version-859-under-mac-os-x-am-i-getting-it
-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: ActivePython 2.6.6.18 is now available

2011-01-20 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 2.6.6.18, a complete, 
ready-to-install binary distribution of Python 2.6. Among other updates, 
this releases brings "postinstall" support to PyPM to facilitate 
installation of modules such as PyIMSL.


http://www.activestate.com/activepython/downloads

What's New in ActivePython-2.6.6.18
===

New Features & Upgrades
---

- Upgrade to Tcl/Tk 8.5.9 (`changes <http://wiki.tcl.tk/26961>`_)
- Security upgrade to openssl-0.9.8q
- [MacOSX] Tkinter now requires ActiveTcl 8.5 64-bit (not Apple's Tcl/Tk 
8.5 on OSX)

- Upgrade to PyPM 1.3.0:

  - Programmatic use via ``pypm.cmd(['install', 'foo'])``
  - Support for postinstall and conditional user-notes

- Package updates:

  - pip-0.8.2


Noteworthy Changes & Bug Fixes
--

- [Windows 64-bit] `issue8275 <http://bugs.python.org/issue8275>`_: turn 
off optimization for the ctypes module

- PyPM bug fixes:

  - Fix needless truncation of output when piping (eg: ``pypm list | 
less``)

  - Respect download cache of ``*.pypm`` packages (don't redownload)
  - Bug #2: Fix pickle incompatability (sqlite) on Python 3.x



What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and 
AIX builds, and access to older versions are available in ActivePython 
Business, Enterprise and OEM editions:


http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib 
and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite 
(sqlite3) database libraries, OpenSSL bindings for HTTPS support, the 
Tix GUI widgets for Tkinter, ElementTree for XML processing, ctypes (on 
supported platforms) for low-level library access, and others. The 
Windows distribution ships with PyWin32 -- a suite of Windows tools 
developed by Mark Hammond, including bindings to the Win32 API and 
Windows COM.


ActivePython also includes a binary package manager for Python (PyPM) 
that can be used to install packages much easily. For example:


  C:\>pypm install mysql-python
  [...]

  C:\>python
  >>> import MySQLdb
  >>>

See this page for full details:

http://docs.activestate.com/activepython/2.6/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new 
and experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the "What's New in Python" series, "Dive into 
Python", the Python FAQs & HOWTOs, and the Python Enhancement Proposals 
(PEPs).


An online version of the docs can be found here:

http://docs.activestate.com/activepython/2.6/

We would welcome any and all feedback to:

[email protected]

Please file bugs against ActivePython at:

http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows   (x86 and x64)
- Mac OS X  (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)
- Solaris/x86   (32-bit)(Business, Enterprise or OEM edition 
only)
- HP-UX/PA-RISC (32-bit)(Business, Enterprise or OEM edition 
only)

- HP-UX/IA-64   (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC   (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)


More information about the Business Edition can be found here:

http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
--
http://mail.python.org/mailman/listinfo/python-list


ANN: ActivePython 2.7.1.4 is now available

2011-02-14 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 2.7.1.4, a complete, 
ready-to-install binary distribution of Python 2.7.


http://www.activestate.com/activepython/downloads

What's New in ActivePython-2.7.1.4
==

*Release date: 14-Feb-2011*

New Features & Upgrades
---

- Upgrade to PyPM 1.3.1:

  - Programmatic use via ``pypm.cmd(['install', 'foo'])``
  - Support for postinstall and conditional user-notes

- Upgraded the following packages:

  - SQLAlchemy-0.6.6


Noteworthy Changes & Bug Fixes
--

- PyPM bug fixes:

  - Bug #88791: fail immediately for missing dependencies
  - Fix needless truncation of output when piping (eg: ``pypm list | 
less``)

  - Respect download cache of ``*.pypm`` packages (don't redownload)


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and 
AIX builds, and access to older versions are available in ActivePython 
Business, Enterprise and OEM editions:


http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib 
and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite 
(sqlite3) database libraries, OpenSSL bindings for HTTPS support, the 
Tix GUI widgets for Tkinter, ElementTree for XML processing, ctypes (on 
supported platforms) for low-level library access, and others. The 
Windows distribution ships with PyWin32 -- a suite of Windows tools 
developed by Mark Hammond, including bindings to the Win32 API and 
Windows COM.


ActivePython also includes a binary package manager for Python (PyPM) 
that can be used to install packages much easily. For example:


  C:\>pypm install mysql-python
  [...]

  C:\>python
>>> import MySQLdb
>>>

See this page for full details:

http://docs.activestate.com/activepython/2.7/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new 
and experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the "What's New in Python" series, "Dive into 
Python", the Python FAQs & HOWTOs, and the Python Enhancement Proposals 
(PEPs).


An online version of the docs can be found here:

http://docs.activestate.com/activepython/2.7/

We would welcome any and all feedback to:

[email protected]

Please file bugs against ActivePython at:

http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows   (x86 and x64)
- Mac OS X  (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)
- Solaris/x86   (32-bit)(Business, Enterprise or OEM edition 
only)
- HP-UX/PA-RISC (32-bit)(Business, Enterprise or OEM edition 
only)

- HP-UX/IA-64   (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC   (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)


More information about the Business Edition can be found here:

http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

    http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
--
http://mail.python.org/mailman/listinfo/python-list


ANN: ActivePython 3.2.0.0 is now available

2011-02-22 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 3.2.0.0, a complete, 
ready-to-install binary distribution of Python 3.2.


  http://www.activestate.com/activepython/downloads

What's New in ActivePython-3.2.0.0
==

New Features & Upgrades
---

- First ActivePython release based on Python 3.2 core
- PyPM (beta) for Python 3.2
- Distribute (setuptools)
- [Windows] Upgrade to PyWin32 CVS snapshot as of 2011-01-16
- [MacOSX] ``readline`` support via Apple's ``libedit`` library
- OpenSSL 1.0.0d
- [Windows] Fix a ``tarfile`` performance issue (`issue11224 
<http://bugs.python.org/issue11224>`_)



What's new in Python 3.2


* Stable ABI: Extension modules built for 3.2 can continue to work with 
3.3, 3.4 and so on.


* argparse: argparse, an improved alternative to optparse included in 
Python 2.7, is now available in 3.2 as well.


* concurrent.futures: Inspired by java.util.concurrent.package, this 
module abstracts threads/processes/RPC-calls by way of abstract 
executors with support for status checks, timeouts, cancellations, 
callbacks, access to results or exceptions. futures makes it easier to 
switch from one concurrent implementation to another, eg: from thread to 
process pool.


* PYC repository directories: Ever faced with ".pyc conflicts" between 
multiple Python versions? Python 3.2 introduced a new bytecode caching 
mechanism: foo.pyc gets a new name: __pycache__/foo.cpython-32.pyc 
(similarly for .so files) ... thus properly fixing such conflicts, even 
across different Python interpreter implementations.


* WSGI for Python 3: The WSGI spec is now adapted for Python3's 
bytes/text distinction. See PEP  for details.


For the complete list of changes, see
http://docs.activestate.com/activepython/3.2/python/whatsnew/3.2.html


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and 
AIX builds, and access to older versions are available in ActivePython 
Business, Enterprise and OEM editions:


  http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib 
and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite 
(sqlite3) database libraries, OpenSSL bindings for HTTPS support, the 
Tix GUI widgets for Tkinter, ElementTree for XML processing, ctypes (on 
supported platforms) for low-level library access, and others. The 
Windows distribution ships with PyWin32 -- a suite of Windows tools 
developed by Mark Hammond, including bindings to the Win32 API and 
Windows COM.


ActivePython also includes a binary package manager for Python (PyPM) 
that can be used to install packages much easily. For example:


  C:\>pypm install numpy
  [...]

  C:\>python
>>> import numpy.linalg
>>>

PyPM module availability for 3.2 can be seen at:

  http://code.activestate.com/pypm/tag:python3/

See this page for full details:

  http://docs.activestate.com/activepython/3.2/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new 
and experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the "What's New in Python" series, "Dive into 
Python", the Python FAQs & HOWTOs, and the Python Enhancement Proposals 
(PEPs).


An online version of the docs can be found here:

  http://docs.activestate.com/activepython/3.2/

We would welcome any and all feedback to:

  [email protected]

Please file bugs against ActivePython at:

  http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows (x86 and x64)
- Mac OS X (x86 and x86_64; 10.5+)
- Linux (x86 and x86_64)

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)

- Solaris/x86 (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (32-bit) (Business, Enterprise or OEM edition only)
- HP-UX/IA-64 (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC (32-bit and 64-bit) (Business, Enterprise or OEM edition only)

More information about the Business Edition can be found here:

  http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

  http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
--
http://mail.python.org/mailman/listinfo/python-list


Re: function name

2010-04-28 Thread Sridhar Ratnakumar

On 2010-04-28, at 11:50 AM, Emile van Sebille wrote:

> On 4/28/2010 11:44 AM Richard Lamboj said...
>> 
>> Hello,
>> 
>> is there any way to get the name from the actual called function, so that the
>> function knows its own name?
>> 
>> Kind Regards,
>> 
>> Richi
> ActivePython 2.6.1.1 (ActiveState Software Inc.) based on
> Python 2.6.1 (r261:67515, Dec  5 2008, 13:58:38) [MSC v.1500 32 bit (Intel)] 
> on
> win32
> Type "help", "copyright", "credits" or "license" for more information.
> >>> def test():pass
> ...
> >>> dir(test)
> ['__call__', '__class__', '__closure__', '__code__', '__defaults__', 
> '__delattr_
> _', '__dict__', '__doc__', '__format__', '__get__', '__getattribute__', 
> '__globa
> ls__', '__hash__', '__init__', '__module__', '__name__', '__new__', 
> '__reduce__'
> , '__reduce_ex__', '__repr__', '__setattr__', '__sizeof__', '__str__', 
> '__subcla
> sshook__', 'func_closure', 'func_code', 'func_defaults', 'func_dict', 
> 'func_doc'
> , 'func_globals', 'func_name']
> >>> test.func_name
> 'test'
> >>>

I use test.__name__

-srid

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


Re: Movable Python or ActivePython

2010-05-05 Thread Sridhar Ratnakumar

On 2010-05-05, at 5:47 AM, balzer wrote:

> I want Python pack that can run without being installed, mostly for testing 
> programs. As I read, Movable Python can run without being installed. It needs 
> no registry entries and knows the path to all the dlls (system or otherwise) 
> that it uses.
> Whats about ActivePython http://www.activestate.com/activepython/downloads? 
> Does it requires installation? 

The .MSI installer does require installation, but there is also a .ZIP package 
which doesn't. It is not visible in the downloads page, but you can always get 
it here:

http://downloads.activestate.com/ActivePython/releases/2.6.5.12/
(substitute with latest version)

When I just tried the "ActivePython-2.6.5.12-win64-x64.zip" on my Win7 x64 
machine - by extracting and running python.exe (from INSTALLDIR/) without 
installing - it just worked.

-srid


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


ANN: ActivePython 2.7.0c1.0 is now available

2010-06-10 Thread Sridhar Ratnakumar
We are pleased to announce the availability of ActivePython 2.7.0c1.0.

http://www.activestate.com/activepython

This release corresponds to the recently released Python 2.7 RC1, and, like 
ActivePython 2.6, includes the Python Package Manager (PyPM) with essential 
packages such as Distribute, virtualenv, pip and SQLAlchemy. See the release 
notes for full details:

http://docs.activestate.com/activepython/2.7/relnotes.html#changes


What is ActivePython?
-

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX 
builds, and access to older versions are available in ActivePython Business, 
Enterprise and OEM editions:

http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for 
low-level library access, and others. The Windows distribution ships with 
PyWin32 -- a suite of Windows tools developed by Mark Hammond, including 
bindings to the Win32 API and Windows COM.

ActivePython 2.6 and 2.7 also includes a binary package manager for Python 
(PyPM) that can be used to install packages much easily. For example:

pypm install pylons

See this page for full details:

http://docs.activestate.com/activepython/2.7/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the "What's New in Python" series, "Dive into Python", 
the Python FAQs & HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

http://docs.activestate.com/activepython/2.7/

We would welcome any and all feedback to:

[email protected]

Please file bugs against ActivePython at:

http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

On what platforms does ActivePython run?


ActivePython includes installers for the following platforms:

- Windows/x86
- Windows/x64 (aka "AMD64")
- Mac OS X
- Linux/x86
- Linux/x86_64 (aka "AMD64")
- Solaris/SPARC (Business, Enterprise or OEM edition only)
- Solaris/x86 (Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (Business, Enterprise or OEM edition only)
- HP-UX/IA-64 (Enterprise or OEM edition only)
- AIX/PowerPC (Business, Enterprise or OEM edition only)
- AIX/PowerPC 64-bit (Business, Enterprise or OEM edition only)

Custom builds are available in Enterprise Edition:

http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
-- 
http://mail.python.org/mailman/listinfo/python-list


How to disable readline when building Python?

2010-07-03 Thread Sridhar Ratnakumar
For licensing reasons, I need to disable readline, except editline on 
OSX, when building Python. For the life of me, I cannot figure out how 
this can be done ("./configure --help" does not show anything relevant); 
I've tried the following, and readline.so will still be built:


- ./configure --without-readline
- ./configure --disable-readline
- Set `do_readline = False` in setup.py

This is for Python 2.6; and I am yet to port the same to 2.7.

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


ANN: ActivePython 2.7.0.1 is now available

2010-07-07 Thread Sridhar Ratnakumar

We are pleased to announce the availability of ActivePython 2.7.0.1.

http://www.activestate.com/activepython

This release corresponds to the recently released Python 2.7, and, like 
ActivePython 2.6, includes the Python Package Manager (PyPM) with 
essential packages such as Distribute (a compatible fork of setuptools), 
virtualenv, pip and SQLAlchemy. See the release notes for full details:


http://docs.activestate.com/activepython/2.7/relnotes.html#changes

For a high-level overview of this release, please see our blog post:

http://www.activestate.com/blog/2010/07/activepython-27-released

This is also the first ActivePython release with 64-bit support on MacOSX.


What is ActivePython?
-

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and 
AIX builds, and access to older versions are available in ActivePython 
Business, Enterprise and OEM editions:


http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib 
and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite 
(sqlite3) database libraries, OpenSSL bindings for HTTPS support, the 
Tix GUI widgets for Tkinter, ElementTree for XML processing, ctypes (on 
supported platforms) for low-level library access, and others. The 
Windows distribution ships with PyWin32 -- a suite of Windows tools 
developed by Mark Hammond, including bindings to the Win32 API and 
Windows COM.


ActivePython 2.6 and 2.7 also include a binary package manager for 
Python (PyPM) that can be used to install packages much easily. For example:


  C:\>pypm install mysql-python
  [...]

  C:\>python
  >>> import MySQLdb
  >>>

See this page for full details:

http://docs.activestate.com/activepython/2.7/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new 
and experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the "What's New in Python" series, "Dive into 
Python", the Python FAQs & HOWTOs, and the Python Enhancement Proposals 
(PEPs).


An online version of the docs can be found here:

http://docs.activestate.com/activepython/2.7/

We would welcome any and all feedback to:

[email protected]

Please file bugs against ActivePython at:

http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

On what platforms does ActivePython run?


ActivePython includes installers for the following platforms:

- Windows/x86
- Windows/x64 (aka "AMD64")
- Mac OS X
- Linux/x86
- Linux/x86_64 (aka "AMD64")
- Solaris/SPARC (Business, Enterprise or OEM edition only)
- Solaris/x86 (Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (Business, Enterprise or OEM edition only)
- HP-UX/IA-64 (Enterprise or OEM edition only)
- AIX/PowerPC (Business, Enterprise or OEM edition only)
- AIX/PowerPC 64-bit (Business, Enterprise or OEM edition only)

Custom builds are available in Enterprise Edition:

http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
--
http://mail.python.org/mailman/listinfo/python-list


ANN: ActivePython 2.6.5.14 is now available

2010-07-08 Thread Sridhar Ratnakumar
We are pleased to announce the availability of ActivePython 2.6.5.14.

http://www.activestate.com/activepython

This is a minor release with several bug fixes. As usual, it includes an 
updated Python Package Manager (PyPM) with updates to essential packages such 
as Distribute (a compatible fork of setuptools), virtualenv, pip and 
SQLAlchemy. See the release notes for full details:

http://docs.activestate.com/activepython/2.6/relnotes.html#changes


What is ActivePython?
-

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and AIX 
builds, and access to older versions are available in ActivePython Business, 
Enterprise and OEM editions:

http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib and 
bzip2 for data compression, the Berkeley DB (bsddb) and SQLite (sqlite3) 
database libraries, OpenSSL bindings for HTTPS support, the Tix GUI widgets for 
Tkinter, ElementTree for XML processing, ctypes (on supported platforms) for 
low-level library access, and others. The Windows distribution ships with 
PyWin32 -- a suite of Windows tools developed by Mark Hammond, including 
bindings to the Win32 API and Windows COM.

ActivePython 2.6 and 2.7 also include a binary package manager for Python 
(PyPM) that can be used to install packages much easily. For example:

  C:\>pypm install mysql-python
  [...]

  C:\>python
  >>> import MySQLdb
  >>>

See this page for full details:

http://docs.activestate.com/activepython/2.6/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new and 
experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the "What's New in Python" series, "Dive into Python", 
the Python FAQs & HOWTOs, and the Python Enhancement Proposals (PEPs).

An online version of the docs can be found here:

http://docs.activestate.com/activepython/2.6/

We would welcome any and all feedback to:

[email protected]

Please file bugs against ActivePython at:

http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

On what platforms does ActivePython run?


ActivePython includes installers for the following platforms:

- Windows/x86
- Windows/x64 (aka "AMD64")
- Mac OS X
- Linux/x86
- Linux/x86_64 (aka "AMD64")
- Solaris/SPARC (Business, Enterprise or OEM edition only)
- Solaris/x86 (Business, Enterprise or OEM edition only)
- HP-UX/PA-RISC (Business, Enterprise or OEM edition only)
- HP-UX/IA-64 (Enterprise or OEM edition only)
- AIX/PowerPC (Business, Enterprise or OEM edition only)
- AIX/PowerPC 64-bit (Business, Enterprise or OEM edition only)

Custom builds are available in Enterprise Edition:

http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
-- 
http://mail.python.org/mailman/listinfo/python-list


ANN: ActivePython 3.1.0.1 is now available

2009-06-30 Thread Sridhar Ratnakumar

I'm happy to announce that ActivePython 3.1.0.1 is now available for
download from:

http://www.activestate.com/activepython/python3/

This is a major release that updates ActivePython3 to core Python 3.1.


What is ActivePython?
-

ActivePython is ActiveState's binary distribution of Python. Builds
for Windows, Mac OS X, Linux, HP-UX and AIX are made freely available.

ActivePython includes the Python core and the many core extensions:
zlib and bzip2 for data compression, the Berkeley DB (bsddb) and
SQLite (sqlite3) database libraries, OpenSSL bindings for HTTPS
support, the Tix GUI widgets for Tkinter, ElementTree for XML
processing, ctypes (on supported platforms) for low-level library
access, and others. The Windows distribution ships with PyWin32 -- a
suite of Windows tools developed by Mark Hammond, including bindings
to the Win32 API and Windows COM. See this page for full details:

http://docs.activestate.com/activepython/3.1/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both
new and experienced Python programmers. In addition to the core Python
docs, ActivePython includes the "What's New in Python" series, "Dive
into Python", the Python FAQs & HOWTOs, and the Python Enhancement
Proposals (PEPs).

An online version of the docs can be found here:

http://docs.activestate.com/activepython/3.1/

We would welcome any and all feedback to:

[email protected]

Please file bugs against ActivePython at:

http://bugs.activestate.com/query.cgi?set_product=ActivePython


On what platforms does ActivePython run?


ActivePython includes installers for the following platforms:

- Windows/x86
- Windows/x64 (aka "AMD64")
- Mac OS X
- Linux/x86
- Linux/x86_64 (aka "AMD64")


Extra Bits
--

ActivePython releases also include the following:

- ActivePython31.chm: An MS compiled help collection of the full
  ActivePython documentation set. Linux users of applications such as
  xCHM might find this useful. This package is installed by default on
  Windows.

Extra bits are available from:

http://downloads.activestate.com/ActivePython/etc/


Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
--
http://mail.python.org/mailman/listinfo/python-list


ANN: ActivePython 3.1.1.2 is now available

2009-08-26 Thread Sridhar Ratnakumar

I'm happy to announce that ActivePython 3.1.1.2 is now available for
download from:

  http://www.activestate.com/activepython/python3/

This is a patch release that updates ActivePython to core Python 3.1.1
We recommend that you try 2.6 version first. See the release notes for
full details:

  http://docs.activestate.com/activepython/3.1/relnotes.html


What is ActivePython?
-

ActivePython is ActiveState's binary distribution of Python. Builds
for Windows, Mac OS X, Linux, HP-UX and AIX are made freely available.

ActivePython includes the Python core and the many core extensions:
zlib and bzip2 for data compression, the Berkeley DB (bsddb) and
SQLite (sqlite3) database libraries, OpenSSL bindings for HTTPS
support, the Tix GUI widgets for Tkinter, ElementTree for XML
processing, ctypes (on supported platforms) for low-level library
access, and others. The Windows distribution ships with PyWin32 -- a
suite of Windows tools developed by Mark Hammond, including bindings
to the Win32 API and Windows COM. See this page for full details:

  http://docs.activestate.com/activepython/3.1/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both
new and experienced Python programmers. In addition to the core Python
docs, ActivePython includes the "What's New in Python" series, "Dive
into Python", the Python FAQs & HOWTOs, and the Python Enhancement
Proposals (PEPs).

An online version of the docs can be found here:

  http://docs.activestate.com/activepython/

We would welcome any and all feedback to:

  [email protected]

Please file bugs against ActivePython at:

  http://bugs.activestate.com/query.cgi?set_product=ActivePython


On what platforms does ActivePython run?


ActivePython includes installers for the following platforms:

- Windows/x86
- Windows/x64 (aka "AMD64")
- Mac OS X
- Linux/x86
- Linux/x86_64 (aka "AMD64")
- Solaris/SPARC
- Solaris/x86
- HP-UX/PA-RISC
- AIX/PowerPC
- AIX/PowerPC64


Extra Bits
--

ActivePython releases also include the following:

- ActivePythonXY.chm: An MS compiled help collection of the full
ActivePython documentation set. Linux users of applications such as
xCHM might find this useful. This package is installed by default on
Windows.

Extra bits are available from:

  http://downloads.activestate.com/ActivePython/etc/


Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
--
http://mail.python.org/mailman/listinfo/python-list


ANN: ActivePython 2.6.6.15 is now available

2010-08-27 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 2.6.6.15, a complete, 
ready-to-install binary distribution of Python 2.6.6.


http://www.activestate.com/activepython

What's New in ActivePython-2.6.6.15
===

*Release date: 25-Aug-2010*

New Features & Upgrades
---

- Upgrade to Python 2.6.6 (`release notes 
<http://www.python.org/download/releases/2.6.6/NEWS.txt>`__)

- Security upgrade to openssl-0.9.8o
- [MacOSX] 64-bit support (PPC and 10.4 are no longer supported)
- Upgrade to PyPM 1.1.1; noteworthy changes:

  - Custom config file support w/ new repository settings (-R free,be 
instead of

-L)
  - Support for installing a local package, eg: ``pypm install
/path/to/foo.pypm``
  - Bug #87687: Prevent partial downloading of repo index cache

- Upgraded the following packages:

  - Distribute-0.6.14
  - pip-0.8
  - SQLAlchemy-0.6.3

Noteworthy Changes & Bug Fixes
--

- [MacOSX] Fix Help index on Snow Leopard (10.6) - Bug #87290
- [Windows] Add file extension to Tools\scripts\2to3.py - Bug #87465


What's New in ActivePython-2.6.5.14
===

*Release date: 07-Jul-2010*

New Features & Upgrades
---

- Upgrade to PyPM 1.0.2

  - 'pypm search' now also shows if a package is installed and upgradeable
  - 'pypm info' now prints a concise representation by default
  - 'pypm list --short' will show only packages names; for scripting 
purposes

  - Respect distutils install schemes (purelib, scripts)


Noteworthy Changes & Bug Fixes
--

- [MacOSX] Fix /usr/local/bin symlinks to not use the 'Current' symlink
- [MacOSX] Fix uninstall on Snow Leopard (10.6)
- [Windows] Include IDLE in the Start Menu shortcut, instead of PythonWin


See the release notes for full details:

http://docs.activestate.com/activepython/2.6/relnotes.html#changes


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and 
AIX builds, and access to older versions are available in ActivePython 
Business, Enterprise and OEM editions:


http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib 
and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite 
(sqlite3) database libraries, OpenSSL bindings for HTTPS support, the 
Tix GUI widgets for Tkinter, ElementTree for XML processing, ctypes (on 
supported platforms) for low-level library access, and others. The 
Windows distribution ships with PyWin32 -- a suite of Windows tools 
developed by Mark Hammond, including bindings to the Win32 API and 
Windows COM.


ActivePython 2.6 and 2.7 also include a binary package manager for 
Python (PyPM) that can be used to install packages much easily. For example:


  C:\>pypm install mysql-python
  [...]

  C:\>python
  >>> import MySQLdb
  >>>

See this page for full details:

http://docs.activestate.com/activepython/2.6/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new 
and experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the "What's New in Python" series, "Dive into 
Python", the Python FAQs & HOWTOs, and the Python Enhancement Proposals 
(PEPs).


An online version of the docs can be found here:

http://docs.activestate.com/activepython/2.6/

We would welcome any and all feedback to:

[email protected]

Please file bugs against ActivePython at:

http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows/x86   (32-bit)
- Windows/x64   (64-bit) (aka "AMD64")
- Mac OS X
- Linux/x86 (32-bit)
- Linux/x86_64  (64-bit) (aka "AMD64")

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)
- Solaris/x86   (32-bit)(Business, Enterprise or OEM edition 
only)
- HP-UX/PA-RISC (32-bit)(Business, Enterprise or OEM edition 
only)

- HP-UX/IA-64   (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC   (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)


More information about the Business Edition can be found here:

http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
--
http://mail.python.org/mailman/listinfo/python-list


ANN: ActivePython 2.7.0.2 is now available

2010-08-27 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 2.7.0.2, a complete, 
ready-to-install binary distribution of Python 2.7.


http://www.activestate.com/activepython

What's New in ActivePython-2.7.0.2
==

*Release date: 25-Aug-2010*

New Features & Upgrades
---

- Security upgrade to openssl-0.9.8o
- Upgrade to PyPM 1.1.1; noteworthy changes:

  - Custom config file support w/ new repository settings (-R free,be 
instead of

-L)
  - Support for installing a local package, eg: ``pypm install
/path/to/foo.pypm``
  - Bug #87687: Prevent partial downloading of repo index cache

- Upgraded the following packages:

  - Distribute-0.6.14
  - pip-0.8
  - SQLAlchemy-0.6.3


Noteworthy Changes & Bug Fixes
--

- [MacOSX] Fix Help index on Snow Leopard (10.6) - Bug #87290
- [Windows] Add file extension to Tools\scripts\2to3.py - Bug #87465


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and 
AIX builds, and access to older versions are available in ActivePython 
Business, Enterprise and OEM editions:


http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib 
and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite 
(sqlite3) database libraries, OpenSSL bindings for HTTPS support, the 
Tix GUI widgets for Tkinter, ElementTree for XML processing, ctypes (on 
supported platforms) for low-level library access, and others. The 
Windows distribution ships with PyWin32 -- a suite of Windows tools 
developed by Mark Hammond, including bindings to the Win32 API and 
Windows COM.


ActivePython 2.6 and 2.7 also include a binary package manager for 
Python (PyPM) that can be used to install packages much easily. For example:


  C:\>pypm install mysql-python
  [...]

  C:\>python
  >>> import MySQLdb
  >>>

See this page for full details:

http://docs.activestate.com/activepython/2.7/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new 
and experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the "What's New in Python" series, "Dive into 
Python", the Python FAQs & HOWTOs, and the Python Enhancement Proposals 
(PEPs).


An online version of the docs can be found here:

http://docs.activestate.com/activepython/2.7/

We would welcome any and all feedback to:

[email protected]

Please file bugs against ActivePython at:

http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows/x86   (32-bit)
- Windows/x64   (64-bit) (aka "AMD64")
- Mac OS X
- Linux/x86 (32-bit)
- Linux/x86_64  (64-bit) (aka "AMD64")

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)
- Solaris/x86   (32-bit)(Business, Enterprise or OEM edition 
only)
- HP-UX/PA-RISC (32-bit)(Business, Enterprise or OEM edition 
only)

- HP-UX/IA-64   (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC   (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)


More information about the Business Edition can be found here:

http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
--
http://mail.python.org/mailman/listinfo/python-list


python27.exe vs python2.7.exe ...

2010-09-14 Thread Sridhar Ratnakumar
Hi,

As you may already know, ActivePython provides versioned Python executables 
that makes it possible to invoke a particular X.Y version from the command line 
directly if you have multiple Python versions on PATH. Eg:

   C:\Python27\python26.exe
   C:\Python27\python27.exe
   C:\Python31\python31.exe

In the upcoming releases, we are considering to change this format to match the 
unix executables (with a 'dot' in it). Eg:

   C:\Python27\python2.6.exe
   C:\Python27\python2.7.exe
   C:\Python31\python3.1.exe

The idea is to be able to invoke "python2.7 myscript.py" on both Unix and 
Windows.

Thoughts?

Because there is bin/python3 on unix (to separate it from the default 2.x 
interpreter) - it is perhaps a good idea to have "C:\Python31\python3.exe" as 
well.

-srid

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


Re: Python 2.6 & bsddb

2010-09-21 Thread Sridhar Ratnakumar

On 2010-09-21, at 9:04 AM, garyr wrote:

> I recently installed ActivePython 2.6.6 and my programs that use anydbm or 
> shelve generate import errors because bsddb is missing. I installed bsddb3 
> (bsddb3-5.0.0.win32-py2.6.exe) but that didn't change anything. What more do 
> I need to do?

You may have to change the imports. Maybe from "import bsddb" to "import 
bsddb3". The API may be different. Read the bsddb3 documentation.

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


Re: strange results from sys.version

2010-09-27 Thread Sridhar Ratnakumar

On 2010-09-27, at 4:30 PM, Robert Kern wrote:

> On 9/27/10 6:01 PM, John Machin wrote:
>> I am trying to help a user of my xlrd package who says he is getting 
>> anomalous
>> results on his "work computer" but not on his "home computer".
>> 
>> Attempts to reproduce his alleged problem in a verifiable manner on his "work
>> computer" have failed, so far ... the only meaning difference in script 
>> output
>> is in sys.version
>> 
>> User (work): sys.version: 2.7 (r27:82500, Aug 23 2010, 17:18:21) etc
>> Me : sys.version: 2.7 (r27:82525, Jul 4 2010, 09:01:59) etc
>> 
>> I have just now downloaded the Windows x86 msi from www.python.org and
>> reinstalled it on another computer. It gives the same result as on my primary
>> computer (above).
>> 
>> User result looks whacked: lower patch number, later date. www.python.org 
>> says
>> "Python 2.7 was released on July 3rd, 2010."
>> 
>> Is it possible that the "work computer" is using an unofficial release? What
>> other possibilities are there?
> 
> ActivePython 2.7.0.2 was released on Aug 25:
> 
> http://downloads.activestate.com/ActivePython/releases/2.7.0.2/

John,

If it is ActivePython, the first line of the interactive shell (in credits 
section) should print something like:

  ActivePython 2.7.0.2 (ActiveState Software Inc.) 

Also what is the output of "python -m activestate"?

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


Re: strange results from sys.version

2010-09-27 Thread Sridhar Ratnakumar

On 2010-09-27, at 4:01 PM, John Machin wrote:

> User (work): sys.version: 2.7 (r27:82500, Aug 23 2010, 17:18:21) etc
> Me : sys.version: 2.7 (r27:82525, Jul  4 2010, 09:01:59) etc
> 
> [...] User result looks whacked: lower patch number, later date

Perusing http://svn.python.org/view/python/branches/release27-maint/?view=log - 
the difference in svn versions (there is no difference in patch number) seems 
insignificant. Both revisions are past the 2.7 final release. Perhaps, the 
python.org installer was created using a later revision.

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


Re: bzr 2.2.1 released !

2010-09-29 Thread Sridhar Ratnakumar
Hi,

It seems that you forgot to update PyPI - which lists 2.1.0rc1 as the latest 
version.

-srid

On 2010-09-28, at 7:20 AM, Vincent Ladeuil wrote:

> The Bazaar team is happy to announce availability of a new
> release of the bzr adaptive version control system.
> Bazaar is part of the GNU system .
> 
> This is a bugfix release which also includes bugfixes from 2.0.6 and
> 2.1.3. None are critical, but upgrading is recommended for all users on
> earlier 2.2 releases.
> 
> Thanks to everyone who contributed patches, suggestions, and
> feedback.
> 
> Bazaar is now available for download from
> 
>  https://launchpad.net/bzr/2.2/2.2.1/
> 
> as a source tarball. Packages are already available for Ubuntu, FreeBSD
> and others. Installers are available for OSX, windows installers should
> be available Really Soon Now (watch the url above where they should pop
> up as soon as they become available).
> 
> bzr 2.2.1
> #
> 
> :2.2.1: 2010-09-17
> 
> This is a bugfix release which also includes bugfixes from 2.0.6 and
> 2.1.3. None are critical, but upgrading is recommended for all users on
> earlier 2.2 releases.
> 
> Bug Fixes
> *
> 
> * Additional merges after an unrelated branch has been merged with its
>  history no longer crash when deleted files are involved.
>  (Vincent Ladeuil, John Arbash Meinel, #375898)
> 
> * ``bzr add SYMLINK/FILE`` now works properly when the symlink points to a
>  previously-unversioned directory within the tree: the directory is
>  marked versioned too.
>  (Martin Pool, #192859)
> 
> * ``bzr commit SYMLINK`` now works, rather than trying to commit the
>  target of the symlink.
>  (Martin Pool, John Arbash Meinel, #128562)
> 
> * ``bzr upgrade`` now creates the ``backup.bzr`` directory with the same
>  permissions as ``.bzr`` directory on a POSIX OS.
>  (Parth Malwankar, #262450)
> 
> * CommitBuilder now uses the committer instead of _config.username to generate
>  the revision-id. (Aaron Bentley, #614404)
> 
> * Configuration files in ``${BZR_HOME}`` are now written in an atomic
>  way which should help avoid problems with concurrent writers.
>  (Vincent Ladeuil, #525571)
> 
> * Cope with Microsoft FTP server that returns reply '250 Directory
>  created' when mkdir succeeds. (Martin Pool, #224373)
> 
> * Don't traceback trying to unversion children files of an already
>  unversioned directory. (Vincent Ladeuil, #494221)
> 
> * Don't traceback when a lockdir's ``held/info`` file is corrupt (e.g.
>  contains only NUL bytes). Instead warn the user, and allow ``bzr
>  break-lock`` to remove it. (Andrew Bennetts, #619872)
> 
> * Fix ``AttributeError on parent.children`` when adding a file under a
>  directory that was a symlink in the previous commit.
>  (Martin Pool, #192859)
> 
> * Fix ``AttributeError: 'NoneType' object has no attribute 'close'`` in
>  ``_close_ssh_proc`` when using ``bzr+ssh://``. This was causing
>  connections to pre-1.6 bzr+ssh servers to fail, and causing warnings on
>  stderr in some other circumstances. (Andrew Bennetts, #633745)
> 
> * Only call ``setlocale`` in the bzr startup script on posix systems. This
>  avoids an issue with the newer windows C runtimes used by Python 2.6 and
>  later which can mangle bytestrings printed to the console.
>  (Martin [gz], #631350)
> 
> * Prevent ``CHKMap.apply_delta`` from generating non-canonical CHK maps,
>  which can result in "missing referenced chk root keys" errors when
>  fetching from repositories with affected revisions.
>  (Andrew Bennetts, #522637)
> 
> * Raise ValueError instead of a string exception.
>  (John Arbash Meinel, #586926)
> 
> * Reduce peak memory by one copy of compressed text.
>  (John Arbash Meinel, #566940)
> 
> * Repositories accessed via a smart server now reject being stacked on a
>  repository in an incompatible format, as is the case when accessing them
>  via other methods. This was causing fetches from those repositories via
>  a smart server (e.g. using ``bzr branch``) to receive invalid data.
>  (Andrew Bennetts, #562380)
> 
> * Selftest with versions of subunit that support ``stopTestRun`` will no 
> longer
>  error. This error was caused by 2.0 not being updated when upstream
>  python merged the end of run patch, which chose ``stopTestRun`` rather than
>  ``done``. (Robert Collins, #571437)
> 
> * Stop ``AttributeError: 'module' object has no attribute 'ElementTree'``
>  being thrown from ``xml_serializer`` on certain cElementTree setups.
>  (Martin [gz], #254278)
> 
> * Upgrading or fetching from a non-rich-root repository to a rich-root
>  repository (e.g. from pack-0.92 to 2a) no longer fails with
>  ``'Inter1and2Helper' object has no attribute 'source_repo'``. This was
>  a regression from Bazaar 2.1. (Andrew Bennetts, #636930)
> 
> * When passing a file to ``UTF8DirReader`` make sure to close the current
>  directory file handle after the chdir fails. Otherwise when passing many
>  filenames into a command line ``bzr status`` we would leak descr

Re: Starting Python in XP Pro

2010-10-19 Thread Sridhar Ratnakumar
Hi Grant,

Typing the following opens IDLE (albeit after a short delay; the command will 
immediately return regardless) for me:

  C:\> C:\Python26\lib\idlelib\idle.bat

IDLE is also installed in the Start Menu for ActivePython.

You need at least ActivePython 2.6.6.15 or 2.7.0.2 for this to work.

-srid

On 2010-10-19, at 12:06 PM, Grant Andrew wrote:

> 1. Okay, I can open the interpreter and do math.  If only I needed the answer 
> to 6*7 I'd be great.  But, to your point, Python is installed and working.
> 
> 2.  When I went to the shortcut and hit properties, the path was 
> 
> Target: C:\Python26\Lib\idlelib\idle.bat
> Start in: C:\Python26\
> 
> I cd'd to C:\Python26\ at the command prompt and ran Lib\idlelib\idle.bat.
> 
> It just reprints C:\Python26\ with no error or message.  Looks like this:
> 
> C:\Python26>Lib\idlelib\idle.bat
> C:\Python26>
> 
> 3.  I created a simple file in Wordpad that prints a few lines.  It is called 
> Print.py but I'm not sure where the 'code' folder is.  I'm not familiar 
> enough with Python to locate a file from the Interpreter and open it.  
> 
> 4.  I also tried editing the PATH variable, which did have both versions in 
> it, but with no success - same error.  
> 
> 
> Thanks for your help...
> 
> Grant
> 
> 
> On Sun, Oct 17, 2010 at 4:17 AM, Dave Angel  wrote:
>  On 10/16/2010 11:27 PM, Grant Andrew wrote:
> I hear that...God knows if I had a more complete question, I'd type it -
> basically, when I click the IDLE GUI icon from the Start Menu, there is a
> flash of a command prompt loading, then nothing happens.
> 
> I've tried a number of things at the command prompt over the last two weeks
> and five versions.  I went to ActiveState because I was thinking I had not
> configured something properly in the Python.org versions, however, the
> behavior is the same.
> 
> I ran C:\>C:\python26\lib\idlelib\idle.py at the command prompt and that
> returned:
> 
> 
> 
> You probably need to start with fundamentals.  That means using a command 
> prompt.  As you've noticed, many times a program started from the start menu 
> doesn't leave its command window open long enough to read the messages.
> 
> I'm afraid I can't really help with Idle;  I've never tried using it, till 
> today.  When I start if from ActiveState's menu, it flashes and exits for me 
> as well.  Perhaps because we both have Thinkpads.  I notice the IBMTools 
> directory in your traceback.  Perhaps there's an old version of TCL there 
> that's interfering with the one Idle needs.  To start debugging it, figure 
> out what the menu shortcut is doing, and do it yourself from a command 
> window.  In my case,  StartIdle-right-click->properties->shortcut shows me:
> 
> Target  C:\Progfiles\ActivePython26\Lib\idlelib\idle.bat
> Start in:  c:\progfiles\activePython26
> 
> So you CD to the latter directory (or rather, to your equivalent one), and 
> type lib\idlelib\idle.bat
> 
> When I do that, I get an error message: "IDLE's subprocess didn't make 
> connection.  Either IDLE can't start a subprocess or personal firewall 
> software is blocking."
> 
> But let's get your python itself working.  ActivePython's install adds itself 
> to your path, so you should be able to just type
> python
>  or   python26
> 
> at the C: prompt, and get a Python interpreter prompt.  Then do something like
> >>> print 3*4
> 
> to see if it's working.
> 
> Next, write a small xxx.py  program, in your code directory, and NOT in the 
> Python install directory.  From that code directory, type
> python  xxx.py
> 
> or whatever you called it.  Let us know if it works.
> 
> Only then should you worry about associations.  You can check them with assoc 
> and ftype, but people tell me that's not reliable if there is more than one 
> user on the machine, or specifically if you have created user-specific 
> associations, which take precedence over the ones in assoc and ftype.
> 
> DaveA
> 
> 
> 
> -- 
> http://mail.python.org/mailman/listinfo/python-list

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


ANN: ActivePython 3.1.2.4 (with PyPM) is now available

2010-10-27 Thread Sridhar Ratnakumar
ActiveState is pleased to announce ActivePython 3.1.2.4, a complete, 
ready-to-install binary distribution of Python 3.1. A major update in 
this release is that PyPM (ActiveState's Python Package Manager) is now 
included with full support for installing Python 3 packages.


http://www.activestate.com/activepython

What's New in ActivePython-3.1.2.4
==

*Release date: 26-Oct-2010*

New Features & Upgrades
---

- PyPM (beta) for Python 3
- New tools: Distribute, virtualenv5, SQLAlchemy
- [Windows] Installer upgrade: automatically uninstall previous versions 
- Bug #87783

- [MacOSX] 64-bit support; uses Tcl/Tk 8.5
- [Linux] Include Tcl/Tk development files
- Security upgrade to openssl-0.9.8o

Noteworthy Changes & Bug Fixes
--

- [Windows] Include IDLE in the Start Menu shortcut, instead of PythonWin
- [Windows] Add file extension to Tools\scripts\2to3.py - Bug #87465
- [Windows] Add "python3.exe" - Bug #87275
- [Windows] Renamed "python31.exe" to "python3.1.exe" (Unix like)
- [MacOSX] Fix uninstall on Snow Leopard (10.6)
- [MacOSX] Fix Help index on Snow Leopard (10.6) - Bug #87290
- Bug #87600: create a `idleX.Y` script on unix


What is ActivePython?
=

ActivePython is ActiveState's binary distribution of Python. Builds for 
Windows, Mac OS X, Linux are made freely available. Solaris, HP-UX and 
AIX builds, and access to older versions are available in ActivePython 
Business, Enterprise and OEM editions:


http://www.activestate.com/python

ActivePython includes the Python core and the many core extensions: zlib 
and bzip2 for data compression, the Berkeley DB (bsddb) and SQLite 
(sqlite3) database libraries, OpenSSL bindings for HTTPS support, the 
Tix GUI widgets for Tkinter, ElementTree for XML processing, ctypes (on 
supported platforms) for low-level library access, and others. The 
Windows distribution ships with PyWin32 -- a suite of Windows tools 
developed by Mark Hammond, including bindings to the Win32 API and 
Windows COM.


ActivePython 2.6, 2.7 and 3.1 also include a binary package manager for 
Python (PyPM) that can be used to install packages much easily. For example:


  C:\>pypm install mysql-python
  [...]

  C:\>python
  >>> import MySQLdb
  >>>

See this page for full details:

http://docs.activestate.com/activepython/3.1/whatsincluded.html

As well, ActivePython ships with a wealth of documentation for both new 
and experienced Python programmers. In addition to the core Python docs, 
ActivePython includes the "What's New in Python" series, "Dive into 
Python", the Python FAQs & HOWTOs, and the Python Enhancement Proposals 
(PEPs).


An online version of the docs can be found here:

http://docs.activestate.com/activepython/3.1/

We would welcome any and all feedback to:

[email protected]

Please file bugs against ActivePython at:

http://bugs.activestate.com/enter_bug.cgi?product=ActivePython

Supported Platforms
===

ActivePython is available for the following platforms:

- Windows/x86   (32-bit)
- Windows/x64   (64-bit) (aka "AMD64")
- Mac OS X  (32-bit and 64-bit; 10.5+)
- Linux/x86 (32-bit)
- Linux/x86_64  (64-bit) (aka "AMD64")

- Solaris/SPARC (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)
- Solaris/x86   (32-bit)(Business, Enterprise or OEM edition 
only)
- HP-UX/PA-RISC (32-bit)(Business, Enterprise or OEM edition 
only)

- HP-UX/IA-64   (32-bit and 64-bit) (Enterprise or OEM edition only)
- AIX/PowerPC   (32-bit and 64-bit) (Business, Enterprise or OEM edition 
only)


More information about the Business Edition can be found here:

http://www.activestate.com/business-edition

Custom builds are available in the Enterprise Edition:

http://www.activestate.com/enterprise-edition

Thanks, and enjoy!

The Python Team

--
Sridhar Ratnakumar
sridharr at activestate.com
--
http://mail.python.org/mailman/listinfo/python-list


Re: ANN: ActivePython 3.1.2.4 (with PyPM) is now available

2010-10-27 Thread Sridhar Ratnakumar

On 2010-10-27, at 11:39 AM, John Nagle wrote:

> On 10/27/2010 11:26 AM, Sridhar Ratnakumar wrote:
>> ActiveState is pleased to announce ActivePython 3.1.2.4, a complete,
>> ready-to-install binary distribution of Python 3.1
> ...
> 
>> New Features & Upgrades
> 
>> - [Windows] Installer upgrade: automatically uninstall previous versions
>> - Bug #87783
> 
> 
> Does this mean it trashes installations of previous versions? Or can
> multiple versions coexist?

Only if that "previous version" is a patch-level release. For example, 
ActivePython 3.1.2.4 will uninstall the following:

  3.1.2.3
  3.1.1.2

but not the following (which can, of course, co-exist):

  3.0.x.y
  2.7.x.y
  2.6.x.y
 ...

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


Re: Making ActivePython and Python co-exist on Windows

2010-11-08 Thread Sridhar Ratnakumar

On 2010-11-07, at 12:34 PM, Benjamin Kaplan wrote:

> On Sun, Nov 7, 2010 at 2:25 PM, CWC  wrote:
>> I'm new to Python.  Is it possible to make ActivePython 3.12 and
>> Python 3.12 co-exist on Windows?  I've got an app which requires the
>> former, but I want to stay with the latter, since I'm interested in
>> getting into development.  The main area of collision appears to be
>> the Registry.
>> --
> 
> ActivePython is the same thing as the "normal" Python. They just
> bundle the standard Python 3.1.2 distribution with a couple of extra
> packages in a convenient installer for you.

Yup. And as the documentation details, 
http://docs.activestate.com/activepython/3.1/whatsincluded.html
ActivePython includes PyWin32, Tkinter based on Tk 8.5 ... and PyPM for easy 
package management,
http://code.activestate.com/pypm/

-srid

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


Question regarding python migration

2010-10-13 Thread Pramod Thirthachar Sridhar
Hi,



We have a Python based test framework which is being used in various projects.



Our current environment is

Python (ver 2.5.1)

wxPython (wxPython2.8-win32-ansi-2.8.6.0-py25)

pywin32-210.win32-py2.5

vcredist_x86.exe

pyserial-2.2



Our Framework is being currently used in Windows XP.



The issue is:

Soon our environment will be migrated from Windows XP to Windows 7.

In this regard, I would be in need of suggestions/ideas/information regarding 
migration of our existing framework into windows 7 environment.



Do i need to migrate our framework from Python 2.5 to either Python 2.6 or 
directly to Python 3.0 ? What happens to all supporting packages..etc



Which is the best way ?



We tried out of some option of using our framework under virtual xp context of 
windows 7.Thou it works for timebeing,i am not interested to having the same as 
kind of way of working for future.



Please help



Many thanks in advance



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


Question regarding python migration

2010-10-13 Thread Pramod Thirthachar Sridhar
Hi,



We have a Python based test framework which is being used in various projects.



Our current environment is

Python (ver 2.5.1)

wxPython (wxPython2.8-win32-ansi-2.8.6.0-py25)

pywin32-210.win32-py2.5

vcredist_x86.exe

pyserial-2.2



Our Framework is being currently used in Windows XP.



The issue is:

Soon our environment will be migrated from Windows XP to Windows 7.

In this regard, I would be in need of suggestions/ideas/information regarding 
migration of our existing framework into windows 7 environment.



Do i need to migrate our framework from Python 2.5 to either Python 2.6 or 
directly to Python 3.0 ? What happens to all supporting packages..etc



Which is the best way ?



We tried out of some option of using our framework under virtual xp context of 
windows 7.Thou it works for timebeing,i am not interested to having the same as 
kind of way of working for future.



Please help



Many thanks in advance



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