turbogears 1

2012-02-07 Thread anon hung
Hey guys, someone asked me to maintain his old website, trouble is,
it's in python, more trouble is it's in turbogears 1. I'm not fluent
in python but all right, I can learn, but this turbogears
thing..

First of all, is it still alive? Looks like turbogears 2 is the most
recent version but even that is being abandoned. Am I basically given
vaporware? Does anyone have any up to date info?

Best,
Hung

-- 
Viktor Orban Prime minister of Hungary
http://spreadingviktororban.weebly.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Komodo 7 release (Python development tools)

2012-02-08 Thread anon hung
>> My name is Todd. I'm the lead developer for Komodo IDE (Interactive
>> Development Environment) and Komodo Edit (a free, open-source editor) at
>> ActiveState. I wanted to announce that the newest version, Komodo 7, has
>> been released:
>
> This is a pretty good release announcement, but a few questions.
> ...
>  >http://www.activestate.com/komodo-ide/python-editor
>
> It would seem that the Professional Python Editor is the same as Komodo
> Edit, but it is unclear why only Python editing would be featured for
> Komodo IDE.
>
> http://www.activestate.com/komodo-edit
>
> is the page with the link people need to download just the editor.
>
> Does K.Edit let me run a program with one key, like F5 in IDLE?

AFAIK it sure does!

> If so, does it leave me in interactive mode (python -i) as IDLE does?

Hmmm, I don't know about that.

Best,
anonhung


-- 
http://spreadingviktororban.weebly.com";>Viktor Orban Prime
minister of Hungary
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: turbogears 1

2012-02-08 Thread anon hung
>> Hey guys, someone asked me to maintain his old website, trouble is,
>> it's in python, more trouble is it's in turbogears 1. I'm not fluent
>> in python but all right, I can learn, but this turbogears
>> thing..
>>
>> First of all, is it still alive? Looks like turbogears 2 is the most
>> recent version but even that is being abandoned.
>
> Yup, looks dead to me.  Hasn't had a release in almost 2 months or a
> commit to the GIT repo in 2 days.  Must be nailed to its perch or
> something.
>
> http://turbogears.org/en/current-status
> http://sourceforge.net/p/turbogears2/tg2/commit_browser

All right, what I got confused about is that they talk about pyramid
these days which will not be turbogears 2 based.

>> Am I basically given vaporware? Does anyone have any up to date info?
>
> Have you considered Ruby on Rails?

This is joke, right? :)

Best,
anonhung


-- 
Viktor Orban Prime minister of Hungary
http://spreadingviktororban.weebly.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: turbogears 1

2012-02-08 Thread anon hung
>>> Hey guys, someone asked me to maintain his old website, trouble is,
>>> it's in python, more trouble is it's in turbogears 1. I'm not fluent in
>>> python but all right, I can learn, but this turbogears thing..
>>>
>>> First of all, is it still alive? Looks like turbogears 2 is the most
>>> recent version but even that is being abandoned.
>>
>> Yup, looks dead to me.  Hasn't had a release in almost 2 months or a
>> commit to the GIT repo in 2 days.  Must be nailed to its perch or
>> something.
>>
>> http://turbogears.org/en/current-status
>> http://sourceforge.net/p/turbogears2/tg2/commit_browser
>
> Ohhh, sarcasm...
>
> To the original poster: what makes you think that Turbogears 2 is
> abandoned?

As I've said in another reply they keep talking about pyramid as if
that will be a totally new framework. I'm not saying I know things
definitely but surely my impression was that the team is out for
something new not based on turbogears 2.

>>> Am I basically given vaporware? Does anyone have any up to date info?
>>
>> Have you considered Ruby on Rails?
>
> Now that's just cruel.

Yep, it is :)

Best,
anonhung

-- 
Viktor Orban Prime minister of Hungary
http://spreadingviktororban.weebly.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Fwd: turbogears 1

