Re: [Pythonmac-SIG] A simple app: Develop on Leopard, use on Tiger

2008-06-20 Thread John Velman
On Thu, Jun 19, 2008 at 04:15:02PM -0700, John Velman wrote:
> I'm a bit out of my depth here, new to Mac, comfortable with Python,
> comfortable with SQL, but lots left to learn.
> 
> Problem:
> 
> My daughter is starting a small business renting a certain kind of prop to
[snip]

Many thanks to all who responded!.  Now I've got a few more things to learn
and (hopefully) use some day.

At this writing, it does look like Dabo is pretty much on target for my
needs, so I'll be following up on this.   I still have intentions for PyQt,
and knowing about PyObjc is a great benefit.

I also appreciate the advice about Bento and FileMakerPro -- will file
these for future reference if they are ever needed.

Right now, I prefer to develop a tailor-made application.

Thanks again!

John V.
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] A simple app: Develop on Leopard, use on Tiger

2008-06-20 Thread Ed Leafe

On Jun 19, 2008, at 7:15 PM, John Velman wrote:


My current thinking is (but I've a lot to learn) something like this:

Python as the application platform.  SQLite as an embedded  
database.  Would

be nice to use QT for user interface.

Outputs needed in PDF format, and possible PDF with fillable forms.

I can probably get my daughter to upgrade to Leopard, but if an app  
could

be developed on Leopard and run on Tiger, it would be preferable.

Am I out of my mind?


	No, you're not. As others have mentioned, Dabo sounds like a perfect  
fit for you. I am one of the authors, and would be happy to help you  
with any questions you may have. It would probably be more appropriate  
to ask them on the dabo-users list; you can sign up for that at http://leafe.com/mailman/listinfo/dabo-users 
.


	Not only will Dabo apps run unmodified on Tiger and Leopard, they  
will also run on Windows and Linux, too!


-- Ed Leafe


___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] A simple app: Develop on Leopard, use on Tiger

2008-06-20 Thread DeanG
Would Dabo work well here?

http://dabodev.com/

On Thu, Jun 19, 2008 at 6:15 PM, John Velman <[EMAIL PROTECTED]> wrote:
> I'm a bit out of my depth here, new to Mac, comfortable with Python,
> comfortable with SQL, but lots left to learn.
>
> Problem:
>
> My daughter is starting a small business renting a certain kind of prop to
> the movie industry.   She needs to a) keep track of her stock, b) keep
> track of rentals, c) issue invoices, and other stuff not yet fully defined.
>
> She has a powerbook with Tiger.  I have an iMac with Leopard (10.5.3 as of
> this afternoon).
>
> We looked into Quickbooks (which was recommended by lots of people), but it
> is clearly not adapted to her needs.
>
> It looks to me like a database, sql, form, view, and report problem.   For
> starters (time was short), I set up some spreadsheets on NeoOffice,
> installed NeoOffice in her machine, and did the paperwork she needed by
> manual sorts, filters, and so on.  OK, but for the long term...
>
> My current thinking is (but I've a lot to learn) something like this:
>
> Python as the application platform.  SQLite as an embedded database.  Would
> be nice to use QT for user interface.
>
> Outputs needed in PDF format, and possible PDF with fillable forms.
>
> I can probably get my daughter to upgrade to Leopard, but if an app could
> be developed on Leopard and run on Tiger, it would be preferable.
>
> Am I out of my mind?
>
>
> Thanks,
>
> John Velman
> ___
> Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
> http://mail.python.org/mailman/listinfo/pythonmac-sig
>
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] A simple app: Develop on Leopard, use on Tiger

2008-06-20 Thread Christopher Barker

Henning Hraban Ramm wrote:
If you don't need to create an proper application, you can just install 
all the needed modules on your daughters Mac, then you can develop 
platform independent.


And if you do, you can use py2app with the python.org build of 
python2.5, and you'll get a self-contained application that should run 
on 10.3.9 and above, PPC and Intel.


-Chris




--
Christopher Barker, Ph.D.
Oceanographer

Emergency Response Division
NOAA/NOS/OR&R(206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115   (206) 526-6317   main reception

[EMAIL PROTECTED]
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] converting Mac 'path' to file path in appscript?

2008-06-20 Thread Bill Janssen
Cool.  Thanks, Ned and Daniel.

Bill
___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] A simple app: Develop on Leopard, use on Tiger

2008-06-20 Thread Henning Hraban Ramm

Am 2008-06-20 um 01:15 schrieb John Velman:

Python as the application platform.  SQLite as an embedded  
database.  Would

be nice to use QT for user interface.

Outputs needed in PDF format, and possible PDF with fillable forms.

I can probably get my daughter to upgrade to Leopard, but if an app  
could

be developed on Leopard and run on Tiger, it would be preferable.



I strongly suggest dabo, it's a three-layer framework that wraps  
wxPython for GUI, database access and ReportLab - like made for your  
task.

See dabodev.com and the mailing list - the docs are a bit weak...

Don't know if ReportLab can create PDF forms, I'd use ConTeXt* for such.

If you don't need to create an proper application, you can just  
install all the needed modules on your daughters Mac, then you can  
develop platform independent.



* an alternative to LaTeX, see wiki.contextgarden.net

Greetlings from Lake Constance!
Hraban
---
http://www.fiee.net
https://www.cacert.org (I'm an assurer)



___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig


Re: [Pythonmac-SIG] converting Mac 'path' to file path in appscript?

2008-06-20 Thread Daniel Lord


On Jun 19, 2008, at 21:33 PM, Ned Deily wrote:


One way:
  mactypes.File.makewithhfspath(u'wolfe:downloads').path




mactypes is a very useful module, it is how I get the selection in the  
Finder via appscript whether using Python or PyObjC


def getFinderSelection():
"""List of aliases of selected items in the Finder"""
	return [alias.path for alias in  
app("Finder").selection.get(resulttype=k.alias)]


Daniel

___
Pythonmac-SIG maillist  -  Pythonmac-SIG@python.org
http://mail.python.org/mailman/listinfo/pythonmac-sig