Re: PHP Developer highly interested in Python (web development) with some open questions...

2008-02-24 Thread Paul Boddie
On 24 Feb, 14:33, Tamer Higazi <[EMAIL PROTECTED]> wrote: > > Not true! you can disassemble the app and then have fun reading, not > that easy. I simply want that nobody reads the "sourcecode" or better > said the content of the python files I would have generated. Some quick answers: http://wiki

Re: [ANN] Shed Skin (restricted) Python-to-C++ compiler 0.0.27

2008-02-24 Thread Mark Dufour
Of course I forgot to add the URL: http://shedskin.googlecode.com Mark Dufour. -- "One of my most productive days was throwing away 1000 lines of code" - Ken Thompson -- http://mail.python.org/mailman/listinfo/python-list

[ANN] Shed Skin (restricted) Python-to-C++ compiler 0.0.27

2008-02-24 Thread Mark Dufour
Hi all, I have just released Shed Skin 0.0.27. Thanks in large part to the GHOP students, this new release comes with some interesting new goodies: - support for 're', via libpcre (perl-compatible-regular-expressions) - support for 'time' (except for time.strptime under Windows) - basic support f

To PEAK or not to PEAK

2008-02-24 Thread Tzury Bar Yochay
I am about to start a large-scale enterprise project next month (I insist on using Python instead Java and .NET and I am sure `they` will thank me eventually). I was wondering around making my components-and-libraries-shopping- list and came across PEAK. My paranoia is that PEAK would make me writ

Re: iter(lambda:f.read(8192),'')

2008-02-24 Thread gert
aha ok got it :) -- http://mail.python.org/mailman/listinfo/python-list

Re: Official IRC channel for Python?

2008-02-24 Thread Steve Holden
Torsten Bronger wrote: > Hallöchen! > > Steve Holden writes: > >> js wrote: >> >>> Really? maybe I'm been blocked from it... thanks. >> Currently 479 users. > > I'd be nice if we could achieve some sort of network effect in > [EMAIL PROTECTED] I don't want to start a Jabber v. IRC > debate her

Re: advanced usage of python threads

2008-02-24 Thread Steve Holden
hyperboreean wrote: > Chris, I have already made my choice, I am asking just for a little help > with some documentation. > I know about twisted.enterprise.adbapi, but the company is working with > sqlalchemy at the time. > So please, I know you have good intentions but you're kind of not > help

Re: PHP Developer highly interested in Python (web development) with some open questions...

2008-02-24 Thread Tamer Higazi
Am Sonntag, den 24.02.2008, 13:44 +0100 schrieb Christian Heimes: > > Plone and Archetypes (based on Zope) have a tool named ArchGenXML. It > takes UML XMI files and generates content types, workflows and products > for the Plone CMS. I don't want workflows, I want the classes and methods genera

Re: ILeo (IPython-Leo bridge); a marriage made in heaven?

2008-02-24 Thread shakeeb . alireza
> Are you part of Leo? This smells like a marketing scheme to me. Actually this is an example of a beautiful collaboration between Edward (the progenitor of leo) and Ville (the ipython side). Fantastic and elegant stuff, which you have to try to appreciate. AK -- http://mail.python.org/mailman

Pydev/Eclipse: How to add filters for the navigator ?

