[Pythonmac-SIG] pragma mark with python in xcode?

Daniel Ashbrook anjiro at cc.gatech.edu
Mon Aug 11 17:10:38 CEST 2008


Nehemiah Dacres wrote:
  > What are u using a #pragma for in python? You See that POUND sign your
> using, thats a COMPILER DIRECTIVE, python is an interpreted scripting 
> language, no PREPROCESSING allowed , (except for the .pyc code but thats 
> compiled if you want to get technical with me)
> Am I misinterpreting you intentions?

Yes.

Xcode supports "#pragma mark foo" that puts "foo" into a dropdown menu 
above your code in the editor so you can quickly jump between sections.


dan


More information about the Pythonmac-SIG mailing list