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
I just don’t want anyone to think I would say that
2019-03-27T11:46:58.829100
Clemmie
pythondev_help_Clemmie_2019-03-27T11:46:58.829100
1,553,687,218.8291
15,221
pythondev
help
I’m very happy to help, especially people who get it after one helping hand
2019-03-27T11:47:15.829600
Clemmie
pythondev_help_Clemmie_2019-03-27T11:47:15.829600
1,553,687,235.8296
15,222
pythondev
help
of course not - you've been excellent in helping me as well as many others!
2019-03-27T11:47:34.830100
Lawrence
pythondev_help_Lawrence_2019-03-27T11:47:34.830100
1,553,687,254.8301
15,223
pythondev
help
ty
2019-03-27T11:47:48.830300
Clemmie
pythondev_help_Clemmie_2019-03-27T11:47:48.830300
1,553,687,268.8303
15,224
pythondev
help
:taco: <@Lawrence> for making me smile and blush
2019-03-27T11:48:07.830700
Clemmie
pythondev_help_Clemmie_2019-03-27T11:48:07.830700
1,553,687,287.8307
15,225
pythondev
help
haha
2019-03-27T11:49:16.830900
Lawrence
pythondev_help_Lawrence_2019-03-27T11:49:16.830900
1,553,687,356.8309
15,226
pythondev
help
additionally, the argparser params are working quite nicely :100:
2019-03-27T11:49:29.831300
Lawrence
pythondev_help_Lawrence_2019-03-27T11:49:29.831300
1,553,687,369.8313
15,227
pythondev
help
I like that it spits out USAGE upon a failure
2019-03-27T11:49:47.831600
Lawrence
pythondev_help_Lawrence_2019-03-27T11:49:47.831600
1,553,687,387.8316
15,228
pythondev
help
yeah, help is built in in a really nice way
2019-03-27T11:50:24.831900
Clemmie
pythondev_help_Clemmie_2019-03-27T11:50:24.831900
1,553,687,424.8319
15,229
pythondev
help
Anyone know if the `pymysql` package protects against sql injection when executing an insert?
2019-03-27T12:03:43.833100
Ursula
pythondev_help_Ursula_2019-03-27T12:03:43.833100
1,553,688,223.8331
15,230
pythondev
help
if you use their parameter interpolation instead of doing it yourself it should.
2019-03-27T12:08:00.833700
Karoline
pythondev_help_Karoline_2019-03-27T12:08:00.833700
1,553,688,480.8337
15,231
pythondev
help
Sweet, thanks <@Karoline> :taco:
2019-03-27T12:09:43.834100
Ursula
pythondev_help_Ursula_2019-03-27T12:09:43.834100
1,553,688,583.8341
15,232
pythondev
help
I've been using sqlachemy for so long that using something else feels so weird
2019-03-27T12:10:23.834800
Ursula
pythondev_help_Ursula_2019-03-27T12:10:23.834800
1,553,688,623.8348
15,233
pythondev
help
Well, orms in general
2019-03-27T12:10:42.835000
Ursula
pythondev_help_Ursula_2019-03-27T12:10:42.835000
1,553,688,642.835
15,234
pythondev
help
they reference it here: <http://pymssql.org/en/stable/ref/pymssql.html#pymssql.Cursor.execute>
2019-03-27T12:11:15.835200
Karoline
pythondev_help_Karoline_2019-03-27T12:11:15.835200
1,553,688,675.8352
15,235
pythondev
help
so yeah just avoid building your own string up and use their parameters and you'll be fine
2019-03-27T12:11:32.835700
Karoline
pythondev_help_Karoline_2019-03-27T12:11:32.835700
1,553,688,692.8357
15,236
pythondev
help
Hi every one I am trying to pull data from Google Analytics by using the sample code in their Doc, any one have experience with it, I need a HELP
2019-03-27T13:20:31.838100
Latisha
pythondev_help_Latisha_2019-03-27T13:20:31.838100
1,553,692,831.8381
15,237
pythondev
help
Knowing how to ask a good question is a highly invaluable skill that will benefit you greatly in any career. Two good resources for suggestions and strategies to help you structure and phrase your question to make it easier for those here to understand your problem and help you work to a solution are: • <https://www.mikeash.com/getting_answers.html> • <https://stackoverflow.com/help/how-to-ask>
2019-03-27T13:23:00.838200
Leana
pythondev_help_Leana_2019-03-27T13:23:00.838200
1,553,692,980.8382
15,238
pythondev
help
Hi, I'm facing problem while allure report generation with pytest its not showing any tests in reports but it showing test count in trends section Please find screenshot below Why it showing any results. Pytest html gets generated properly
2019-03-27T13:26:01.842500
Merlyn
pythondev_help_Merlyn_2019-03-27T13:26:01.842500
1,553,693,161.8425
15,239
pythondev
help
whoa what is that? i just see the terminal output when i run pytest
2019-03-27T13:54:26.843400
Johna
pythondev_help_Johna_2019-03-27T13:54:26.843400
1,553,694,866.8434
15,240
pythondev
help
<http://allure.qatools.ru/>
2019-03-27T14:03:11.843700
Hiroko
pythondev_help_Hiroko_2019-03-27T14:03:11.843700
1,553,695,391.8437
15,241
pythondev
help
looks to be that
2019-03-27T14:03:16.844000
Hiroko
pythondev_help_Hiroko_2019-03-27T14:03:16.844000
1,553,695,396.844
15,242
pythondev
help
<@Merlyn> that's a pretty platform-specific question, so you might not be able to get much help here. But I can take a whack at it
2019-03-27T14:16:08.844800
Ashley
pythondev_help_Ashley_2019-03-27T14:16:08.844800
1,553,696,168.8448
15,243
pythondev
help
normally when you have a system like this, it doesn't actually care about the html report. Instead, it relies on some other output, like the JUnit XML output
2019-03-27T14:17:21.845900
Ashley
pythondev_help_Ashley_2019-03-27T14:17:21.845900
1,553,696,241.8459
15,244
pythondev
help
that gives it a uniform, standardized format that can be easily ingested and parsed
2019-03-27T14:17:38.846500
Ashley
pythondev_help_Ashley_2019-03-27T14:17:38.846500
1,553,696,258.8465
15,245
pythondev
help
There could, however, be a pytest plugin in play that knows how to submit the results as they come in into some other system, like a DB that your allure system is pulling from (or it's the system that the results are being pumped into)
2019-03-27T14:18:23.848200
Ashley
pythondev_help_Ashley_2019-03-27T14:18:23.848200
1,553,696,303.8482
15,246
pythondev
help
I would first make sure you have your tests running properly. If they're outputting to an HTML file, they might not be outputting to the digestible system that allure depends on
2019-03-27T14:19:43.851000
Ashley
pythondev_help_Ashley_2019-03-27T14:19:43.851000
1,553,696,383.851
15,247
pythondev
help
Pytest generated lots of files some json and other format but using that files it should generate results as per docs but it's not showing tests in report
2019-03-27T14:19:59.851500
Merlyn
pythondev_help_Merlyn_2019-03-27T14:19:59.851500
1,553,696,399.8515
15,248
pythondev
help
are you sure it's still generating those files?
2019-03-27T14:20:31.851800
Ashley
pythondev_help_Ashley_2019-03-27T14:20:31.851800
1,553,696,431.8518
15,249
pythondev
help
Yes
2019-03-27T14:20:42.852000
Merlyn
pythondev_help_Merlyn_2019-03-27T14:20:42.852000
1,553,696,442.852
15,250
pythondev
help
also I just checked, and there is a pytest plugin made by allure
2019-03-27T14:21:04.852400
Ashley
pythondev_help_Ashley_2019-03-27T14:21:04.852400
1,553,696,464.8524
15,251
pythondev
help
I assume you're using that plugin?
2019-03-27T14:21:12.852700
Ashley
pythondev_help_Ashley_2019-03-27T14:21:12.852700
1,553,696,472.8527
15,252
pythondev
help
Yes allure-pytest
2019-03-27T14:21:29.853200
Merlyn
pythondev_help_Merlyn_2019-03-27T14:21:29.853200
1,553,696,489.8532
15,253
pythondev
help
have you taken a look at what it's outputting?
2019-03-27T14:22:50.853600
Ashley
pythondev_help_Ashley_2019-03-27T14:22:50.853600
1,553,696,570.8536
15,254
pythondev
help
I actually checked by opening json files generated by allure it contains some test info status and duration like that
2019-03-27T14:24:00.855300
Merlyn
pythondev_help_Merlyn_2019-03-27T14:24:00.855300
1,553,696,640.8553
15,255
pythondev
help
how are you running pytest?
2019-03-27T14:24:20.855600
Clemmie
pythondev_help_Clemmie_2019-03-27T14:24:20.855600
1,553,696,660.8556
15,256
pythondev
help
Via terminal
2019-03-27T14:24:31.855900
Merlyn
pythondev_help_Merlyn_2019-03-27T14:24:31.855900
1,553,696,671.8559
15,257
pythondev
help
what is the full command you're using?
2019-03-27T14:24:43.856700
Ashley
pythondev_help_Ashley_2019-03-27T14:24:43.856700
1,553,696,683.8567
15,258
pythondev
help
sorry, I meant the exact command? Sometimes you need to add flags to get the needed output
2019-03-27T14:24:51.857100
Clemmie
pythondev_help_Clemmie_2019-03-27T14:24:51.857100
1,553,696,691.8571
15,259
pythondev
help
I have runner class so im running Python -m runner
2019-03-27T14:25:15.857800
Merlyn
pythondev_help_Merlyn_2019-03-27T14:25:15.857800
1,553,696,715.8578
15,260
pythondev
help
runner class?
2019-03-27T14:25:30.858400
Ashley
pythondev_help_Ashley_2019-03-27T14:25:30.858400
1,553,696,730.8584
15,261
pythondev
help
It contains pytest.main([args])
2019-03-27T14:25:59.859400
Merlyn
pythondev_help_Merlyn_2019-03-27T14:25:59.859400
1,553,696,759.8594
15,262
pythondev
help
allure-pytest docs say you need to run with this format in the usage docs `py.test --alluredir=%allure_result_folder% ./tests`
2019-03-27T14:26:10.859700
Clemmie
pythondev_help_Clemmie_2019-03-27T14:26:10.859700
1,553,696,770.8597
15,263
pythondev
help
`py.test` is actually deprecated, so you only need to do `pytest` now :wink:
2019-03-27T14:26:44.860900
Ashley
pythondev_help_Ashley_2019-03-27T14:26:44.860900
1,553,696,804.8609
15,264
pythondev
help
I gave --alluredir in pytest.main args
2019-03-27T14:26:46.861000
Merlyn
pythondev_help_Merlyn_2019-03-27T14:26:46.861000
1,553,696,806.861
15,265
pythondev
help
well, yeah
2019-03-27T14:26:52.861300
Clemmie
pythondev_help_Clemmie_2019-03-27T14:26:52.861300
1,553,696,812.8613
15,266
pythondev
help
opportunity for a pull request
2019-03-27T14:26:59.861600
Clemmie
pythondev_help_Clemmie_2019-03-27T14:26:59.861600
1,553,696,819.8616
15,267
pythondev
help
<@Merlyn> what is the purpose of your runner class?
2019-03-27T14:27:07.861900
Ashley
pythondev_help_Ashley_2019-03-27T14:27:07.861900
1,553,696,827.8619
15,268
pythondev
help
It build command dynamic for UI tests and api teats
2019-03-27T14:27:42.862900
Merlyn
pythondev_help_Merlyn_2019-03-27T14:27:42.862900
1,553,696,862.8629
15,269
pythondev
help
Pytest command and get args to tests
2019-03-27T14:28:13.863700
Merlyn
pythondev_help_Merlyn_2019-03-27T14:28:13.863700
1,553,696,893.8637
15,270
pythondev
help
pytest can already do that
2019-03-27T14:28:51.863900
Ashley
pythondev_help_Ashley_2019-03-27T14:28:51.863900
1,553,696,931.8639
15,271
pythondev
help
what was the problem you faced that made you create this runner class?
2019-03-27T14:29:16.864300
Ashley
pythondev_help_Ashley_2019-03-27T14:29:16.864300
1,553,696,956.8643
15,272
pythondev
help
To load plugin according to test types
2019-03-27T14:30:21.865600
Merlyn
pythondev_help_Merlyn_2019-03-27T14:30:21.865600
1,553,697,021.8656
15,273
pythondev
help
pytest can already do that
2019-03-27T14:31:05.865800
Ashley
pythondev_help_Ashley_2019-03-27T14:31:05.865800
1,553,697,065.8658
15,274
pythondev
help
I would recommend looking to that, as it's usually best to work within a system as much as you can (in this case, pytest) to avoid other issues
2019-03-27T14:33:01.868100
Ashley
pythondev_help_Ashley_2019-03-27T14:33:01.868100
1,553,697,181.8681
15,275
pythondev
help
for now
2019-03-27T14:33:02.868400
Ashley
pythondev_help_Ashley_2019-03-27T14:33:02.868400
1,553,697,182.8684
15,276
pythondev
help
also, make sure you’re using the ruight allure lib
2019-03-27T14:33:05.868600
Hiroko
pythondev_help_Hiroko_2019-03-27T14:33:05.868600
1,553,697,185.8686
15,277
pythondev
help
one comes up as deprecated
2019-03-27T14:33:11.869000
Hiroko
pythondev_help_Hiroko_2019-03-27T14:33:11.869000
1,553,697,191.869
15,278
pythondev
help
how are you passing these results to allure?
2019-03-27T14:33:18.869300
Ashley
pythondev_help_Ashley_2019-03-27T14:33:18.869300
1,553,697,198.8693
15,279
pythondev
help
<@Ashley> okay
2019-03-27T14:33:22.869500
Merlyn
pythondev_help_Merlyn_2019-03-27T14:33:22.869500
1,553,697,202.8695
15,280
pythondev
help
I'm using allure-pytest
2019-03-27T14:33:39.869900
Merlyn
pythondev_help_Merlyn_2019-03-27T14:33:39.869900
1,553,697,219.8699
15,281
pythondev
help
Allure generate resultsdir
2019-03-27T14:34:06.870500
Merlyn
pythondev_help_Merlyn_2019-03-27T14:34:06.870500
1,553,697,246.8705
15,282
pythondev
help
<https://github.com/allure-framework/allure-pytest>
2019-03-27T14:34:12.870700
Hiroko
pythondev_help_Hiroko_2019-03-27T14:34:12.870700
1,553,697,252.8707
15,283
pythondev
help
&gt;&gt;&gt;[DEPRICATED] Please follow allure-framework/allure-python
2019-03-27T14:34:21.871000
Hiroko
pythondev_help_Hiroko_2019-03-27T14:34:21.871000
1,553,697,261.871
15,284
pythondev
help
do you mean `allure serve %allure_result_folder%`?
2019-03-27T14:35:44.871600
Ashley
pythondev_help_Ashley_2019-03-27T14:35:44.871600
1,553,697,344.8716
15,285
pythondev
help
<@Hiroko> I'm using this only
2019-03-27T14:36:00.872000
Merlyn
pythondev_help_Merlyn_2019-03-27T14:36:00.872000
1,553,697,360.872
15,286
pythondev
help
Yes allure generate and allure serve
2019-03-27T14:36:19.872400
Merlyn
pythondev_help_Merlyn_2019-03-27T14:36:19.872400
1,553,697,379.8724
15,287
pythondev
help
try the serve command only
2019-03-27T14:37:37.872600
Ashley
pythondev_help_Ashley_2019-03-27T14:37:37.872600
1,553,697,457.8726
15,288
pythondev
help
i know this workspace isn't meant too much for tkinter, but I found a really odd occurance (not an issue though) and was curious if anyone would know why. Top line works, bottom doesn't. It doesn't error out, it just finds a length of 0 in the tree.
2019-03-27T16:43:31.876200
Nenita
pythondev_help_Nenita_2019-03-27T16:43:31.876200
1,553,705,011.8762
15,289
pythondev
help
I believe because of generator expression? does doing `next` work?
2019-03-27T16:48:26.876700
Raguel
pythondev_help_Raguel_2019-03-27T16:48:26.876700
1,553,705,306.8767
15,290
pythondev
help
Yeah that's what I though as well
2019-03-27T16:48:48.876900
Jimmy
pythondev_help_Jimmy_2019-03-27T16:48:48.876900
1,553,705,328.8769
15,291
pythondev
help
what do you mean by `it just finds a length of 0 in the tree`
2019-03-27T16:49:14.877100
Jimmy
pythondev_help_Jimmy_2019-03-27T16:49:14.877100
1,553,705,354.8771
15,292
pythondev
help
``` li = [1, 2, 3, 4, 5] for num in li: li.remove(num) gen = (li.remove(num) for num in li) ``` I believe it is same thing here. The generator expression doesn’t remove elements till I do `next`
2019-03-27T16:50:30.877300
Raguel
pythondev_help_Raguel_2019-03-27T16:50:30.877300
1,553,705,430.8773
15,293
pythondev
help
what do you mean by next, never heard, nor used, it.
2019-03-27T16:55:14.877500
Nenita
pythondev_help_Nenita_2019-03-27T16:55:14.877500
1,553,705,714.8775
15,294
pythondev
help
<@Jimmy> upon stepping through the code, it would always skip the function because it was finding no length or values.
2019-03-27T16:56:32.877700
Nenita
pythondev_help_Nenita_2019-03-27T16:56:32.877700
1,553,705,792.8777
15,295
pythondev
help
this link might be helpful in explaining the concept: <https://realpython.com/introduction-to-python-generators/>
2019-03-27T17:07:26.877900
Raguel
pythondev_help_Raguel_2019-03-27T17:07:26.877900
1,553,706,446.8779
15,296
pythondev
help
You can try this snippet too: ``` li = [1, 2, 3, 4, 5] for num in mylist: print(num**2) #generator object sq = (num**2 for num in li) next(sq) next(sq) next(sq) next(sq) next(sq) next(sq) # once all values are exhausted, it will thro StopIteration eror ```
2019-03-27T17:11:00.878200
Raguel
pythondev_help_Raguel_2019-03-27T17:11:00.878200
1,553,706,660.8782
15,297
pythondev
help
if i add a program to `PATH`, I should be able to auto complete it in the terminal right? (OSX) for example for jmeter: ```export PATH=$PATH:/Users/bli1/tools/jmeter/apache-jmeter-5.1.1/bin ``` where `jmeter` is located inside of `bin`
2019-03-27T18:44:39.879400
Jordon
pythondev_help_Jordon_2019-03-27T18:44:39.879400
1,553,712,279.8794
15,298
pythondev
help
you’d have to reload the terminal, I think
2019-03-27T18:48:50.879800
Hiroko
pythondev_help_Hiroko_2019-03-27T18:48:50.879800
1,553,712,530.8798
15,299
pythondev
help
or `source ~/.bashrc` or equivalent
2019-03-27T18:49:05.880300
Hiroko
pythondev_help_Hiroko_2019-03-27T18:49:05.880300
1,553,712,545.8803
15,300
pythondev
help
<@Hiroko> nope didnt work =/. I also restarted my terminal
2019-03-27T18:50:03.880700
Jordon
pythondev_help_Jordon_2019-03-27T18:50:03.880700
1,553,712,603.8807
15,301
pythondev
help
what happens when you `echo $PATH`?
2019-03-27T18:50:57.881100
Hiroko
pythondev_help_Hiroko_2019-03-27T18:50:57.881100
1,553,712,657.8811
15,302
pythondev
help
is that path available?
2019-03-27T18:51:03.881300
Hiroko
pythondev_help_Hiroko_2019-03-27T18:51:03.881300
1,553,712,663.8813
15,303
pythondev
help
nope i dont see it =/
2019-03-27T18:51:16.881500
Jordon
pythondev_help_Jordon_2019-03-27T18:51:16.881500
1,553,712,676.8815
15,304
pythondev
help
hmmm
2019-03-27T18:51:45.881700
Jordon
pythondev_help_Jordon_2019-03-27T18:51:45.881700
1,553,712,705.8817
15,305
pythondev
help
Well that sounds like a problem. `echo $PATH` is working fine for me.
2019-03-27T18:52:25.882300
Kristine
pythondev_help_Kristine_2019-03-27T18:52:25.882300
1,553,712,745.8823
15,306
pythondev
help
how did you add this thing?
2019-03-27T18:52:25.882400
Hiroko
pythondev_help_Hiroko_2019-03-27T18:52:25.882400
1,553,712,745.8824
15,307
pythondev
help
did you do it in the terminal or write to file?
2019-03-27T18:52:44.882900
Hiroko
pythondev_help_Hiroko_2019-03-27T18:52:44.882900
1,553,712,764.8829
15,308
pythondev
help
Yeah if you did it in an external editor, you may have messed up the permissions.
2019-03-27T18:53:14.883300
Kristine
pythondev_help_Kristine_2019-03-27T18:53:14.883300
1,553,712,794.8833
15,309
pythondev
help
or if you just did it in the terminal it won’t stick
2019-03-27T18:54:16.883800
Hiroko
pythondev_help_Hiroko_2019-03-27T18:54:16.883800
1,553,712,856.8838
15,310
pythondev
help
Oh yeah, that too.
2019-03-27T18:54:37.884000
Kristine
pythondev_help_Kristine_2019-03-27T18:54:37.884000
1,553,712,877.884
15,311
pythondev
help
You should be putting that line in .bash_profile in your user directory really.
2019-03-27T18:54:50.884400
Kristine
pythondev_help_Kristine_2019-03-27T18:54:50.884400
1,553,712,890.8844
15,312
pythondev
help
hmm okay
2019-03-27T18:55:00.884700
Jordon
pythondev_help_Jordon_2019-03-27T18:55:00.884700
1,553,712,900.8847
15,313
pythondev
help
If you have that there, and it’s not working, try chowning it, and chmod u+rwxing it
2019-03-27T18:55:14.885000
Kristine
pythondev_help_Kristine_2019-03-27T18:55:14.885000
1,553,712,914.885
15,314
pythondev
help
but before you do that
2019-03-27T18:55:41.885200
Hiroko
pythondev_help_Hiroko_2019-03-27T18:55:41.885200
1,553,712,941.8852
15,315
pythondev
help
would help to know exactly what you did <@Jordon>
2019-03-27T18:55:52.885500
Hiroko
pythondev_help_Hiroko_2019-03-27T18:55:52.885500
1,553,712,952.8855
15,316
pythondev
help
what file, what command, etc
2019-03-27T18:56:02.886100
Hiroko
pythondev_help_Hiroko_2019-03-27T18:56:02.886100
1,553,712,962.8861
15,317
pythondev
help
bashrc wasn’t working
2019-03-27T18:56:59.887000
Jordon
pythondev_help_Jordon_2019-03-27T18:56:59.887000
1,553,713,019.887
15,318
pythondev
help
nice it works
2019-03-27T18:56:59.887100
Jordon
pythondev_help_Jordon_2019-03-27T18:56:59.887100
1,553,713,019.8871
15,319
pythondev
help
i clearly dont know the difference
2019-03-27T18:56:59.887200
Jordon
pythondev_help_Jordon_2019-03-27T18:56:59.887200
1,553,713,019.8872
15,320