2012-02-08 Thread anon hung
>>> Hey guys, someone asked me to maintain his old website, trouble is,
>>> it's in python, more trouble is it's in turbogears 1. I'm not fluent in
>>> python but all right, I can learn, but this turbogears thing..
>>>
>>> First of all, is it still alive? Looks like turbogears 2 is the most
>>> recent version but even that is being abandoned.
>>
>> Yup, looks dead to me.  Hasn't had a release in almost 2 months or a
>> commit to the GIT repo in 2 days.  Must be nailed to its perch or
>> something.
>>
>> http://turbogears.org/en/current-status
>> http://sourceforge.net/p/turbogears2/tg2/commit_browser
>
> Ohhh, sarcasm...
>
> To the original poster: what makes you think that Turbogears 2 is
> abandoned?

The development team keeps talking about pyramid which is supposed to
be a totally new framework. I don't pretend to understand the work
flow but surely they got me confused about switching gears (no pun
intended!).

>>> Am I basically given vaporware? Does anyone have any up to date info?
>>
>> Have you considered Ruby on Rails?
>
> Now that's just cruel.

Yep, it is :)

Best,
anonhung


-- 
Viktor Orban Prime minister of Hungary
http://spreadingviktororban.weebly.com



-- 
Viktor Orban Prime minister of Hungary
http://spreadingviktororban.weebly.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: standalone python web server

2012-02-08 Thread anon hung
>> I am building a small intranet website and I would like to use Python. I
>> was wondering if there was a easy and medium performance python based web
>> server available. I would like to run it on port :8080 since I wont have
>> root access also I prefer something easy to deploy meaning I would like
>> to
>> move the server from one physical host to another without too much fuss.
>>
>> Currently, I am using flask (development server) and everything is ok but
>> the performance is really bad.

How about cherrypy?

Best,
anonhung


-- 
Viktor Orban Prime minister of Hungary
http://spreadingviktororban.weebly.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: Issue with Scrapping Data from a webpage- Noob Question

2012-02-09 Thread anon hung
> Hi Fellow Pythoners,
>
> I'm trying to collect table data from an authenticated webpage (Tool) to
> which I have access.
>
> I will have the required data after 'click'ing a submit button on the tool
> homepage.
> When I inspect the submit button i see
> 
>
> Thus the tool's homepage is of the form www.example.com/Tool and on
> clicking the submit button the data I need will be at
> www.example.com/Tool/index.do
>
> The problem that I'm running into is in my below code is giving me the
> source of homepage(www.example.com/Tool) and not the of the submitted page(
> www.example.com/Tool/index.do)
>
> url="www.example.com/Tool/index.do"
> request = urllib2.Request(url, data, {'Authorization': "Basic " +
> base64.b64encode("%s:%s" % (username, password))})
> Response_Page=urllib2.urlopen(request).read()
>
> Is there a way I can access the source of the submitted page?
>
> PS: Sorry for laying out very tiny details on what I'm trying to do, I just
> wanted to explain myself clearly :)
>
> Thanks in advance for your time on this one.

Have you checked beautifulsoup?

Best,
anonhung


-- 
Viktor Orban Prime minister of Hungary
http://spreadingviktororban.weebly.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: frozendict

2012-02-09 Thread anon hung
> I've been trying for a few days (only a little bit at a time) to come up
> with a way of implementing a frozendict that doesn't suck. I'm gradually
> converging to a solution, but I can't help but think that there's some
> subtlety that I'm probably missing which is why it's not already provided.

The freezing temperature of typical dicts is around - 10 Celsius.

HTH,
anonhung

-- 
Viktor Orban Prime minister of Hungary
http://spreadingviktororban.weebly.com
-- 
http://mail.python.org/mailman/listinfo/python-list


Re: ANN: eGenix mxODBC Zope Database Adapter 2.0.2

2012-02-10 Thread anon hung
Thanks a bunch for the whole team!

Best,
anonhung

