File: ipy_processor_test.mdw

package info (click to toggle)
python-pweave 0.30.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 5,064 kB
  • sloc: python: 30,281; makefile: 167
file content (47 lines) | stat: -rw-r--r-- 579 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47

`````python
from pylab import *
x = linspace(0, 2*pi, 1000)
`````

```python
plot(x, sin(x))
```

```{python, caption="Sinc function", echo=False}
plot(x, sinc(x))
```

```{python}
print("Hello")
```

```{.python, wrap = True }
print("pweave " * 20)
```
Some text in between

```{python, wrap = False}
print("pweave " * 20)
```

```{python, evaluate = False}
plot(x)
```

```{python, f_spines = False}
plot(x)
```

```{python, results = "markdown"}
print("**Bold stuff**")
```

```{python term=True}
for i in range(10):
  print(i)
```

```{python engine="shell"}
echo hello
```