#pyqt | Logs for 2019-04-26
Back
[00:21:12] -!- thomasross has joined #pyqt
[01:50:13] -!- mandeep_ has quit [Ping timeout: 246 seconds]
[01:50:34] -!- mandeep has quit [Ping timeout: 246 seconds]
[01:56:14] -!- mandeep_ has joined #pyqt
[01:56:32] -!- mandeep has joined #pyqt
[02:44:51] -!- n1` has joined #pyqt
[03:41:03] -!- cottoneyejim has joined #pyqt
[04:40:02] -!- Belxjander has quit [Ping timeout: 245 seconds]
[04:41:52] -!- Belxjander has joined #pyqt
[05:18:23] -!- paulwood has joined #pyqt
[05:35:12] -!- BPL has joined #pyqt
[05:53:39] <BPL> hey guys, do you know an easy way to add autocompletion to an InteractiveConsole+QLineEdit? I'd like something simple to add here... no fancy solutions like jedi... I was looking at https://docs.python.org but not sure how to integrate it with a QLineEdit...
[06:14:03] <BPL> n.mind, done :P
[06:49:36] <BPL> consider this mcve https://bpaste.net , if you press a tab here it'll be captured on `on_keyPressEvent` but as soon as i uncomment lines #14 & #15 the tab won't be captured any longer. So, how can I capture the tab key pressed in this particular case?
[06:54:15] <BPL> n.mind, solved... lol :'D
[07:55:46] -!- paulwood has quit [Quit: Textual IRC Client: www.textualapp.com]
[09:25:14] -!- nsizemor has joined #pyqt
[09:42:15] -!- mandeep_ has quit [Remote host closed the connection]
[09:42:19] -!- mandeep has quit [Remote host closed the connection]
[10:29:03] -!- swalladge has joined #pyqt
[10:31:34] -!- swalladge has quit [Client Quit]
[10:52:26] -!- AbleBacon has joined #pyqt
[11:16:10] -!- n1` has quit [Ping timeout: 246 seconds]
[11:18:16] -!- n1` has joined #pyqt
[13:36:55] -!- nsizemor has quit [Quit: nsizemor]
[13:52:28] -!- TheStraying11 has joined #pyqt
[13:53:41] <TheStraying11> hi, how do i sort a json file alphabetically with respect to the value of a particular key? i.e this json file needs to be sorted by the value of 'name' https://pastebin.com
[13:58:01] <BPL> TheStraying11: Probably you want something like sorted(dct["modpacks"], key=lambda v: v[0]["name"])... that said, this is #pyqt... probably you're looking for #python instead?
[13:58:30] <TheStraying11> ah yikes, i thought i switched haha
[13:58:36] <BPL> ;)
[14:18:57] -!- TheStraying11 has quit [Ping timeout: 256 seconds]
[14:57:48] -!- AbleBacon has quit [Quit: Leaving]
[15:01:27] -!- kallesbar has joined #pyqt
[15:26:38] -!- kallesbar has quit [Quit: Konversation terminated!]
[16:16:11] -!- mintograde has joined #pyqt
[17:14:51] -!- n1` has quit [Ping timeout: 268 seconds]
[17:30:22] -!- n1` has joined #pyqt
[17:34:07] -!- milkii has quit [Ping timeout: 240 seconds]
[17:49:28] -!- n1` has quit [Ping timeout: 250 seconds]
[17:51:45] -!- n1` has joined #pyqt
[17:56:17] -!- n1` has quit [Ping timeout: 245 seconds]
[17:58:05] -!- n1` has joined #pyqt
[18:00:17] -!- cottoneyejim has quit [Ping timeout: 255 seconds]
[18:07:17] -!- n1` has quit [Ping timeout: 246 seconds]
[19:31:22] -!- n1` has joined #pyqt
[20:18:52] -!- BPL has quit [Quit: Leaving]
[21:45:19] -!- Belxjander has quit [Quit: AmigaOSv4.1.6+//PowerPC native]
[21:45:52] -!- Belxjander has joined #pyqt
[23:41:58] -!- mintograde has quit [Ping timeout: 276 seconds]