/Mac/Resources/app/Resources/English.lproj/Documentation/finder.html
HTML | 36 lines | 35 code | 1 blank | 0 comment | 0 complexity | e9fb3906f8c875d603a119058c5310ea MD5 | raw file
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 2 "http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd"> 3<html lang="en"> 4<head> 5 <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> 6 <title>Python and the Finder</title> 7 <meta name="generator" content="BBEdit 6.5.3"> 8 <link rel="SHORTCUT ICON" href="pythonsmall.gif"> 9 <META NAME="AppleIcon" CONTENT="pythonsmall.gif"> 10</head> 11<body> 12<h1>Running Python scripts from the Finder</h1> 13 <table> 14 <tr> 15 <td> 16 <img src="python.gif" width="128" height="128" align="top" alt=""> 17 </td> 18 <td> 19 <p>The application PythonLauncher will start a Python interpreter 20 when you drop a Python source file onto it, any file with a <tt>.py</tt> 21 or <tt>.pyw</tt> extension. If you set PythonLauncher as the default 22 application to open a file 23(<a href="help:search=Changing%20the%20application%20that%20opens%20a%20file bookID=Mac%20Help"> 24tell me more</a>) this also works when you double click a Python script.</p> 25 26 <p>PythonLauncher has preferences per filetype for selecting 27 the interpreter to use, and how to launch it: in a Terminal window 28 or not, etc. Holding the Option key while launching your script will 29 bring up a window that allows changing these settings for a single 30 run. </p> 31 </td> 32 </tr> 33 </table> 34 <hr> 35</body> 36</html>