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 | maybe? I mean, just altering the column name without the data type shouldn’t require a delete? | 2018-01-23T16:08:54.000808 | Floy | pythondev_help_Floy_2018-01-23T16:08:54.000808 | 1,516,723,734.000808 | 30,924 |
pythondev | help | <@Stefan> Maybe I'm reading the article wrong but I think its only talking about migrations that are auto-generated. This makes sense because there's no way for the migration code to know if its a renaming or a drop + create. It sounds like if you can edit the migration file that's auto generated to change it to an ac... | 2018-01-23T16:16:42.000151 | Leanora | pythondev_help_Leanora_2018-01-23T16:16:42.000151 | 1,516,724,202.000151 | 30,925 |
pythondev | help | Anyone out there have experience with Docusign API? Trying to figure out how to use a template with emails (signers) I added in the template and one coming from my code | 2018-01-23T16:25:22.000665 | Henrietta | pythondev_help_Henrietta_2018-01-23T16:25:22.000665 | 1,516,724,722.000665 | 30,926 |
pythondev | help | <@Leanora> so i guess no one can really kind of trust the autogenerated code... | 2018-01-23T16:35:44.001028 | Stefan | pythondev_help_Stefan_2018-01-23T16:35:44.001028 | 1,516,725,344.001028 | 30,927 |
pythondev | help | I'm not sure where, but i'm familiar with some tech that would recognize a renaming automatically as opposed to a delete+create | 2018-01-23T16:36:04.000150 | Stefan | pythondev_help_Stefan_2018-01-23T16:36:04.000150 | 1,516,725,364.00015 | 30,928 |
pythondev | help | i remember.... git ^_^ | 2018-01-23T16:36:43.000033 | Stefan | pythondev_help_Stefan_2018-01-23T16:36:43.000033 | 1,516,725,403.000033 | 30,929 |
pythondev | help | I think django makes some attempt to but asks the user to confirm? I don't know how django would try to do it if for instance two fields of the same type were renamed at once | 2018-01-23T16:36:53.001026 | Leanora | pythondev_help_Leanora_2018-01-23T16:36:53.001026 | 1,516,725,413.001026 | 30,930 |
pythondev | help | git does it based on the file contents I think | 2018-01-23T16:37:10.000249 | Leanora | pythondev_help_Leanora_2018-01-23T16:37:10.000249 | 1,516,725,430.000249 | 30,931 |
pythondev | help | yea, isn't that what alembic is doing too? | 2018-01-23T16:37:27.000310 | Stefan | pythondev_help_Stefan_2018-01-23T16:37:27.000310 | 1,516,725,447.00031 | 30,932 |
pythondev | help | Well I meant in terms of judging the renaming based on the file contents, I think it would be similar to django judging the renaming based on the field type (or whatever they use to make their guess, I'm not sure) | 2018-01-23T16:38:46.000120 | Leanora | pythondev_help_Leanora_2018-01-23T16:38:46.000120 | 1,516,725,526.00012 | 30,933 |
pythondev | help | Update: the solution I have so far is to get a list of signers on a template and send them attached to an envelope (not seeing a direct way to say just use the values already there yet). I could hard code this solution, but I would prefer it be able to be edited from the docusign portal, any help anyone can give would ... | 2018-01-23T16:42:29.000521 | Henrietta | pythondev_help_Henrietta_2018-01-23T16:42:29.000521 | 1,516,725,749.000521 | 30,934 |
pythondev | help | check the sql | 2018-01-23T16:45:04.000366 | Floy | pythondev_help_Floy_2018-01-23T16:45:04.000366 | 1,516,725,904.000366 | 30,935 |
pythondev | help | if you’re doing a straight column rename, it shouldn’t drop the column | 2018-01-23T16:45:16.000185 | Floy | pythondev_help_Floy_2018-01-23T16:45:16.000185 | 1,516,725,916.000185 | 30,936 |
pythondev | help | but if you’re changing the type of the column, then yeah, drop away because the old type won’t be valid with the new one | 2018-01-23T16:45:37.000464 | Floy | pythondev_help_Floy_2018-01-23T16:45:37.000464 | 1,516,725,937.000464 | 30,937 |
pythondev | help | finally I did my first migration | 2018-01-23T16:52:31.000986 | Stefan | pythondev_help_Stefan_2018-01-23T16:52:31.000986 | 1,516,726,351.000986 | 30,938 |
pythondev | help | :hooray: | 2018-01-23T16:52:37.000220 | Stefan | pythondev_help_Stefan_2018-01-23T16:52:37.000220 | 1,516,726,357.00022 | 30,939 |
pythondev | help | I figured out how to do async multi-process python:
```
def start_log_insert_processes(conn, stream):
try:
with concurrent.futures.ProcessPoolExecutor() as executor:
for index, log in enumerate(yaml.load_all(stream)):
future = executor.submit(partial(insert_log_into_table, **{"i... | 2018-01-23T17:18:34.000993 | Lai | pythondev_help_Lai_2018-01-23T17:18:34.000993 | 1,516,727,914.000993 | 30,940 |
pythondev | help | Good lord that doesn't help, running() is blocking | 2018-01-23T17:26:45.000379 | Lai | pythondev_help_Lai_2018-01-23T17:26:45.000379 | 1,516,728,405.000379 | 30,941 |
pythondev | help | I asked a question on stack overflow if someone can think of something, but as for now I will have to hard code my solution:
<https://stackoverflow.com/questions/48411947/get-signer-email-from-a-template-docusign> | 2018-01-23T17:35:22.000424 | Henrietta | pythondev_help_Henrietta_2018-01-23T17:35:22.000424 | 1,516,728,922.000424 | 30,942 |
pythondev | help | <@Lai> also `result` will block until it’s finished, so no need to check for `done` as `result` will signify it’s done | 2018-01-23T17:38:02.000725 | Brande | pythondev_help_Brande_2018-01-23T17:38:02.000725 | 1,516,729,082.000725 | 30,943 |
pythondev | help | yeah, I realized. What I WANT is for the executor to start evaluating before I get to `shutdown`. How do I say like: start doing this immediately, don't wait for shutdown. | 2018-01-23T17:41:45.000529 | Lai | pythondev_help_Lai_2018-01-23T17:41:45.000529 | 1,516,729,305.000529 | 30,944 |
pythondev | help | Because the file is HUGE, and I don't want to load the entire thing into memory | 2018-01-23T17:42:23.000411 | Lai | pythondev_help_Lai_2018-01-23T17:42:23.000411 | 1,516,729,343.000411 | 30,945 |
pythondev | help | hi, how do you, when looping through the construction of a panda dataframe, and saving to a csv file, only show the headers in the first row? | 2018-01-23T18:49:10.000163 | Kimbery | pythondev_help_Kimbery_2018-01-23T18:49:10.000163 | 1,516,733,350.000163 | 30,946 |
pythondev | help | so you only want to save the header and nothing else? | 2018-01-23T18:52:15.000278 | Stefan | pythondev_help_Stefan_2018-01-23T18:52:15.000278 | 1,516,733,535.000278 | 30,947 |
pythondev | help | <@Kimbery> `pd.DataFrame({"a":[1],"b":[2]}).iloc[:0].to_csv("test.csv")` | 2018-01-23T18:54:19.000293 | Stefan | pythondev_help_Stefan_2018-01-23T18:54:19.000293 | 1,516,733,659.000293 | 30,948 |
pythondev | help | so it's looping through some data, extracting the parts i want, constructing a dataframe and then saving it to a csv file with each loop <@Stefan> | 2018-01-23T19:00:38.000303 | Kimbery | pythondev_help_Kimbery_2018-01-23T19:00:38.000303 | 1,516,734,038.000303 | 30,949 |
pythondev | help | <@Stefan> would it be pd.DataFrame({"a":[1],"b":[2]}).iloc[:0].to_csv("test.csv") at the start of the loop and then pd.DataFrame({"a":[1],"b":[2]}).iloc[1:].to_csv("test.csv") from then on ? | 2018-01-23T19:02:49.000655 | Kimbery | pythondev_help_Kimbery_2018-01-23T19:02:49.000655 | 1,516,734,169.000655 | 30,950 |
pythondev | help | team,how i fire 50 concurrent api requests in python ? | 2018-01-24T00:35:57.000177 | Kathleen | pythondev_help_Kathleen_2018-01-24T00:35:57.000177 | 1,516,754,157.000177 | 30,951 |
pythondev | help | how can i fire | 2018-01-24T00:36:01.000130 | Kathleen | pythondev_help_Kathleen_2018-01-24T00:36:01.000130 | 1,516,754,161.00013 | 30,952 |
pythondev | help | <@Kathleen> check out something like <https://aiohttp.readthedocs.io/en/stable/> | 2018-01-24T00:36:34.000341 | Noel | pythondev_help_Noel_2018-01-24T00:36:34.000341 | 1,516,754,194.000341 | 30,953 |
pythondev | help | thanks | 2018-01-24T00:37:58.000230 | Kathleen | pythondev_help_Kathleen_2018-01-24T00:37:58.000230 | 1,516,754,278.00023 | 30,954 |
pythondev | help | where can i specify thenumber ? | 2018-01-24T00:38:08.000377 | Kathleen | pythondev_help_Kathleen_2018-01-24T00:38:08.000377 | 1,516,754,288.000377 | 30,955 |
pythondev | help | there's no number specified, these are asynchronous requests that you queue up an execute | 2018-01-24T00:47:19.000004 | Noel | pythondev_help_Noel_2018-01-24T00:47:19.000004 | 1,516,754,839.000004 | 30,956 |
pythondev | help | there's some decent intro to async in python here: <https://medium.freecodecamp.org/a-guide-to-asynchronous-programming-in-python-with-asyncio-232e2afa44f6> | 2018-01-24T00:47:45.000020 | Noel | pythondev_help_Noel_2018-01-24T00:47:45.000020 | 1,516,754,865.00002 | 30,957 |
pythondev | help | I have an ubuntu vps 16.04 server that I am running two sites on, and it seems always not work every so often, and then when I log in to see the problem, it shows me that the systems needs a restart and then I run `sudo reboot` and shortly after it is back up and running again. Is there a way I can get it to keep runni... | 2018-01-24T07:31:12.000478 | Milo | pythondev_help_Milo_2018-01-24T07:31:12.000478 | 1,516,779,072.000478 | 30,958 |
pythondev | help | how does it show you that the system needs a restart? | 2018-01-24T07:36:08.000237 | Zack | pythondev_help_Zack_2018-01-24T07:36:08.000237 | 1,516,779,368.000237 | 30,959 |
pythondev | help | probably in motd | 2018-01-24T07:39:44.000620 | Barney | pythondev_help_Barney_2018-01-24T07:39:44.000620 | 1,516,779,584.00062 | 30,960 |
pythondev | help | because some package updated | 2018-01-24T07:39:50.000007 | Barney | pythondev_help_Barney_2018-01-24T07:39:50.000007 | 1,516,779,590.000007 | 30,961 |
pythondev | help | you shouldn't worry about it, it doesn't really need a restart | 2018-01-24T07:40:03.000225 | Barney | pythondev_help_Barney_2018-01-24T07:40:03.000225 | 1,516,779,603.000225 | 30,962 |
pythondev | help | <@Zack> ubuntu show your box need restart when you log in | 2018-01-24T07:41:41.000116 | Micki | pythondev_help_Micki_2018-01-24T07:41:41.000116 | 1,516,779,701.000116 | 30,963 |
pythondev | help | Hmm but they said at times the sites aren’t working, and then they probably see the MOTD but it’s probably unrelated. Have you looked to see if the processes are still running and if they are consuming a normal amount of resources for them? | 2018-01-24T07:42:12.000319 | Brande | pythondev_help_Brande_2018-01-24T07:42:12.000319 | 1,516,779,732.000319 | 30,964 |
pythondev | help | oh, because it autoupdates? yeah I would say turn off autoupdates, and just schedule a time weekly to do them manually and reboot | 2018-01-24T07:42:34.000060 | Zack | pythondev_help_Zack_2018-01-24T07:42:34.000060 | 1,516,779,754.00006 | 30,965 |
pythondev | help | but yeah as <@Brande> said there is no reason the update stop your websites processes | 2018-01-24T07:43:03.000727 | Micki | pythondev_help_Micki_2018-01-24T07:43:03.000727 | 1,516,779,783.000727 | 30,966 |
pythondev | help | If you disable auto updates though you should be at least checking daily for updates for security patches and anything pressing. A week can be a long time. Auto updates off means maintaining security updates on your own | 2018-01-24T07:45:18.000410 | Brande | pythondev_help_Brande_2018-01-24T07:45:18.000410 | 1,516,779,918.00041 | 30,967 |
pythondev | help | yeah, I mean most places I’ve worked if you can’t just roll out a new, updated machine (I’d guess that’s not the case based on the description) we’d do a weekly maintenance window. Unfortunately taking machines down daily is difficult. And ensuring you are updated weekly probably puts you ahead of 99% of the world an... | 2018-01-24T08:10:07.000915 | Zack | pythondev_help_Zack_2018-01-24T08:10:07.000915 | 1,516,781,407.000915 | 30,968 |
pythondev | help | Yeah I agree with <@Brande> on this one - autoupdates do more good than harm, especially on Ubuntu. You can also have autoupdates send you an email of what changed along with if a reboot is required. We have that setup on all our machines at work to know what needs restarting. | 2018-01-24T08:19:06.000270 | Diamond | pythondev_help_Diamond_2018-01-24T08:19:06.000270 | 1,516,781,946.00027 | 30,969 |
pythondev | help | Is it possible the machine is just really taxed when updates run and that causes the outage? Do you have any system monitoring on the VPS that you can track? | 2018-01-24T08:20:08.000155 | Diamond | pythondev_help_Diamond_2018-01-24T08:20:08.000155 | 1,516,782,008.000155 | 30,970 |
pythondev | help | Team, how can i do this? I am getting lost, please help me.
I have a class BlacklistTokenSerializer which inherits from a base class, I want to call the validate function of this class and pass it my own token check.validate(token).
```class BlacklistTokenSerializer(VerificationBaseSerializer):
"""
Blacklis... | 2018-01-24T08:29:22.000236 | Josephine | pythondev_help_Josephine_2018-01-24T08:29:22.000236 | 1,516,782,562.000236 | 30,971 |
pythondev | help | what's not working ? do you get any error ? | 2018-01-24T08:31:41.000016 | Micki | pythondev_help_Micki_2018-01-24T08:31:41.000016 | 1,516,782,701.000016 | 30,972 |
pythondev | help | <@Milo> for what its worth, I have unattended-upgrades set to security updates | 2018-01-24T08:50:44.000630 | Floy | pythondev_help_Floy_2018-01-24T08:50:44.000630 | 1,516,783,844.00063 | 30,973 |
pythondev | help | and most of the actual stuff that shows up that needs to be installed is mostly extraneous, irrelevant packages that are undergoing maintenance | 2018-01-24T08:51:20.000366 | Floy | pythondev_help_Floy_2018-01-24T08:51:20.000366 | 1,516,783,880.000366 | 30,974 |
pythondev | help | I get a 500 when I call the view. | 2018-01-24T08:51:52.000505 | Josephine | pythondev_help_Josephine_2018-01-24T08:51:52.000505 | 1,516,783,912.000505 | 30,975 |
pythondev | help | Ok will look into this, its weird though each time the site drops out that it tells me to restart | 2018-01-24T08:54:25.000107 | Milo | pythondev_help_Milo_2018-01-24T08:54:25.000107 | 1,516,784,065.000107 | 30,976 |
pythondev | help | what server hardware are you running on? | 2018-01-24T08:54:46.000155 | Floy | pythondev_help_Floy_2018-01-24T08:54:46.000155 | 1,516,784,086.000155 | 30,977 |
pythondev | help | <@Josephine> that's not really helpfull. You should get a stacktraces or something in the log | 2018-01-24T08:55:00.000516 | Micki | pythondev_help_Micki_2018-01-24T08:55:00.000516 | 1,516,784,100.000516 | 30,978 |
pythondev | help | Not sure, my cto bought it from somewhere and he is never around | 2018-01-24T08:59:49.000329 | Milo | pythondev_help_Milo_2018-01-24T08:59:49.000329 | 1,516,784,389.000329 | 30,979 |
pythondev | help | ah, fun. I have similar management experiences too | 2018-01-24T09:00:25.000273 | Floy | pythondev_help_Floy_2018-01-24T09:00:25.000273 | 1,516,784,425.000273 | 30,980 |
pythondev | help | think its from China, I have a separate linode server that I use for other sites, and works fine with multiple sites, but this one is always seems to drop out | 2018-01-24T09:01:24.000187 | Milo | pythondev_help_Milo_2018-01-24T09:01:24.000187 | 1,516,784,484.000187 | 30,981 |
pythondev | help | any way to tell your cto to not bring random hardware for business stuff, critical or not? | 2018-01-24T09:02:39.000798 | Floy | pythondev_help_Floy_2018-01-24T09:02:39.000798 | 1,516,784,559.000798 | 30,982 |
pythondev | help | no sure it should be ok, just need to catch him when he is in! | 2018-01-24T09:04:14.000353 | Milo | pythondev_help_Milo_2018-01-24T09:04:14.000353 | 1,516,784,654.000353 | 30,983 |
pythondev | help | hey got some trouble to write to csv in a loop, seems this is the problem ```df.to_csv("test"+ [x] + ".csv", sep='\t')``` | 2018-01-24T09:55:04.000470 | Pennie | pythondev_help_Pennie_2018-01-24T09:55:04.000470 | 1,516,787,704.00047 | 30,984 |
pythondev | help | ``` File "df.py", line 326, in <module>
df.to_csv("test"+ [x] + ".csv", sep='\t')
TypeError: must be str, not list ``` | 2018-01-24T09:55:42.000731 | Pennie | pythondev_help_Pennie_2018-01-24T09:55:42.000731 | 1,516,787,742.000731 | 30,985 |
pythondev | help | so I tried to add str([x]) it did not work | 2018-01-24T09:55:58.000801 | Pennie | pythondev_help_Pennie_2018-01-24T09:55:58.000801 | 1,516,787,758.000801 | 30,986 |
pythondev | help | what's `x`? | 2018-01-24T10:00:26.000133 | Barney | pythondev_help_Barney_2018-01-24T10:00:26.000133 | 1,516,788,026.000133 | 30,987 |
pythondev | help | ```for x in range (320)``` | 2018-01-24T10:00:57.000561 | Pennie | pythondev_help_Pennie_2018-01-24T10:00:57.000561 | 1,516,788,057.000561 | 30,988 |
pythondev | help | `df.to_csv("test"+ [x] + ".csv", sep='\t')`
->
`df.to_csv("test"+ str(x) + ".csv", sep='\t')` | 2018-01-24T10:01:41.000982 | Barney | pythondev_help_Barney_2018-01-24T10:01:41.000982 | 1,516,788,101.000982 | 30,989 |
pythondev | help | no need for `[]` | 2018-01-24T10:01:51.001067 | Barney | pythondev_help_Barney_2018-01-24T10:01:51.001067 | 1,516,788,111.001067 | 30,990 |
pythondev | help | ``` File "df.py", line 326, in <module>
df.to_csv("test"+ x + ".csv", sep='\t')
TypeError: must be str, not int ``` | 2018-01-24T10:02:31.000899 | Pennie | pythondev_help_Pennie_2018-01-24T10:02:31.000899 | 1,516,788,151.000899 | 30,991 |
pythondev | help | so I tried str(x) | 2018-01-24T10:02:39.000710 | Pennie | pythondev_help_Pennie_2018-01-24T10:02:39.000710 | 1,516,788,159.00071 | 30,992 |
pythondev | help | fixed it ty | 2018-01-24T10:16:05.000679 | Pennie | pythondev_help_Pennie_2018-01-24T10:16:05.000679 | 1,516,788,965.000679 | 30,993 |
pythondev | help | hello ,what is sklearn how to use it in image recognition | 2018-01-24T10:21:38.000075 | Nadene | pythondev_help_Nadene_2018-01-24T10:21:38.000075 | 1,516,789,298.000075 | 30,994 |
pythondev | help | sklearn is a general purpose machine learning library. While some of the algorithms it has available could be applicable in image recognition I believe it would be at a pretty low level. You might want to check out skimage which is geared a bit more towards image processing (although often skimage is used alongside s... | 2018-01-24T10:42:25.001284 | Leanora | pythondev_help_Leanora_2018-01-24T10:42:25.001284 | 1,516,790,545.001284 | 30,995 |
pythondev | help | can anyone know how to detect the name,shape,position of an external image using opencv in python | 2018-01-24T11:54:08.001102 | Nadene | pythondev_help_Nadene_2018-01-24T11:54:08.001102 | 1,516,794,848.001102 | 30,996 |
pythondev | help | What do you want your hook to do? | 2018-01-24T12:43:07.001118 | Emerald | pythondev_help_Emerald_2018-01-24T12:43:07.001118 | 1,516,797,787.001118 | 30,997 |
pythondev | help | What prevents you from adding an additional argument that accepts a function and calls it with relevant params at the location of your `# i need a hook here` comment? | 2018-01-24T12:43:49.000952 | Emerald | pythondev_help_Emerald_2018-01-24T12:43:49.000952 | 1,516,797,829.000952 | 30,998 |
pythondev | help | I want do some actions like check access, logging, save user to database, etc. Every class should be plugable to the hook, like signal slot pattern | 2018-01-24T12:49:21.001058 | Johnson | pythondev_help_Johnson_2018-01-24T12:49:21.001058 | 1,516,798,161.001058 | 30,999 |
pythondev | help | Not sure I’m following, when you say every class should be pluggable to the hook? Is this what you’re looking for: <https://stackoverflow.com/a/4309682/3792824> | 2018-01-24T12:52:19.000628 | Emerald | pythondev_help_Emerald_2018-01-24T12:52:19.000628 | 1,516,798,339.000628 | 31,000 |
pythondev | help | But I’m not sure if hooks are very pythonic | 2018-01-24T12:53:03.000642 | Emerald | pythondev_help_Emerald_2018-01-24T12:53:03.000642 | 1,516,798,383.000642 | 31,001 |
pythondev | help | What is your prefered solution? | 2018-01-24T12:53:46.000191 | Johnson | pythondev_help_Johnson_2018-01-24T12:53:46.000191 | 1,516,798,426.000191 | 31,002 |
pythondev | help | Hey guys I'm attempting to filter out entries in a CSV to create a separate filtered CSV. The issue I'm running into is that I'm using a list comprehension to filter out things and store the data in a list, but in some cases I run into an exception while doing so and am unsure how to deal with this. Should I just make ... | 2018-01-24T15:11:15.000335 | Cherlyn | pythondev_help_Cherlyn_2018-01-24T15:11:15.000335 | 1,516,806,675.000335 | 31,003 |
pythondev | help | ``` try:
matches = [row for row in reader if row[56].lower() in orgs and row[56].lower() is not '' or 'verizon' in
row[43].lower() and row[43].lower() is not '']
except Exception:
pass``` | 2018-01-24T15:13:25.001114 | Cherlyn | pythondev_help_Cherlyn_2018-01-24T15:13:25.001114 | 1,516,806,805.001114 | 31,004 |
pythondev | help | I think I need to replace pass | 2018-01-24T15:13:45.000520 | Cherlyn | pythondev_help_Cherlyn_2018-01-24T15:13:45.000520 | 1,516,806,825.00052 | 31,005 |
pythondev | help | but idk what to use cause it's not technically in a loop so I can't continue | 2018-01-24T15:13:55.000266 | Cherlyn | pythondev_help_Cherlyn_2018-01-24T15:13:55.000266 | 1,516,806,835.000266 | 31,006 |
pythondev | help | Cause the pass just skips the list comp | 2018-01-24T15:14:04.000075 | Cherlyn | pythondev_help_Cherlyn_2018-01-24T15:14:04.000075 | 1,516,806,844.000075 | 31,007 |
pythondev | help | can you replace all the conditionals with a function that performs the same checks but also handles the exception? | 2018-01-24T15:15:02.000232 | Leanora | pythondev_help_Leanora_2018-01-24T15:15:02.000232 | 1,516,806,902.000232 | 31,008 |
pythondev | help | Good points | 2018-01-24T15:15:10.000150 | Cherlyn | pythondev_help_Cherlyn_2018-01-24T15:15:10.000150 | 1,516,806,910.00015 | 31,009 |
pythondev | help | Going for it now | 2018-01-24T15:15:22.000848 | Cherlyn | pythondev_help_Cherlyn_2018-01-24T15:15:22.000848 | 1,516,806,922.000848 | 31,010 |
pythondev | help | Hi, There is a channel containing messages with dates. I am trying to read those messages l! I am getting a json file that has everything! I am not sure how to read only the relevant messages! Can Anyone help? I am attaching my code here for the reference! | 2018-01-24T15:17:14.000218 | Gail | pythondev_help_Gail_2018-01-24T15:17:14.000218 | 1,516,807,034.000218 | 31,011 |
pythondev | help | For future reference you can post formatted code using a snippet which can be uploaded similar to a file but by selecting the "Code or text snippet" option | 2018-01-24T15:19:48.000992 | Leanora | pythondev_help_Leanora_2018-01-24T15:19:48.000992 | 1,516,807,188.000992 | 31,012 |
pythondev | help | But for the problem itself, can you clarify what you mean by relevant messages? | 2018-01-24T15:20:20.000818 | Leanora | pythondev_help_Leanora_2018-01-24T15:20:20.000818 | 1,516,807,220.000818 | 31,013 |
pythondev | help | <@Gail> <https://get.slack.help/hc/en-us/articles/202288908-Format-your-messages#code-blocks> for reference :slightly_smiling_face: | 2018-01-24T15:20:35.000562 | Floy | pythondev_help_Floy_2018-01-24T15:20:35.000562 | 1,516,807,235.000562 | 31,014 |
pythondev | help | Thanks! Will keep in mind. So the question is - there is a channel on which there are 6-7 text which starts with a date like(1/24/2018 : great) . I want to read all those messages which starts with the date and print them out! | 2018-01-24T15:22:39.000829 | Gail | pythondev_help_Gail_2018-01-24T15:22:39.000829 | 1,516,807,359.000829 | 31,015 |
pythondev | help | <@Floy> - Looking at it! | 2018-01-24T15:23:45.000809 | Gail | pythondev_help_Gail_2018-01-24T15:23:45.000809 | 1,516,807,425.000809 | 31,016 |
pythondev | help | Are those row entries always present or are the exceptions coming from the row[index]? | 2018-01-24T15:39:50.000073 | Reiko | pythondev_help_Reiko_2018-01-24T15:39:50.000073 | 1,516,808,390.000073 | 31,017 |
pythondev | help | This looks more flexibility: <https://codereview.stackexchange.com/questions/20938/the-observer-design-pattern-in-python-in-a-more-pythonic-way-plus-unit-testing> | 2018-01-24T15:50:47.000078 | Johnson | pythondev_help_Johnson_2018-01-24T15:50:47.000078 | 1,516,809,047.000078 | 31,018 |
pythondev | help | Hey guys, having an issue where I'm making requests to a site, but in some cases the site doesn't return the correct data either due to traffic or being down, but the site doesn't return anything in particular. It's a download for a .csv that I'm trying to get and the error is given in the csv, so its not till I work w... | 2018-01-24T15:56:31.000036 | Cherlyn | pythondev_help_Cherlyn_2018-01-24T15:56:31.000036 | 1,516,809,391.000036 | 31,019 |
pythondev | help | problem with that is the http connection is just one request-response cycle | 2018-01-24T15:57:56.000683 | Floy | pythondev_help_Floy_2018-01-24T15:57:56.000683 | 1,516,809,476.000683 | 31,020 |
pythondev | help | So `Send requests (using pool) -> Receive Data -> Process Data -> If I find an error, resubmit same URL to have request sent again` | 2018-01-24T15:58:03.000632 | Cherlyn | pythondev_help_Cherlyn_2018-01-24T15:58:03.000632 | 1,516,809,483.000632 | 31,021 |
pythondev | help | if you break that, you’ll have to initate another request, which would break the download | 2018-01-24T15:58:15.000858 | Floy | pythondev_help_Floy_2018-01-24T15:58:15.000858 | 1,516,809,495.000858 | 31,022 |
pythondev | help | What do you mean exactly? | 2018-01-24T15:58:32.000247 | Cherlyn | pythondev_help_Cherlyn_2018-01-24T15:58:32.000247 | 1,516,809,512.000247 | 31,023 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.