workspace
stringclasses 1
value | channel
stringclasses 1
value | sentences
stringlengths 1
3.93k
| ts
stringlengths 26
26
| user
stringlengths 2
11
| sentence_id
stringlengths 44
53
| timestamp
float64 1.5B
1.56B
| __index_level_0__
int64 0
106k
|
---|---|---|---|---|---|---|---|
pythondev
|
help
|
Where did you put the pdb statement?
|
2017-08-30T08:22:22.000104
|
Beula
|
pythondev_help_Beula_2017-08-30T08:22:22.000104
| 1,504,081,342.000104 | 91,403 |
pythondev
|
help
|
Seems like maybe it was executed at interpreter startup
|
2017-08-30T08:22:44.000069
|
Beula
|
pythondev_help_Beula_2017-08-30T08:22:44.000069
| 1,504,081,364.000069 | 91,404 |
pythondev
|
help
|
right before the def steer():
|
2017-08-30T08:23:07.000129
|
Shirl
|
pythondev_help_Shirl_2017-08-30T08:23:07.000129
| 1,504,081,387.000129 | 91,405 |
pythondev
|
help
|
do it inside the function
|
2017-08-30T08:23:53.000245
|
Beula
|
pythondev_help_Beula_2017-08-30T08:23:53.000245
| 1,504,081,433.000245 | 91,406 |
pythondev
|
help
|
it needs to be inside the function
|
2017-08-30T08:23:57.000006
|
Meg
|
pythondev_help_Meg_2017-08-30T08:23:57.000006
| 1,504,081,437.000006 | 91,407 |
pythondev
|
help
|
FYI, you can use code formatting in slack
|
2017-08-30T08:24:23.000179
|
Meg
|
pythondev_help_Meg_2017-08-30T08:24:23.000179
| 1,504,081,463.000179 | 91,408 |
pythondev
|
help
|
<https://get.slack.help/hc/en-us/articles/202288908-Format-your-messages#code-blocks>
|
2017-08-30T08:24:24.000126
|
Meg
|
pythondev_help_Meg_2017-08-30T08:24:24.000126
| 1,504,081,464.000126 | 91,409 |
pythondev
|
help
|
makes things a little more readable when differentiating code from regular text
|
2017-08-30T08:24:39.000242
|
Meg
|
pythondev_help_Meg_2017-08-30T08:24:39.000242
| 1,504,081,479.000242 | 91,410 |
pythondev
|
help
|
```
def steer():
import pdb; pdb.set_trace()
# the rest of your code
```
|
2017-08-30T08:24:48.000314
|
Beula
|
pythondev_help_Beula_2017-08-30T08:24:48.000314
| 1,504,081,488.000314 | 91,411 |
pythondev
|
help
|
```def steer():
import pdb; pdb.set_trace()
loop = True
while loop:
for event in pygame.event.get():
if event.type == KEYDOWN:
key_input = pygame.key.get_pressed()```
|
2017-08-30T08:26:34.000445
|
Shirl
|
pythondev_help_Shirl_2017-08-30T08:26:34.000445
| 1,504,081,594.000445 | 91,412 |
pythondev
|
help
|
the out put i’m getting is
|
2017-08-30T08:26:48.000459
|
Shirl
|
pythondev_help_Shirl_2017-08-30T08:26:48.000459
| 1,504,081,608.000459 | 91,413 |
pythondev
|
help
|
```pi@raspberrypi:~/Rpi $ sudo python rc_control_test.py
> /home/pi/Rpi/rc_control_test.py(26)steer()
-> loop = True
(Pdb) loop = True
(Pdb) s
> /home/pi/Rpi/rc_control_test.py(27)steer()
-> while loop:
(Pdb) while loop:
*** SyntaxError: unexpected EOF while parsing (<stdin>, line 1)
(Pdb) s
> /home/pi/Rpi/rc_control_test.py(28)steer()
-> for event in pygame.event.get():
(Pdb) for event in pygame.event.get():
*** SyntaxError: unexpected EOF while parsing (<stdin>, line 1)
(Pdb) s
> /home/pi/Rpi/rc_control_test.py(27)steer()
-> while loop:
(Pdb) ```
|
2017-08-30T08:27:27.000246
|
Shirl
|
pythondev_help_Shirl_2017-08-30T08:27:27.000246
| 1,504,081,647.000246 | 91,414 |
pythondev
|
help
|
Maybe just use `print` statements for now, that's odd but am about to run out the door
|
2017-08-30T08:30:14.000072
|
Beula
|
pythondev_help_Beula_2017-08-30T08:30:14.000072
| 1,504,081,814.000072 | 91,415 |
pythondev
|
help
|
ok i’ll try to run print everywhere :slightly_smiling_face:
|
2017-08-30T08:32:05.000017
|
Shirl
|
pythondev_help_Shirl_2017-08-30T08:32:05.000017
| 1,504,081,925.000017 | 91,416 |
pythondev
|
help
|
It's an age old debugging technique :joy:
|
2017-08-30T08:32:19.000104
|
Beula
|
pythondev_help_Beula_2017-08-30T08:32:19.000104
| 1,504,081,939.000104 | 91,417 |
pythondev
|
help
|
```def steer():
#import pdb; pdb.set_trace()
loop = True
print("True")
while loop:
print("while")
for event in pygame.event.get():
print("event")
if event.type == KEYDOWN:
key_input = pygame.key.get_pressed()```
|
2017-08-30T08:35:43.000471
|
Shirl
|
pythondev_help_Shirl_2017-08-30T08:35:43.000471
| 1,504,082,143.000471 | 91,418 |
pythondev
|
help
|
Ok , so it prints “True”, it does for sure prints “while” and it stops there
|
2017-08-30T08:36:22.000126
|
Shirl
|
pythondev_help_Shirl_2017-08-30T08:36:22.000126
| 1,504,082,182.000126 | 91,419 |
pythondev
|
help
|
even if i remove print from underneath while loop for less spam it never manages to get to print(“event”)
|
2017-08-30T08:36:52.000085
|
Shirl
|
pythondev_help_Shirl_2017-08-30T08:36:52.000085
| 1,504,082,212.000085 | 91,420 |
pythondev
|
help
|
BTW when i use Control + C command to kill program, following error appears:
|
2017-08-30T08:38:59.000190
|
Shirl
|
pythondev_help_Shirl_2017-08-30T08:38:59.000190
| 1,504,082,339.00019 | 91,421 |
pythondev
|
help
|
```^CTraceback (most recent call last):
File "rc_control_test.py", line 84, in <module>
steer()
File "rc_control_test.py", line 29, in steer
for event in pygame.event.get():
KeyboardInterrupt```
|
2017-08-30T08:39:16.000318
|
Shirl
|
pythondev_help_Shirl_2017-08-30T08:39:16.000318
| 1,504,082,356.000318 | 91,422 |
pythondev
|
help
|
well what does that is wiating for ? `pygame.event.get()`
|
2017-08-30T08:39:59.000111
|
Ciera
|
pythondev_help_Ciera_2017-08-30T08:39:59.000111
| 1,504,082,399.000111 | 91,423 |
pythondev
|
help
|
looks like it's waiting for some kind of event happening on the rpi
|
2017-08-30T08:40:12.000464
|
Ciera
|
pythondev_help_Ciera_2017-08-30T08:40:12.000464
| 1,504,082,412.000464 | 91,424 |
pythondev
|
help
|
^^ this. are you triggering any events that would go to the pygame queue?
|
2017-08-30T08:40:20.000125
|
Patty
|
pythondev_help_Patty_2017-08-30T08:40:20.000125
| 1,504,082,420.000125 | 91,425 |
pythondev
|
help
|
yeah it should monitor keyboard keys
|
2017-08-30T08:40:39.000025
|
Shirl
|
pythondev_help_Shirl_2017-08-30T08:40:39.000025
| 1,504,082,439.000025 | 91,426 |
pythondev
|
help
|
Well it seems it doesn't get the event
|
2017-08-30T08:42:24.000309
|
Ciera
|
pythondev_help_Ciera_2017-08-30T08:42:24.000309
| 1,504,082,544.000309 | 91,427 |
pythondev
|
help
|
Hello everyone. Can somebody please help me figure out how to make a dict of the following structure in Python?
```
{'name': 'somename',
'pdf': [{'url': '<https://example.com/file.pdf>'}]
}
```
|
2017-08-30T08:42:32.000444
|
Todd
|
pythondev_help_Todd_2017-08-30T08:42:32.000444
| 1,504,082,552.000444 | 91,428 |
pythondev
|
help
|
never used pygame so can't really help you on that
|
2017-08-30T08:42:36.000055
|
Ciera
|
pythondev_help_Ciera_2017-08-30T08:42:36.000055
| 1,504,082,556.000055 | 91,429 |
pythondev
|
help
|
I’m struggling to get the url inside a list.
|
2017-08-30T08:43:28.000472
|
Todd
|
pythondev_help_Todd_2017-08-30T08:43:28.000472
| 1,504,082,608.000472 | 91,430 |
pythondev
|
help
|
json is valid python isn't it? surely that example is a valid dict
|
2017-08-30T08:43:54.000395
|
Sheri
|
pythondev_help_Sheri_2017-08-30T08:43:54.000395
| 1,504,082,634.000395 | 91,431 |
pythondev
|
help
|
it's not JSON
|
2017-08-30T08:44:07.000091
|
Suellen
|
pythondev_help_Suellen_2017-08-30T08:44:07.000091
| 1,504,082,647.000091 | 91,432 |
pythondev
|
help
|
single-quotes aren't allowed in JSON
|
2017-08-30T08:44:14.000417
|
Suellen
|
pythondev_help_Suellen_2017-08-30T08:44:14.000417
| 1,504,082,654.000417 | 91,433 |
pythondev
|
help
|
ah
|
2017-08-30T08:44:17.000232
|
Sheri
|
pythondev_help_Sheri_2017-08-30T08:44:17.000232
| 1,504,082,657.000232 | 91,434 |
pythondev
|
help
|
what's the source of this data?
|
2017-08-30T08:44:36.000239
|
Suellen
|
pythondev_help_Suellen_2017-08-30T08:44:36.000239
| 1,504,082,676.000239 | 91,435 |
pythondev
|
help
|
My bad, it should be double quotes, then.
|
2017-08-30T08:44:53.000210
|
Todd
|
pythondev_help_Todd_2017-08-30T08:44:53.000210
| 1,504,082,693.00021 | 91,436 |
pythondev
|
help
|
ah, it IS json :stuck_out_tongue:
|
2017-08-30T08:45:08.000386
|
Suellen
|
pythondev_help_Suellen_2017-08-30T08:45:08.000386
| 1,504,082,708.000386 | 91,437 |
pythondev
|
help
|
This is what I’m trying to achieve (it’s an example):
```
curl -v -XPOST <https://api.airtable.com/v0/RANDOM_AIRTABLE/BASE> \
-H "Authorization: Bearer $AIRTABLE_API_KEY" \
-H "Content-type: application/json" \
-d '{
"fields": {
"Fotos":[{"url":"IMAGE_URL"}]
}
}'
```
|
2017-08-30T08:45:28.000176
|
Todd
|
pythondev_help_Todd_2017-08-30T08:45:28.000176
| 1,504,082,728.000176 | 91,438 |
pythondev
|
help
|
<@Shirl> how are you initializing pygame? Mind sharing more of the file?
|
2017-08-30T08:45:47.000003
|
Patty
|
pythondev_help_Patty_2017-08-30T08:45:47.000003
| 1,504,082,747.000003 | 91,439 |
pythondev
|
help
|
The following works fine (on my mac):
```
import pygame
pygame.init()
while True:
for event in pygame.event.get():
print(event)
```
|
2017-08-30T08:46:12.000433
|
Patty
|
pythondev_help_Patty_2017-08-30T08:46:12.000433
| 1,504,082,772.000433 | 91,440 |
pythondev
|
help
|
```
import json
my_dict = json.loads(my_json)
```
|
2017-08-30T08:47:15.000027
|
Ciera
|
pythondev_help_Ciera_2017-08-30T08:47:15.000027
| 1,504,082,835.000027 | 91,441 |
pythondev
|
help
|
yeah here is full source code: <https://repl.it/K7by/0>
|
2017-08-30T08:47:41.000044
|
Shirl
|
pythondev_help_Shirl_2017-08-30T08:47:41.000044
| 1,504,082,861.000044 | 91,442 |
pythondev
|
help
|
Having an issue with a Django test, hoping someone can help. Basically have code that does MyModel.objects.create() inside a try block
|
2017-08-30T08:47:59.000117
|
Mendy
|
pythondev_help_Mendy_2017-08-30T08:47:59.000117
| 1,504,082,879.000117 | 91,443 |
pythondev
|
help
|
umm so i have a question about `print`
in conjunction with a string that i got back from subprocess.run stdout
i have the value `b' 12 main.py\r\n'` which i have in `result.stdout`
and i want to render it in the shell with the newlines actually showing-up, rather being escaped... what am I doing wrong?
`print(result.stdout)` # gives me unformatted output
(python 3 btw, if the parens didn't clarify that)
|
2017-08-30T08:48:03.000428
|
Sheri
|
pythondev_help_Sheri_2017-08-30T08:48:03.000428
| 1,504,082,883.000428 | 91,444 |
pythondev
|
help
|
i initializing it by pygame.init() before def steer():
|
2017-08-30T08:48:07.000540
|
Shirl
|
pythondev_help_Shirl_2017-08-30T08:48:07.000540
| 1,504,082,887.00054 | 91,445 |
pythondev
|
help
|
But the exception doesn't get raised there, instead it happens at the end of the test
|
2017-08-30T08:48:36.000001
|
Mendy
|
pythondev_help_Mendy_2017-08-30T08:48:36.000001
| 1,504,082,916.000001 | 91,446 |
pythondev
|
help
|
<@Ciera> I’m actually trying to generate JSON in Python :slightly_smiling_face:
|
2017-08-30T08:48:54.000167
|
Todd
|
pythondev_help_Todd_2017-08-30T08:48:54.000167
| 1,504,082,934.000167 | 91,447 |
pythondev
|
help
|
You might think my except statement is wrong, but I opened it all the way up, still doesn't catch the exception.
|
2017-08-30T08:49:09.000196
|
Mendy
|
pythondev_help_Mendy_2017-08-30T08:49:09.000196
| 1,504,082,949.000196 | 91,448 |
pythondev
|
help
|
It seems to me that it should be simple enough, but I just can’t get it to work.
|
2017-08-30T08:49:14.000348
|
Todd
|
pythondev_help_Todd_2017-08-30T08:49:14.000348
| 1,504,082,954.000348 | 91,449 |
pythondev
|
help
|
<@Mendy> we have a <#C0LMFRMB5|django> channels for question regarding django :slightly_smiling_face:
|
2017-08-30T08:49:35.000290
|
Ciera
|
pythondev_help_Ciera_2017-08-30T08:49:35.000290
| 1,504,082,975.00029 | 91,450 |
pythondev
|
help
|
<@Mendy> <#C0LMFRMB5|django> would be more apt
|
2017-08-30T08:49:43.000123
|
Patty
|
pythondev_help_Patty_2017-08-30T08:49:43.000123
| 1,504,082,983.000123 | 91,451 |
pythondev
|
help
|
beaten!
|
2017-08-30T08:49:45.000493
|
Patty
|
pythondev_help_Patty_2017-08-30T08:49:45.000493
| 1,504,082,985.000493 | 91,452 |
pythondev
|
help
|
<@Ciera> Whoops! Thanks
|
2017-08-30T08:49:56.000192
|
Mendy
|
pythondev_help_Mendy_2017-08-30T08:49:56.000192
| 1,504,082,996.000192 | 91,453 |
pythondev
|
help
|
<@Todd> use `json.dumps(my_data)`
|
2017-08-30T08:50:03.000424
|
Ciera
|
pythondev_help_Ciera_2017-08-30T08:50:03.000424
| 1,504,083,003.000424 | 91,454 |
pythondev
|
help
|
<@Shirl> and is the keyboard you are sending commands through connected to the pi?
|
2017-08-30T08:50:22.000335
|
Patty
|
pythondev_help_Patty_2017-08-30T08:50:22.000335
| 1,504,083,022.000335 | 91,455 |
pythondev
|
help
|
That’s what I am doing. But I need to have the correct structure first. That’s my problem here.
|
2017-08-30T08:50:39.000157
|
Todd
|
pythondev_help_Todd_2017-08-30T08:50:39.000157
| 1,504,083,039.000157 | 91,456 |
pythondev
|
help
|
<@Patty> the code source you linked , did the same thing to me as the source code for my rc… it just doing nothing there waiting for input
|
2017-08-30T08:51:21.000136
|
Shirl
|
pythondev_help_Shirl_2017-08-30T08:51:21.000136
| 1,504,083,081.000136 | 91,457 |
pythondev
|
help
|
and is it connected to a screen or is this all via terminal?
|
2017-08-30T08:51:29.000458
|
Patty
|
pythondev_help_Patty_2017-08-30T08:51:29.000458
| 1,504,083,089.000458 | 91,458 |
pythondev
|
help
|
yeah my mac is connected to pi through ssh
|
2017-08-30T08:51:39.000141
|
Shirl
|
pythondev_help_Shirl_2017-08-30T08:51:39.000141
| 1,504,083,099.000141 | 91,459 |
pythondev
|
help
|
<@Sheri> if you transform your bytes into a string it should work
|
2017-08-30T08:51:42.000361
|
Ciera
|
pythondev_help_Ciera_2017-08-30T08:51:42.000361
| 1,504,083,102.000361 | 91,460 |
pythondev
|
help
|
via terminal
|
2017-08-30T08:51:49.000391
|
Shirl
|
pythondev_help_Shirl_2017-08-30T08:51:49.000391
| 1,504,083,109.000391 | 91,461 |
pythondev
|
help
|
and that’s where you’re sending keyboard presses?
|
2017-08-30T08:51:51.000037
|
Patty
|
pythondev_help_Patty_2017-08-30T08:51:51.000037
| 1,504,083,111.000037 | 91,462 |
pythondev
|
help
|
```
Python 3.5.2 (default, Nov 17 2016, 17:05:23)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> print('Hello\nworld')
Hello
world
>>> print(b'Hello\nworld')
b'Hello\nworld'
>>>
```
|
2017-08-30T08:51:54.000178
|
Ciera
|
pythondev_help_Ciera_2017-08-30T08:51:54.000178
| 1,504,083,114.000178 | 91,463 |
pythondev
|
help
|
Not through a USB keyboard?
|
2017-08-30T08:51:58.000063
|
Patty
|
pythondev_help_Patty_2017-08-30T08:51:58.000063
| 1,504,083,118.000063 | 91,464 |
pythondev
|
help
|
no
|
2017-08-30T08:52:05.000451
|
Shirl
|
pythondev_help_Shirl_2017-08-30T08:52:05.000451
| 1,504,083,125.000451 | 91,465 |
pythondev
|
help
|
<@Todd> do you get an error or something ?
|
2017-08-30T08:52:27.000075
|
Ciera
|
pythondev_help_Ciera_2017-08-30T08:52:27.000075
| 1,504,083,147.000075 | 91,466 |
pythondev
|
help
|
the way your code is written, it won’t work in a terminal, only with a keyboard plugged into the pi
|
2017-08-30T08:52:28.000272
|
Patty
|
pythondev_help_Patty_2017-08-30T08:52:28.000272
| 1,504,083,148.000272 | 91,467 |
pythondev
|
help
|
ah the b'...' is a byte[] or something?
yeah, the simple `print('\n')` test worked and i was starting to clock on haha thanks
|
2017-08-30T08:52:37.000517
|
Sheri
|
pythondev_help_Sheri_2017-08-30T08:52:37.000517
| 1,504,083,157.000517 | 91,468 |
pythondev
|
help
|
ahh
|
2017-08-30T08:52:41.000505
|
Shirl
|
pythondev_help_Shirl_2017-08-30T08:52:41.000505
| 1,504,083,161.000505 | 91,469 |
pythondev
|
help
|
<@Ciera> :taco:
|
2017-08-30T08:52:48.000217
|
Sheri
|
pythondev_help_Sheri_2017-08-30T08:52:48.000217
| 1,504,083,168.000217 | 91,470 |
pythondev
|
help
|
woot thanks :slightly_smiling_face:
|
2017-08-30T08:53:00.000061
|
Ciera
|
pythondev_help_Ciera_2017-08-30T08:53:00.000061
| 1,504,083,180.000061 | 91,471 |
pythondev
|
help
|
is there a simple way to implement that feature into my code?
|
2017-08-30T08:53:30.000174
|
Shirl
|
pythondev_help_Shirl_2017-08-30T08:53:30.000174
| 1,504,083,210.000174 | 91,472 |
pythondev
|
help
|
pygame starts everything in its own window. if you try my snippet on your mac, youll see you need to switch focus to the window
|
2017-08-30T08:53:47.000307
|
Patty
|
pythondev_help_Patty_2017-08-30T08:53:47.000307
| 1,504,083,227.000307 | 91,473 |
pythondev
|
help
|
not sure if that’s possible with pygame
|
2017-08-30T08:54:08.000303
|
Patty
|
pythondev_help_Patty_2017-08-30T08:54:08.000303
| 1,504,083,248.000303 | 91,474 |
pythondev
|
help
|
ironic that the first SO post i found for bytes to string
is someone trying to use the subprocess stdout like I am haha
|
2017-08-30T08:54:17.000586
|
Sheri
|
pythondev_help_Sheri_2017-08-30T08:54:17.000586
| 1,504,083,257.000586 | 91,475 |
pythondev
|
help
|
<@Ciera> list indices must be integers or slices, not str
|
2017-08-30T08:54:55.000507
|
Todd
|
pythondev_help_Todd_2017-08-30T08:54:55.000507
| 1,504,083,295.000507 | 91,476 |
pythondev
|
help
|
I would try with just reading from `stdin` using the builtin `sys` module
|
2017-08-30T08:55:55.000451
|
Patty
|
pythondev_help_Patty_2017-08-30T08:55:55.000451
| 1,504,083,355.000451 | 91,477 |
pythondev
|
help
|
can you share your whole code <@Todd> :slightly_smiling_face:
|
2017-08-30T08:56:40.000305
|
Ciera
|
pythondev_help_Ciera_2017-08-30T08:56:40.000305
| 1,504,083,400.000305 | 91,478 |
pythondev
|
help
|
<https://stackoverflow.com/questions/34497323/what-is-the-easiest-way-to-detect-key-presses-in-python-3-on-a-linux-machine> should be able to help you get started
|
2017-08-30T08:57:12.000125
|
Patty
|
pythondev_help_Patty_2017-08-30T08:57:12.000125
| 1,504,083,432.000125 | 91,479 |
pythondev
|
help
|
```url = [{'url': '<https://example.com/file.pdf>'}]
project['pdf']['url'] = url```
|
2017-08-30T08:57:24.000306
|
Todd
|
pythondev_help_Todd_2017-08-30T08:57:24.000306
| 1,504,083,444.000306 | 91,480 |
pythondev
|
help
|
Bear in mind what I’m trying to achieve here.
|
2017-08-30T08:57:59.000343
|
Todd
|
pythondev_help_Todd_2017-08-30T08:57:59.000343
| 1,504,083,479.000343 | 91,481 |
pythondev
|
help
|
the error says that whereas you think you have nested dicts, you don't.
|
2017-08-30T08:59:09.000268
|
Gabriele
|
pythondev_help_Gabriele_2017-08-30T08:59:09.000268
| 1,504,083,549.000268 | 91,482 |
pythondev
|
help
|
OK, can you suggest something?
|
2017-08-30T08:59:34.000434
|
Todd
|
pythondev_help_Todd_2017-08-30T08:59:34.000434
| 1,504,083,574.000434 | 91,483 |
pythondev
|
help
|
find out what type `project` is, and what type `project['pdf']` is
|
2017-08-30T09:00:03.000061
|
Gabriele
|
pythondev_help_Gabriele_2017-08-30T09:00:03.000061
| 1,504,083,603.000061 | 91,484 |
pythondev
|
help
|
examine the schema, or use print, or the debugger
|
2017-08-30T09:00:29.000438
|
Gabriele
|
pythondev_help_Gabriele_2017-08-30T09:00:29.000438
| 1,504,083,629.000438 | 91,485 |
pythondev
|
help
|
perhaps all you really need is `project['pdf'] = url`, as the structure otherwise is quite weird
|
2017-08-30T09:01:24.000595
|
Gabriele
|
pythondev_help_Gabriele_2017-08-30T09:01:24.000595
| 1,504,083,684.000595 | 91,486 |
pythondev
|
help
|
btw i tried to connect keyboard to Rpi, still same output as with my laptop when i tried to run it through ssh terminal
|
2017-08-30T09:02:39.000233
|
Shirl
|
pythondev_help_Shirl_2017-08-30T09:02:39.000233
| 1,504,083,759.000233 | 91,487 |
pythondev
|
help
|
Thanks! Solved it: `project['pdf'] = url`
|
2017-08-30T09:03:17.000181
|
Todd
|
pythondev_help_Todd_2017-08-30T09:03:17.000181
| 1,504,083,797.000181 | 91,488 |
pythondev
|
help
|
If you can share what `project` is, that would be helpful. If it’s something like:
```
project = {'name': 'somename', 'pdf': [{'url': '<https://example.com/file.pdf>'}]}
```
then getting the url would be
```
project['pdf'][0]['url']
```
|
2017-08-30T09:03:29.000294
|
Patty
|
pythondev_help_Patty_2017-08-30T09:03:29.000294
| 1,504,083,809.000294 | 91,489 |
pythondev
|
help
|
Thanks for the help, <@Patty>. Issue resolved.
|
2017-08-30T09:04:37.000075
|
Todd
|
pythondev_help_Todd_2017-08-30T09:04:37.000075
| 1,504,083,877.000075 | 91,490 |
pythondev
|
help
|
You’ll also need to have it run and switch to the window that pygame opens, but, if you’re not using a display, then pygame isn’t going to really help you
|
2017-08-30T09:05:06.000039
|
Patty
|
pythondev_help_Patty_2017-08-30T09:05:06.000039
| 1,504,083,906.000039 | 91,491 |
pythondev
|
help
|
<@Yessenia> not really very clear...
|
2017-08-30T12:34:46.000381
|
Suellen
|
pythondev_help_Suellen_2017-08-30T12:34:46.000381
| 1,504,096,486.000381 | 91,492 |
pythondev
|
help
|
<@Suellen>
|
2017-08-30T13:09:47.000173
|
Yessenia
|
pythondev_help_Yessenia_2017-08-30T13:09:47.000173
| 1,504,098,587.000173 | 91,493 |
pythondev
|
help
|
Probably not elegant, but works
|
2017-08-30T13:09:55.000043
|
Yessenia
|
pythondev_help_Yessenia_2017-08-30T13:09:55.000043
| 1,504,098,595.000043 | 91,494 |
pythondev
|
help
|
<@Yessenia> <https://pypi.python.org/pypi/tabulate>
|
2017-08-30T13:10:55.000143
|
Collette
|
pythondev_help_Collette_2017-08-30T13:10:55.000143
| 1,504,098,655.000143 | 91,495 |
pythondev
|
help
|
Sharing it here to get more eyes on it :slightly_smiling_face:
|
2017-08-30T13:24:18.000278
|
Gregorio
|
pythondev_help_Gregorio_2017-08-30T13:24:18.000278
| 1,504,099,458.000278 | 91,496 |
pythondev
|
help
|
are you concerned about speed, or ...?
|
2017-08-30T13:28:21.000081
|
Suellen
|
pythondev_help_Suellen_2017-08-30T13:28:21.000081
| 1,504,099,701.000081 | 91,497 |
pythondev
|
help
|
do you need to preserve the original array?
|
2017-08-30T13:28:41.000386
|
Suellen
|
pythondev_help_Suellen_2017-08-30T13:28:41.000386
| 1,504,099,721.000386 | 91,498 |
pythondev
|
help
|
Hi everyone :slightly_smiling_face: I want to talk with some developer about carrier path
|
2017-08-30T13:34:43.000066
|
Carie
|
pythondev_help_Carie_2017-08-30T13:34:43.000066
| 1,504,100,083.000066 | 91,499 |
pythondev
|
help
|
I'm trying to become dev, I'm currently Automation Tester and I just don't really know what should I learn because I'm writing code everyday etc. what the difference that making developer
|
2017-08-30T13:35:54.000436
|
Carie
|
pythondev_help_Carie_2017-08-30T13:35:54.000436
| 1,504,100,154.000436 | 91,500 |
pythondev
|
help
|
Where do your interests lie?
|
2017-08-30T13:37:51.000219
|
Suellen
|
pythondev_help_Suellen_2017-08-30T13:37:51.000219
| 1,504,100,271.000219 | 91,501 |
pythondev
|
help
|
For example, while I was not bad with maths, I wan't really good at it.
So reading about low-level stuff was interesting, but I didn't want to do it myself.
|
2017-08-30T13:39:59.000250
|
Suellen
|
pythondev_help_Suellen_2017-08-30T13:39:59.000250
| 1,504,100,399.00025 | 91,502 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.