Re: [ANN] Lupa 0.6 - Lua in Python

2010-07-19 Thread Fabrizio Milo aka misto
This is very very interesting. Do you have any direct application of it ? I know games like World of Warcraft uses Lua as scripting language. Thanks. Fabrizio -- Luck favors the prepared mind. (Pasteur) -- http://mail.python.org/mailman/listinfo/python-list

Re: help I'm getting delimited

2008-12-18 Thread aka
> On Dec 18, 3:15 am, aka wrote: > Do you mean that this file was created by whatever.UnicodeWriter? If > so, did you just now discover this information? > How do you know that "the UnicodeWriter is functioning perfectly"? > What does "functioning perfectly mea

Re: help I'm getting delimited

2008-12-18 Thread aka
On 18 dec, 00:06, John Machin wrote: - Tekst uit oorspronkelijk bericht niet weergeven - - Tekst uit oorspronkelijk bericht weergeven - > On Dec 18, 3:15 am, aka wrote: > Do you mean that this file was created by whatever.UnicodeWriter? If > so, did you just now discover this in

Re: help I'm getting delimited

2008-12-18 Thread aka
On 18 dec, 00:06, John Machin wrote: > On Dec 18, 3:15 am, aka wrote: > > Do you mean that this file was created by whatever.UnicodeWriter? If > so, did you just now discover this information? > > How do you know that "the UnicodeWriter is functioning perfectly&quo

Re: help I'm getting delimited

2008-12-17 Thread aka
John, this is the actual code I ran in TurboGears which is a Python framework. I should have left away the import statements. Trust me, the problem isn't in there because the UnicodeWriter is functioning perfectly. I did allready sanitate the csv file to these four lines in Notepad so there isn't a

Re: help I'm getting delimited

2008-12-17 Thread aka
Hi John, thanks. You're right, I didn't past the method header because I thought it didn't matter when the input filename is hardcoded. The try/except isn't very helpful indeed so I commented it out. You're right I wrongly referred to the UnicodeReader class in my first post because that's ultimate

Re: help I'm getting delimited

2008-12-17 Thread aka
Hi John, thanks. You're right, I didn't past the method header because I thought it didn't matter when the input filename is hardcoded. The try/except isn't very helpful indeed so I commented it out. You're right I wrongly referred to the UnicodeReader class in my first post because that's ultimate

Re: help I'm getting delimited

2008-12-17 Thread aka
Due to being in a hurry I didn't paste correctly (sorry). The intention is to put values of column 1 ("id") in the roles list, therefore appending within the loop, to fill a session var. The complete code is: roles = [] inp = 'C:/temp/test.csv' try: fp = open(inp, 'rb') reader = csv.read

Re: help I'm getting delimited

2008-12-17 Thread aka
Due to being in a hurry I didn't paste correctly (sorry). The intention is to parse a csv file and (ultimately) put values of column 1 ("id") in a list (so I need to append in the loop) that will be used to fill a session var. The complete code is: roles = [] inp = 'C:/temp/test.csv' try: fp =

Re: help I'm getting delimited

2008-12-17 Thread aka
Due to being in a hurry I didn't paste correctly so I lost the try clause (sorry). The intention is to parse a csv file and (ultimately) put values of column 1 ("id") in a list (so I need to append in the loop) that will be used to fill a session var. The complete code is: roles = [] inp = 'C:/tem

help I'm getting delimited

2008-12-16 Thread aka
Hi, I'm going nuts over the csv.reader and UnicodeReader class. Somehow I can't get this method working which is supposed to read a csv file which name is inputted but here now hardcoded. What I need for now is that the string version of the list is put out for control. Later on I will only need to

Re: Python 2.6: Determining if a method is inherited

2008-10-05 Thread Valentino Volonghi aka Dialtone
is Bla.hello.im_func False Which to me also makes sense. If it's inherited I expect it to be the very same function object of one of the bases (which you can get with inspect.getmro(Clazz)). On the other end if you override it it's not the same function object so it won't return

Re: TeX pestilence (was Distributed RVS, Darcs, tech love)

2007-10-22 Thread David Formosa (aka ? the Platypus)
["Followup-To:" header set to comp.lang.functional.] On Mon, 22 Oct 2007 11:30:51 -0400, George Neuner wrote: > On Mon, 22 Oct 2007 05:50:30 -0700, Xah Lee <[EMAIL PROTECTED]> wrote: [...] >>5. This is arguable and trivial, but i think TeX judged as a computer >>language in particular its synta

Re: I am giving up perl because of assholes on clpm -- switching to Python

