|
1 <html><head> |
|
2 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><title>Python for S60 Getting Started Guide</title> |
|
3 </head><body><table bgcolor="#eeeeee" border="0" height="8" width="100%"><tbody><tr> |
|
4 <td bgcolor="#99ccff" height="1" width="100%"> |
|
5 <strong><font face="Arial, Helvetica, sans-serif" size="5.5"> <img border="0" src="python_logo.PNG" width="53" height="52"> |
|
6 <a name="Top">Python for S60</a></font></strong></td></tr></tbody></table> |
|
7 <br>Thank you for installing Python for S60 package. <br>Python |
|
8 for S60 is a powerful scripting language with an extensive standard |
|
9 library and easy-to-use APIs for S60 phone features, based on Python 2.5.4. |
|
10 <p><font size="5"><b>Quick Start Guide</b></font></p> |
|
11 <p><b> |
|
12 <font size="4.5"> |
|
13 <a name="Installing_Python_runtime_and_its_dependencies">Installing Python runtime and its dependencies</a></b> |
|
14 </font> |
|
15 </p> |
|
16 <p> Python runtime and its dependencies can be installed from the below links<br> |
|
17 <a href="PyS60Dependencies\Python_${{PYS60_VERSION_NUM}}.sis">PyS60 2.0</a><br> |
|
18 <a href="PyS60Dependencies\pips.sis">pips</a></p> |
|
19 <b> Optional libraries : </b><br>         - <a href="PyS60Dependencies\stdioserver.sis" target="_blank">stdioserver</a> to run python scripts packaged with console profile. |
|
20 <br>        - <a href="PyS60Dependencies\ssl.sis" target="_blank">SSL</a> library if you need SSL support in socket module.<br> |
|
21 <br><b>Note: </b>The unsigned Python runtime component and the PythonScriptShell packages are also available with high capability set in <a href="PyS60Dependencies" target="_blank">PyS60Dependencies</a> |
|
22 </p></p><hr /> |
|
23 <font size="4.5"> |
|
24 <b><a name="Packaging_a_Sample_Application">Packaging a Sample Application</a></b> |
|
25 </font> |
|
26 <p>The following steps provide the procedure for writing and packaging a helloworld script.</p> |
|
27 <p>1. Create a "helloworld" script with the filename "helloworld.py" containing <font face="Courier New">print |
|
28 "Hello World!"</font><font face="Arial"></font> code snippet.<br>2. Click |
|
29 <b>Start</b> > <b>Programs</b> > <b>PythonForS60 ${{PYS60_VERSION_NUM}} </b> > <b>PyS60 |
|
30 Application Packager, </b>the PyS60 application packager<b> </b>dialog box opens.<br>3. |
|
31 Select the <b>Scriptfile</b> radio button then, click the <b>Browse </b>button<b> </b> and select helloworld.py script from the file |
|
32 <b>Open</b> dialog.<br>4. Click the |
|
33 <b>Create</b> button to create the sis file with the current |
|
34 settings. <br>5. Install the sis file <b>helloworld_v1_0_0.sis</b> created in the source directory of |
|
35 "helloworld.py" file.<br><br><b>Note: </b>Refer to |
|
36 <a href="http://pys60.garage.maemo.org/doc/s60/s60.html" target="_blank">PyS60 Module Reference</a> for more details. |
|
37 </p> |
|
38 </p> |
|
39 <hr> |
|
40 <table id="table1" bgcolor="#eeeeee" border="0" height="8" width="100%"> |
|
41 <tbody><tr> |
|
42 <td bgcolor="#99ccff" height="1" width="100%">Copyright (c) 2008 - 2009 |
|
43 Nokia Corporation <br> |
|
44 <i> </i></td> |
|
45 </tr> |
|
46 </tbody></table><small style="font-size: smaller;"><br> </small> |
|
47 |
|
48 |
|
49 </body></html> |