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
Chances are they would just very quickly revoke his api key
2019-01-25T13:17:26.516900
Clemmie
pythondev_help_Clemmie_2019-01-25T13:17:26.516900
1,548,422,246.5169
4,221
pythondev
help
exactly
2019-01-25T13:17:28.517100
Hiroko
pythondev_help_Hiroko_2019-01-25T13:17:28.517100
1,548,422,248.5171
4,222
pythondev
help
I am not trying to circumvent slack’s ToS. I am asking for information on if what i want to do is allowed by slack’s ToS or not.
2019-01-25T13:17:41.517800
Janey
pythondev_help_Janey_2019-01-25T13:17:41.517800
1,548,422,261.5178
4,223
pythondev
help
the safest and ToS compliant solution is to just use a key logger to record all your messages :slightly_smiling_face:
2019-01-25T13:17:44.518000
Joette
pythondev_help_Joette_2019-01-25T13:17:44.518000
1,548,422,264.518
4,224
pythondev
help
<@Joette> I would go for webcam and image recognition. Python seems suitable for that as well.
2019-01-25T13:18:09.518700
Yaeko
pythondev_help_Yaeko_2019-01-25T13:18:09.518700
1,548,422,289.5187
4,225
pythondev
help
probably gotta ask Stewart
2019-01-25T13:18:10.518800
Joette
pythondev_help_Joette_2019-01-25T13:18:10.518800
1,548,422,290.5188
4,226
pythondev
help
Also, having your own messages is not very useful without the context of the discussion
2019-01-25T13:18:17.519100
Clemmie
pythondev_help_Clemmie_2019-01-25T13:18:17.519100
1,548,422,297.5191
4,227
pythondev
help
I dunno, in at least one slack 90% of my contribution is out of context silly replies
2019-01-25T13:18:45.520100
Joette
pythondev_help_Joette_2019-01-25T13:18:45.520100
1,548,422,325.5201
4,228
pythondev
help
you could copy and paste everything too
2019-01-25T13:18:59.520500
Joette
pythondev_help_Joette_2019-01-25T13:18:59.520500
1,548,422,339.5205
4,229
pythondev
help
into a text file
2019-01-25T13:19:01.520700
Joette
pythondev_help_Joette_2019-01-25T13:19:01.520700
1,548,422,341.5207
4,230
pythondev
help
If you write something that is particularly insightful, or you want to remember, just copypasta to vim
2019-01-25T13:19:02.520900
Clemmie
pythondev_help_Clemmie_2019-01-25T13:19:02.520900
1,548,422,342.5209
4,231
pythondev
help
or embrace the fact that everything in life is ephemeral
2019-01-25T13:19:33.521800
Joette
pythondev_help_Joette_2019-01-25T13:19:33.521800
1,548,422,373.5218
4,232
pythondev
help
Right, but you don’t need to remember your random one liners, or at least I don’t have a need to
2019-01-25T13:19:45.522200
Clemmie
pythondev_help_Clemmie_2019-01-25T13:19:45.522200
1,548,422,385.5222
4,233
pythondev
help
How is this competing if i just want to use it for my own use only?
2019-01-25T13:20:07.522300
Janey
pythondev_help_Janey_2019-01-25T13:20:07.522300
1,548,422,407.5223
4,234
pythondev
help
Because you are building a system that bypasses your need to pay them - hence competition
2019-01-25T13:20:59.522500
Clemmie
pythondev_help_Clemmie_2019-01-25T13:20:59.522500
1,548,422,459.5225
4,235
pythondev
help
by that logic if i buy a car, i am competing with Uber because that’s a system which bypasses my need to pay them.
2019-01-25T13:21:59.522800
Janey
pythondev_help_Janey_2019-01-25T13:21:59.522800
1,548,422,519.5228
4,236
pythondev
help
Yes, but you don’t have a terms of use with Uber
2019-01-25T13:22:22.523000
Clemmie
pythondev_help_Clemmie_2019-01-25T13:22:22.523000
1,548,422,542.523
4,237
pythondev
help
If you want to use slack, and their services, you have to agree to their terms
2019-01-25T13:22:50.523200
Clemmie
pythondev_help_Clemmie_2019-01-25T13:22:50.523200
1,548,422,570.5232
4,238
pythondev
help
amazing logic
2019-01-25T13:23:03.523400
Carrol
pythondev_help_Carrol_2019-01-25T13:23:03.523400
1,548,422,583.5234
4,239
pythondev
help
hmm... &gt;You may not use the Slack API to replicate or compete with core products or services offered by Slack Well as long as you don't use their API you might be alright :stuck_out_tongue:
2019-01-25T13:38:58.524500
Claudine
pythondev_help_Claudine_2019-01-25T13:38:58.524500
1,548,423,538.5245
4,240
pythondev
help
Just open up 1 slack window for every channel you're in, point a webcam at each window, then set up some ML to parse the text &amp; usernames from the video and store those in your DB
2019-01-25T13:39:57.525500
Claudine
pythondev_help_Claudine_2019-01-25T13:39:57.525500
1,548,423,597.5255
4,241
pythondev
help
ez pz bro
2019-01-25T13:40:07.525700
Claudine
pythondev_help_Claudine_2019-01-25T13:40:07.525700
1,548,423,607.5257
4,242
pythondev
help
Is there a difference between pyvenv and virtualenv?
2019-01-25T13:46:37.526000
Cammie
pythondev_help_Cammie_2019-01-25T13:46:37.526000
1,548,423,997.526
4,243
pythondev
help
pyvenv is deprecated?
2019-01-25T13:49:24.526200
Hiroko
pythondev_help_Hiroko_2019-01-25T13:49:24.526200
1,548,424,164.5262
4,244
pythondev
help
Is that a question or a statement ha
2019-01-25T13:49:51.526400
Cammie
pythondev_help_Cammie_2019-01-25T13:49:51.526400
1,548,424,191.5264
4,245
pythondev
help
&gt;&gt;&gt;The pyvenv script has been deprecated as of Python 3.6 in favor of using python3 -m venv to help prevent any potential confusion as to which Python interpreter a virtual environment will be based on.
2019-01-25T13:50:16.527100
Hiroko
pythondev_help_Hiroko_2019-01-25T13:50:16.527100
1,548,424,216.5271
4,246
pythondev
help
Basically I’m having so many problems with virtual environments. I’ve used virtual environment wrapper, virtual environment and pyvenv. *What should I be using?*
2019-01-25T13:50:20.527300
Cammie
pythondev_help_Cammie_2019-01-25T13:50:20.527300
1,548,424,220.5273
4,247
pythondev
help
uhhh i guess when I said pyvenv, I meant `$ python3 -m venv venv`
2019-01-25T13:50:38.527700
Cammie
pythondev_help_Cammie_2019-01-25T13:50:38.527700
1,548,424,238.5277
4,248
pythondev
help
When I run: `$ python3 -m venv venv` on my Ubuntu box, I run into Can someone explain why I need to install an additional package on Ubuntu? &gt;&gt;&gt;The virtual environment was not created successfully because ensurepip is not available. On Debian/Ubuntu systems, you need to install the python3-venv package us...
2019-01-25T13:52:05.528400
Cammie
pythondev_help_Cammie_2019-01-25T13:52:05.528400
1,548,424,325.5284
4,249
pythondev
help
what version python3?
2019-01-25T13:52:33.528600
Hiroko
pythondev_help_Hiroko_2019-01-25T13:52:33.528600
1,548,424,353.5286
4,250
pythondev
help
I think that’s something whihc hasn’t been asked
2019-01-25T13:52:43.528900
Hiroko
pythondev_help_Hiroko_2019-01-25T13:52:43.528900
1,548,424,363.5289
4,251
pythondev
help
&gt; Python 3.6.3
2019-01-25T13:52:56.529100
Cammie
pythondev_help_Cammie_2019-01-25T13:52:56.529100
1,548,424,376.5291
4,252
pythondev
help
Let me clear, i’m now on a different machine which is Ubuntu
2019-01-25T13:53:06.529400
Cammie
pythondev_help_Cammie_2019-01-25T13:53:06.529400
1,548,424,386.5294
4,253
pythondev
help
previously, I was on my OSX box
2019-01-25T13:53:11.529600
Cammie
pythondev_help_Cammie_2019-01-25T13:53:11.529600
1,548,424,391.5296
4,254
pythondev
help
environment-specific extra package required?
2019-01-25T13:54:54.530100
Hiroko
pythondev_help_Hiroko_2019-01-25T13:54:54.530100
1,548,424,494.5301
4,255
pythondev
help
AFAIK its part of the python install instructions with debian and its variants
2019-01-25T13:55:19.530700
Hiroko
pythondev_help_Hiroko_2019-01-25T13:55:19.530700
1,548,424,519.5307
4,256
pythondev
help
what is the best way to convert a pandas dataframe into JSON which is ready to be copied to PostgreSQL?
2019-01-25T14:17:57.531500
Alvina
pythondev_help_Alvina_2019-01-25T14:17:57.531500
1,548,425,877.5315
4,257
pythondev
help
the format I am looking for is
2019-01-25T14:18:01.531800
Alvina
pythondev_help_Alvina_2019-01-25T14:18:01.531800
1,548,425,881.5318
4,258
pythondev
help
col1, col2, col3, values
2019-01-25T14:18:16.532300
Alvina
pythondev_help_Alvina_2019-01-25T14:18:16.532300
1,548,425,896.5323
4,259
pythondev
help
where values is all other columns aside from col1, col2, col3
2019-01-25T14:18:27.532600
Alvina
pythondev_help_Alvina_2019-01-25T14:18:27.532600
1,548,425,907.5326
4,260
pythondev
help
<https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.to_sql.html>
2019-01-25T14:19:21.532900
Hiroko
pythondev_help_Hiroko_2019-01-25T14:19:21.532900
1,548,425,961.5329
4,261
pythondev
help
None
2019-01-25T14:21:53.533200
Alvina
pythondev_help_Alvina_2019-01-25T14:21:53.533200
1,548,426,113.5332
4,262
pythondev
help
that works in PG, but I'd like to do something similar with a dataframe
2019-01-25T14:22:07.533800
Alvina
pythondev_help_Alvina_2019-01-25T14:22:07.533800
1,548,426,127.5338
4,263
pythondev
help
I am not looking to load the data to PG, but rather create a JSON file in that format
2019-01-25T14:22:27.534400
Alvina
pythondev_help_Alvina_2019-01-25T14:22:27.534400
1,548,426,147.5344
4,264
pythondev
help
anyone familiar with paramiko? I'm sending a test command, but the data received is weird and looks maybe encoded?
2019-01-25T14:24:41.535000
Nenita
pythondev_help_Nenita_2019-01-25T14:24:41.535000
1,548,426,281.535
4,265
pythondev
help
None
2019-01-25T14:25:30.535400
Nenita
pythondev_help_Nenita_2019-01-25T14:25:30.535400
1,548,426,330.5354
4,266
pythondev
help
not sure, <@Alvina>. I know pandas also has a `to_json` method for data frames
2019-01-25T14:25:39.535800
Hiroko
pythondev_help_Hiroko_2019-01-25T14:25:39.535800
1,548,426,339.5358
4,267
pythondev
help
maybe <#C0JB9ATQV|data_science> would be a better place?
2019-01-25T14:25:50.536100
Hiroko
pythondev_help_Hiroko_2019-01-25T14:25:50.536100
1,548,426,350.5361
4,268
pythondev
help
<@Nenita> That looks like "ESC [2J", a terminal clear-screen escape sequence. I don't know why you're getting it, though.
2019-01-25T14:31:22.537000
Sasha
pythondev_help_Sasha_2019-01-25T14:31:22.537000
1,548,426,682.537
4,269
pythondev
help
Do you need to send a `"\n"` with your command? Possibly you're only getting an initial connection-setup response instead of the `ipconfig` output.
2019-01-25T14:37:07.538100
Sasha
pythondev_help_Sasha_2019-01-25T14:37:07.538100
1,548,427,027.5381
4,270
pythondev
help
AFAIK it's not saving the messages the problem, it's the building a gui with search on top that compete with slack
2019-01-25T14:51:45.538200
Jimmy
pythondev_help_Jimmy_2019-01-25T14:51:45.538200
1,548,427,905.5382
4,271
pythondev
help
this is one of the reason we don't have a something similar for this team
2019-01-25T14:52:31.538400
Jimmy
pythondev_help_Jimmy_2019-01-25T14:52:31.538400
1,548,427,951.5384
4,272
pythondev
help
Is there a good pre-trained model for Quesion-Answer system? My dataset is *Quesion*: *Minutes of meetings* and *Answer* : *1. Decided this 2. Need to work on 3....*
2019-01-25T14:57:24.538900
Soo
pythondev_help_Soo_2019-01-25T14:57:24.538900
1,548,428,244.5389
4,273
pythondev
help
<@Nenita> How about subprocess?
2019-01-25T15:04:26.539000
Soo
pythondev_help_Soo_2019-01-25T15:04:26.539000
1,548,428,666.539
4,274
pythondev
help
```import subprocess print(subprocess.Popen(['ipconfig']))```
2019-01-25T15:04:36.539200
Soo
pythondev_help_Soo_2019-01-25T15:04:36.539200
1,548,428,676.5392
4,275
pythondev
help
Can anyone tell me why this `treq` request isn't executing? ``` def log_result(response): print('OXOXOXOXO', response) def populate_sms_errors(): d = <http://treq.post|treq.post>('<http://localhost:3000>') d.addCallback(log_result) time.sleep(3) return d ```
2019-01-25T15:07:32.540100
Al
pythondev_help_Al_2019-01-25T15:07:32.540100
1,548,428,852.5401
4,276
pythondev
help
<@Sasha> sorry for the late response. I've tried with and without '\n'
2019-01-25T15:13:47.540700
Nenita
pythondev_help_Nenita_2019-01-25T15:13:47.540700
1,548,429,227.5407
4,277
pythondev
help
initially i was using exec_command, but switched to invoke_shell so i could send multiple commands
2019-01-25T15:14:19.541400
Nenita
pythondev_help_Nenita_2019-01-25T15:14:19.541400
1,548,429,259.5414
4,278
pythondev
help
<@Claudine> how do I search a full file for "WORD"
2019-01-25T15:25:07.542200
Coleen
pythondev_help_Coleen_2019-01-25T15:25:07.542200
1,548,429,907.5422
4,279
pythondev
help
if 'WORD' in open('example.txt').read():
2019-01-25T15:26:15.542400
Coleen
pythondev_help_Coleen_2019-01-25T15:26:15.542400
1,548,429,975.5424
4,280
pythondev
help
right?
2019-01-25T15:26:18.542700
Coleen
pythondev_help_Coleen_2019-01-25T15:26:18.542700
1,548,429,978.5427
4,281
pythondev
help
ahh
2019-01-25T15:29:28.542900
Claudine
pythondev_help_Claudine_2019-01-25T15:29:28.542900
1,548,430,168.5429
4,282
pythondev
help
check out the `with` syntax for reading line by line
2019-01-25T15:29:40.543300
Claudine
pythondev_help_Claudine_2019-01-25T15:29:40.543300
1,548,430,180.5433
4,283
pythondev
help
``` with open('filename.txt) as file: for line in file: print line ```
2019-01-25T15:30:20.544300
Claudine
pythondev_help_Claudine_2019-01-25T15:30:20.544300
1,548,430,220.5443
4,284
pythondev
help
that'll parse your file line by line
2019-01-25T15:30:30.544500
Claudine
pythondev_help_Claudine_2019-01-25T15:30:30.544500
1,548,430,230.5445
4,285
pythondev
help
instead of `print line` just do a substring match
2019-01-25T15:30:46.544900
Claudine
pythondev_help_Claudine_2019-01-25T15:30:46.544900
1,548,430,246.5449
4,286
pythondev
help
``` with open('filename.txt) as file: for line in file: if 'WORD' in line: #the word exists in this line, and thus the file ```
2019-01-25T15:31:32.545700
Claudine
pythondev_help_Claudine_2019-01-25T15:31:32.545700
1,548,430,292.5457
4,287
pythondev
help
you can do your processing withing that if statement, or set a flag saying you found the word and then do your processing outside of that whole thing
2019-01-25T15:32:43.547000
Claudine
pythondev_help_Claudine_2019-01-25T15:32:43.547000
1,548,430,363.547
4,288
pythondev
help
<@Coleen> your attempt (`if 'WORD' in open('example.txt').read():`) would work, but has the drawback of having to load the entire file into memory at once, then doing a string search over the entire file. <@Claudine>’s solution does the search line by line, both reducing memory usage and speeding the process up by onl...
2019-01-25T16:03:16.549000
Kiera
pythondev_help_Kiera_2019-01-25T16:03:16.549000
1,548,432,196.549
4,289
pythondev
help
Note that both approaches are just substring matches, so would also flag "Edword", etc. If you want whole-word matches, you want <@Claudine>’s expertise in regexes. :grin:
2019-01-25T16:05:37.550300
Sasha
pythondev_help_Sasha_2019-01-25T16:05:37.550300
1,548,432,337.5503
4,290
pythondev
help
Indeed REGEX would do it
2019-01-25T16:11:44.550700
Claudine
pythondev_help_Claudine_2019-01-25T16:11:44.550700
1,548,432,704.5507
4,291
pythondev
help
And if I want to do it line-by line but starting from the end of the file?
2019-01-25T16:36:40.551200
Coleen
pythondev_help_Coleen_2019-01-25T16:36:40.551200
1,548,434,200.5512
4,292
pythondev
help
anyone familiar with any modules for ssh? i cannot get multiple commands to be sent. I'm having the hardest time
2019-01-25T16:38:41.551800
Nenita
pythondev_help_Nenita_2019-01-25T16:38:41.551800
1,548,434,321.5518
4,293
pythondev
help
I mean line by line is better but I know the string will be towards the end of a long file.
2019-01-25T16:39:50.552300
Coleen
pythondev_help_Coleen_2019-01-25T16:39:50.552300
1,548,434,390.5523
4,294
pythondev
help
i read into subprocess, but haven't seen a solution as to send commands rather send commands to my own pc
2019-01-25T16:40:18.552400
Nenita
pythondev_help_Nenita_2019-01-25T16:40:18.552400
1,548,434,418.5524
4,295
pythondev
help
Unless the file is very long (megabytes) that probably won't be super efficient since disk drives are optimized for reading sequentially.
2019-01-25T17:05:12.554900
Sasha
pythondev_help_Sasha_2019-01-25T17:05:12.554900
1,548,435,912.5549
4,296
pythondev
help
:+1:
2019-01-25T17:42:55.555300
Coleen
pythondev_help_Coleen_2019-01-25T17:42:55.555300
1,548,438,175.5553
4,297
pythondev
help
Have yu guys used onesaml package in Python
2019-01-25T17:51:38.555900
Hugh
pythondev_help_Hugh_2019-01-25T17:51:38.555900
1,548,438,698.5559
4,298
pythondev
help
Reading the file backwards would likely be inefficient, as EdKeyes mentions, but reading the file sequentially starting from the middle or end might still be good (if you're pretty sure it's going to be towards the end). If you do want to do that `seek` is potentially what you're looking for.
2019-01-25T18:41:26.556900
Chanell
pythondev_help_Chanell_2019-01-25T18:41:26.556900
1,548,441,686.5569
4,299
pythondev
help
Hello all I have been trying to get help with an import error that I having in my project
2019-01-25T19:52:07.557800
Elza
pythondev_help_Elza_2019-01-25T19:52:07.557800
1,548,445,927.5578
4,300
pythondev
help
What's the error?
2019-01-25T20:01:21.558000
Chanell
pythondev_help_Chanell_2019-01-25T20:01:21.558000
1,548,446,481.558
4,301
pythondev
help
ImportError: No module named bs4
2019-01-25T20:28:32.558200
Elza
pythondev_help_Elza_2019-01-25T20:28:32.558200
1,548,448,112.5582
4,302
pythondev
help
I used this code to import it from bs4 import BeautifulSoup4
2019-01-25T20:29:46.558400
Elza
pythondev_help_Elza_2019-01-25T20:29:46.558400
1,548,448,186.5584
4,303
pythondev
help
I swear it is imported, its mad annoying dealing with it lol
2019-01-25T20:29:58.558800
Elza
pythondev_help_Elza_2019-01-25T20:29:58.558800
1,548,448,198.5588
4,304
pythondev
help
<@Elza> do you have bs4 installed?
2019-01-25T20:34:05.559500
Ashley
pythondev_help_Ashley_2019-01-25T20:34:05.559500
1,548,448,445.5595
4,305
pythondev
help
its beautifulsoup4 which I did installed
2019-01-25T20:36:19.560000
Elza
pythondev_help_Elza_2019-01-25T20:36:19.560000
1,548,448,579.56
4,306
pythondev
help
you sure?
2019-01-25T20:38:43.560200
Ashley
pythondev_help_Ashley_2019-01-25T20:38:43.560200
1,548,448,723.5602
4,307
pythondev
help
make sure the python env you're using to run your script has it installed
2019-01-25T20:39:10.560800
Ashley
pythondev_help_Ashley_2019-01-25T20:39:10.560800
1,548,448,750.5608
4,308
pythondev
help
how do I check that?
2019-01-25T20:41:35.561000
Elza
pythondev_help_Elza_2019-01-25T20:41:35.561000
1,548,448,895.561
4,309
pythondev
help
how are you running your script?
2019-01-25T20:42:10.561300
Ashley
pythondev_help_Ashley_2019-01-25T20:42:10.561300
1,548,448,930.5613
4,310
pythondev
help
Im just running it as python gsearch.py ‘site:<http://jnequipment.com|jnequipment.com>’
2019-01-25T20:45:36.562400
Elza
pythondev_help_Elza_2019-01-25T20:45:36.562400
1,548,449,136.5624
4,311
pythondev
help
run `python -m pip freeze`
2019-01-25T20:46:09.563300
Ashley
pythondev_help_Ashley_2019-01-25T20:46:09.563300
1,548,449,169.5633
4,312
pythondev
help
which seems to works so far. What I am trying to do is to have a web crawler crawl all the website pages on google search and see which ones are dead or live
2019-01-25T20:46:38.563700
Elza
pythondev_help_Elza_2019-01-25T20:46:38.563700
1,548,449,198.5637
4,313
pythondev
help
backports.functools-lru-cache==1.5 beautifulsoup4==4.7.1 bs4==0.0.1 certifi==2018.11.29 soupsieve==1.7.1 virtualenv==16.0.0
2019-01-25T20:46:40.563900
Elza
pythondev_help_Elza_2019-01-25T20:46:40.563900
1,548,449,200.5639
4,314
pythondev
help
THat what I got when I ran the command
2019-01-25T20:46:46.564200
Elza
pythondev_help_Elza_2019-01-25T20:46:46.564200
1,548,449,206.5642
4,315
pythondev
help
from that same terminal, try to run your script again
2019-01-25T20:49:42.564600
Ashley
pythondev_help_Ashley_2019-01-25T20:49:42.564600
1,548,449,382.5646
4,316
pythondev
help
Thats what I did
2019-01-25T20:50:50.564800
Elza
pythondev_help_Elza_2019-01-25T20:50:50.564800
1,548,449,450.5648
4,317
pythondev
help
same error?
2019-01-25T20:50:56.565100
Ashley
pythondev_help_Ashley_2019-01-25T20:50:56.565100
1,548,449,456.5651
4,318
pythondev
help
I get an error when I run python2 which is my shortcut for running python 2
2019-01-25T20:51:18.565700
Elza
pythondev_help_Elza_2019-01-25T20:51:18.565700
1,548,449,478.5657
4,319
pythondev
help
but when I run python then my command it works.
2019-01-25T20:51:29.566000
Elza
pythondev_help_Elza_2019-01-25T20:51:29.566000
1,548,449,489.566
4,320