mirror of
https://github.com/deltachat/deltachat-core.git
synced 2025-10-04 18:29:19 +02:00
initial sphinx docs and many docstrings.
This commit is contained in:
parent
dd060d7cf2
commit
66d6621f93
19 changed files with 1277 additions and 27 deletions
19
python/doc/getting-started.rst
Normal file
19
python/doc/getting-started.rst
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
|
||||
Getting started
|
||||
================
|
||||
|
||||
::
|
||||
|
||||
# instantiate and configure deltachat account
|
||||
import deltachat
|
||||
ac1 = deltachat.Account("/tmp/db")
|
||||
ac.set_config(addr="test2@hq5.merlinux.eu", mail_pw="********")
|
||||
|
||||
# start configuration activity and smtp/imap threads
|
||||
ac.start()
|
||||
|
||||
# create a contact and send a message
|
||||
contact = ac.create_contact("test3@hq5.merlinux.eu")
|
||||
|
||||
...
|
Loading…
Add table
Add a link
Reference in a new issue