Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
pyodide
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
pyodide
Commits
6b99d673
Commit
6b99d673
authored
Sep 20, 2018
by
Michael Droettboom
Committed by
GitHub
Sep 20, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #180 from rth/python_dev.html
Add dev python notebook python_dev.html
parents
127f81fe
5b0381bd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
73 additions
and
0 deletions
+73
-0
Makefile
Makefile
+5
-0
src/python_dev.html
src/python_dev.html
+68
-0
No files found.
Makefile
View file @
6b99d673
...
...
@@ -46,6 +46,7 @@ all: build/pyodide.asm.js \
build/pyodide.js
\
build/pyodide_dev.js
\
build/python.html
\
build/python_dev.html
\
build/matplotlib.html
\
build/matplotlib-sideload.html
\
build/renderedhtml.css
\
...
...
@@ -87,6 +88,10 @@ build/python.html: src/python.html
cp
$<
$@
build/python_dev.html
:
src/python_dev.html
cp
$<
$@
build/matplotlib.html
:
src/matplotlib.html
cp
$<
$@
...
...
src/python_dev.html
0 → 100644
View file @
6b99d673
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"UTF-8"
>
<title>
Python - iodide
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"https://iodide.io/dist/iodide.pyodide-20180623.css"
>
</head>
<body>
<script
id=
"jsmd"
type=
"text/jsmd"
>
%%
meta
{
"
title
"
:
"
Python
"
,
"
languages
"
:
{
"
js
"
:
{
"
pluginType
"
:
"
language
"
,
"
languageId
"
:
"
js
"
,
"
displayName
"
:
"
Javascript
"
,
"
codeMirrorMode
"
:
"
javascript
"
,
"
module
"
:
"
window
"
,
"
evaluator
"
:
"
eval
"
,
"
keybinding
"
:
"
j
"
,
"
url
"
:
""
},
"
py
"
:
{
"
languageId
"
:
"
py
"
,
"
displayName
"
:
"
python
"
,
"
codeMirrorMode
"
:
"
python
"
,
"
keybinding
"
:
"
p
"
,
"
url
"
:
"
./pyodide_dev.js
"
,
"
module
"
:
"
pyodide
"
,
"
evaluator
"
:
"
runPython
"
,
"
pluginType
"
:
"
language
"
}
},
"
lastExport
"
:
"
2018-05-04T17:13:00.489Z
"
}
%%
md
#
Pyodide
dev
notebook
🐍
An
iodide
notebook
used
for
developpement
that
loads
the
locally
build
packages
%%
plugin
{
"
languageId
"
:
"
py
"
,
"
displayName
"
:
"
python
"
,
"
codeMirrorMode
"
:
"
python
"
,
"
keybinding
"
:
"
p
"
,
"
url
"
:
"
./pyodide_dev.js
"
,
"
module
"
:
"
pyodide
"
,
"
evaluator
"
:
"
runPython
"
,
"
pluginType
"
:
"
language
"
}
%%
js
pyodide
.
loadPackage
(
'
numpy
'
)
%%
code
{
"
language
"
:
"
py
"
}
import
numpy
as
np
np
.
arange
(
2
)
%%
js
</script>
<div
id=
'page'
></div>
<script
src=
'https://iodide.io/dist/iodide.pyodide-20180623.js'
></script>
</body>
</html>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment