3.7.6 struggles a bit

2021-06-02 Thread Luke
When i wrote a program, i tried to open it but it struggles to open. -- https://mail.python.org/mailman/listinfo/python-list

Beginner question: use function to read text file

2006-06-26 Thread Luke
thon24\text\fileloader.py", in line2, in fileload infile=open(fname) UnboundLocalError: local variable 'open' referenced before assignment Script terminated Thanks for any help, Luke -- http://mail.python.org/mailman/listinfo/python-list

Re: Beginner question: use function to read text file

2006-06-26 Thread Luke
Thanks to both of you for the help, much appreciated! Luke -- http://mail.python.org/mailman/listinfo/python-list

incompatible with

2006-01-30 Thread Luke
Built-in functions don't bind to classes like regular functions. Is this intended? (I do notice that the Python Reference Manual sec 3.2 under "Class Instance" refers to a "user-defined function"). Any ideas what the reason is for this distinction between build-in functions and normal functions?

Re: incompatible with

2006-01-30 Thread Luke
Thanks James, though from the output of b.x() it appears that x is a class method (ie the class is passed as the first parameter rather than the instance)... -- http://mail.python.org/mailman/listinfo/python-list

Sci.linalg.lu permuation error

2007-05-28 Thread Luke
array([[ 3., -2., 1., 0., 0.], [-1., 1., 0., 1., 0.], [ 4., 1., 0., 0., 1.]]) I get the correct answer. Either the documentation is wrong, or somehow Scipy is returning the wrong permutation matrix... anybody have any experience with this or tell me how to submit a bug re

Re: Python implementation of "include"

2007-12-16 Thread Luke
Gabriel Genellina wrote: > En Thu, 13 Dec 2007 19:53:49 -0300, <[EMAIL PROTECTED]> escribió: > >> As I understand it, import myFile and include "myFile.py" are not quite >> the same. >> >> -- >> for import to work myFile.py must be in the same directory as the code >> that calls it accessible thr

MySQLdb syntax issues - HELP

2007-12-16 Thread Luke
Im very new to SQL in general, let alone coding it into python. I can interact with a MySQL database just fine for the most part, but im running into some problems here... This is the function in my script that keeps raising errors: - def NewChar():

Re: MySQLdb syntax issues - HELP

