tk the python way

2005-01-05 Thread Gabriel Cosentino de Barros
Title: tk the python way I'm strugling a little with TK, and the docs on the web aren't helping much. I've already rewritten about twelve times a basic class that was supposed to simply draw a window. It's not even close the final draft, but i tought "well, let's start with something easy t

RE: How to make executable file ?

2005-01-05 Thread Gabriel Cosentino de Barros
Title: RE: How to make executable file ? > Also, you can try with py2exe. It's very easy. > Catalin. > > You may want to try cx_freeze. I brief experience with both. may be helpful 1. I did a little program on python/TK. Some 100 lines or less 2. executed cx_freeze 3. executed py2exe In

RE: Point of Sale

2005-01-27 Thread Gabriel Cosentino de Barros
Title: RE: Point of Sale Hi, i'm curently doing a POS. But mine is a small scale and stand alone. Are you planing on developing in house and then opening? develop at open or simple use open source tools and keep it closed? I'm going to post my progress at source forge next week when i finis

leo editor

2005-01-27 Thread Gabriel Cosentino de Barros
Title: leo editor A co-worker was trying to convince me that Leo[1] is the better editor of all since it outline the code and let you easily document algoritms and logic. He was writting php code with it. I use jEdit or vi to write my python and my php Then after a day of debates I ended up

RE: Tkinter vs wxPython

2005-01-27 Thread Gabriel Cosentino de Barros
Title: RE: Tkinter vs wxPython *warning* My very own opinions ahead. no flame intended. > Try them both out for an hour or two, and go with whichever > one "feels right".  You very likely won't be making a mistake. i did that for java+swing, python+tk, python+gtk, python+wxWindow and pytho

os.walk bug?

2004-12-16 Thread Gabriel Cosentino de Barros
Title: os.walk bug? Hi I'm new to the list. i found a bad behaviour of os.walk that i can reproduce 100% but didn't find an answer to why it does that I have the folowing tree: t:\dir1 t:\dir1\2000 t:\dir1\2001 t:\dir1\content t:\dir2 t:\dir2\2000 t:\dir2\2001 t:\dir2\2002 t:\dir2\2003 t:

RE: Best GUI for small-scale accounting app?

2004-12-20 Thread Gabriel Cosentino de Barros
Title: RE: Best GUI for small-scale accounting app? ( sorry about top posting) 1. Ever avoid web based. unless you have to do it webbased. I've been doing web based apps for 5 years now. it simple don't pay off! usability within a browser sucks, unless you can spend time re-writting the whel

Jython performance

2004-12-22 Thread Gabriel Cosentino de Barros
Title: Jython performance On the "Best GUI for small-scale accounting app?" tread some people mentioned jython. I went to read about it, but i was wondering if anyone has any real project done with it and can give real world comments about performance. Thanks, Gabriel -- http://mail.pytho

RE: Best GUI for small-scale accounting app?

2004-12-22 Thread Gabriel Cosentino de Barros
Title: RE: Best GUI for small-scale accounting app? > I went w/wxPython for a second app because of its printing capabilities > and the large number of controls that come with it.  Otherwise I would > use pyFltk for small apps. does FLK has any good positioning model now? Last time i checked

RE: extract news article from web

2004-12-23 Thread Gabriel Cosentino de Barros
Title: RE: extract news article from web Excel in later offices has the "web query" feature. (sorry about top posting) -Original Message- From: Steve Holden [mailto:[EMAIL PROTECTED]] Sent: quinta-feira, 23 de dezembro de 2004 12:59 To: python-list@python.org Subject: Re: extract n

hidding the "console" window + system global shortcut keys

2004-12-23 Thread Gabriel Cosentino de Barros
Title: hidding the "console" window + system global shortcut keys Hi, it's a broad topic because they all poped in my head at the same time while writting the alpha version of a desktop-helper app. The app must be the less obstrusive possible. some history: It's mainly for win32. I started wr

RE: Best GUI for small-scale accounting app?

2004-12-27 Thread Gabriel Cosentino de Barros
Title: RE: Best GUI for small-scale accounting app? > From: Paul Rubin [mailto:"http://phr.cx"@NOSPAM.invalid] > > Dave Cook <[EMAIL PROTECTED]> writes: > > > You might not care. > > > > And in that case Tk is much simpler than just about anything else, unless > > looks are really important.

RE: Best GUI for small-scale accounting app?

2004-12-29 Thread Gabriel Cosentino de Barros
Title: RE: Best GUI for small-scale accounting app? From: Paul Rubin [mailto:"http://phr.cx"@NOSPAM.invalid] > This still seems way too complicated.  Why execute a bunch of separate > statements when what you're trying to set up is a single structure? IMHO, i think that the code to create e

RE: Best GUI for small-scale accounting app?

2004-12-29 Thread Gabriel Cosentino de Barros
Title: RE: Best GUI for small-scale accounting app? > But even then, if DaBo ever becomes as easy to use as Delphi/VB for this > type of applications, while remaining cross-platform, that might easily > double the number of Python developers.  ;-) VB/delphi are ridiculous. dont' aim to tha

RE: Best GUI for small-scale accounting app?

2004-12-29 Thread Gabriel Cosentino de Barros
Title: RE: Best GUI for small-scale accounting app? > > - speed where it matters (ie. no 20s load time) > >   Load what? The app, or the data? Users don't care how long the app > takes to start up, since they usually run it all day long. Data > response is a whole 'nother matter, and Da

RE: A scoping question

2004-12-29 Thread Gabriel Cosentino de Barros
Title: RE: A scoping question > myBaseClass.AddChild(file2.NextClass()) > [snip] > class NextClass: > def __init__(self): > for eachChild in myBaseClass.MyChilds:  # <- ERROR > ... I never assumes globals in my classes. always pass them as parameters. it's safer and

vga output

2004-12-29 Thread Gabriel Cosentino de Barros
Title: vga output i'm writting an app to display images without X... i'm scared just to think about writting it in C... The hardware won't run X. and the CPU is very humble, around 20Mhz (and it must have fade outs). it run a minimalisc OpenBSD kernel. Anyone already did something similar and

RE: vga output

2004-12-30 Thread Gabriel Cosentino de Barros
Title: RE: vga output > svgalib should do what you want; I don't know if there are python > bindings for it, but they should be pretty easy to make if not. I was hopping for a already binded solution :) But i think i can try to do the bindings for that, can someone point me to some good wr