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 | error message: Failed to build mysql-connector
Installing collected packages: mysql-connector
Running setup.py install for mysql-connector ... error
Complete output from command /usr/local/opt/python3/bin/python3.6 -u -c “import setuptools, tokenize;__file__=‘/private/var/folders/tb/4df8hrw97hs40qhx0jmklvzw0000gr/T/pip-build-pa9ighsx/mysql-connector/setup.py’;f=getattr(tokenize, ‘open’, open)(__file__);code=f.read().replace(‘\r\n’, ‘\n’);f.close();exec(compile(code, __file__, ‘exec’))” install --record /var/folders/tb/4df8hrw97hs40qhx0jmklvzw0000gr/T/pip-rc6qs_md-record/install-record.txt --single-version-externally-managed --compile: | 2017-06-18T12:10:22.563638 | Corrine | pythondev_help_Corrine_2017-06-18T12:10:22.563638 | 1,497,787,822.563638 | 82,303 |
pythondev | help | Isn't mysql-connector python 2 only? | 2017-06-18T12:27:14.621419 | Meg | pythondev_help_Meg_2017-06-18T12:27:14.621419 | 1,497,788,834.621419 | 82,304 |
pythondev | help | doesn’t seem like it | 2017-06-18T12:27:26.622221 | Corrine | pythondev_help_Corrine_2017-06-18T12:27:26.622221 | 1,497,788,846.622221 | 82,305 |
pythondev | help | 3.2 3.3 3.4 | 2017-06-18T12:27:35.622816 | Corrine | pythondev_help_Corrine_2017-06-18T12:27:35.622816 | 1,497,788,855.622816 | 82,306 |
pythondev | help | which one are you using when you have to use MySQL? | 2017-06-18T12:27:47.623424 | Corrine | pythondev_help_Corrine_2017-06-18T12:27:47.623424 | 1,497,788,867.623424 | 82,307 |
pythondev | help | I haven't used mysql with 3.6 | 2017-06-18T12:34:36.648190 | Meg | pythondev_help_Meg_2017-06-18T12:34:36.648190 | 1,497,789,276.64819 | 82,308 |
pythondev | help | Only postgres | 2017-06-18T12:34:44.648582 | Meg | pythondev_help_Meg_2017-06-18T12:34:44.648582 | 1,497,789,284.648582 | 82,309 |
pythondev | help | roger thnx <@Meg> | 2017-06-18T12:42:12.673783 | Corrine | pythondev_help_Corrine_2017-06-18T12:42:12.673783 | 1,497,789,732.673783 | 82,310 |
pythondev | help | Regarding Python Classes. How do we create classes (along with inheritance) to be able to do something like, Class().Function(data).toJSON
toJSON being a @property function.
So really I'm looking to take the return of Class().Function(data) and pass it to the toJSON property to format the data.
Anyone have an idea? | 2017-06-18T19:36:34.080758 | Rolf | pythondev_help_Rolf_2017-06-18T19:36:34.080758 | 1,497,814,594.080758 | 82,311 |
pythondev | help | <@Rolf> did you mean like chaining methods? | 2017-06-18T19:38:36.088133 | Marcie | pythondev_help_Marcie_2017-06-18T19:38:36.088133 | 1,497,814,716.088133 | 82,312 |
pythondev | help | Yes. | 2017-06-18T19:38:45.088736 | Rolf | pythondev_help_Rolf_2017-06-18T19:38:45.088736 | 1,497,814,725.088736 | 82,313 |
pythondev | help | I've looked into @property methods @staticmethods | 2017-06-18T19:39:29.091438 | Rolf | pythondev_help_Rolf_2017-06-18T19:39:29.091438 | 1,497,814,769.091438 | 82,314 |
pythondev | help | Just can't figure it out | 2017-06-18T19:39:33.091648 | Rolf | pythondev_help_Rolf_2017-06-18T19:39:33.091648 | 1,497,814,773.091648 | 82,315 |
pythondev | help | `@staticmethod` just means a function doesn't require an instance of itself to operate on | 2017-06-18T19:40:13.093959 | Marcie | pythondev_help_Marcie_2017-06-18T19:40:13.093959 | 1,497,814,813.093959 | 82,316 |
pythondev | help | the key to chaining methods is that you have to return a copy of `self` on chainable methods | 2017-06-18T19:40:35.095376 | Marcie | pythondev_help_Marcie_2017-06-18T19:40:35.095376 | 1,497,814,835.095376 | 82,317 |
pythondev | help | What do you mean | 2017-06-18T19:41:33.098660 | Rolf | pythondev_help_Rolf_2017-06-18T19:41:33.098660 | 1,497,814,893.09866 | 82,318 |
pythondev | help | ```
class Foo:
def __init__(self):
self.data = [] # whatever your initial data here would be
return self
def Function(self, data):
self.data = do_thing_with_data(data)
return self
def toJSON(self):
return json.dumps(self.data)
``` | 2017-06-18T19:42:37.102285 | Marcie | pythondev_help_Marcie_2017-06-18T19:42:37.102285 | 1,497,814,957.102285 | 82,319 |
pythondev | help | something like that would have basic chainable class init and `Function` methods | 2017-06-18T19:43:03.103799 | Marcie | pythondev_help_Marcie_2017-06-18T19:43:03.103799 | 1,497,814,983.103799 | 82,320 |
pythondev | help | like just the fuction needs something like this?
'''
class CLASS(object):
_x = None
def __init__(self):
pass
def something_to_do(self, var1, var2):
x = var1 + var2
return x
@property
def toFloat(self):
return float(_x)
''' | 2017-06-18T19:43:39.105964 | Rolf | pythondev_help_Rolf_2017-06-18T19:43:39.105964 | 1,497,815,019.105964 | 82,321 |
pythondev | help | ```
class Foo:
def bar(self):
# do work
return self
def baz(self):
# do other stuff
return self
@property
def json(self):
return self.__dict__
Foo().bar().baz().json
``` | 2017-06-18T19:44:03.107483 | Beula | pythondev_help_Beula_2017-06-18T19:44:03.107483 | 1,497,815,043.107483 | 82,322 |
pythondev | help | Awesome! | 2017-06-18T19:44:16.108196 | Rolf | pythondev_help_Rolf_2017-06-18T19:44:16.108196 | 1,497,815,056.108196 | 82,323 |
pythondev | help | I didn't try that ... why didn't I try that? | 2017-06-18T19:44:24.108703 | Rolf | pythondev_help_Rolf_2017-06-18T19:44:24.108703 | 1,497,815,064.108703 | 82,324 |
pythondev | help | Hmm this didn't work.
```class CLASS(object):
_x = None
def __init__(self):
pass
def something_to_do(self, var1, var2):
x = var1 + var2
return x
@property
def toFloat(self):
return float(_x)
print(CLASS().something_to_do(1,2).toFloat)``` | 2017-06-18T19:45:42.114187 | Rolf | pythondev_help_Rolf_2017-06-18T19:45:42.114187 | 1,497,815,142.114187 | 82,325 |
pythondev | help | ```Traceback (most recent call last):
File "Untitled 2.py", line 15, in <module>
print(CLASS().something_to_do(1,2).toFloat)
AttributeError: 'int' object has no attribute 'toFloat'
``` | 2017-06-18T19:46:08.115788 | Rolf | pythondev_help_Rolf_2017-06-18T19:46:08.115788 | 1,497,815,168.115788 | 82,326 |
pythondev | help | your `return x` needs to be `return self` | 2017-06-18T19:46:19.116468 | Marcie | pythondev_help_Marcie_2017-06-18T19:46:19.116468 | 1,497,815,179.116468 | 82,327 |
pythondev | help | because `return x` is just returning the result of `var1 + var2`, which is just an int | 2017-06-18T19:46:44.117897 | Marcie | pythondev_help_Marcie_2017-06-18T19:46:44.117897 | 1,497,815,204.117897 | 82,328 |
pythondev | help | ```class CLASS(object):
_x = None
def __init__(self):
pass
def something_to_do(self, var1, var2):
_x = var1 + var2
return self
@property
def toFloat(self):
return float(_x)
print(CLASS().something_to_do(1,2).toFloat)
``` | 2017-06-18T19:47:17.120020 | Rolf | pythondev_help_Rolf_2017-06-18T19:47:17.120020 | 1,497,815,237.12002 | 82,329 |
pythondev | help | ```Traceback (most recent call last):
File "Untitled 2.py", line 15, in <module>
print(CLASS().something_to_do(1,2).toFloat)
File "Untitled 2.py", line 12, in toFloat
return float(_x)
NameError: name '_x' is not defined
``` | 2017-06-18T19:47:27.120603 | Rolf | pythondev_help_Rolf_2017-06-18T19:47:27.120603 | 1,497,815,247.120603 | 82,330 |
pythondev | help | ahh, so `_x` in that scope doesn't exist | 2017-06-18T19:48:10.123113 | Marcie | pythondev_help_Marcie_2017-06-18T19:48:10.123113 | 1,497,815,290.123113 | 82,331 |
pythondev | help | that will need to be `self._x = var1 + var2` | 2017-06-18T19:48:20.123690 | Marcie | pythondev_help_Marcie_2017-06-18T19:48:20.123690 | 1,497,815,300.12369 | 82,332 |
pythondev | help | Wow .. ok .. that one I knew .. just too focused on other things .. | 2017-06-18T19:49:02.126066 | Rolf | pythondev_help_Rolf_2017-06-18T19:49:02.126066 | 1,497,815,342.126066 | 82,333 |
pythondev | help | Just completely missed it like a noob. | 2017-06-18T19:49:12.126627 | Rolf | pythondev_help_Rolf_2017-06-18T19:49:12.126627 | 1,497,815,352.126627 | 82,334 |
pythondev | help | yup .. perfect .. thanks man. | 2017-06-18T19:49:36.128093 | Rolf | pythondev_help_Rolf_2017-06-18T19:49:36.128093 | 1,497,815,376.128093 | 82,335 |
pythondev | help | Returning the self was what I was missing. | 2017-06-18T19:49:48.128870 | Rolf | pythondev_help_Rolf_2017-06-18T19:49:48.128870 | 1,497,815,388.12887 | 82,336 |
pythondev | help | thanks | 2017-06-18T19:49:51.129085 | Rolf | pythondev_help_Rolf_2017-06-18T19:49:51.129085 | 1,497,815,391.129085 | 82,337 |
pythondev | help | no problem! | 2017-06-18T19:52:22.138560 | Marcie | pythondev_help_Marcie_2017-06-18T19:52:22.138560 | 1,497,815,542.13856 | 82,338 |
pythondev | help | its okay, method chaining is a bit of an odd thing to work out at first | 2017-06-18T19:52:30.139086 | Marcie | pythondev_help_Marcie_2017-06-18T19:52:30.139086 | 1,497,815,550.139086 | 82,339 |
pythondev | help | Yeah. Just didn't occur to me to pass the object along. | 2017-06-18T19:55:16.149262 | Rolf | pythondev_help_Rolf_2017-06-18T19:55:16.149262 | 1,497,815,716.149262 | 82,340 |
pythondev | help | If we know it unique, on that col, can we do it cleaner? Anyway i’m vnmese :wink: | 2017-06-18T22:47:41.060122 | Hermina | pythondev_help_Hermina_2017-06-18T22:47:41.060122 | 1,497,826,061.060122 | 82,341 |
pythondev | help | Has anyone come across this issue while using `peewee` or `PyMySQL`?
<https://github.com/coleifer/peewee/issues/1296>
Help pls!! | 2017-06-19T04:00:07.437397 | Pasquale | pythondev_help_Pasquale_2017-06-19T04:00:07.437397 | 1,497,844,807.437397 | 82,342 |
pythondev | help | I have a file( test.txt ) which contains a no. and i want to store that no. in a variable | 2017-06-19T04:06:19.526355 | Jessie | pythondev_help_Jessie_2017-06-19T04:06:19.526355 | 1,497,845,179.526355 | 82,343 |
pythondev | help | new to python | 2017-06-19T04:06:36.530389 | Jessie | pythondev_help_Jessie_2017-06-19T04:06:36.530389 | 1,497,845,196.530389 | 82,344 |
pythondev | help | <@Jessie> Can you declare your problem a bit?
Like given a little example. | 2017-06-19T04:10:02.577799 | Mirna | pythondev_help_Mirna_2017-06-19T04:10:02.577799 | 1,497,845,402.577799 | 82,345 |
pythondev | help | <@Jessie> this sounds like you have quite a basic problem (opening and reading a file, finding the right value and storing it) | 2017-06-19T04:20:34.728020 | Vada | pythondev_help_Vada_2017-06-19T04:20:34.728020 | 1,497,846,034.72802 | 82,346 |
pythondev | help | But considering you are new to the language it is probably worth you doing an online tutorial to learn more about python. We could try and help you but there will likely be more questions and you would be better served by a more formal resource. | 2017-06-19T04:21:34.742763 | Vada | pythondev_help_Vada_2017-06-19T04:21:34.742763 | 1,497,846,094.742763 | 82,347 |
pythondev | help | actually i want to write a script that mail me if root partition is motr than 90% in use...i am fetching that percentage using awk and then appending it to a file and i want to read that file and save that percentage in a variable.. so that i can do if elase on that | 2017-06-19T04:28:03.838294 | Jessie | pythondev_help_Jessie_2017-06-19T04:28:03.838294 | 1,497,846,483.838294 | 82,348 |
pythondev | help | hi. what is the most pythonic/efficient way to check for 2 conditions as in:
i have 3 string-templates
`template1 = 'Main'`
`template2 = 'Other'`
`template3 = 'Final'`
- if `template1` is `Main` and its length < 10, take `template1`, otherwise take `template2` and check its length and if thats too long, take `template3` (each string can be dynamic, so that sometimes `Main` is shorter and sometimes the last. but it should always start by checking `Main`) | 2017-06-19T04:32:31.905593 | Aimee | pythondev_help_Aimee_2017-06-19T04:32:31.905593 | 1,497,846,751.905593 | 82,349 |
pythondev | help | (it should be easy for the experts out there but i cant seem to get my head around it - ideally without a `Class` or `lambda` function) | 2017-06-19T04:34:22.932783 | Aimee | pythondev_help_Aimee_2017-06-19T04:34:22.932783 | 1,497,846,862.932783 | 82,350 |
pythondev | help | length < 10? | 2017-06-19T04:37:24.977371 | Suellen | pythondev_help_Suellen_2017-06-19T04:37:24.977371 | 1,497,847,044.977371 | 82,351 |
pythondev | help | if it's main, then its length is 4, right? | 2017-06-19T04:37:47.982885 | Suellen | pythondev_help_Suellen_2017-06-19T04:37:47.982885 | 1,497,847,067.982885 | 82,352 |
pythondev | help | sorry for the confusion. i tried to include all necessary information. the templates are just names and part of a dict which contains the string --> like:
`main_template = {'string' = 'foo', 'template' = 'Main'}`
`other_template = {'string' = 'bar', 'template' = 'Other'}`
`final_template = {‘string’ = ‘toto’, ‘template’ = ‘Final’}` | 2017-06-19T04:40:11.017906 | Aimee | pythondev_help_Aimee_2017-06-19T04:40:11.017906 | 1,497,847,211.017906 | 82,353 |
pythondev | help | <@Suellen> makes more sense now? | 2017-06-19T04:42:18.049523 | Aimee | pythondev_help_Aimee_2017-06-19T04:42:18.049523 | 1,497,847,338.049523 | 82,354 |
pythondev | help | yeah | 2017-06-19T04:42:38.054548 | Suellen | pythondev_help_Suellen_2017-06-19T04:42:38.054548 | 1,497,847,358.054548 | 82,355 |
pythondev | help | ```
def take_template(*args):
for template in args:
if template['Template'] == 'Main':
return template
if len(template) < 10:
return template
return template
``` | 2017-06-19T04:43:46.071465 | Suellen | pythondev_help_Suellen_2017-06-19T04:43:46.071465 | 1,497,847,426.071465 | 82,356 |
pythondev | help | how about that | 2017-06-19T04:43:49.072252 | Suellen | pythondev_help_Suellen_2017-06-19T04:43:49.072252 | 1,497,847,429.072252 | 82,357 |
pythondev | help | change appropriately | 2017-06-19T04:44:11.077563 | Suellen | pythondev_help_Suellen_2017-06-19T04:44:11.077563 | 1,497,847,451.077563 | 82,358 |
pythondev | help | thanks <@Suellen>. however i quite dont understand how the other templates are used here in their order. maybe very beginner question | 2017-06-19T04:49:13.153410 | Aimee | pythondev_help_Aimee_2017-06-19T04:49:13.153410 | 1,497,847,753.15341 | 82,359 |
pythondev | help | `for template in args` -- loop over all passed arguments (in order, as they are positional arguments) | 2017-06-19T04:49:53.163722 | Suellen | pythondev_help_Suellen_2017-06-19T04:49:53.163722 | 1,497,847,793.163722 | 82,360 |
pythondev | help | return the first found main template, or the first found "len<10" template | 2017-06-19T04:50:17.169924 | Suellen | pythondev_help_Suellen_2017-06-19T04:50:17.169924 | 1,497,847,817.169924 | 82,361 |
pythondev | help | otherwise just return the last one | 2017-06-19T04:50:25.172234 | Suellen | pythondev_help_Suellen_2017-06-19T04:50:25.172234 | 1,497,847,825.172234 | 82,362 |
pythondev | help | No idea why i am getting two outputs........
"""
""" | 2017-06-19T11:53:56.824622 | Jessie | pythondev_help_Jessie_2017-06-19T11:53:56.824622 | 1,497,873,236.824622 | 82,363 |
pythondev | help | eccentric@debian:~/Downloads$ cat test.py
import os
DISK_SPACE = os.system("df -Th | grep /dev/sda6 | awk '{print $6}' | cut -d'%' -f1")
print DISK_SPACE
eccentric@debian:~/Downloads$ df -Th | grep /dev/sda6 | awk '{print $6}' | cut -d'%' -f1
80
eccentric@debian:~/Downloads$ python test.py
80
0
eccentric@debian:~/Downloads$ | 2017-06-19T11:53:58.825292 | Jessie | pythondev_help_Jessie_2017-06-19T11:53:58.825292 | 1,497,873,238.825292 | 82,364 |
pythondev | help | `os.system` returns 0 | 2017-06-19T11:55:30.863413 | Suellen | pythondev_help_Suellen_2017-06-19T11:55:30.863413 | 1,497,873,330.863413 | 82,365 |
pythondev | help | i. e. successful result | 2017-06-19T11:55:37.866310 | Suellen | pythondev_help_Suellen_2017-06-19T11:55:37.866310 | 1,497,873,337.86631 | 82,366 |
pythondev | help | `os.system` calls a program (or a number of them) that you specify, and they print to the terminal; then `os.system` returns 0, because everything was successful; then you print `DISK_SPACE` and that's your 0. | 2017-06-19T11:56:32.889377 | Suellen | pythondev_help_Suellen_2017-06-19T11:56:32.889377 | 1,497,873,392.889377 | 82,367 |
pythondev | help | what if i dont want to have that 0 | 2017-06-19T11:57:08.904234 | Jessie | pythondev_help_Jessie_2017-06-19T11:57:08.904234 | 1,497,873,428.904234 | 82,368 |
pythondev | help | i just want to have size of my disk | 2017-06-19T11:57:18.908764 | Jessie | pythondev_help_Jessie_2017-06-19T11:57:18.908764 | 1,497,873,438.908764 | 82,369 |
pythondev | help | don't `print DISK_SPACE` | 2017-06-19T11:57:44.919724 | Suellen | pythondev_help_Suellen_2017-06-19T11:57:44.919724 | 1,497,873,464.919724 | 82,370 |
pythondev | help | i can do if else on the basis of DISK_SPACE and this 0 wont interrupt me ???? | 2017-06-19T11:58:28.938103 | Jessie | pythondev_help_Jessie_2017-06-19T11:58:28.938103 | 1,497,873,508.938103 | 82,371 |
pythondev | help | ... I don't understand. | 2017-06-19T11:59:26.962872 | Suellen | pythondev_help_Suellen_2017-06-19T11:59:26.962872 | 1,497,873,566.962872 | 82,372 |
pythondev | help | Why bother writing to a file and then having python read it and email? Unless you are using that file for other usages, it's probably easiest to just call the subprocess from python and email based on your condition. | 2017-06-19T12:01:08.009968 | Beula | pythondev_help_Beula_2017-06-19T12:01:08.009968 | 1,497,873,668.009968 | 82,373 |
pythondev | help | Now i am not printing. I wonder why it's still printing 80
"""
import os
DISK_SPACE = os.system("df -Th | grep /dev/sda6 | awk '{print $6}' | cut -d'%' -f1")
if DISK_SPACE > 90:
print "warning"
else:
print "everything is fine"
eccentric@debian:~/Downloads$ python test.py
80
everything is fine
""" | 2017-06-19T12:04:05.083613 | Jessie | pythondev_help_Jessie_2017-06-19T12:04:05.083613 | 1,497,873,845.083613 | 82,374 |
pythondev | help | because os.system just spawns a bunch of processes with current context | 2017-06-19T12:05:10.110085 | Suellen | pythondev_help_Suellen_2017-06-19T12:05:10.110085 | 1,497,873,910.110085 | 82,375 |
pythondev | help | `df` prints to the terminal | 2017-06-19T12:05:19.113661 | Suellen | pythondev_help_Suellen_2017-06-19T12:05:19.113661 | 1,497,873,919.113661 | 82,376 |
pythondev | help | actually i just want to save that output to DISK_SIZE variable | 2017-06-19T12:05:45.124545 | Jessie | pythondev_help_Jessie_2017-06-19T12:05:45.124545 | 1,497,873,945.124545 | 82,377 |
pythondev | help | please format your code, use backticks on both sides instead of quotes: ` ``` ` <@Jessie> | 2017-06-19T12:05:46.124816 | Beula | pythondev_help_Beula_2017-06-19T12:05:46.124816 | 1,497,873,946.124816 | 82,378 |
pythondev | help | backtics says syntax error | 2017-06-19T12:07:02.154690 | Jessie | pythondev_help_Jessie_2017-06-19T12:07:02.154690 | 1,497,874,022.15469 | 82,379 |
pythondev | help | In slack, my friend | 2017-06-19T12:07:14.158948 | Beula | pythondev_help_Beula_2017-06-19T12:07:14.158948 | 1,497,874,034.158948 | 82,380 |
pythondev | help | oh...:grimacing: | 2017-06-19T12:07:57.175749 | Jessie | pythondev_help_Jessie_2017-06-19T12:07:57.175749 | 1,497,874,077.175749 | 82,381 |
pythondev | help | thanks | 2017-06-19T12:08:00.177091 | Jessie | pythondev_help_Jessie_2017-06-19T12:08:00.177091 | 1,497,874,080.177091 | 82,382 |
pythondev | help | The short of it is this: `os.system` does not capture the stdout from the subprocess - you need to use the `subprocess` module: <https://docs.python.org/3/library/subprocess.html#popen-constructor> | 2017-06-19T12:08:17.183560 | Beula | pythondev_help_Beula_2017-06-19T12:08:17.183560 | 1,497,874,097.18356 | 82,383 |
pythondev | help | ```
import subprocess
output = subprocess.check_output('df -h | fgrep udev', shell=True)
print(repr(output))
``` | 2017-06-19T12:09:52.219744 | Suellen | pythondev_help_Suellen_2017-06-19T12:09:52.219744 | 1,497,874,192.219744 | 82,384 |
pythondev | help | If I have an unknown # of properties that come from a JSON document that I want to attach to a Python class and then use that new class for every record moving forward, what's the best way to do that? I was trying to grasp python class factories and was struggling a bit with it | 2017-06-19T12:11:15.251564 | Rikki | pythondev_help_Rikki_2017-06-19T12:11:15.251564 | 1,497,874,275.251564 | 82,385 |
pythondev | help | wow, do you really want exactly that? | 2017-06-19T12:13:57.313279 | Suellen | pythondev_help_Suellen_2017-06-19T12:13:57.313279 | 1,497,874,437.313279 | 82,386 |
pythondev | help | that's crazy! | 2017-06-19T12:14:02.315359 | Suellen | pythondev_help_Suellen_2017-06-19T12:14:02.315359 | 1,497,874,442.315359 | 82,387 |
pythondev | help | ```
import json
class A:
def __init__(self, json_data):
self.__dict__.update(json.loads(json_data))
text = '{"a": 7, "b": 10, "flag": true}'
a = A(text)
print(vars(a))
``` | 2017-06-19T12:14:05.316486 | Suellen | pythondev_help_Suellen_2017-06-19T12:14:05.316486 | 1,497,874,445.316486 | 82,388 |
pythondev | help | thanks | 2017-06-19T12:14:24.323795 | Jessie | pythondev_help_Jessie_2017-06-19T12:14:24.323795 | 1,497,874,464.323795 | 82,389 |
pythondev | help | <@Rikki> If it's crazy but works, it's not crazy :wink: | 2017-06-19T12:14:53.334522 | Suellen | pythondev_help_Suellen_2017-06-19T12:14:53.334522 | 1,497,874,493.334522 | 82,390 |
pythondev | help | (but actually it IS) | 2017-06-19T12:16:29.372204 | Suellen | pythondev_help_Suellen_2017-06-19T12:16:29.372204 | 1,497,874,589.372204 | 82,391 |
pythondev | help | Well, the properties come from json source 1, and the attributes come from json source 2 | 2017-06-19T12:19:57.450069 | Rikki | pythondev_help_Rikki_2017-06-19T12:19:57.450069 | 1,497,874,797.450069 | 82,392 |
pythondev | help | so I want to just build out my template from source 1 and then loop through the thousands of records in source 2 with the template as my container. | 2017-06-19T12:21:08.476918 | Rikki | pythondev_help_Rikki_2017-06-19T12:21:08.476918 | 1,497,874,868.476918 | 82,393 |
pythondev | help | the structure of the json is goofy though so i have to load it and process it separately from the standard .loads(). good times. | 2017-06-19T12:23:48.536435 | Rikki | pythondev_help_Rikki_2017-06-19T12:23:48.536435 | 1,497,875,028.536435 | 82,394 |
pythondev | help | so I have a question is there a slack channel for bokeh or flask? | 2017-06-19T13:26:22.915334 | Thelma | pythondev_help_Thelma_2017-06-19T13:26:22.915334 | 1,497,878,782.915334 | 82,395 |
pythondev | help | I have a question on integrating those two | 2017-06-19T13:26:37.920773 | Thelma | pythondev_help_Thelma_2017-06-19T13:26:37.920773 | 1,497,878,797.920773 | 82,396 |
pythondev | help | there is <#C0LN2AD7T|flask> | 2017-06-19T13:28:10.954328 | Meg | pythondev_help_Meg_2017-06-19T13:28:10.954328 | 1,497,878,890.954328 | 82,397 |
pythondev | help | is this the place to ask? | 2017-06-19T13:28:14.955790 | Thelma | pythondev_help_Thelma_2017-06-19T13:28:14.955790 | 1,497,878,894.95579 | 82,398 |
pythondev | help | <@Meg> Thank you :slightly_smiling_face: | 2017-06-19T13:29:38.987218 | Thelma | pythondev_help_Thelma_2017-06-19T13:29:38.987218 | 1,497,878,978.987218 | 82,399 |
pythondev | help | I saw a YouTube video where someone used similar but for xml and made it where he could import classes defined in xml, it was pretty cool. | 2017-06-19T14:18:04.077695 | Meghan | pythondev_help_Meghan_2017-06-19T14:18:04.077695 | 1,497,881,884.077695 | 82,400 |
pythondev | help | Sorry, that is to the above with json to class with variables. | 2017-06-19T14:18:21.084156 | Meghan | pythondev_help_Meghan_2017-06-19T14:18:21.084156 | 1,497,881,901.084156 | 82,401 |
pythondev | help | what the best way to check if the answer is yes and do something only of it yes | 2017-06-19T14:53:42.873936 | Rona | pythondev_help_Rona_2017-06-19T14:53:42.873936 | 1,497,884,022.873936 | 82,402 |