Logix - gone?

2008-09-10 Thread Stephen Johnson
I found Logix (http://livelogix.net/logix/) while looking for something else and thought it looked like a very interesting project. Unfortunately, the blog, mailing list, and Trac links are broken, and the contact email address bounces. I am interested in playing with it and working on it

Re: Logix - gone?

2008-09-10 Thread Stephen Johnson
U try the download link; it worked for me. Oops. You just found my daily stupid. However, I still wish the Trac link worked, and I would prefer the participation of the original dev to forking it. -Steve Johnson -- http://mail.python.org/mailman/listinfo/python-list

Re: python lists and newline character

2008-07-28 Thread Stephen Johnson
domain.strip() Assuming domain is the string with the newline. -Steve Johnson On Jul 28, 2008, at 1:32 PM, Support Desk wrote: Hello all, I am using os.popen to get a list returned of vpopmail users, something like this x = os.popen('/home/vpopmail/bin/vuserinfo -n -D

Re: readln() until EOF

2008-07-24 Thread Stephen Johnson
the_file = open(path, 'r') for this_line in the_file: #do stuff with this_line -Steve Johnson On Jul 24, 2008, at 3:09 PM, korean_dave wrote: a = open(Thefile.txt,r) while ?: result = a.readln() what do i put in if i want to keep reading line by line until i reach the end

Re: Doubt

2008-07-23 Thread Stephen Johnson
You don't need a mailing list, you need to read the tutorial. Those are completely trivial questions. http://docs.python.org/tut/tut.html -Steve Johnson On Jul 23, 2008, at 10:51 AM, ജഗന്നാഥ് wrote: Friends I am a Perl programmer new to Python. I have a small doubt. How to convert the

Re: convert list of lists to list

2008-07-22 Thread Stephen Johnson
list_A = [['klas*', '*', '*'], ['mooi*', '*', '*', '*'], ['koe'], ['arm*', '*', '*(haar)'], ['groei*', '*', '*', '*', '*']] list_B = [] for inner_list in list_A: #join elements of list into a string with separator ' ' list_B.append(' '.join(inner_list)) print list_B Output:

Re: Python Written in C?

2008-07-20 Thread Stephen Johnson
Carry bits? Who worries about carry bits when you have unlimited precision arithmetic? You want cool? THIS is cool: j = ((invert(xyz[1]-xyz[0],xyz[1]**(k-1))*(xyz[1]**(k-1)-prev_gen[2])) % xyz[1]**(k-1))/xyz[1]**(k-2) You call that cool. I call it unreadable. -Steve Johnson --

Re: Distributing Python App

2008-07-18 Thread Stephen Johnson
Look up py2app and py2exe, for OS X and Windows, respectively. They are extensively documented and easy to use. On Jul 18, 2008, at 3:35 PM, KDawg44 wrote: Hi, I am very new to Python but find it very interesting (from what I know of it) and am considering writing an application. However,

Re: Any Game Developers here?

2008-07-18 Thread Stephen Johnson
I use the Pyglet library to make games. You want to look at the pyglet and pygame mailing lists, not this one. Use Google. In my opinion, PyGame is clunky and Pyglet is elegant, simple, and comprehensive. PyGame has more examples available, but Pyglet has great documentation and enough

Re: Any Game Developers here?

2008-07-18 Thread Stephen Johnson
library. (though of course I know that's not too likely) Aren't you one of the Escort Wing developers? :) Thanks Michael On Fri, Jul 18, 2008 at 5:13 PM, Stephen Johnson [EMAIL PROTECTED] wrote: I use the Pyglet library to make games. You want to look at the pyglet and pygame mailing lists

Re: Any Game Developers here?

2008-07-18 Thread Stephen Johnson
PM, Stephen Johnson [EMAIL PROTECTED] wrote: Yes, I wrote the music, the GUI, and bits of code here and there.. Will Hogben is working on EW 2 for Freeverse right now. But that was in BlitzMax, and I'm in greener pastures now, working on my demo for PyOhio. -Steve Johnson On Jul 18, 2008

Re: Python embedding question.

2008-07-15 Thread Stephen Johnson
The Pyglet library has all the functionality of pygame, but is smaller and much more self-contained. Pygame requires SDL, pyglet only OpenGL. On Jul 15, 2008, at 6:26 AM, Uwe Schmitt wrote: On 15 Jul., 12:14, Thomas Troeger [EMAIL PROTECTED] wrote: Kay Schluehr wrote: On 15 Jul., 11:51,