2007-12-16 Thread Luke
Bruno Desthuilliers wrote: > Luke a écrit : (snip) >> cursor.execute(""" >> CREATE TABLE %s >> ( >> name CHAR(40), >> gender CHAR(40), >> job CHAR(40), >> level

Data mapper - need to map an dictionary of values to a model

2008-01-14 Thread Luke
I am writing an order management console. I need to create an import system that is easy to extend. For now, I want to accept an dictionary of values and map them to my data model. The thing is, I need to do things to certain columns: - I need to filter some of the values (data comes in as -MM

Re: Data mapper - need to map an dictionary of values to a model

2008-01-15 Thread Luke
On Jan 15, 1:53 am, [EMAIL PROTECTED] wrote: > Luke: > > >What design patterns would you use here?< > > What about "generator (scanner) with parameters"? :-) > > Bye, > bearophile I'm not familiar with this pattern. I will search around, but if you

Re: Data mapper - need to map an dictionary of values to a model

2008-01-15 Thread Luke
On Jan 15, 3:53 pm, George Sakkis <[EMAIL PROTECTED]> wrote: > On Jan 14, 7:56 pm, Luke <[EMAIL PROTECTED]> wrote: > > > > > I am writing an order management console. I need to create an import > > system that is easy to extend. For now, I want to accept an dict

working with a subversion repo

2008-01-17 Thread Luke
I want to write a script that automatically generates a subversion repository and configures apache serve the svn repo. Is there a python module that will allow me to work with subversion? I am able to import a module named "svn" on my ubuntu machine, but this module is not available on windows. I

Re: working with a subversion repo

2008-01-17 Thread Luke
On Jan 17, 9:14 am, Jeroen Ruigrok van der Werven <[EMAIL PROTECTED] nomine.org> wrote: > -On [20080117 17:21], Luke ([EMAIL PROTECTED]) wrote: > > >I am able to import a module named "svn" on my ubuntu machine, but this > >module is not available on windows.

Tkinter

2009-02-04 Thread Luke
Hello, I'm an inexperienced programmer and I'm trying to make a Tkinter window and have so far been unsuccessful in being able to delete widgets from the main window and then add new ones back into the window without closing the main window. The coding looks similar to this: from Tkinter import *

Re: Tkinter

2009-02-05 Thread Luke
Thanks, Its working smoothly now -- http://mail.python.org/mailman/listinfo/python-list

Re: Framework for a beginner

2012-04-19 Thread lkcl luke
On Thu, Apr 19, 2012 at 12:20 PM, Alek Storm wrote: > On Wed, Apr 18, 2012 at 11:21 PM, lkcl wrote: >> >> On Apr 11, 9:11 pm, biofob...@gmail.com wrote: >> >> > I am new to python and only have read the Byte of Python ebook, but want >> > to move to the web. I am tired of being a CMS tweaker and

Re: Framework for a beginner

2012-04-19 Thread lkcl luke
On Thu, Apr 19, 2012 at 1:21 PM, Alek Storm wrote: > On Thu, Apr 19, 2012 at 7:12 AM, lkcl luke wrote: >> >> On Thu, Apr 19, 2012 at 12:20 PM, Alek Storm wrote: >> > Why not use list comprehension syntax? >> >>  because it's less characters to type, and

Re: Microsoft Hatred FAQ

2005-10-18 Thread Luke Webber
. They have since paid heavily for that failure. >>If that is not what you mean, I think you need to hedge more. > > I was perfectly clear. This is a lot of deliberate misunderstanding > going on in this thread and very little of it is from my side. All that means to me is that your misunderstanding is not deliberate. Luke -- http://mail.python.org/mailman/listinfo/python-list

Re: Windows GUIs from Python

2005-01-11 Thread Luke Skywalker
e a grid and the extended Win95 widgets. Thx Luke. -- http://mail.python.org/mailman/listinfo/python-list

Re: Windows GUIs from Python

2005-01-11 Thread Luke Skywalker
On Tue, 11 Jan 2005 22:15:36 +0100, Thomas Heller <[EMAIL PROTECTED]> wrote: >Well, venster. Although it is most certainly alpha. But with some >work... Thx, I'll keep an eye on it. http://venster.sourceforge.net/ Luke. -- http://mail.python.org/mailman/listinfo/python-list

Re: Zen of Python

2005-01-19 Thread Luke Skywalker
On Wed, 19 Jan 2005 14:13:47 -0500, Timothy Fitz <[EMAIL PROTECTED]> wrote: >While I agree that the Zen of Python is an amazingly concise list of >truisms, I do not see any meaning in: (snip) For those interested, here's the list: http://www.python.org/doc/Humor.html#ze

Re: WYSIWYG wxPython "IDE"....?

2005-02-07 Thread Luke Skywalker
ugh to warrant this venture. My conclusion: If you want to write GUI apps that require a very rich interface while keeping the installer small (and raw performance is important), Python is currently not a good solution. YMMV :-) Luke. -- http://mail.python.org/mailman/listinfo/python-list

Re: WYSIWYG wxPython "IDE"....?

2005-02-07 Thread Luke Skywalker
ers seem >> to hate) through > >Have you ever tried to use MFC in anything other than a >simple application? ... which is why I said that the alternative of using PyWin32 didn't sound like a lot of fun :-) Luke. -- http://mail.python.org/mailman/listinfo/python-list

Re: Big development in the GUI realm

2005-02-07 Thread Luke Skywalker
s widget set even in commercial apps since I'm not making any change to Qt, just using it. Am I totally off-target? Cheers Luke. -- http://mail.python.org/mailman/listinfo/python-list

Re: Big development in the GUI realm

2005-02-07 Thread Luke Skywalker
h it, the above does seem to say this use would be valid. Anybody knows of a similar case and the output? Luke. -- http://mail.python.org/mailman/listinfo/python-list

Re: Big development in the GUI realm

2005-02-07 Thread Luke Skywalker
s sense, since the goal of the GPL is to make sure that no one can steal the code, correct bugs or add features without redistributing those changes. Muddy waters, indeed :-) Luke. -- http://mail.python.org/mailman/listinfo/python-list

Re: Big development in the GUI realm

2005-02-07 Thread Luke Skywalker
copyright law (local because the GPL does not >nominate a >particular jurisdiction for covering law). Has someone worked with Qt for Windows before, and could tell us whether it involves static or dynamic linking? If dynamic, then, it doesn't make sense that an EXE that builds o

Re: Big development in the GUI realm

2005-02-07 Thread Luke Skywalker
r that platform, and are considered legit since those apps don't include code from the kernel, but instead, merely make calls to binary objects. I fail to see the difference between making calls to the kernel API and making calls to Qt libraries. Luke. -- http://mail.python.org/mailman/listinfo/python-list

Re: Big development in the GUI realm

2005-02-07 Thread Luke Skywalker
aid to be based on the same license. I wouldn't have any problem if Qt had built its own GPL-derived, custom license, but they claim it's the same ol' GPL. Hence the questioning. Luke. -- http://mail.python.org/mailman/listinfo/python-list

wxPython to build an HTML analyser/displayer?

2004-12-01 Thread Luke Skywalker
a web page, analyse its contents and filter/rewrite, before displaying it in a HTML renderer? Does wxWidgets offer an HTML displayer widget, and is it good enough? Thank you Luke. -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Win32 Silent Install

2004-12-01 Thread Luke Skywalker
about that. Does it mean it's not allowed to build an application with ActiveState Python, and generate an installer that installs the whole thing, forcing users to go to ActiveState's web site and download the interpreter? Gee, that changes everything... Luke. -- http://mail.python.org/mailman/listinfo/python-list

Re: wxPython to build an HTML analyser/displayer?

2004-12-01 Thread Luke Skywalker
On Wed, 1 Dec 2004 16:57:45 -0800, "Roger Binns" <[EMAIL PROTECTED]> wrote: (snip) Thx the links. Luke. -- http://mail.python.org/mailman/listinfo/python-list

Re: Best GUI for small-scale accounting app?

2004-12-20 Thread Luke Skywalker
On 20 Dec 2004 13:28:02 -0800, "John Machin" <[EMAIL PROTECTED]> wrote: >Babelfish gave up on "durchzuwursteln" and so did I -- >"through-to-sausage-???" This is getting erotic ;-) Luke. -- http://mail.python.org/mailman/listinfo/python-list

Re: Tricks to install/run Python on Windows ?

2004-12-26 Thread Luke Skywalker
IDE works fine. Luke. -- http://mail.python.org/mailman/listinfo/python-list

Re: Best GUI for small-scale accounting app?

2004-12-28 Thread Luke Skywalker
from the web) If Dabo can do all this, it could be a great solution to all those people Delphi/VFP/VB users whether to go .Net. Luke. -- http://mail.python.org/mailman/listinfo/python-list

Flag control variable

2014-02-11 Thread luke . geelen
um of 21 and 41 ? luke -- https://mail.python.org/mailman/listinfo/python-list

Re: Flag control variable

2014-02-11 Thread luke . geelen
Thanks a lot -- https://mail.python.org/mailman/listinfo/python-list

Re: Flag control variable

2014-02-11 Thread luke . geelen
when expandig the script to multiple calcs i got a problem >>> a = 32 >>> c = 51 >>> sign = * File "", line 1 sign = * ^ SyntaxError: invalid syntax is there a way of adding * without quoting marks, because if you do it just soms the arguments -- https://mail.python.org/mailman/l

Re: Flag control variable

2014-02-11 Thread luke . geelen
well i'm trying something else but no luck : #!bin/bash/python import sys import os a = int(sys.argv[1]) sign = (sys.argv[2]) b = int(sys.argv[3]) if sign == '+': sum = a + b print a, sign, b, "=", a + b command1 = "sudo mpg321 'http://translate.google.com/translate_tts?tl=en&q=%s_plus%s_

Re: Flag control variable

2014-02-11 Thread luke . geelen
Op dinsdag 11 februari 2014 19:55:59 UTC+1 schreef Gary Herron: > On 02/11/2014 10:37 AM, luke.gee...@gmail.com wrote: > > > well i'm trying something else but no luck : > > > > > > #!bin/bash/python > > > import sys > > > import os > > > a = int(sys.argv[1]) > > > sign = (sys.argv[2]) > >

Re: Flag control variable

2014-02-11 Thread luke . geelen
Op dinsdag 11 februari 2014 19:51:40 UTC+1 schreef Peter Otten: > luke.gee...@gmail.com wrote: > > > > > well i'm trying something else but no luck : > > > > > > #!bin/bash/python > > > > Hm. > > > > > import sys > > > import os > > > > For debugging purposes put the line > > > >

Re: Flag control variable

2014-02-11 Thread luke . geelen
Op dinsdag 11 februari 2014 20:01:05 UTC+1 schreef luke@gmail.com: > Op dinsdag 11 februari 2014 19:51:40 UTC+1 schreef Peter Otten: > > > luke.gee...@gmail.com wrote: > > > > > > > > > > > > > well i'm trying something else but

Re: Flag control variable

2014-02-11 Thread luke . geelen
Op dinsdag 11 februari 2014 20:28:44 UTC+1 schreef Tim Chase: > On 2014-02-11 11:06, luke.gee...@gmail.com wrote: > > > > > > command1 = "sudo mpg321 > > > > > > > > > > > > > > > > > > > > > > > > 'http://translate.google.com/translate_tts?tl=en&q=%s_times%s_equals%s'" > > >

Re: Flag control variable

2014-02-11 Thread luke . geelen
hey, i got another problem now, if i use the imterpreter to do 3 * 4 it gives twelve the script gives ? any tips -- https://mail.python.org/mailman/listinfo/python-list

Re: Flag control variable

2014-02-11 Thread luke . geelen
Would it be possible to make an int(sys.argv[1]) Not needed and set value 0 ( or in another script 1) For example a = int(sys.argv[1]) b = int(sys.argv[2]) c = int(sys.argv[3]) And I run Python ./script.py 2 3 It just set c automaticly to 0 or 1 Luke (PS thanks for the quick help) -- https

Python Advanced Help

2016-03-15 Thread Luke Charlton
x27;re aiming for (Teradatas Explain_Plan) - http://pastebin.com/Nm4g12B3 Regards, Luke Charlton Technical Consultant [cid:4BEA1319-4F97-4ED8-96FE-1A3EDF7DEC22] lcharl...@vldbsolutions.com<mailto:lcharl...@vldbsolutions.com> Mobile : +44 (0) 773 431 3140 -- https://mail.python.org/mailman/listinfo/python-list

How to use the .isalpha() function correctly

2014-12-14 Thread Luke Tomaneng
Here a very small program that I wrote for Codecademy. When I finished, Codecademy acted like it was correct, but testing of this code revealed otherwise. -- print 'Welcome to the Pig Latin Translator!' # Start coding here! raw_input("Enter a word:

Re: Run Programming ?????

2014-12-14 Thread Luke Tomaneng
ed Codecademy at the end just in case you need to review some basic syntax, but I'm not sure if you'll need it. Luke Tomaneng -- https://mail.python.org/mailman/listinfo/python-list

Re: Run Programming ?????

2014-12-14 Thread Luke Tomaneng
On Sunday, December 14, 2014 9:24:54 AM UTC-8, Luke Tomaneng wrote: > On Friday, December 12, 2014 4:40:01 AM UTC-8, Delgado Motto wrote: > > I travel alot, if not just interested in things of pocketable portability, > > and was curious if you can tell me if Python can be LEARNE

Re: How to use the .isalpha() function correctly

2014-12-14 Thread Luke Tomaneng
On Sunday, December 14, 2014 9:27:14 AM UTC-8, Chris Warrick wrote: > On Sun, Dec 14, 2014 at 6:16 PM, Luke Tomaneng wrote: > > Here a very small program that I wrote for Codecademy. When I finished, > > Codecademy acted like it was correct, but testing of this code revealed

Program calling unwanted functions

2014-12-22 Thread Luke Tomaneng
Hello to all those in this forum, My code seems to have a mind of its own. I have been writing a program to reenact the "Twenny Wun" Vine video, and it seems to be activating functions without me calling them. Here is the script: def kid(): print "Cameraman: You stupid." kid1 = raw_

Concerning Dictionaries and += in Python 2.x

2015-01-19 Thread Luke Tomaneng
I have been having a bit of trouble with the things mentioned in the title. I have written the following script for a Codecademy course: stock = { "banana": 6, "apple": 0, "orange": 32, "pear": 15 } prices = { "banana": 4, "apple": 2, "orange": 1.5, "pear": 3 }

Random ALL CAPS posts on this group

2015-01-19 Thread Luke Tomaneng
Has anyone noticed these? There have been about three of them recently and they don't seem to have anything to do with Python at all. Does anyone know if there is a good reason they are here? -- https://mail.python.org/mailman/listinfo/python-list

Re: Concerning Dictionaries and += in Python 2.x

2015-01-19 Thread Luke Tomaneng
On Monday, January 19, 2015 at 4:21:58 PM UTC-8, Chris Angelico wrote: > On Tue, Jan 20, 2015 at 11:12 AM, Luke Tomaneng wrote: > > def compute_bill(food): > > total = 0 > > for item in food: > > if stock[item] > 0: > > total += pri

Re: Concerning Dictionaries and += in Python 2.x

2015-01-19 Thread Luke Tomaneng
Thanks Chris / Mr. Angelico / whatever you prefer. I attempted to post a reply to you before but it could not be viewed even after refreshing several times. You've been helpful. -- https://mail.python.org/mailman/listinfo/python-list

__pycache__

2015-02-03 Thread Luke Lloyd
I am in school and there is a problem with my code: When I try to run my code in the python code in the python shell it waits about 10 seconds then shows an error that says “IDLE’s subprocess didn’t make connection. Either IDLE can’t start a subprocess or personal firewall software is blocking t

Re: Flag control variable

2014-02-11 Thread luke . geelen
Can I make it that if C = int(sys.argv[3]) But when I only enter 2 argumentvariable it sets c automaticly to 0 or 1 -- https://mail.python.org/mailman/listinfo/python-list

Re: Flag control variable

2014-02-12 Thread luke . geelen
Op woensdag 12 februari 2014 06:23:14 UTC+1 schreef Dave Angel: > luke.gee...@gmail.com Wrote in message: > > > Can I make it that if > > > C = int(sys.argv[3]) > > > But when I only enter 2 argumentvariable it sets c automaticly to 0 or 1 > > > > > > > Why do you ask for 'automatically'?

Re: Flag control variable

2014-02-12 Thread luke . geelen
Op woensdag 12 februari 2014 17:10:36 UTC+1 schreef Alain Ketterlin: > luke.gee...@gmail.com writes: > > > > > Can I make it that if > > > C = int(sys.argv[3]) > > > But when I only enter 2 argumentvariable it sets c automaticly to 0 or 1 > > > > C = int(sys.argv[3]) if len(sys.argv) > 3 e

decimal numbers

2014-02-15 Thread luke . geelen
hello, i have been working on a python resistor calculator to let my class show what you can do with python. now i have a script that makes the more speekable value of the resistance (res) #if len(str(res)) > 9: # res2 = res / 10 # print "de weerstand is %s,%s giga ohms" % (res2) #elif

Re: decimal numbers

2014-02-15 Thread Luke Geelen
Op zaterdag 15 februari 2014 10:18:36 UTC+1 schreef Luke Geelen: > hello, > > i have been working on a python resistor calculator to let my class show what > you can do with python. > > now i have a script that makes the more speekable value of the resistance > (res) >

Re: decimal numbers

2014-02-15 Thread Luke Geelen
Op zaterdag 15 februari 2014 11:04:17 UTC+1 schreef Frank Millman: > "Luke Geelen" wrote in message > > news:ec88852e-1384-4aa5-834b-85135be94...@googlegroups.com... > > > Op zaterdag 15 februari 2014 10:18:36 UTC+1 schreef Luke Geelen: > > > hello, &

Re: decimal numbers

2014-02-15 Thread Luke Geelen
If i do set form thing in my script i get Invalide syntax pointing at the last word of the form rule -- https://mail.python.org/mailman/listinfo/python-list

Re: decimal numbers

2014-02-15 Thread Luke Geelen
Op zaterdag 15 februari 2014 18:23:20 UTC+1 schreef Ian: > On Sat, Feb 15, 2014 at 10:17 AM, Luke Geelen wrote: > > > If i do set form thing in my script i get > > > Invalide syntax pointing at the last word of the form rule > > > > Please copy and paste the

Re: decimal numbers

2014-02-15 Thread Luke Geelen
Op zaterdag 15 februari 2014 18:42:51 UTC+1 schreef Luke Geelen: > Op zaterdag 15 februari 2014 18:23:20 UTC+1 schreef Ian: > > > On Sat, Feb 15, 2014 at 10:17 AM, Luke Geelen wrote: > > > > > > > If i do set form thing in my script i get > > > >

Python Requirements

2015-07-17 Thread Luke Harrison
space and monitor resolution. > > I have searched the Python forums and website, but I was unable to find > these requirements. > > Could you please send me a copy of these requirements for use in my > coursework? > > Thank you for your response in advance, > >

Re: Reference Variables In Python Like Those In PHP

2006-08-15 Thread Luke Plant
object for immutable objects. For mutable objects like lists, += does an in place modification. x = 1 y = x # y and x now point to the same object y += 1 # not any more, because ints are immutable, # and += is defined not to mutate for ints Luke -- http://mail.python.org/mailman/li

Seg fault in python extension module

2006-06-02 Thread Luke Miller
't working, or recommend a way to debug these things. Thanks, Luke #include static PyObject *_wrap_glVertex4f(PyObject *self, PyObject *args) { PyObject *resultobj = NULL; float arg1 ; float arg2 ; float arg3 ; float arg4 ; PyObject * obj0 = 0 ; PyOb

Re: Detupleize a tuple for argument list

2006-07-05 Thread Luke Plant
o it. Yes, just this: foo(*t) Luke -- http://mail.python.org/mailman/listinfo/python-list

Re: Python on handhelds

2006-09-11 Thread Luke Dunstan
http://sourceforge.net/projects/pythonce See also the mailing list: http://mail.python.org/mailman/listinfo/pythonce Luke Dunstan -- http://mail.python.org/mailman/listinfo/python-list

Re: make a class instance from a string ?

2006-02-23 Thread Luke Plant
itself around, rather than use the names of classes. Of course that might not be practical or applicable in your situation. Luke -- http://mail.python.org/mailman/listinfo/python-list

Correct abstraction for TK

2007-07-02 Thread luke . hoersten
the rest of my project. Can anyone suggest some examples so that I can get more ideas? Thanks, Luke -- http://mail.python.org/mailman/listinfo/python-list

Re: Correct abstraction for TK

2007-07-03 Thread Luke Hoersten
Thanks for all the suggestions guys. I'm realizing that I need to chose more of a specific paradigm. With closures, I was able to stay away from unneeded classes before but Tk brings it to a whole other level. Thanks again, Luke On Jul 3, 2:50 am, Paul Rubin <http://[EMAIL PROTECTED

Re: [pygame] pyweek is happening august 02 - august 09

2007-08-04 Thread Luke Paireepinart
Laura Creighton wrote: > 00:00 UTC 2007-09-02 to 00:00 UTC 2007-09-09 exactly. See > www.pyweek.org > > PyconUK is happening. http://www.pyconuk.org/ 8th and 9th September. > > This means that those of us who generally do not see each other but are > going to PyconUK could put together an entry a

Re: [pygame] Re: Just bought Python in a Nutshell

2007-09-14 Thread Luke Paireepinart
Lamonte Harris wrote: > Wow I just got it, and its nice doesn't even look used god damn. :D. It's generally considered rude to curse in technical forums such as this. Also, please use more punctuation. You're hard to understand sometimes. -Luke -- http://mail.python.org/mailm

Re: [Tutor] Is there some sort of Python Error log.

2007-09-14 Thread Luke Paireepinart
ommand prompt to catch your errors. -Luke -- http://mail.python.org/mailman/listinfo/python-list

Re: Help! Identical code doesn't work in Wing IDE but does in Komodo.

2006-04-20 Thread Luke Plant
erent python versions - but both of these are just guesses. Luke -- http://mail.python.org/mailman/listinfo/python-list

Re: hi,every body. a problem with PyQt.

2006-05-24 Thread Luke Plant
> i use QT-designer to design application GUI. > now i save the test.ui file into e:\test\test.ui > next step,how can i run it? You should have a look at a PyQt tutorial, such as this one: http://vizzzion.org/?id=pyqt Luke -- http://mail.python.org/mailman/listinfo/python-list

Re: code challenge: generate minimal expressions using only digits 1,2,3

2009-02-20 Thread Luke Dunn
I am teaching myself coding. No university or school, so i guess its homework if you like. i am interested in algorithms generally, after doing some of Project Euler. Of course my own learning process is best served by just getting on with it but sometimes you will do that while other times you mig

Re: code challenge: generate minimal expressions using only digits 1,2,3

2009-02-20 Thread Luke Dunn
want, if I wanted everyone else to do my work for me I'd be a management consultant ! On Fri, Feb 20, 2009 at 3:52 PM, Luke Dunn wrote: > I am teaching myself coding. No university or school, so i guess its > homework if you like. i am interested in algorithms generally, after doing &

Vmware api

2008-08-17 Thread Luke Hamilton
at. Thanks Regards, Luke Hamilton Solutions Architect RPM Solutions Pty Ltd Mobile: 0430 223 558 [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Web shopping carts

2008-09-10 Thread Luke Hamilton
Hey People, I am wondering if there are any OS shopping cart application written in python? Regards, Luke Hamilton Solutions Architect RPM Solutions Pty. Ltd. Mobile: 0430 223 558 [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Web shopping carts

2008-09-10 Thread Luke Hamilton
Thanks... Do you happen to have anymore details? > From: Tino Wildenhain <[EMAIL PROTECTED]> > Date: Wed, 10 Sep 2008 06:52:40 -0500 > To: Luke Hamilton <[EMAIL PROTECTED]> > Cc: "python-list@python.org" > Subject: Re: Web shopping carts > > Luke

Re: Web shopping carts

2008-09-10 Thread Luke Hamilton
> From: Tino Wildenhain <[EMAIL PROTECTED]> > Date: Wed, 10 Sep 2008 08:40:42 -0500 > To: Luke Hamilton <[EMAIL PROTECTED]> > Cc: "python-list@python.org" > Subject: Re: Web shopping carts > > Hi, > > Luke Hamilton wrote: >> Thanks...

Re: Initializing defaults to module variables

2006-04-13 Thread Luke Plant
here: http://code.djangoproject.com/browser/django/branches/magic-removal/django/conf/__init__.py It has quite a bit of custom Django stuff in there that you can ignore, but I think the principles should apply. Luke -- http://mail.python.org/mailman/listinfo/python-list

Re: [Tutor] Commercial or Famous Applicattions.?

2010-11-08 Thread Luke Paireepinart
just off the top of my head... NASA uses it. Lots of games use Python as their game logic/scripting language (how many use PHP? probably approaching 0. LUA is more popular than Python but Python is much more popular than PHP). The first ever bittorrent client (the official one) was written in P

Pyjamas 0.8.1~+alpha1 released

2012-04-16 Thread Luke Kenneth Casson Leighton
This is the 0.8.1~+alpha1 release of Pyjamas. Pyjamas comprises several projects, one of which is a stand-alone python-to-javascript compiler; other projects include a Graphical Widget Toolkit, such that pyjamas applications can run either in web browsers as pure javascript (with no plugins requir

[ANN] Pyjamas-Gitweb 0.1 released

2012-04-18 Thread Luke Kenneth Casson Leighton
http://pypi.python.org/pypi/Pyjamas-GitWeb/0.1 Pyjamas-Gitweb is a pure python git repository browser, comprising an independent JSONRPC back-end service written in 130 lines that can be used by any JSONRPC client (a python command-line example is included), and a front-end python (pyjamas) writte

pyjamas 0.8.1 - help requested for testing to reach stable release

2012-05-01 Thread Luke Kenneth Casson Leighton
hi folks, got a small favour to ask of the python community - or, more specifically, i feel compelled to alert the python community to "a need" with which you may be able to help: we're due for another release, and it's becoming an increasingly-large task. given the number of examples requiring te

pyjamas pyjs.org domain has been hijacked

2012-05-01 Thread Luke Kenneth Casson Leighton
i have an apology to make to the python community. about 3 or 4 months ago a number of the pyjamas users became unhappy that i was sticking to software (libre) principles on the pyjamas project. they saw the long-term policy that i had set, of developing python-based pyjamas-based infrastructure

Re: pyjamas pyjs.org domain has been hijacked

2012-05-01 Thread Luke Kenneth Casson Leighton
... i'm reeally really sorry about this, but it suddenly dawned on me that, under UK law, a breach of the UK's data protection act has occurred, and that the people responsible for setting up the hijacked services have committed a criminal offense under UK law. ordinarily, a free software mailing

Re: Question about pyjamas inner workings (pyjd's version of imputil.py)

2011-06-08 Thread Luke Kenneth Casson Leighton
[i'm bcc'ing this to python-list because it's something that is generic to python, not pyjamas] On Tue, Jun 7, 2011 at 4:38 PM, Alexander Tsepkov wrote: > I'm working on a python-based side project where I want to be able to > generate multiple variations of the program and I really like the way

[ann] pyjamas 0.8alpha1 release

2011-05-04 Thread Luke Kenneth Casson Leighton
after a long delay the pyjamas project - http://pyjs.org - has begun the 0.8 series of releases, beginning with alpha1: https://sourceforge.net/projects/pyjamas/files/pyjamas/0.8/ pyjamas is a suite of projects, including a python-to-javascript compiler with two modes of operation (roughly classi

Re: [ann] pyjamas 0.8alpha1 release

2011-05-04 Thread Luke Kenneth Casson Leighton
On Wed, May 4, 2011 at 3:06 PM, Luke Kenneth Casson Leighton wrote: > after a long delay the pyjamas project - http://pyjs.org - has begun the > 0.8 series of releases, beginning with alpha1: > > https://sourceforge.net/projects/pyjamas/files/pyjamas/0.8/ > > pyjamas is a

pythonwebkit-gtk, pythonwebkit-dfb

2011-05-16 Thread Luke Kenneth Casson Leighton
in preparation for a 0.8 release of pyjamas, a bit of work has been done on pythonwebkit (http://www.gnu.org/software/pythonwebkit) that makes it easier to compile and install. pythonwebkit provides full and complete (see caveats below!) bindings to web browser functionality... in python. what yo

pyjamas 0.4p1 release

2009-01-14 Thread Luke Kenneth Casson Leighton
This is a minor patch release of pyjamas 0.4p1, the Python-to-Javascript compiler and Python Web UI Widgets Toolkit. What is Pyjamas for? Pyjamas allows a developer to create U.I applications in python as if the Web Browser was a Desktop Widget Set toolkit platform (like pygtk2, pywxWidgets and p

report on building of python 2.5.2 under msys under wine on linux.

2009-01-15 Thread Luke Kenneth Casson Leighton
no, the above subject-line is not a joke: i really _have_ successfully built python2.5.2 by installing wine on linux, then msys under wine, and then mingw32 compiler - no, not the linux mingw32-cross-compiler, the _native_ mingw32 compiler that runs under msys, and then hacking things into submissi

Re: report on building of python 2.5.2 under msys under wine on linux.

2009-01-15 Thread Luke Kenneth Casson Leighton
> practical decision, due to /bin/sh.exe messing around and stopping > python.exe from running! (under cmd.exe it's fine. i have to do a > bit more investigation: http://bugs.python.org/issue4956 found it. -- http://mail.python.org/mailman/listinfo/python-list

libmsi.a import library from wine, and header files available (entirely free software), available for python-win32 builds under msys+wine

2009-01-18 Thread Luke Kenneth Casson Leighton
as part of building python2.5.2 under msys under wine on linux using mingw, i thought i'd try building _msi.pyd just for kicks. of course, that required having an msi.lib import library, and associated header files. so, purely as an experiment, i've documented the process by which it is possible

  1   2   >