Re: PIL on windows XP x64 (64-bit)?

2008-10-12 Thread Berco Beute
? Are there alternatives? Anyway, I guess that if I knew the hoops you have to jump to when using windows xp 64-bit instead of 32-bit I would have stayed with the latter. 2B On Oct 11, 12:02 am, Berco Beute <[EMAIL PROTECTED]> wrote: > Has anybody here got PIL (the Image lib) working on W

PIL on windows XP x64 (64-bit)?

2008-10-10 Thread Berco Beute
Has anybody here got PIL (the Image lib) working on Windows XP x64 (64- bit)? There is no version available for that platform from pythonware.com. Thanks, 2B -- http://mail.python.org/mailman/listinfo/python-list

Python on Windows XP 64-bit: python not found in registry

2008-09-12 Thread Berco Beute
After first trying to install the beta of Python 2.6 on my Windows XP 64-bit machine I finally succeeded installing 2.5.2. But I still have a some problem: Installing iPython, PIL, easy_install etc fails saying that python.exe cannot be found (although I can start the python interpeter just fine).

Python on JavaScript VM's (such as V8)?

2008-09-03 Thread Berco Beute
I wonder what it would take to implement Python in JavaScript so it can run on those fancy new JavaScript VM's such as Chrome's V8 or Firefox' tracemonkey. Much the same as Python implementations in C# (IronPython) and Java (Jython). It would certainly bring back the fun in web application developm

Re: simple question about dictionaries

2008-07-21 Thread Berco Beute
Sounds like a school assignment. Find the answer yourself here: http://diveintopython.org/toc/index.html You'll learn a lot more in the process. 2B -- http://mail.python.org/mailman/listinfo/python-list

create instance attributes for every method argument

2008-07-19 Thread Berco Beute
I remember reading somewhere how to create an instance attribute for every method argument, but although Google is my friend, I can't seem to find it. This could likely be done way more elegant: = class Test(object): def __init__(self, a, b, c, d, e, f): self.a

Re: webcam (usb) access under Ubuntu

2008-04-17 Thread Berco Beute
On Apr 16, 2:26 pm, yoz <[EMAIL PROTECTED]> wrote: > Berco Beute wrote: > > I've been trying to access my webcam using Python, but I failed > > miserably. The camera works fine under Ubuntu (using camora and > > skype), but I am unable to get WebCamSpy or libfg to

Re: Image handling - stupid question

2008-04-16 Thread Berco Beute
On Apr 16, 12:21 pm, Jumping Arne <[EMAIL PROTECTED]> wrote: > I'm going to try to write some imange manipulation code (scaling, reading > EXIF and IPTC info) and just want to ask if PIL is *THE* library to use? Depends on your requirements, but it's certainly the first library I would check out.

Re: webcam (usb) access under Ubuntu

2008-04-16 Thread Berco Beute
On Apr 16, 12:19 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > Maybe if you are now using windows, there are better options - but I'm a > *nix-boy :) > > Diez So am I :), but the application I'm writing has to run on *that other operating system from the 90's*. I'm trying hard not to impleme

Re: webcam (usb) access under Ubuntu

2008-04-16 Thread Berco Beute
On Apr 15, 11:45 pm, Berco Beute <[EMAIL PROTECTED]> wrote: > I've tried reinstalling gstreamer (for windows): > > http://gstreamer.freedesktop.org/pkg/windows/releases/gstreamer/gstre...http://gstreamer.freedesktop.org/pkg/windows/releases/gstreamer/gstre... > > but th

Re: webcam (usb) access under Ubuntu

2008-04-15 Thread Berco Beute
On Apr 15, 11:18 pm, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote: > Berco Beute schrieb: > > > Thanks, that would be great. > > Here you go. > > http://roggisch.de/vidio.tgz > > Diez Wonderful! Thank you very much! I'm running out of time, b

Re: webcam (usb) access under Ubuntu

2008-04-15 Thread Berco Beute
Thanks, that would be great. While I'm at it I wondering how to display a video preview. Here's someone using VideoCapture (the win32 lib) and PyGame, but I'd rather use a GUI framework and preview/capture videos directly. 2B > It has been *ages* since I did this - so take it with a grain of sa

