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 | Receiving this error from python. When i google the error I get a lot of responses involving the using the scrappy Framework. Since I am not using the Scrappy framework I am wondering if I should in what direction I should look for solutions to this error? | 2018-01-17T16:41:57.000021 | Niesha | pythondev_help_Niesha_2018-01-17T16:41:57.000021 | 1,516,207,317.000021 | 29,524 |
pythondev | help | ```Traceback (most recent call last):
File "5.1print_resource.py", line 2, in <module>
from twisted.web.client import getPage
File "C:\Users\jessica\AppData\Local\Programs\Python\Python36-32\lib\site-packages\twisted\web\client.py", line 42, in <module>
from twisted.internet.endpoints import Hos... | 2018-01-17T16:42:29.000250 | Niesha | pythondev_help_Niesha_2018-01-17T16:42:29.000250 | 1,516,207,349.00025 | 29,525 |
pythondev | help | <@Niesha> i've run into this before. which python package are you using? | 2018-01-17T16:45:00.000182 | Carisa | pythondev_help_Carisa_2018-01-17T16:45:00.000182 | 1,516,207,500.000182 | 29,526 |
pythondev | help | as in python install | 2018-01-17T16:45:03.000566 | Carisa | pythondev_help_Carisa_2018-01-17T16:45:03.000566 | 1,516,207,503.000566 | 29,527 |
pythondev | help | 3.6.2 <@Carisa> | 2018-01-17T16:47:42.000504 | Niesha | pythondev_help_Niesha_2018-01-17T16:47:42.000504 | 1,516,207,662.000504 | 29,528 |
pythondev | help | <@Niesha> `pip install pywin32` | 2018-01-17T16:47:42.000520 | Brande | pythondev_help_Brande_2018-01-17T16:47:42.000520 | 1,516,207,662.00052 | 29,529 |
pythondev | help | <@Brande> when that is tried i receive this ```Collecting pywin32
Could not find a version that satisfies the requirement pywin32 (from versions: )
No matching distribution found for pywin32
``` | 2018-01-17T16:49:04.000120 | Niesha | pythondev_help_Niesha_2018-01-17T16:49:04.000120 | 1,516,207,744.00012 | 29,530 |
pythondev | help | okay, then please try `pip install pypiwin32` | 2018-01-17T16:49:42.000820 | Brande | pythondev_help_Brande_2018-01-17T16:49:42.000820 | 1,516,207,782.00082 | 29,531 |
pythondev | help | or have you been using `pip3` to install modules? | 2018-01-17T16:50:08.000136 | Brande | pythondev_help_Brande_2018-01-17T16:50:08.000136 | 1,516,207,808.000136 | 29,532 |
pythondev | help | <@Brande> this seemed to do the trick '''pip install twisted[windows_platform]''' | 2018-01-17T16:51:57.000659 | Niesha | pythondev_help_Niesha_2018-01-17T16:51:57.000659 | 1,516,207,917.000659 | 29,533 |
pythondev | help | <@Niesha> makes sense, probably found the version of `pypiwin32` it needed | 2018-01-17T16:53:23.000229 | Brande | pythondev_help_Brande_2018-01-17T16:53:23.000229 | 1,516,208,003.000229 | 29,534 |
pythondev | help | Yeah, same as my second command, sorry, had the wrong module name :slightly_smiling_face: | 2018-01-17T16:54:13.000537 | Brande | pythondev_help_Brande_2018-01-17T16:54:13.000537 | 1,516,208,053.000537 | 29,535 |
pythondev | help | <@Brande> :taco: | 2018-01-17T16:54:29.000368 | Niesha | pythondev_help_Niesha_2018-01-17T16:54:29.000368 | 1,516,208,069.000368 | 29,536 |
pythondev | help | Thanks! | 2018-01-17T16:54:55.000554 | Brande | pythondev_help_Brande_2018-01-17T16:54:55.000554 | 1,516,208,095.000554 | 29,537 |
pythondev | help | An application we build has to fetch prices from an API and use the latest 50 prices in calculations (like Rolling Average etc.). We have a application that keeps fetching the row from the API every 1 minute. We fill an array with the newest price however.. after 24 hours the array contains 24*60 = 1440 records, but we... | 2018-01-17T17:09:53.000188 | Euna | pythondev_help_Euna_2018-01-17T17:09:53.000188 | 1,516,208,993.000188 | 29,538 |
pythondev | help | construct a modified stack? | 2018-01-17T17:12:21.000493 | Floy | pythondev_help_Floy_2018-01-17T17:12:21.000493 | 1,516,209,141.000493 | 29,539 |
pythondev | help | or priority queue? | 2018-01-17T17:12:28.000273 | Floy | pythondev_help_Floy_2018-01-17T17:12:28.000273 | 1,516,209,148.000273 | 29,540 |
pythondev | help | Hm, not sure if I can follow.. could you give me more info on the modified stack | 2018-01-17T17:13:58.000009 | Euna | pythondev_help_Euna_2018-01-17T17:13:58.000009 | 1,516,209,238.000009 | 29,541 |
pythondev | help | I can’t really find it through Google | 2018-01-17T17:14:06.000353 | Euna | pythondev_help_Euna_2018-01-17T17:14:06.000353 | 1,516,209,246.000353 | 29,542 |
pythondev | help | If the length of the price list `>= 50` pop the oldest item off the list and append the new price? | 2018-01-17T17:17:49.000013 | Porsha | pythondev_help_Porsha_2018-01-17T17:17:49.000013 | 1,516,209,469.000013 | 29,543 |
pythondev | help | using deque in the collections library could be useful for this | 2018-01-17T17:18:25.000111 | Porsha | pythondev_help_Porsha_2018-01-17T17:18:25.000111 | 1,516,209,505.000111 | 29,544 |
pythondev | help | hmm, deque resets the indexes right? | 2018-01-17T17:19:30.000300 | Euna | pythondev_help_Euna_2018-01-17T17:19:30.000300 | 1,516,209,570.0003 | 29,545 |
pythondev | help | yes | 2018-01-17T17:20:23.000095 | Floy | pythondev_help_Floy_2018-01-17T17:20:23.000095 | 1,516,209,623.000095 | 29,546 |
pythondev | help | so, which is why I suggested a modified stack | 2018-01-17T17:20:38.000277 | Floy | pythondev_help_Floy_2018-01-17T17:20:38.000277 | 1,516,209,638.000277 | 29,547 |
pythondev | help | or deque | 2018-01-17T17:20:50.000123 | Floy | pythondev_help_Floy_2018-01-17T17:20:50.000123 | 1,516,209,650.000123 | 29,548 |
pythondev | help | but implement your own sort | 2018-01-17T17:21:01.000375 | Floy | pythondev_help_Floy_2018-01-17T17:21:01.000375 | 1,516,209,661.000375 | 29,549 |
pythondev | help | <@Floy> What's a modified stack? Not heard of that one before | 2018-01-17T17:24:09.000157 | Porsha | pythondev_help_Porsha_2018-01-17T17:24:09.000157 | 1,516,209,849.000157 | 29,550 |
pythondev | help | I assume he just meant a stack with custom modifications for this use case ie max size of 50 | 2018-01-17T17:26:06.000131 | Leanora | pythondev_help_Leanora_2018-01-17T17:26:06.000131 | 1,516,209,966.000131 | 29,551 |
pythondev | help | yep | 2018-01-17T17:26:42.000019 | Floy | pythondev_help_Floy_2018-01-17T17:26:42.000019 | 1,516,210,002.000019 | 29,552 |
pythondev | help | and order | 2018-01-17T17:26:44.000126 | Floy | pythondev_help_Floy_2018-01-17T17:26:44.000126 | 1,516,210,004.000126 | 29,553 |
pythondev | help | Ah ok cool | 2018-01-17T17:26:54.000183 | Porsha | pythondev_help_Porsha_2018-01-17T17:26:54.000183 | 1,516,210,014.000183 | 29,554 |
pythondev | help | basically, a stack is a FIFO, but the backing is usually an array or list | 2018-01-17T17:27:13.000144 | Floy | pythondev_help_Floy_2018-01-17T17:27:13.000144 | 1,516,210,033.000144 | 29,555 |
pythondev | help | I am trying to get this code to work in py3 ```if len(sys.argv)!= 2:
print >> sys.stderr, ("Usage: python print_resource.py <URL> <output file>")
#print(sys.stderr)
exit(1)``` I got this error ```TypeError: unsupported operand type(s) for >>: 'builtin_function_or_method' and '_io.Te... | 2018-01-17T17:27:16.000256 | Niesha | pythondev_help_Niesha_2018-01-17T17:27:16.000256 | 1,516,210,036.000256 | 29,556 |
pythondev | help | so, why not leverage the same thing with priority queues to a stack | 2018-01-17T17:27:30.000347 | Floy | pythondev_help_Floy_2018-01-17T17:27:30.000347 | 1,516,210,050.000347 | 29,557 |
pythondev | help | a traditional stack is LIFO so I think for this case a modified queue or deque would be better | 2018-01-17T17:28:21.000327 | Leanora | pythondev_help_Leanora_2018-01-17T17:28:21.000327 | 1,516,210,101.000327 | 29,558 |
pythondev | help | eg, implement an order method that reorders everything on insert _and_ a removal method to ensure the required 50 element size is filled with the necessary indexes | 2018-01-17T17:28:23.000515 | Floy | pythondev_help_Floy_2018-01-17T17:28:23.000515 | 1,516,210,103.000515 | 29,559 |
pythondev | help | :brainfart: | 2018-01-17T17:28:28.000134 | Floy | pythondev_help_Floy_2018-01-17T17:28:28.000134 | 1,516,210,108.000134 | 29,560 |
pythondev | help | queue is FIFO, you’re right | 2018-01-17T17:28:37.000426 | Floy | pythondev_help_Floy_2018-01-17T17:28:37.000426 | 1,516,210,117.000426 | 29,561 |
pythondev | help | <@Niesha> <https://docs.python.org/3/whatsnew/3.0.html#print-is-a-function> there's an example there that should cover what you're looking for | 2018-01-17T17:31:57.000164 | Leanora | pythondev_help_Leanora_2018-01-17T17:31:57.000164 | 1,516,210,317.000164 | 29,562 |
pythondev | help | <@Leanora> I think that fixed it thank you :taco: but I dont know if it masked or changed another issue bc when i change it around I get an error that points at '''d = getPage(sys.argv[1] ''' saying '''url must be in bytes''' I know that that means first argument which is a url must be in bytes, but when I try to chan... | 2018-01-17T17:42:37.000317 | Niesha | pythondev_help_Niesha_2018-01-17T17:42:37.000317 | 1,516,210,957.000317 | 29,563 |
pythondev | help | Is the full error must be in bytes not str? | 2018-01-17T17:46:15.000325 | Leanora | pythondev_help_Leanora_2018-01-17T17:46:15.000325 | 1,516,211,175.000325 | 29,564 |
pythondev | help | does d = getPage(sys.argv[1.encode('ascii) make sense. no Probably not.... ummm yes. the whole I will show it to you ``` File "5.1print_resource.py", line 19, in <module>
d = getPage(sys.argv[1])
File "C:\Users\jessica\AppData\Local\Programs\Python\Python36-32\lib\site-packages\twisted\python\deprecate.py"... | 2018-01-17T17:48:38.000214 | Niesha | pythondev_help_Niesha_2018-01-17T17:48:38.000214 | 1,516,211,318.000214 | 29,565 |
pythondev | help | Ah so that sounds like another one of those python 3 string change issues | 2018-01-17T17:51:30.000220 | Leanora | pythondev_help_Leanora_2018-01-17T17:51:30.000220 | 1,516,211,490.00022 | 29,566 |
pythondev | help | if you call encode on the string before passing it into that method it will convert it to its byte representation | 2018-01-17T17:53:26.000065 | Leanora | pythondev_help_Leanora_2018-01-17T17:53:26.000065 | 1,516,211,606.000065 | 29,567 |
pythondev | help | which string though? bc it calls the error on line d = getPage(sys.argv[1]) which I don't consider and string | 2018-01-17T17:55:11.000179 | Niesha | pythondev_help_Niesha_2018-01-17T17:55:11.000179 | 1,516,211,711.000179 | 29,568 |
pythondev | help | `sys.argv[1]` is probably getting passed through as a string | 2018-01-17T17:55:31.000319 | Leanora | pythondev_help_Leanora_2018-01-17T17:55:31.000319 | 1,516,211,731.000319 | 29,569 |
pythondev | help | I actually don't think sys.argv ever parses the arguments as anything other than a string but I can't find documentation to confirm that | 2018-01-17T17:57:01.000363 | Leanora | pythondev_help_Leanora_2018-01-17T17:57:01.000363 | 1,516,211,821.000363 | 29,570 |
pythondev | help | okay when i type d = getPage(sys.argv[1].encode('ascii')) i get a huge reply | 2018-01-17T17:57:18.000171 | Niesha | pythondev_help_Niesha_2018-01-17T17:57:18.000171 | 1,516,211,838.000171 | 29,571 |
pythondev | help | i think the rely is right my book says "this script will print the contents of googles home page, so i think that works thank you <@Leanora> :taco: How come the computer would see sys.argv[1] as a string. I understand it at an argument | 2018-01-17T17:58:27.000166 | Niesha | pythondev_help_Niesha_2018-01-17T17:58:27.000166 | 1,516,211,907.000166 | 29,572 |
pythondev | help | like a location almost streetname[housenumber] i guess most arguments are seen as strings? I am not sure i have the intuition for that. | 2018-01-17T17:59:22.000100 | Niesha | pythondev_help_Niesha_2018-01-17T17:59:22.000100 | 1,516,211,962.0001 | 29,573 |
pythondev | help | <https://docs.python.org/3/tutorial/stdlib.html#command-line-arguments> | 2018-01-17T18:00:44.000261 | Leanora | pythondev_help_Leanora_2018-01-17T18:00:44.000261 | 1,516,212,044.000261 | 29,574 |
pythondev | help | sys.argv is an array of strings | 2018-01-17T18:01:18.000481 | Porsha | pythondev_help_Porsha_2018-01-17T18:01:18.000481 | 1,516,212,078.000481 | 29,575 |
pythondev | help | When using sys.argv the command line arguments are stored as strings like <@Porsha> said, you would have to use a more advanced parsing library like <https://docs.python.org/3/library/argparse.html#module-argparse> to tell it that you're expecting something other than a string | 2018-01-17T18:03:16.000224 | Leanora | pythondev_help_Leanora_2018-01-17T18:03:16.000224 | 1,516,212,196.000224 | 29,576 |
pythondev | help | As well as setting flags and such so that arguments can be passed in any order | 2018-01-17T18:03:46.000169 | Leanora | pythondev_help_Leanora_2018-01-17T18:03:46.000169 | 1,516,212,226.000169 | 29,577 |
pythondev | help | But when storing what comes in from the commandline itself in sys.argv python won't try and figure out this is an int rather than a str, etc and just stores everything as a string | 2018-01-17T18:04:29.000311 | Leanora | pythondev_help_Leanora_2018-01-17T18:04:29.000311 | 1,516,212,269.000311 | 29,578 |
pythondev | help | Thanks. | 2018-01-17T18:07:45.000237 | Niesha | pythondev_help_Niesha_2018-01-17T18:07:45.000237 | 1,516,212,465.000237 | 29,579 |
pythondev | help | Hi guys my friend had a excel file with many values ,he wants a file to be created out of each excel value with some predefined packages and modules defined for each file | 2018-01-17T20:20:08.000036 | Hobert | pythondev_help_Hobert_2018-01-17T20:20:08.000036 | 1,516,220,408.000036 | 29,580 |
pythondev | help | Any tips about how we can achieve this ? | 2018-01-17T20:20:35.000194 | Hobert | pythondev_help_Hobert_2018-01-17T20:20:35.000194 | 1,516,220,435.000194 | 29,581 |
pythondev | help | Hey guys, i know this might be a bit of an abstract question but if you had functions and classes which you wanted to perform code before and/or after calling them how would you be able to do it?
*Assume said functions are from an API and their source code cannot be changed*
My first instict would be to use decorators ... | 2018-01-18T00:35:26.000019 | Andrew | pythondev_help_Andrew_2018-01-18T00:35:26.000019 | 1,516,235,726.000019 | 29,582 |
pythondev | help | Idk, the first thing in my mind is some kind of a wrapper or inherited class.
Semi-pseudo-code:
```
class ThirdParty:
def method(self, a, b, c):
do_something_else()
class MyWrapperAroundThirdParty:
def __init__(self, a, b, c):
self._a = a
self._b = b
self._c = c
def method(... | 2018-01-18T00:40:24.000143 | Sadye | pythondev_help_Sadye_2018-01-18T00:40:24.000143 | 1,516,236,024.000143 | 29,583 |
pythondev | help | Or inherited version:
```
class ThirdParty:
def method(self, a, b, c):
do_something_else()
class MyInherited(ThirdParty):
def method(self, a, b, c):
do_before()
super().method(a, b, c)
do_after()
``` | 2018-01-18T00:41:43.000161 | Sadye | pythondev_help_Sadye_2018-01-18T00:41:43.000161 | 1,516,236,103.000161 | 29,584 |
pythondev | help | It depends on a situation, but I would suggest you to not inherit from random classes which aren't designed for inheritance. So in general case I would prefer wrapping | 2018-01-18T00:42:39.000117 | Sadye | pythondev_help_Sadye_2018-01-18T00:42:39.000117 | 1,516,236,159.000117 | 29,585 |
pythondev | help | Is there a faster way to check for substrings than `y in x` in python? I'm guessing that it's pretty optimized | 2018-01-18T04:11:22.000501 | Von | pythondev_help_Von_2018-01-18T04:11:22.000501 | 1,516,248,682.000501 | 29,586 |
pythondev | help | <@Von> why you're looking for a faster way? You have profiled your code and identified that as the most expensive operation? | 2018-01-18T04:12:53.000255 | Aleida | pythondev_help_Aleida_2018-01-18T04:12:53.000255 | 1,516,248,773.000255 | 29,587 |
pythondev | help | Or that just a general question? | 2018-01-18T04:13:01.000037 | Aleida | pythondev_help_Aleida_2018-01-18T04:13:01.000037 | 1,516,248,781.000037 | 29,588 |
pythondev | help | Mostly curious | 2018-01-18T04:13:13.000337 | Von | pythondev_help_Von_2018-01-18T04:13:13.000337 | 1,516,248,793.000337 | 29,589 |
pythondev | help | Nope, there's no faster way :slightly_smiling_face: | 2018-01-18T04:14:17.000275 | Aleida | pythondev_help_Aleida_2018-01-18T04:14:17.000275 | 1,516,248,857.000275 | 29,590 |
pythondev | help | there is `str.index(substring)` that returns the index of the substring. | 2018-01-18T04:15:29.000205 | Micki | pythondev_help_Micki_2018-01-18T04:15:29.000205 | 1,516,248,929.000205 | 29,591 |
pythondev | help | but that's slower | 2018-01-18T04:15:41.000530 | Micki | pythondev_help_Micki_2018-01-18T04:15:41.000530 | 1,516,248,941.00053 | 29,592 |
pythondev | help | that function call :p | 2018-01-18T04:15:52.000144 | Barney | pythondev_help_Barney_2018-01-18T04:15:52.000144 | 1,516,248,952.000144 | 29,593 |
pythondev | help | Can anyone give me examples of what tasks I should be able to do or projects I can do that would help me get a position with python? | 2018-01-18T06:42:28.000307 | Sook | pythondev_help_Sook_2018-01-18T06:42:28.000307 | 1,516,257,748.000307 | 29,594 |
pythondev | help | <#C64GEEM7U|job_advice> | 2018-01-18T06:47:10.000012 | Sadye | pythondev_help_Sadye_2018-01-18T06:47:10.000012 | 1,516,258,030.000012 | 29,595 |
pythondev | help | Ty | 2018-01-18T06:47:39.000424 | Sook | pythondev_help_Sook_2018-01-18T06:47:39.000424 | 1,516,258,059.000424 | 29,596 |
pythondev | help | what do you guys use for monitoring if a service stays up :slightly_smiling_face:? | 2018-01-18T08:08:06.000173 | Stefan | pythondev_help_Stefan_2018-01-18T08:08:06.000173 | 1,516,262,886.000173 | 29,597 |
pythondev | help | sentry and newrelic | 2018-01-18T08:08:43.000212 | Sadye | pythondev_help_Sadye_2018-01-18T08:08:43.000212 | 1,516,262,923.000212 | 29,598 |
pythondev | help | cloudwatch/pagerduty, newrelic for performance monitoring | 2018-01-18T08:50:07.000018 | Brande | pythondev_help_Brande_2018-01-18T08:50:07.000018 | 1,516,265,407.000018 | 29,599 |
pythondev | help | +for cloudwatch as well | 2018-01-18T08:53:18.000252 | Sadye | pythondev_help_Sadye_2018-01-18T08:53:18.000252 | 1,516,265,598.000252 | 29,600 |
pythondev | help | Hey folks. Trying to count the number of occurrences of `True` in columns across a pandas dataframe, i.e. a pandas version Excel's countif. I haven't used pandas in a while, so this is what I came up with: `df.apply(lambda x: x[x].size)`. It doesn't feel right. Is there a more straightforward way? | 2018-01-18T10:13:27.000609 | Porter | pythondev_help_Porter_2018-01-18T10:13:27.000609 | 1,516,270,407.000609 | 29,601 |
pythondev | help | The columns are `bool` dtypes, btw | 2018-01-18T10:13:47.000560 | Porter | pythondev_help_Porter_2018-01-18T10:13:47.000560 | 1,516,270,427.00056 | 29,602 |
pythondev | help | <@Porter> you can unstack the values and just `sum()` them | 2018-01-18T10:17:52.000238 | Brande | pythondev_help_Brande_2018-01-18T10:17:52.000238 | 1,516,270,672.000238 | 29,603 |
pythondev | help | Hello all. What happens if subprocess.check_call() calls a process which couldn't finish? How it manage to return status different from 0? Is there any timeout ? | 2018-01-18T10:18:18.000432 | Dorian | pythondev_help_Dorian_2018-01-18T10:18:18.000432 | 1,516,270,698.000432 | 29,604 |
pythondev | help | <@Brande> If I'm interpreting your suggestion correctly, that would give me the count of all of the trues in the entire DF? Instead, I'm looking for the count of Trues per column, so my final product would be a series with the column headings and the number of True in that column. | 2018-01-18T10:32:14.000821 | Porter | pythondev_help_Porter_2018-01-18T10:32:14.000821 | 1,516,271,534.000821 | 29,605 |
pythondev | help | for each column, unstack and sum | 2018-01-18T10:33:44.000562 | Brande | pythondev_help_Brande_2018-01-18T10:33:44.000562 | 1,516,271,624.000562 | 29,606 |
pythondev | help | I’ve been having a really hard time writing clean Python code.
I find myself having to change my code in many many places to support a change to my DB schema.
If anyone is willing to discuss this with me, either DM me or reply as a discussion here. I’d be super grateful | 2018-01-18T14:23:58.000122 | Bella | pythondev_help_Bella_2018-01-18T14:23:58.000122 | 1,516,285,438.000122 | 29,607 |
pythondev | help | why not show some examples here? | 2018-01-18T14:25:16.000629 | Floy | pythondev_help_Floy_2018-01-18T14:25:16.000629 | 1,516,285,516.000629 | 29,608 |
pythondev | help | there used to be a code_review channel, but it didn’t get much activity so was archived | 2018-01-18T14:25:33.000589 | Floy | pythondev_help_Floy_2018-01-18T14:25:33.000589 | 1,516,285,533.000589 | 29,609 |
pythondev | help | Sure thing. One moment, I’ll make a diagram and then provide some code samples | 2018-01-18T14:26:19.000544 | Bella | pythondev_help_Bella_2018-01-18T14:26:19.000544 | 1,516,285,579.000544 | 29,610 |
pythondev | help | :thumbsup: | 2018-01-18T14:26:33.000244 | Floy | pythondev_help_Floy_2018-01-18T14:26:33.000244 | 1,516,285,593.000244 | 29,611 |
pythondev | help | Ok, so I’m writing a Flask application, but I don’t believe that detail is important. What I find myself specifically having trouble with is writing clean code and still supporting:
* Creating an instance of my model class `Rule` from JSON
* Creating an instance of my model class `Rule` from a list that comes back fro... | 2018-01-18T14:30:16.000874 | Bella | pythondev_help_Bella_2018-01-18T14:30:16.000874 | 1,516,285,816.000874 | 29,612 |
pythondev | help | ok | 2018-01-18T14:30:49.000655 | Floy | pythondev_help_Floy_2018-01-18T14:30:49.000655 | 1,516,285,849.000655 | 29,613 |
pythondev | help | I don’t think the code samples will be super helpful, but can provide them if the above description doesn’t paint my situation very well | 2018-01-18T14:30:50.000499 | Bella | pythondev_help_Bella_2018-01-18T14:30:50.000499 | 1,516,285,850.000499 | 29,614 |
pythondev | help | is there a way for you to make a db interaction layer? | 2018-01-18T14:31:02.000322 | Floy | pythondev_help_Floy_2018-01-18T14:31:02.000322 | 1,516,285,862.000322 | 29,615 |
pythondev | help | as in a module with classes/functions that you call with data and it handles the interaction? | 2018-01-18T14:31:27.000504 | Floy | pythondev_help_Floy_2018-01-18T14:31:27.000504 | 1,516,285,887.000504 | 29,616 |
pythondev | help | furthermore, are you using sqlalchemy? | 2018-01-18T14:31:42.000565 | Floy | pythondev_help_Floy_2018-01-18T14:31:42.000565 | 1,516,285,902.000565 | 29,617 |
pythondev | help | That was what I intended my model class `Rule` to do.
and no, I am not using sqlalchemy, but rather sqlite3, as I want to learn raw SQL for now | 2018-01-18T14:32:03.000862 | Bella | pythondev_help_Bella_2018-01-18T14:32:03.000862 | 1,516,285,923.000862 | 29,618 |
pythondev | help | Can we explore this option for a minute?
> is there a way for you to make a db interaction layer? | 2018-01-18T14:32:27.000189 | Bella | pythondev_help_Bella_2018-01-18T14:32:27.000189 | 1,516,285,947.000189 | 29,619 |
pythondev | help | ok, so if you think of an application as different layers, with areas of responsibility | 2018-01-18T14:33:06.000224 | Floy | pythondev_help_Floy_2018-01-18T14:33:06.000224 | 1,516,285,986.000224 | 29,620 |
pythondev | help | for example, data | 2018-01-18T14:33:20.000286 | Floy | pythondev_help_Floy_2018-01-18T14:33:20.000286 | 1,516,286,000.000286 | 29,621 |
pythondev | help | or in this case, domain objects | 2018-01-18T14:33:33.000605 | Floy | pythondev_help_Floy_2018-01-18T14:33:33.000605 | 1,516,286,013.000605 | 29,622 |
pythondev | help | Understood. I think I might be a little more familiar with the layers, than my questions have been eluding too | 2018-01-18T14:34:27.000762 | Bella | pythondev_help_Bella_2018-01-18T14:34:27.000762 | 1,516,286,067.000762 | 29,623 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.