2007-07-26 Thread David Formosa (aka ? the Platypus)
["Followup-To:" header set to comp.lang.perl.misc.] On Thu, 26 Jul 2007 09:38:34 -0700, Paul Boddie <[EMAIL PROTECTED]> wrote: [...] > you'd show off your community a bit > better by entertaining even the most naive questions - people have to > start somewhere, you know. However asking a good qu

Re: Why stay with lisp when there are python and perl?

2007-05-04 Thread David Formosa (aka ? the Platypus)
Nameless wrote: > Why should I keep on learning lisp when there are python and perl? The more programing languages you know the better programer you will be. Lisp can teach you a number of key things that are required to be a good programmer in any of the P* lanuages. -- http://mail.python.org/

Re: Do I need Python to run Blender correctly?

2007-01-28 Thread AKA gray asphalt
I think you're right. I'll find a blender forum. Thanks for your help. : -) "John Nagle" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > AKA gray asphalt wrote: >> "John Nagle" <[EMAIL PROTECTED]> wrote in message >> n

Re: Do I need Python to run Blender correctly?

2007-01-28 Thread AKA gray asphalt
"John Nagle" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > AKA gray asphalt wrote: >> "John Nagle" <[EMAIL PROTECTED]> wrote in message >> news:[EMAIL PROTECTED] >> >>>AKA gray asphalt wrote: >>> >&

Re: Do I need Python to run Blender correctly?

2007-01-27 Thread AKA gray asphalt
"John Nagle" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > AKA gray asphalt wrote: >> I downloaded Blender but there was no link for python. Am I on the right >> track? > >Blender doesn't require Python, but if you have Python, y

Re: Do I need Python to run Blender correctly?

2007-01-27 Thread AKA gray asphalt
"John Nagle" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > AKA gray asphalt wrote: >> I downloaded Blender but there was no link for python. Am I on the right >> track? > >Blender doesn't require Python, but if you have Python, y

Do I need Python to run Blender correctly?

2007-01-25 Thread AKA gray asphalt
I downloaded Blender but there was no link for python. Am I on the right track? -- http://mail.python.org/mailman/listinfo/python-list

Re: Python to use a non open source bug tracker?

2006-10-04 Thread Valentino Volonghi aka Dialtone
hink SQLite would be a suitable platform for it? Considering that trac can also run on postgres or mysql and also considering that both of these databases have enough tools to deal with backups I think it's a non issue. -- Valentino Volonghi aka Dialtone Now Running MacOSX 10.4 Blog

Re: Python to use a non open source bug tracker?

2006-10-04 Thread Valentino Volonghi aka Dialtone
on. Backing up a sqlite database is pretty easy. -- Valentino Volonghi aka Dialtone Now Running MacOSX 10.4 Blog: http://vvolonghi.blogspot.com New Pet: http://www.stiq.it -- http://mail.python.org/mailman/listinfo/python-list

Re: Python vs. Lisp -- please explain

2006-02-19 Thread Valentino Volonghi aka Dialtone
Steven D'Aprano <[EMAIL PROTECTED]> wrote: > By that logic, all languages are interpreted. What do you think happens to > the machinecode? Interpreted to transistors state by an internal mapping in the CPU opcode ==> input configuration. -- Valentino Volonghi aka Dialton

Re: Still Loving Python

2005-12-14 Thread Valentino Volonghi aka Dialtone
.. def on_logster__destroy(self, window): p = Proxy('my_ui.glade') And it also provide an easy and flexible way to integrate additional custom widgets in the design process. Of course it's always possible to build powerful GUIs without using designers at all: http://www.le

Re: Python Jabber client?

2005-09-08 Thread Valentino Volonghi aka Dialtone
abber protocol implementation inside it but it's very simple (and for example doesn't support SASL). -- Valentino Volonghi aka Dialtone Now Running MacOSX 10.4 Blog: http://vvolonghi.blogspot.com http://weever.berlios.de -- http://mail.python.org/mailman/listinfo/python-list

Re: Python compiled?

2005-09-05 Thread Valentino Volonghi aka Dialtone
compiled to native code, the other is compiled to bytecode and JITted or interpreted and python is compiled to bytecode and interpreted or (with psyco) JITted. -- Valentino Volonghi aka Dialtone Now Running MacOSX 10.4 Blog: http://vvolonghi.blogspot.com http://weever.berlios.de -- http://mai

Re: Code for generating validation codes (in images)

2005-09-04 Thread Giuseppe di Sabato (aka deelan)
morphex wrote: > Hi, > > does anyone of you know of some code I can use to generate validation > code images? > > Those images you can see on various login forms used to prevent bots > for performing a brute-force attack.. take a look at the "pycaptcha" package:

Re: Release of PyPy 0.7.0