2008-02-24 Thread Nebur
Running the latest version of pydev (1.3.13). I failed to figure out how to add a filter that excludes stuff like *.pyc from the file navigator. The "Filters..." dialogue allows to "Select All" and "Deselect All", but from an empty list :-( What's the trick ? Thanks ... -- http://mail.python.org/m

Re: PHP Developer highly interested in Python (web development) with some open questions...

2008-02-24 Thread Christian Heimes
Tamer Higazi wrote: > - What is the Zope Applikation Server? Is it also a Webserver like the > Apache or Tomcat Webserver? Zope is much more than a webserver. It's a web application server including a fast object database (ACID, support clustering and MVCC), a powerful plugin architecture, builtin

Re: graphing/plotting with python and interface builder

2008-02-24 Thread Diez B. Roggisch
Jacob Davis schrieb: > I found SM2DGraphView, but I guess that I am too much of a newbie with > interface builder and pyobjc to figure out how to get SM2DGraphView to > work. Are there any good tutorials (or better yet, examples) of how to > get SM2DGraphView to work? > > I don't know pyobjc w

Re: iter(lambda:f.read(8192),'')

2008-02-24 Thread Dustan
On Feb 24, 5:11 am, gert <[EMAIL PROTECTED]> wrote: > what is the difference between iter(lambda:f.read(8192), ') and > iter(f.read(8192),'') ? One does not work, and one is syntactically incorrect: >>> iter(f.read(8192),'') Traceback (most recent call last): File "", line 1, in iter(f.re

Re: Article of interest: Python pros/cons for the enterprise

2008-02-24 Thread Matthew Woodcraft
Jeff Schwab <[EMAIL PROTECTED]> wrote: > Matthew Woodcraft wrote: >> I see. Then, unless you don't care about data loss passing silently, >> this 'most traditional' way to open a file is unsuitable for files >> opened for writing. > No, why would you think so? If you want something special to ha

Re: n00b with urllib2: How to make it handle cookie automatically?

2008-02-24 Thread est
On Feb 23, 2:42 am, Rob Wolfe <[EMAIL PROTECTED]> wrote: > est <[EMAIL PROTECTED]> writes: > > Hi all, > > > I need urllib2 do perform series of HTTP requests with cookie from > > PREVIOUS request(like our browsers usually do ). Many people suggest I > > use some library(e.g. pycURL) instead but I

Re: Ruby with Netbeans question!

2008-02-24 Thread Steve
On Feb 24, 11:26 am, Steve <[EMAIL PROTECTED]> wrote: > Hi all > Hope I`m ok posting a Netbeans query here?. I`m trying to learn Ruby > using the Netbeans IDE. It seems a pretty slick application but I`m > wondering if its possible to run a prog without creating a `new > project` each time?. I just

Re: Ruby with Netbeans question!

2008-02-24 Thread Quentin Gallet-Gilles
Hi Steve, Considering this is a Python list, I doubt you'll get much help for something related to Netbeans and Ruby. You're better off asking questions on the proper list : http://www.netbeans.org/community/lists/ Quentin On Sun, Feb 24, 2008 at 12:26 PM, Steve <[EMAIL PROTECTED]> wrote: > Hi

Re: advanced usage of python threads

2008-02-24 Thread hyperboreean
Chris, I have already made my choice, I am asking just for a little help with some documentation. I know about twisted.enterprise.adbapi, but the company is working with sqlalchemy at the time. So please, I know you have good intentions but you're kind of not helping me :) Well, probably instead

Ruby with Netbeans question!

2008-02-24 Thread Steve
Hi all Hope I`m ok posting a Netbeans query here?. I`m trying to learn Ruby using the Netbeans IDE. It seems a pretty slick application but I`m wondering if its possible to run a prog without creating a `new project` each time?. I just want to be able to type in a few lines of code and run it but i

iter(lambda:f.read(8192),'')

2008-02-24 Thread gert
what is the difference between iter(lambda:f.read(8192), ') and iter(f.read(8192),'') ? -- http://mail.python.org/mailman/listinfo/python-list

Re: n00b with urllib2: How to make it handle cookie automatically?

2008-02-24 Thread est
On Feb 23, 5:57 am, 7stud <[EMAIL PROTECTED]> wrote: > On Feb 21, 11:50 pm, est <[EMAIL PROTECTED]> wrote: > > > Hi all, > > > I need urllib2 do perform series of HTTP requests with cookie from > > PREVIOUS request(like our browsers usually do ). > > Cookies from a previous request made in the curr

Re: PHP Developer highly interested in Python (web development) with some open questions...

2008-02-24 Thread MartinRinehart
re encryption I ran a small software company in the '80s. We did the unthinkable: shipped our software with a money-back guarantee. Anyone could buy the software, copy it and then request a full refund. Return rate: 0.5%. Of the returns we guessed that about half of them were for perfectly legit

Re: looking for open source simulink clone in python

2008-02-24 Thread Stef Mientki
[EMAIL PROTECTED] wrote: > Does anyone know of something like this? I've searched to no avail. > GNUradio companion is promising but tied to gnuradio. > not exactly, this is what I've found until now * Orange * Elefant

Re: Tkinter: Missing the last piece of the puzzle

2008-02-24 Thread MartinRinehart
Simon Forman wrote: > yes! check out http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/464635 > > HTH, > ~Simon Thanks, Simon. Looks like that will do it. Actually, it looks like that will overdo it. I'll be setting File/Save to enabled after every keystroke. Ideally, I'd like to set my s

Re: Article of interest: Python pros/cons for the enterprise

2008-02-24 Thread Arnaud Delobelle
On Feb 24, 8:08 am, Steven D'Aprano <[EMAIL PROTECTED] cybersource.com.au> wrote: > On Sat, 23 Feb 2008 19:45:45 -0800, Jeff Schwab wrote: > The second link is just bizarre. It claims that Python "does not have > nested, block variable scopes like I am accustomed to in nearly every > other programm

simpleparse - what is wrong with my grammar?

2008-02-24 Thread Laszlo Nagy
The program below gives me "segmentation fault (core dumped)". Environment: Linux gandalf-desktop 2.6.20-16-generic #2 SMP Tue Feb 12 05:41:34 UTC 2008 i686 GNU/Linux Python 2.5.1 What is wrong with my grammar? Can it be an internal error in simpleparse? Thanks, Laszlo from simplepa

Re: Official IRC channel for Python?

2008-02-24 Thread Torsten Bronger
Hallöchen! Steve Holden writes: > js wrote: > >> Really? maybe I'm been blocked from it... thanks. > > Currently 479 users. I'd be nice if we could achieve some sort of network effect in [EMAIL PROTECTED] I don't want to start a Jabber v. IRC debate here; I simply prefer it and maybe others do

Re: Article of interest: Python pros/cons for the enterprise

2008-02-24 Thread Steven D'Aprano
On Sat, 23 Feb 2008 19:45:45 -0800, Jeff Schwab wrote: > Paul Rubin wrote: >> Jeff Schwab <[EMAIL PROTECTED]> writes: >>> One great thing about C is that >>> a programmer can realistically hope to know the entire language >>> definition; maybe Guido would like the same to be true of Python. >> >>

Re: Return value of an assignment statement?

2008-02-24 Thread Marc 'BlackJack' Rintsch
On Sat, 23 Feb 2008 22:44:30 +, Tim Roberts wrote: > Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote: > >>On Fri, 22 Feb 2008 11:00:17 -0800, Aahz wrote: >> >>> It's just too convenient to be able to write >>> >>> L += ['foo'] >>> >>> without rebinding L. >> >>But ``+=`` does rebind. >

<    1   2