On 2/9/12, eGenix Team: M.-A. Lemburg  wrote:
> 
> ANNOUNCEMENT
>
>  mxODBC Zope Database Adapter
>
> Version 2.0.2
>
>  for Zope and the Plone CMS
>
> Available for Zope 2.10 and later on
> Windows, Linux, Mac OS X, FreeBSD and other platforms
>
> This announcement is also available on our web-site for online reading:
> http://www.egenix.com/company/news/eGenix-mxODBC-Zope-DA-2.0.2-GA.html
>
> 
> INTRODUCTION
>
> The eGenix mxODBC Zope Database Adapter allows you to easily connect
> your Zope or Plone installation to just about any database backend on
> the market today, giving you the reliability of the commercially
> supported eGenix product mxODBC and the flexibility of the ODBC
> standard as middle-tier architecture.
>
> The mxODBC Zope Database Adapter is highly portable, just like Zope
> itself and provides a high performance interface to all your ODBC data
> sources, using a single well-supported interface on Windows, Linux,
> Mac OS X, FreeBSD and other platforms.
>
> This makes it ideal for deployment in ZEO Clusters and Zope hosting
> environments where stability and high performance are a top priority,
> establishing an excellent basis and scalable solution for your Plone
> CMS.
>
> Product page:
>
> http://www.egenix.com/products/zope/mxODBCZopeDA/
>
> 
> NEWS
>
> We are pleased to announce a new version 2.0.2 of our mxODBC Zope DA
> product.
>
> With the patch level 2.0.2 release we have updated the integrated
> mxODBC Python Extension to the latest 3.1.1 release, which
> includes a number of important workarounds for these ODBC drivers:
>
>  * Oracle 10gR1 and 10gR2
>  * Oracle 11gR1 and 11gR2
>  * Teradata 13
>  * Netezza
>
> Due to popular demand, we have also added instructions on how to
> install mxODBC Zope DA 2.0 with Plone 4.1 and Zope 2.13 - even though
> this combination is not officially supported by the mxODBC Zope DA 2.0
> series:
>
> http://www.egenix.com/products/zope/mxODBCZopeDA/#Installation
>
> 
> UPGRADING
>
> Licenses purchased for version 2.0.x of the mxODBC Zope DA will continue
> to work with the 2.0.2 patch level release.
>
> Licenses purchased for version 1.0.x of the mxODBC Zope DA will not
> work with version 2.0. More information about available licenses
> is available on the product page:
>
> http://www.egenix.com/products/zope/mxODBCZopeDA/#Licensing
>
> Compared to the popular mxODBC Zope DA 1.0, version 2.0 offers
> these enhancements:
>
>  * Includes mxODBC 3.1 with updated support for many current ODBC
>drivers, giving you more portability and features for a wider
>range of database backends.
>
>  * Mac OS X 10.6 (Snow Leopard) support.
>
>  * Plone 3.2, 3.3, 4.0 support. Plone 4.1 works as well.
>
>  * Zope 2.10, 2.11, 2.12 support. Zope 2.13 works as well.
>
>  * Python 2.4 - 2.6 support.
>
>  * Zero maintenance support to automatically reconnect the
>Zope connection after a network or database problem.
>
>  * More flexible Unicode support with options to work with
>pure Unicode, plain strings or mixed setups - even for
>databases that don't support Unicode
>
>  * Automatic and transparent text encoding and decoding
>
>  * More flexible date/time support including options to work
>with Python datetime objects, mxDateTime, strings or tuples
>
>  * New decimal support to have the Zope DA return decimal
>column values using Python's decimal objects.
>
>  * Fully eggified to simplify easy_install and zc.buildout based
>installation
>
> 
> MORE INFORMATION
>
> For more information on the mxODBC Zope Database Adapter, licensing
> and download instructions, please visit our web-site:
>
> http://www.egenix.com/products/zope/mxODBCZopeDA/
>
> You can buy mxODBC Zope DA licenses online from the eGenix.com shop at:
>
> http://shop.egenix.com/
>
> 
>
> Thank you,
> --
> Marc-Andre Lemburg
> eGenix.com
>
> Professional Python Services directly from the Source  (#1, Feb 09 2012)
 Python/Zope Consulting and Support ...http://www.egenix.com/
 mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/
 mxODBC, mxDateTime, mxTextTools ...http://python.egenix.com/
> 
>
> ::: Try our new mxODBC.Connect Python Database Interface for free ! 
>
>
>eGenix.com Software, Skills and Services GmbH  Pastor-Loeh-Str.48
> D-40764 Langenfeld, Germany.