2005-08-28 Thread Valentino Volonghi aka Dialtone
space), the flowgraph object space and the trace object space that traces each operation done. > Either way, this looks like a great milestone - congratulations to the > entire team. (I remember PyPy being met with skepticism as to whether > it could even be done! :-) Indeed. -- V

Re: Python for Webscripting (like PHP)

2005-08-18 Thread Valentino Volonghi aka Dialtone
see that all the links in there end in .py. Blogger is almost completely built with python. Google is also one of the members of the PSF. What should be demonstrated? -- Valentino Volonghi aka Dialtone Now Running MacOSX 10.4 Blog: http://vvolonghi.blogspot.com http://weever.berlios

Re: Web Framework Reviews

2005-07-19 Thread Valentino Volonghi aka Dialtone
content"] ] ] This is not harder than normal xhtml tags to follow. plus you don't have to remember what tag you are closing :) -- Valentino Volonghi aka Dialtone Now Running MacOSX 10.4 Blog: http://vvolonghi.blogspot.com http://weever.berlios.de -- http://mail.python.org/mailman/listinfo/python-list

Re: Web Framework Reviews

2005-07-19 Thread Valentino Volonghi aka Dialtone
otient is entirely built using stan and it's very big). Templating engines like ZPT prefer to put some code in the template, Nevow prefers to put code in python and allow you to write some xhtml in python too. python is easier to manage and less likely to be screwed by any designer that doesn&#x

Re: Web Framework Reviews

2005-07-19 Thread Valentino Volonghi aka Dialtone
r return an object from a child_foobar method. Or override rend.Page.childFactory(self, ctx, segment) to return an object in a dynamic way depending on the value of the segment argument. It seems to me that you really never tracked Nevow, your information is very incomplete. I think you should co

Re: Web Framework Reviews

2005-07-19 Thread Valentino Volonghi aka Dialtone
h or ZPT means that you never used it. Nevow is exactly what you define as a web framework, and it would be quite interesting to know why you didn't put it in that section. -- Valentino Volonghi aka Dialtone Now Running MacOSX 10.4 Blog: http://vvolonghi.blogspot.com http://weever.berlios.d

Re: What are OOP's Jargons and Complexities?

2005-06-01 Thread David Formosa (aka ? the Platypus)
On Wed, 1 Jun 2005 06:09:43 +0200, Tassilo v. Parseval <[EMAIL PROTECTED]> wrote: [...] > I am only familiar with its successor Modula-3 which, as far as I > understand, is Modula-2 with uppercased keywords and some OO-notion > bolted onto it (I still recall 'BRANDED' references). Modula-2 als

Re: What are OOP's Jargons and Complexities?

2005-05-25 Thread David Formosa (aka ? the Platypus)
On Tue, 24 May 2005 09:16:02 +0200, Tassilo v. Parseval <[EMAIL PROTECTED]> wrote: > Also sprach John W. Kennedy: [...] > Most often, languages with strong typing can be found on the functional > front (such as ML and Haskell). These languages have a dynamic typing > system. I haven't yet come ac

Re: 20050111: list basics

2005-05-15 Thread David Formosa (aka ? the Platypus)
On 12 Jan 2005 08:22:04 GMT, Abigail <[EMAIL PROTECTED]> wrote: [...] > Wrong. Perl functions don't take memory addresses. Perl doesn't allow > the programmer to do direct memory access. Perl's pack function will allow you to do direct memory access if you ask it to via the "p" and "P" templates

Re: Range function

2005-05-15 Thread David Formosa (aka ? the Platypus)
On 15 May 2005 02:50:38 -0700, Xah Lee <[EMAIL PROTECTED]> wrote: > Here's the Perl code. Where did you learn to program? Its highly unlikely that a Perl programer would ever write a range function as there is a built in Perl function that does the same thing. If your intent is purely accedemic

Re: Ron Grossi: God is not a man

2005-04-29 Thread AKA
"Donald L McDaniel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > MC05 wrote: >> "sheltech" <[EMAIL PROTECTED]> wrote in message >> news:[EMAIL PROTECTED] >>> >>> "MC05" <[EMAIL PROTECTED]> wrote in message >>> news:[EMAIL PROTECTED] "Donald L McDaniel" <[EMAIL PROTECTED

Re: Lisp-likeness

2005-03-15 Thread Valentino Volonghi aka Dialtone
terleave calls to the individual functions. In [21]: a = addn(4) In [22]: b = addn(5) In [23]: c = addn(25) In [24]: a(1) Out[24]: 5 In [25]: b(1) Out[25]: 6 In [26]: c(1) Out[26]: 26 -- Valentino Volonghi aka Dialtone Now Running MacOSX 10.3.8 Blog: http://vvolonghi.blogspot.com http://weever.berlios.de -- http://mail.python.org/mailman/listinfo/python-list

