OLD | NEW |
1 {{+bindTo:partials.standard_nacl_article}} | 1 {{+bindTo:partials.standard_nacl_article}} |
2 | 2 |
3 <section id="what-a-difference-python-makes-codelab"> | 3 <section id="what-a-difference-python-makes-codelab"> |
4 <span id="cds2014-python"></span><h1 id="what-a-difference-python-makes-codelab"
><span id="cds2014-python"></span>What a Difference Python Makes - Codelab</h1> | 4 <span id="cds2014-python"></span><h1 id="what-a-difference-python-makes-codelab"
><span id="cds2014-python"></span>What a Difference Python Makes - Codelab</h1> |
5 <h2 id="introduction">Introduction</h2> | 5 <h2 id="introduction">Introduction</h2> |
6 <p>Learn how you can use client-side Python on your webpage. | 6 <p>Learn how you can use client-side Python on your webpage. |
7 Use the python <a href="https://docs.python.org/2/library/difflib.html" | 7 Use the python <a href="https://docs.python.org/2/library/difflib.html" |
8 target="_blank">difflib</a> module to generate attractive online | 8 target="_blank">difflib</a> module to generate attractive online |
9 textual diffs. | 9 textual diffs. |
10 Develop inside Google Chrome, using a hot off the presses version | 10 Develop inside Google Chrome, using a hot off the presses version |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
214 <h2 id="what-you-ve-learned">What you’ve learned</h2> | 214 <h2 id="what-you-ve-learned">What you’ve learned</h2> |
215 <p>While the details of building and packaging Python have been | 215 <p>While the details of building and packaging Python have been |
216 insulated from you for the purpose of this exercise, the key take-home lesson | 216 insulated from you for the purpose of this exercise, the key take-home lesson |
217 is how easy it is to leverage Python using PNaCl. | 217 is how easy it is to leverage Python using PNaCl. |
218 As you’ve likely experienced, the initial start time is non-trivial. | 218 As you’ve likely experienced, the initial start time is non-trivial. |
219 We’re working on improving this, both by improving PNaCl, | 219 We’re working on improving this, both by improving PNaCl, |
220 and our Python port.</p> | 220 and our Python port.</p> |
221 <p>The same approach to deploying Python apps can be used for the other | 221 <p>The same approach to deploying Python apps can be used for the other |
222 interpreted languages that have been ported to PNaCl.</p> | 222 interpreted languages that have been ported to PNaCl.</p> |
223 <p>Check out the range of interpreters, libraries, and tools | 223 <p>Check out the range of interpreters, libraries, and tools |
224 <a class="reference external" href="https://code.google.com/p/naclports/wiki/Por
tList">already ported to PNaCl and ready to be integrated with your Web App</a>.
</p> | 224 <a class="reference external" href="https://chromium.googlesource.com/webports/+
/master/docs/port_list.md">already ported to PNaCl and ready to be integrated wi
th your Web App</a>.</p> |
225 <p>While our in-browser environment is rapidly evolving | 225 <p>While our in-browser environment is rapidly evolving |
226 to become a complete development solution, | 226 to become a complete development solution, |
227 for the broadest range of development options, check out the | 227 for the broadest range of development options, check out the |
228 <a class="reference external" href="https://developer.chrome.com/native-client/s
dk/download">NaCl SDK</a>.</p> | 228 <a class="reference external" href="https://developer.chrome.com/native-client/s
dk/download">NaCl SDK</a>.</p> |
229 <p>Send us comments and feedback on the <a class="reference external" href="http
s://groups.google.com/forum/#!forum/native-client-discuss">native-client-discuss
</a> mailing list, | 229 <p>Send us comments and feedback on the <a class="reference external" href="http
s://groups.google.com/forum/#!forum/native-client-discuss">native-client-discuss
</a> mailing list, |
230 or ask questions using Stack Overflow’s <a class="reference external" href
="https://stackoverflow.com/questions/tagged/google-nativeclient">google-nativec
lient</a> tag.</p> | 230 or ask questions using Stack Overflow’s <a class="reference external" href
="https://stackoverflow.com/questions/tagged/google-nativeclient">google-nativec
lient</a> tag.</p> |
231 <p>Bring your interpreted app to PNaCl today!</p> | 231 <p>Bring your interpreted app to PNaCl today!</p> |
232 <h2 id="cleanup">Cleanup</h2> | 232 <h2 id="cleanup">Cleanup</h2> |
233 <p>The Web-based version of the Chrome Dev Environment installs | 233 <p>The Web-based version of the Chrome Dev Environment installs |
234 package data (>800MB) into the HTML5 Filesystem storage associated | 234 package data (>800MB) into the HTML5 Filesystem storage associated |
235 with naclports.storage.googleapis.com . | 235 with naclports.storage.googleapis.com . |
236 To recover this storage (i.e. uninstall), | 236 To recover this storage (i.e. uninstall), |
237 enter <strong>chrome://settings/cookies</strong> in the Chrome URL bar. | 237 enter <strong>chrome://settings/cookies</strong> in the Chrome URL bar. |
238 In the cookies UI, search for “naclports”. | 238 In the cookies UI, search for “naclports”. |
239 Then click the “x” next to the naclports entry.</p> | 239 Then click the “x” next to the naclports entry.</p> |
240 </section> | 240 </section> |
241 | 241 |
242 {{/partials.standard_nacl_article}} | 242 {{/partials.standard_nacl_article}} |
OLD | NEW |