These are chat archives for ipython/ipython

12th
Mar 2018
prinxy
@prinxy
Mar 12 2018 01:43

hello guys
response = self.client.get(f'/lists/{list_.id}/')

this is giving me a syntax error, can someone please help

parashuram joshi
@ParashuramJoshi23
Mar 12 2018 04:41
@chan_seeker_twitter you can use GitHub code snippets
Remi Rampin
@remram44
Mar 12 2018 21:41
Hi! I'm wondering if there's a way to "provide" the IPython interface, ie have matplotlib/... calling display() and my app getting it
I found the way ipykernel hooks into this, by providing an InteractiveShell and associated DisplayPublisher (https://github.com/ipython/ipykernel/blob/ebc13d81b0096684aff07ff60fa9d561a06f2d62/ipykernel/zmqshell.py#L60-L201); is that the correct way to do this?
Remi Rampin
@remram44
Mar 12 2018 22:10
I just want to hook into display(), I have no need for line editing, magic commands, etc