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
What line is the error in the stacktrace <@Susanne>
2017-07-30T10:53:07.356179
Beula
pythondev_help_Beula_2017-07-30T10:53:07.356179
1,501,411,987.356179
88,103
pythondev
help
`enumerate(options)`
2017-07-30T10:58:06.378279
Beula
pythondev_help_Beula_2017-07-30T10:58:06.378279
1,501,412,286.378279
88,104
pythondev
help
sorry
2017-07-30T10:58:08.378347
Beula
pythondev_help_Beula_2017-07-30T10:58:08.378347
1,501,412,288.378347
88,105
pythondev
help
ok then what would I put if I wanted to print out he key and value?
2017-07-30T10:59:43.386000
Susanne
pythondev_help_Susanne_2017-07-30T10:59:43.386000
1,501,412,383.386
88,106
pythondev
help
How about you tell me on that one :slightly_smiling_face: Try it a bit and then report back if you are stuck
2017-07-30T11:00:12.389009
Beula
pythondev_help_Beula_2017-07-30T11:00:12.389009
1,501,412,412.389009
88,107
pythondev
help
I don't want to give you too many answers to prohibit you learning it :slightly_smiling_face:
2017-07-30T11:00:31.390909
Beula
pythondev_help_Beula_2017-07-30T11:00:31.390909
1,501,412,431.390909
88,108
pythondev
help
I would continue using options correct?
2017-07-30T11:00:36.391411
Susanne
pythondev_help_Susanne_2017-07-30T11:00:36.391411
1,501,412,436.391411
88,109
pythondev
help
Yep
2017-07-30T11:01:30.396097
Beula
pythondev_help_Beula_2017-07-30T11:01:30.396097
1,501,412,490.396097
88,110
pythondev
help
You can grab it from options, which is a list of tuples `[(key, value)] -&gt; [("Movie Name", float_val)]`
2017-07-30T11:08:06.428903
Beula
pythondev_help_Beula_2017-07-30T11:08:06.428903
1,501,412,886.428903
88,111
pythondev
help
So `options[i][0]` and `options[i][1]`
2017-07-30T11:08:21.430276
Beula
pythondev_help_Beula_2017-07-30T11:08:21.430276
1,501,412,901.430276
88,112
pythondev
help
It says “list indices must be integers or slices, not str”
2017-07-30T11:09:17.434719
Susanne
pythondev_help_Susanne_2017-07-30T11:09:17.434719
1,501,412,957.434719
88,113
pythondev
help
thats the snippet I ran
2017-07-30T11:09:57.437748
Susanne
pythondev_help_Susanne_2017-07-30T11:09:57.437748
1,501,412,997.437748
88,114
pythondev
help
The question you need to ask yourself is which thing in that snippet can give you a string that is used in `options`?
2017-07-30T11:10:35.441100
Beula
pythondev_help_Beula_2017-07-30T11:10:35.441100
1,501,413,035.4411
88,115
pythondev
help
the str function
2017-07-30T11:11:08.443686
Susanne
pythondev_help_Susanne_2017-07-30T11:11:08.443686
1,501,413,068.443686
88,116
pythondev
help
You aren't using the `str` function
2017-07-30T11:11:17.444371
Beula
pythondev_help_Beula_2017-07-30T11:11:17.444371
1,501,413,077.444371
88,117
pythondev
help
The issue is that you are passing a `str` as an index
2017-07-30T11:11:29.445338
Beula
pythondev_help_Beula_2017-07-30T11:11:29.445338
1,501,413,089.445338
88,118
pythondev
help
can you use int?
2017-07-30T11:11:48.446596
Susanne
pythondev_help_Susanne_2017-07-30T11:11:48.446596
1,501,413,108.446596
88,119
pythondev
help
That's what you want to use in a list :slightly_smiling_face:
2017-07-30T11:12:09.448170
Beula
pythondev_help_Beula_2017-07-30T11:12:09.448170
1,501,413,129.44817
88,120
pythondev
help
Check this doc on `input` <https://docs.python.org/3/library/functions.html#input>
2017-07-30T11:12:18.448852
Beula
pythondev_help_Beula_2017-07-30T11:12:18.448852
1,501,413,138.448852
88,121
pythondev
help
&gt; The function then reads a line from input, converts it to a string
2017-07-30T11:12:44.450688
Beula
pythondev_help_Beula_2017-07-30T11:12:44.450688
1,501,413,164.450688
88,122
pythondev
help
ok
2017-07-30T11:15:45.464749
Susanne
pythondev_help_Susanne_2017-07-30T11:15:45.464749
1,501,413,345.464749
88,123
pythondev
help
Now how would validate the input?
2017-07-30T11:15:58.465891
Susanne
pythondev_help_Susanne_2017-07-30T11:15:58.465891
1,501,413,358.465891
88,124
pythondev
help
at least what would be the thing I am looking for in the while statement?
2017-07-30T11:16:24.467824
Susanne
pythondev_help_Susanne_2017-07-30T11:16:24.467824
1,501,413,384.467824
88,125
pythondev
help
I'll leave that to you for a little to try out, let me know if you hit your head on it too long
2017-07-30T11:17:18.472247
Beula
pythondev_help_Beula_2017-07-30T11:17:18.472247
1,501,413,438.472247
88,126
pythondev
help
hint at least? pretty please with sprinkles on top :smile:
2017-07-30T11:17:59.475252
Susanne
pythondev_help_Susanne_2017-07-30T11:17:59.475252
1,501,413,479.475252
88,127
pythondev
help
You have a list of things, you need to make sure the input is in that list :wink:
2017-07-30T11:27:59.523512
Beula
pythondev_help_Beula_2017-07-30T11:27:59.523512
1,501,414,079.523512
88,128
pythondev
help
while i not in range(options)?
2017-07-30T11:28:25.525587
Susanne
pythondev_help_Susanne_2017-07-30T11:28:25.525587
1,501,414,105.525587
88,129
pythondev
help
Test it out
2017-07-30T11:29:30.530833
Beula
pythondev_help_Beula_2017-07-30T11:29:30.530833
1,501,414,170.530833
88,130
pythondev
help
the nice thing about programming is you can test theories pretty easily :smile:
2017-07-30T11:29:47.532134
Beula
pythondev_help_Beula_2017-07-30T11:29:47.532134
1,501,414,187.532134
88,131
pythondev
help
that is true
2017-07-30T11:29:55.532759
Susanne
pythondev_help_Susanne_2017-07-30T11:29:55.532759
1,501,414,195.532759
88,132
pythondev
help
I got this “‘list’ object cannot be interpreted as an integer”
2017-07-30T11:32:30.546729
Susanne
pythondev_help_Susanne_2017-07-30T11:32:30.546729
1,501,414,350.546729
88,133
pythondev
help
And which thing in that is a `list`?
2017-07-30T11:36:37.567250
Beula
pythondev_help_Beula_2017-07-30T11:36:37.567250
1,501,414,597.56725
88,134
pythondev
help
<@Denna> <@Beula> (sorry for the days-late response). Yes. My app is in installed apps and the admin panel is fully accessible and usable, but with the generic user model
2017-07-30T11:39:40.582156
Gregory
pythondev_help_Gregory_2017-07-30T11:39:40.582156
1,501,414,780.582156
88,135
pythondev
help
the options
2017-07-30T11:39:57.583370
Susanne
pythondev_help_Susanne_2017-07-30T11:39:57.583370
1,501,414,797.58337
88,136
pythondev
help
correct?
2017-07-30T11:41:22.590399
Susanne
pythondev_help_Susanne_2017-07-30T11:41:22.590399
1,501,414,882.590399
88,137
pythondev
help
I Want to learn python can any tell me where to start?
2017-07-30T13:20:23.077977
Dennis
pythondev_help_Dennis_2017-07-30T13:20:23.077977
1,501,420,823.077977
88,138
pythondev
help
<@Dennis> What's your programming experience level? Are you fully new to programming, or know another language?
2017-07-30T13:28:54.119951
Beula
pythondev_help_Beula_2017-07-30T13:28:54.119951
1,501,421,334.119951
88,139
pythondev
help
Because `i` is set to the last index in the loop because python has function scoping, meaning that any variable defined within the function body (even nested scopes) will be available in the function. It appears you need to use `num` rather than `i` to get the value from options
2017-07-30T13:51:03.229052
Beula
pythondev_help_Beula_2017-07-30T13:51:03.229052
1,501,422,663.229052
88,140
pythondev
help
right I got it figured out
2017-07-30T14:17:55.365592
Susanne
pythondev_help_Susanne_2017-07-30T14:17:55.365592
1,501,424,275.365592
88,141
pythondev
help
When I run the menu I enter my command do the selected function Function goes through and what I need it to do then when I return it takes me back to the menu when I enter a command to do another function it stops why does it do that?
2017-07-30T14:49:20.528261
Susanne
pythondev_help_Susanne_2017-07-30T14:49:20.528261
1,501,426,160.528261
88,142
pythondev
help
<@Beula> I Learned "C" language, And have good experience in it.
2017-07-30T15:45:08.816312
Dennis
pythondev_help_Dennis_2017-07-30T15:45:08.816312
1,501,429,508.816312
88,143
pythondev
help
I think being here and asking questions in <#C07EW4DNE|learning_python> is a good start, probably just writing some applications and the like will get you up to speed if you know programming already <@Dennis>
2017-07-30T16:38:36.073250
Beula
pythondev_help_Beula_2017-07-30T16:38:36.073250
1,501,432,716.07325
88,144
pythondev
help
<@Dennis> The official doc <https://github.com/pyslackers/community/blob/master/whats_next.md>
2017-07-30T20:31:07.261893
Deedee
pythondev_help_Deedee_2017-07-30T20:31:07.261893
1,501,446,667.261893
88,145
pythondev
help
<@Deedee> :taco:
2017-07-30T22:21:36.169917
Susanne
pythondev_help_Susanne_2017-07-30T22:21:36.169917
1,501,453,296.169917
88,146
pythondev
help
<@Deedee> :taco:
2017-07-30T22:22:51.180759
Susanne
pythondev_help_Susanne_2017-07-30T22:22:51.180759
1,501,453,371.180759
88,147
pythondev
help
<@Deedee> :taco:
2017-07-30T22:23:00.181884
Susanne
pythondev_help_Susanne_2017-07-30T22:23:00.181884
1,501,453,380.181884
88,148
pythondev
help
<@Deedee> :taco:
2017-07-30T22:23:15.184128
Susanne
pythondev_help_Susanne_2017-07-30T22:23:15.184128
1,501,453,395.184128
88,149
pythondev
help
<@Deedee> :taco:
2017-07-30T22:23:24.185475
Susanne
pythondev_help_Susanne_2017-07-30T22:23:24.185475
1,501,453,404.185475
88,150
pythondev
help
I finished sts http.sslVeify = False option setting.
2017-07-30T22:24:50.198018
Liza
pythondev_help_Liza_2017-07-30T22:24:50.198018
1,501,453,490.198018
88,151
pythondev
help
and When I use shell command git clone repository work!
2017-07-30T22:30:09.246286
Liza
pythondev_help_Liza_2017-07-30T22:30:09.246286
1,501,453,809.246286
88,152
pythondev
help
just problem invoked when clone in STS.. TT
2017-07-30T22:30:42.251417
Liza
pythondev_help_Liza_2017-07-30T22:30:42.251417
1,501,453,842.251417
88,153
pythondev
help
Anyone ever use mechanize? How easy is it to mock inputs + button clicks and is it reliable?
2017-07-31T03:59:49.935925
Alba
pythondev_help_Alba_2017-07-31T03:59:49.935925
1,501,473,589.935925
88,154
pythondev
help
Attempting to install python for VS on friends computer, but for some reason the option with the VS installer is not coming up
2017-07-31T11:25:56.312096
Myong
pythondev_help_Myong_2017-07-31T11:25:56.312096
1,501,500,356.312096
88,155
pythondev
help
VS 2017 professional edition
2017-07-31T11:26:10.321149
Myong
pythondev_help_Myong_2017-07-31T11:26:10.321149
1,501,500,370.321149
88,156
pythondev
help
Can anyone suggest me a good PDF creator package? I need to generate reports in PDFs
2017-07-31T11:44:47.035720
Shelly
pythondev_help_Shelly_2017-07-31T11:44:47.035720
1,501,501,487.03572
88,157
pythondev
help
What is the best way to have a function run in code when referencing an object that will not have been initialized at build time?
2017-07-31T12:01:17.672914
Myong
pythondev_help_Myong_2017-07-31T12:01:17.672914
1,501,502,477.672914
88,158
pythondev
help
<@Myong> - build time? What is this, Java?
2017-07-31T12:01:39.687762
Beula
pythondev_help_Beula_2017-07-31T12:01:39.687762
1,501,502,499.687762
88,159
pythondev
help
JK of course, can you clarify a little?
2017-07-31T12:02:16.711850
Beula
pythondev_help_Beula_2017-07-31T12:02:16.711850
1,501,502,536.71185
88,160
pythondev
help
im all over the place lmao
2017-07-31T12:02:39.726767
Myong
pythondev_help_Myong_2017-07-31T12:02:39.726767
1,501,502,559.726767
88,161
pythondev
help
So basically similar to what I was asking a few days ago regarding doing some lambda stuff
2017-07-31T12:02:55.736751
Myong
pythondev_help_Myong_2017-07-31T12:02:55.736751
1,501,502,575.736751
88,162
pythondev
help
Ah
2017-07-31T12:03:03.740992
Beula
pythondev_help_Beula_2017-07-31T12:03:03.740992
1,501,502,583.740992
88,163
pythondev
help
I have a config file where
2017-07-31T12:03:05.742219
Myong
pythondev_help_Myong_2017-07-31T12:03:05.742219
1,501,502,585.742219
88,164
pythondev
help
I update the settings as a user enters their choices
2017-07-31T12:03:15.749112
Myong
pythondev_help_Myong_2017-07-31T12:03:15.749112
1,501,502,595.749112
88,165
pythondev
help
And in one part I have 3 separate lists a user can choose from, but the way they choose the list is by the title of the list
2017-07-31T12:03:32.759907
Myong
pythondev_help_Myong_2017-07-31T12:03:32.759907
1,501,502,612.759907
88,166
pythondev
help
then in tkinter on the next screen, the appropriate list shows up
2017-07-31T12:03:46.769153
Myong
pythondev_help_Myong_2017-07-31T12:03:46.769153
1,501,502,626.769153
88,167
pythondev
help
However, in tkinter since it builds each frame before it runs, it doesn't get filled with the user selection
2017-07-31T12:04:09.783683
Myong
pythondev_help_Myong_2017-07-31T12:04:09.783683
1,501,502,649.783683
88,168
pythondev
help
and it doesn't like that I want to wait for user input before filling up a `OptionMenu`
2017-07-31T12:04:50.809407
Myong
pythondev_help_Myong_2017-07-31T12:04:50.809407
1,501,502,690.809407
88,169
pythondev
help
so I was thinking that on submit of the screen before, I could simply access the next Frame before it appears, clear the list, and populate it with the correct values
2017-07-31T12:05:22.829301
Myong
pythondev_help_Myong_2017-07-31T12:05:22.829301
1,501,502,722.829301
88,170
pythondev
help
But I wasn't sure if there was a less annoying walk around?
2017-07-31T12:05:30.833728
Myong
pythondev_help_Myong_2017-07-31T12:05:30.833728
1,501,502,730.833728
88,171
pythondev
help
Sounds like you need to wait to build the GUI until after the input has happened
2017-07-31T12:06:04.854401
Gabriele
pythondev_help_Gabriele_2017-07-31T12:06:04.854401
1,501,502,764.854401
88,172
pythondev
help
Well if that were the case, in tkinter I would need multiple mainloops because all the Frames in a single mainloop are built before any single Frame shows to a user
2017-07-31T12:06:56.886125
Myong
pythondev_help_Myong_2017-07-31T12:06:56.886125
1,501,502,816.886125
88,173
pythondev
help
And multiple mainloops means multiple screens
2017-07-31T12:07:06.892176
Myong
pythondev_help_Myong_2017-07-31T12:07:06.892176
1,501,502,826.892176
88,174
pythondev
help
Guess I just chose a crappy GUI framework to begin with, compared to the rest at least...
2017-07-31T12:07:25.903397
Myong
pythondev_help_Myong_2017-07-31T12:07:25.903397
1,501,502,845.903397
88,175
pythondev
help
I'll go ahead with the manual option
2017-07-31T12:07:31.907373
Myong
pythondev_help_Myong_2017-07-31T12:07:31.907373
1,501,502,851.907373
88,176
pythondev
help
You probably need to change the UI from within an event, called from the main loop
2017-07-31T12:08:58.960090
Gabriele
pythondev_help_Gabriele_2017-07-31T12:08:58.960090
1,501,502,938.96009
88,177
pythondev
help
But yeah, tkinter is not exactly 21st century stuff
2017-07-31T12:09:15.970490
Gabriele
pythondev_help_Gabriele_2017-07-31T12:09:15.970490
1,501,502,955.97049
88,178
pythondev
help
Yup, good times with the 1900s, good times
2017-07-31T12:11:13.040576
Myong
pythondev_help_Myong_2017-07-31T12:11:13.040576
1,501,503,073.040576
88,179
pythondev
help
Anyone know what the error `Import Error: DLL load failed: The specified procedure could not be found.`
2017-07-31T13:15:41.259529
Myong
pythondev_help_Myong_2017-07-31T13:15:41.259529
1,501,506,941.259529
88,180
pythondev
help
after installing lxml via pip
2017-07-31T13:15:47.262405
Myong
pythondev_help_Myong_2017-07-31T13:15:47.262405
1,501,506,947.262405
88,181
pythondev
help
basically showing `"/venv/lib/site-packages/lxml/html/__init__.py" from .. import etree`
2017-07-31T13:16:35.289442
Myong
pythondev_help_Myong_2017-07-31T13:16:35.289442
1,501,506,995.289442
88,182
pythondev
help
Maybe try the binary installer for windows?
2017-07-31T13:16:48.296777
Beula
pythondev_help_Beula_2017-07-31T13:16:48.296777
1,501,507,008.296777
88,183
pythondev
help
<http://lxml.de/installation.html#source-builds-on-ms-windows>
2017-07-31T13:16:52.299110
Beula
pythondev_help_Beula_2017-07-31T13:16:52.299110
1,501,507,012.29911
88,184
pythondev
help
Okay
2017-07-31T13:17:05.306417
Myong
pythondev_help_Myong_2017-07-31T13:17:05.306417
1,501,507,025.306417
88,185
pythondev
help
I am just spitballing, sorry if it's not helpful :confused:
2017-07-31T13:17:21.315513
Beula
pythondev_help_Beula_2017-07-31T13:17:21.315513
1,501,507,041.315513
88,186
pythondev
help
I was about to try that
2017-07-31T13:17:32.322066
Myong
pythondev_help_Myong_2017-07-31T13:17:32.322066
1,501,507,052.322066
88,187
pythondev
help
I just remember returning my windows box within a day after trying to get C-libs to build on windows
2017-07-31T13:17:43.328164
Beula
pythondev_help_Beula_2017-07-31T13:17:43.328164
1,501,507,063.328164
88,188
pythondev
help
apparently the anaconda distribution really helps on windows though, it may be worth looking into
2017-07-31T13:17:56.335440
Beula
pythondev_help_Beula_2017-07-31T13:17:56.335440
1,501,507,076.33544
88,189
pythondev
help
Yeah it's horrible honestly
2017-07-31T13:19:23.384880
Myong
pythondev_help_Myong_2017-07-31T13:19:23.384880
1,501,507,163.38488
88,190
pythondev
help
have you tried WSL yet?
2017-07-31T13:19:43.396036
Beula
pythondev_help_Beula_2017-07-31T13:19:43.396036
1,501,507,183.396036
88,191
pythondev
help
I have not actually, I have ubuntu on my surface pro, but that's a pain in my ass
2017-07-31T13:20:13.413055
Myong
pythondev_help_Myong_2017-07-31T13:20:13.413055
1,501,507,213.413055
88,192
pythondev
help
:disappointed:
2017-07-31T13:20:28.421737
Beula
pythondev_help_Beula_2017-07-31T13:20:28.421737
1,501,507,228.421737
88,193
pythondev
help
Might be better now, but it took so long to get it to work lmao
2017-07-31T13:21:37.461714
Myong
pythondev_help_Myong_2017-07-31T13:21:37.461714
1,501,507,297.461714
88,194
pythondev
help
Is github down?
2017-07-31T13:21:59.473926
Myong
pythondev_help_Myong_2017-07-31T13:21:59.473926
1,501,507,319.473926
88,195
pythondev
help
Did slackbot just gasp at ‘ass’?
2017-07-31T13:22:04.476672
Zaida
pythondev_help_Zaida_2017-07-31T13:22:04.476672
1,501,507,324.476672
88,196
pythondev
help
Amazing.
2017-07-31T13:22:06.478376
Zaida
pythondev_help_Zaida_2017-07-31T13:22:06.478376
1,501,507,326.478376
88,197
pythondev
help
Yes, github is having "major outages"
2017-07-31T13:25:20.589993
Beula
pythondev_help_Beula_2017-07-31T13:25:20.589993
1,501,507,520.589993
88,198
pythondev
help
I can't build from the tarball
2017-07-31T13:28:43.708037
Myong
pythondev_help_Myong_2017-07-31T13:28:43.708037
1,501,507,723.708037
88,199
pythondev
help
yeah github is down at the moment
2017-07-31T13:32:24.837535
Martha
pythondev_help_Martha_2017-07-31T13:32:24.837535
1,501,507,944.837535
88,200
pythondev
help
says normal service is returning now
2017-07-31T13:33:31.876573
Tandra
pythondev_help_Tandra_2017-07-31T13:33:31.876573
1,501,508,011.876573
88,201
pythondev
help
Has anyone ever used slackbot in the history of slackbot?
2017-07-31T13:50:10.447642
Thomasina
pythondev_help_Thomasina_2017-07-31T13:50:10.447642
1,501,509,010.447642
88,202