Demo entry 6769756

proio add entry


Submitted by anonymous on Nov 07, 2018 at 21:10
Language: Python 3. Code size: 241 Bytes.

import proio
import proio.model.example as model

with proio.Writer('output.proio') as writer:
    event = proio.Event()
    entry = model.Particle()
    entry.pdg = 11
    id = event.add_entry('Stable', entry)

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).