You are writing a comment about Writing to Application Support in PyObjC, here is a quick summary:

Applications may thrive on data, but programmers only thrive on data that is coherently organized. For Cocoa applications, user specific data is stored in an application specific subfolder of the '~Library/Application Support/' folder. Here is a quick look at the code necessary to calculate that Path in PyObjC.


You are responding to this comment written by Carl on August 22nd 2008, 09:25.

Are you targeting Leopard/Py2.5? If so, I think it would be a little clearer to use the new ternary statement (x = value1 if cond else value2) instead of just shortcut evaluation. That said, it looks good otherwise.


Please be aware that comment forms go stale after one hour.





Comments may make use of LifeFlow MarkDown. Raw html will be escaped.


Quick Introduction to LifeFlow MarkDown Syntax

A highlighted code block:

@@ ruby
def a (b, c):
  b * c
end
@@

Other common languages work as well: scheme, python, java, html, etc.

Other markdown syntax:

 ### This is an h3 title
#### This is an h4 title
**this is bold**
*this is italics*

1. This is an
2. ordered list

* And an unordered
* list too

[this is a link](http://www.lethain.com/ "Lethain")