webcam (usb) access under Ubuntu

2008-04-15 Thread Berco Beute
I've been trying to access my webcam using Python, but I failed miserably. The camera works fine under Ubuntu (using camora and skype), but I am unable to get WebCamSpy or libfg to access my webcam. First I tried webcamspy (http://webcamspy.sourceforge.net/). That requires pySerial and pyParallel,

Re: Can C.L.P.handle the load?

2008-04-10 Thread Berco Beute
On Apr 9, 12:24 pm, Duncan Booth <[EMAIL PROTECTED]> wrote: > Berco Beute <[EMAIL PROTECTED]> wrote: > > On Apr 9, 7:54 am, Paddy <[EMAIL PROTECTED]> wrote: > >> What else could we do to make c.l.p. of more use to the newbie whp may > >> also be new t

Re: Can C.L.P.handle the load?

2008-04-09 Thread Berco Beute
On Apr 9, 7:54 am, Paddy <[EMAIL PROTECTED]> wrote: > What else could we do to make c.l.p. of more use to the newbie whp may > also be new to usenet whilst keeping c.l.p a usefull place for all? > > - Paddy. Maybe create a usenet/google group for newbies? A place to ask beginners questions. And po

Re: Google App Engine

2008-04-08 Thread Berco Beute
It's wonderful news for Python. It will definitely be a boost for Python's (and Django's) popularity. Python finally seems to be on every developers mind at the moment. Looks like it's showtime for Python! -- http://mail.python.org/mailman/listinfo/python-list

Re: Do any of you recommend Python as a first programming language?

2008-03-23 Thread Berco Beute
On Mar 22, 5:40 pm, jmDesktop <[EMAIL PROTECTED]> wrote: > For students 9th - 12th grade, with at least Algebra I. Do you think > Python is a good first programming language for someone with zero > programming experience? Using Linux and Python for first exposure to > programming languages and pr

Re: Python for web...

2008-02-25 Thread Berco Beute
> Use mod_python if you can. Although mod_python is fine, I had more success using fastcgi with Django (you can run Django as a fastcgi process). It was less troublesome to set up and the chances your hosting provider supports it are bigger. 2B -- http://mail.python.org/mailman/listinfo/python-l

Re: Web Development Project

2008-02-22 Thread Berco Beute
linux lighttpd fastcgi django sqlite3 ...rocking combo :) -- http://mail.python.org/mailman/listinfo/python-list

Re: TIOBE declares Python as programming language of 2007!

2008-01-07 Thread Berco Beute
Cool! We knew it would happen one day :) What could be the reason? Python 3? Jython 2.2? Java's loss of sexiness? What I would like to know is what it was that boosted Python's popularity in 2004 (see http://www.tiobe.com/tiobe_index/Python.html). Equally interesting is the question why it dropped

Re: Python for Java programmer

2007-12-14 Thread Berco Beute
> Having a decent knowledge of Python's object model As explained clearly here: http://www.cafepy.com/article/python_types_and_objects/python_types_and_objects.html http://www.cafepy.com/article/python_attributes_and_methods/python_attributes_and_methods.html 2B -- http://mail.python.org/mailma

Re: Python for Java programmer

2007-12-14 Thread Berco Beute
Welcome to Python! One way to get you up to speed fast (and fun) is take some java app you've written and implement it in Jython. After you've done that, and gotten over the pleasant surprise of how short and clean your code has become, go over the source again and see where you can replace calls

Re: Tuples !?!?

2007-12-11 Thread Berco Beute
> > Is the tuple comparison brooked in python ?!?!? > > No. > > > Thanks. > > You're welcome. HHH! That just made my day. Too funny. 2B -- http://mail.python.org/mailman/listinfo/python-list

Re: Python too complex ?!?!?!

2007-11-18 Thread Berco Beute
On Nov 17, 3:21 pm, Tim Chase <[EMAIL PROTECTED]> wrote: > > programmer, but he claims that the install, config, and > > library models for C# have proved to be less > > problematic than Python. So both his courses (intro, > > data structs, algorithms) are taught in C#. > > A little anecdotal compa