Re: Python becoming less Lisp-like

2005-03-15 Thread Valentino Volonghi aka Dialtone
are not able to count them all since there are almost not special cases. But many things that could be done in a better way (this is for sure, python is far from perfect, but it 'sucks' a lot less then everything else). -- Valentino Volonghi aka Dialtone Now Running MacOSX 10.3.8 Blog: http://vvolonghi.blogspot.com http://weever.berlios.de -- http://mail.python.org/mailman/listinfo/python-list

Re: Python becoming less Lisp-like

2005-03-14 Thread Valentino Volonghi aka Dialtone
less" which means there are probably so many that you weren't able to count them. -- Valentino Volonghi aka Dialtone Now Running MacOSX 10.3.8 Blog: http://vvolonghi.blogspot.com http://weever.berlios.de -- http://mail.python.org/mailman/listinfo/python-list

Re: Appeal for python developers

2005-03-05 Thread Thomas Rösner aka TRauMa
BOOGIEMAN wrote: Please include "goto" command in future python realeses I know that proffesional programers doesn't like to use it, but for me as newbie it's too hard to get used replacing it with "while", "def" or other commands Technically, as a newbie you shouldn't know about GOTO at all. So

Re: Python and "Ajax technology collaboration"

2005-02-24 Thread Valentino Volonghi aka Dialtone
an image uploader and so on. -- Valentino Volonghi aka Dialtone Now Running MacOSX 10.3.8 Blog: http://vvolonghi.blogspot.com http://weever.berlios.de -- http://mail.python.org/mailman/listinfo/python-list

Re: Python and "Ajax technology collaboration"

2005-02-23 Thread Valentino Volonghi aka Dialtone
quot;Quote & Reply" function is done with XMLHttpRequest and Python. Implementing this stuff in the forum with Nevow ( the framework created by Donovan who I help to develop ) was almost effortless. -- Valentino Volonghi aka Dialtone Now Running MacOSX 10.3.8 Blog: http://vvolon

Re: - E02 - Support for MinGW Open Source Compiler

2005-02-18 Thread ? the Platypus {aka David Formosa}
Ilias Lazaridis <[EMAIL PROTECTED]> writes: > Duncan Booth wrote: [...] > > It is GPL licensed with an amendment which prevents the GPL > > spreading to other open source software with which it is linked. > > "In accordance with section 10 of the GPL, Red Hat, Inc. permits > > programs whose sour

Re: re-entrancy question

2005-02-08 Thread Valentino Volonghi aka Dialtone
ed-python ML. This very same message was posted on the twisted mailing list. The answer anyway was already given on the other list: there are no re-entrancy problems :). -- Valentino Volonghi aka Dialtone Now Running MacOSX 10.3.7 Blog: http://vvolonghi.blogspot.com http://weever.berlios

Re: re-entrancy question

2005-02-08 Thread Valentino Volonghi aka Dialtone
different beast that happens to have its own implementation of RPC. How would the OP be better investigating something different, that he probably doesn't even need? Your comment would be pertinent only if it considered Perspective Broker against pyro, and I admit I don't know how they compar

Re: Nevow Tutorial and sample app

2005-01-06 Thread Valentino Volonghi aka Dialtone
hich uses also xmlrpc and smtp protocols, or live pages like chatola. -- Valentino Volonghi aka Dialtone Now Running MacOSX 10.3.7 Blog: http://vvolonghi.blogspot.com http://weever.berlios.de -- http://mail.python.org/mailman/listinfo/python-list

Re: Continuations Based Web Framework - Seaside.

2005-01-02 Thread Valentino Volonghi aka Dialtone
module (from Armin Rigo) also the back button will work. I've also already posted an url to the svn sandbox with a working example inside. -- Valentino Volonghi aka Dialtone Now Running MacOSX 10.3.7 Blog: http://vvolonghi.blogspot.com http://weever.berlios.de -- http://mail.python.org/mailman/listinfo/python-list

Re: Continuations Based Web Framework - Seaside.

2005-01-02 Thread Valentino Volonghi aka Dialtone
Mike Thompson wrote: > I googled for the python spin-off but didn't find one. Closest I found Get Nevow with wolf (flow backwards, in the svn sandbox). http://www.divmod.org/cvs/sandbox/phunt/wolf/?root=Nevow You will need stackless or greenlet if using CPython. -- Valentino Volo

Re: Web forum (made by python)

2004-12-20 Thread Valentino Volonghi aka Dialtone
<[EMAIL PROTECTED]> wrote: > Don't see anything in PyPI. Do I have to write everything myself? Gah. > I need more beer. I'm writing it in my spare time (which is not enough however). You can find the url in the sign. -- Valentino Volonghi aka Dialtone Now Running Ma