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
|
things that implement `__iter__` can be iterated
|
2019-06-06T14:28:55.410600
|
Clemmie
|
pythondev_help_Clemmie_2019-06-06T14:28:55.410600
| 1,559,831,335.4106 | 27,321 |
pythondev
|
help
|
and so on
|
2019-06-06T14:28:57.410800
|
Clemmie
|
pythondev_help_Clemmie_2019-06-06T14:28:57.410800
| 1,559,831,337.4108 | 27,322 |
pythondev
|
help
|
what's the __main__ one
|
2019-06-06T14:29:23.411100
|
Emelda
|
pythondev_help_Emelda_2019-06-06T14:29:23.411100
| 1,559,831,363.4111 | 27,323 |
pythondev
|
help
|
all (i think) the dunders are listed on this page <https://docs.python.org/3/reference/datamodel.html>
|
2019-06-06T14:29:52.411600
|
Clemmie
|
pythondev_help_Clemmie_2019-06-06T14:29:52.411600
| 1,559,831,392.4116 | 27,324 |
pythondev
|
help
|
that means the file was called and run as itself, pretty much <https://docs.python.org/3/library/__main__.html>
|
2019-06-06T14:30:51.412200
|
Clemmie
|
pythondev_help_Clemmie_2019-06-06T14:30:51.412200
| 1,559,831,451.4122 | 27,325 |
pythondev
|
help
|
so it seems my function is returning the value twice.
|
2019-06-06T14:34:53.412900
|
Emelda
|
pythondev_help_Emelda_2019-06-06T14:34:53.412900
| 1,559,831,693.4129 | 27,326 |
pythondev
|
help
|
what function do you have now?
|
2019-06-06T14:35:04.413300
|
Clemmie
|
pythondev_help_Clemmie_2019-06-06T14:35:04.413300
| 1,559,831,704.4133 | 27,327 |
pythondev
|
help
|
nvm i forgot I put a print in there
|
2019-06-06T14:35:10.413500
|
Emelda
|
pythondev_help_Emelda_2019-06-06T14:35:10.413500
| 1,559,831,710.4135 | 27,328 |
pythondev
|
help
|
I'm so green with this I appologize
|
2019-06-06T14:35:22.413800
|
Emelda
|
pythondev_help_Emelda_2019-06-06T14:35:22.413800
| 1,559,831,722.4138 | 27,329 |
pythondev
|
help
|
no worries, it’s what <#C07EFMZ1N|help> is for
|
2019-06-06T14:35:40.414300
|
Clemmie
|
pythondev_help_Clemmie_2019-06-06T14:35:40.414300
| 1,559,831,740.4143 | 27,330 |
pythondev
|
help
|
:rubberduck:
|
2019-06-06T14:35:45.414600
|
Clemmie
|
pythondev_help_Clemmie_2019-06-06T14:35:45.414600
| 1,559,831,745.4146 | 27,331 |
pythondev
|
help
|
It's taking everything in me to not get mad and fall on posh 6
|
2019-06-06T14:35:48.414700
|
Emelda
|
pythondev_help_Emelda_2019-06-06T14:35:48.414700
| 1,559,831,748.4147 | 27,332 |
pythondev
|
help
|
But I want to be able to have more flexibility cross-platform and python has that
|
2019-06-06T14:36:19.415300
|
Emelda
|
pythondev_help_Emelda_2019-06-06T14:36:19.415300
| 1,559,831,779.4153 | 27,333 |
pythondev
|
help
|
Or seems to anyway
|
2019-06-06T14:36:30.415500
|
Emelda
|
pythondev_help_Emelda_2019-06-06T14:36:30.415500
| 1,559,831,790.4155 | 27,334 |
pythondev
|
help
|
apparently you can chain tasks
|
2019-06-06T14:37:26.415700
|
Pura
|
pythondev_help_Pura_2019-06-06T14:37:26.415700
| 1,559,831,846.4157 | 27,335 |
pythondev
|
help
|
<https://docs.celeryproject.org/en/latest/userguide/canvas.html#chains>
|
2019-06-06T14:37:27.415900
|
Pura
|
pythondev_help_Pura_2019-06-06T14:37:27.415900
| 1,559,831,847.4159 | 27,336 |
pythondev
|
help
|
One thing I wish I could do was just create Python desktop apps in visual studio with the same drag and drop controls I'd use in c#
|
2019-06-06T14:40:08.416800
|
Emelda
|
pythondev_help_Emelda_2019-06-06T14:40:08.416800
| 1,559,832,008.4168 | 27,337 |
pythondev
|
help
|
there's iron python and all sorts of other things but they look ugly
|
2019-06-06T14:40:39.417300
|
Emelda
|
pythondev_help_Emelda_2019-06-06T14:40:39.417300
| 1,559,832,039.4173 | 27,338 |
pythondev
|
help
|
I didn't know super did that
|
2019-06-06T14:40:54.417700
|
Javier
|
pythondev_help_Javier_2019-06-06T14:40:54.417700
| 1,559,832,054.4177 | 27,339 |
pythondev
|
help
|
tkinter looks like ass
|
2019-06-06T14:41:02.417900
|
Emelda
|
pythondev_help_Emelda_2019-06-06T14:41:02.417900
| 1,559,832,062.4179 | 27,340 |
pythondev
|
help
|
tbh whenever I want to have a visual gui I just run it as a webapp
|
2019-06-06T14:41:42.418300
|
Holly
|
pythondev_help_Holly_2019-06-06T14:41:42.418300
| 1,559,832,102.4183 | 27,341 |
pythondev
|
help
|
its easier to deal with in my opinion
|
2019-06-06T14:44:01.418700
|
Holly
|
pythondev_help_Holly_2019-06-06T14:44:01.418700
| 1,559,832,241.4187 | 27,342 |
pythondev
|
help
|
Where is the documentation on that?
|
2019-06-06T14:44:07.419000
|
Emelda
|
pythondev_help_Emelda_2019-06-06T14:44:07.419000
| 1,559,832,247.419 | 27,343 |
pythondev
|
help
|
but I also hate making GUIs lol
|
2019-06-06T14:44:08.419100
|
Holly
|
pythondev_help_Holly_2019-06-06T14:44:08.419100
| 1,559,832,248.4191 | 27,344 |
pythondev
|
help
|
I use flask personally since its a really really simple web framework if you want it to be
|
2019-06-06T14:44:33.419500
|
Holly
|
pythondev_help_Holly_2019-06-06T14:44:33.419500
| 1,559,832,273.4195 | 27,345 |
pythondev
|
help
|
<http://flask.pocoo.org/>
|
2019-06-06T14:44:53.419800
|
Holly
|
pythondev_help_Holly_2019-06-06T14:44:53.419800
| 1,559,832,293.4198 | 27,346 |
pythondev
|
help
|
you'd also have to learn a little bit of html (I pretty much only use html because my interfaces aren't customer facing)
|
2019-06-06T14:45:08.420300
|
Holly
|
pythondev_help_Holly_2019-06-06T14:45:08.420300
| 1,559,832,308.4203 | 27,347 |
pythondev
|
help
|
yeah, the two biggies are flask and django
|
2019-06-06T14:45:15.420600
|
Clemmie
|
pythondev_help_Clemmie_2019-06-06T14:45:15.420600
| 1,559,832,315.4206 | 27,348 |
pythondev
|
help
|
I'm sure others have different thoughts on interfaces
|
2019-06-06T14:45:20.420900
|
Holly
|
pythondev_help_Holly_2019-06-06T14:45:20.420900
| 1,559,832,320.4209 | 27,349 |
pythondev
|
help
|
GUIs rather
|
2019-06-06T14:45:25.421200
|
Holly
|
pythondev_help_Holly_2019-06-06T14:45:25.421200
| 1,559,832,325.4212 | 27,350 |
pythondev
|
help
|
different philosophies, but you build web apps in either
|
2019-06-06T14:45:38.421500
|
Clemmie
|
pythondev_help_Clemmie_2019-06-06T14:45:38.421500
| 1,559,832,338.4215 | 27,351 |
pythondev
|
help
|
yup; I personally liked flask for my use case, because its a lot more freeform, and building a project if its really small is a lot easier to get going. Django is powerful but to me it felt overwhelming with how many pre-populated files and configurations it has from the start
|
2019-06-06T14:46:57.422500
|
Holly
|
pythondev_help_Holly_2019-06-06T14:46:57.422500
| 1,559,832,417.4225 | 27,352 |
pythondev
|
help
|
I like to think that Django is more scalable from the start because of that reason
|
2019-06-06T14:47:42.423000
|
Romaine
|
pythondev_help_Romaine_2019-06-06T14:47:42.423000
| 1,559,832,462.423 | 27,353 |
pythondev
|
help
|
if your project isn't going to grow, why not Flask? :smile:? But hey, if you really love Flask and its going to get bigger, maybe you want to go that route
|
2019-06-06T14:48:22.423900
|
Romaine
|
pythondev_help_Romaine_2019-06-06T14:48:22.423900
| 1,559,832,502.4239 | 27,354 |
pythondev
|
help
|
Django just makes it easier to keep going and keep getting bigger because its built to do so from the start
|
2019-06-06T14:48:49.424500
|
Romaine
|
pythondev_help_Romaine_2019-06-06T14:48:49.424500
| 1,559,832,529.4245 | 27,355 |
pythondev
|
help
|
and while I tend to prefer Django, I might be a bit biased, and personally, its pretty straight forward
|
2019-06-06T14:49:17.425200
|
Romaine
|
pythondev_help_Romaine_2019-06-06T14:49:17.425200
| 1,559,832,557.4252 | 27,356 |
pythondev
|
help
|
and while is shouldn’t be a deciding factor, the membership of our <#C0LMFRMB5|django> channel is about twice the size of the <#C0LN2AD7T|flask> channel (but they are both in the thousands, so plenty of help in both)
|
2019-06-06T14:51:15.426500
|
Clemmie
|
pythondev_help_Clemmie_2019-06-06T14:51:15.426500
| 1,559,832,675.4265 | 27,357 |
pythondev
|
help
|
lol, true dat
|
2019-06-06T14:52:30.426900
|
Romaine
|
pythondev_help_Romaine_2019-06-06T14:52:30.426900
| 1,559,832,750.4269 | 27,358 |
pythondev
|
help
|
I pefer aiohttp server for web server now over flask because its asynchronous. If im building a webapp i usually make backend api with a static frontend (react, angular) that makes http requests to the api.
|
2019-06-06T14:53:12.427700
|
Pura
|
pythondev_help_Pura_2019-06-06T14:53:12.427700
| 1,559,832,792.4277 | 27,359 |
pythondev
|
help
|
I wanted to go that route Kay, but tbh my javascript skills are pitiful and I really hate trying to learn it lol
|
2019-06-06T14:53:38.428200
|
Holly
|
pythondev_help_Holly_2019-06-06T14:53:38.428200
| 1,559,832,818.4282 | 27,360 |
pythondev
|
help
|
<http://flask.pocoo.org/docs/1.0/design/>
|
2019-06-06T14:57:42.429800
|
Pura
|
pythondev_help_Pura_2019-06-06T14:57:42.429800
| 1,559,833,062.4298 | 27,361 |
pythondev
|
help
|
` However Flask is just not designed for large applications or asynchronous servers`
|
2019-06-06T14:58:02.430000
|
Pura
|
pythondev_help_Pura_2019-06-06T14:58:02.430000
| 1,559,833,082.43 | 27,362 |
pythondev
|
help
|
I agree django is to overwhelming so i never used it.
This is why i moved from flask to aiohttp.
|
2019-06-06T14:58:24.430300
|
Pura
|
pythondev_help_Pura_2019-06-06T14:58:24.430300
| 1,559,833,104.4303 | 27,363 |
pythondev
|
help
|
<@Pura> quart is flask + aiohttp
|
2019-06-06T14:58:34.430700
|
Hiroko
|
pythondev_help_Hiroko_2019-06-06T14:58:34.430700
| 1,559,833,114.4307 | 27,364 |
pythondev
|
help
|
I was considering it for an asyncio service at work to operate as an api composition layer application, and decided to go full in on aiohttp instead
|
2019-06-06T14:59:05.431500
|
Hiroko
|
pythondev_help_Hiroko_2019-06-06T14:59:05.431500
| 1,559,833,145.4315 | 27,365 |
pythondev
|
help
|
but don’t discount sync frameworks just because async is the new hotness
|
2019-06-06T14:59:51.432300
|
Hiroko
|
pythondev_help_Hiroko_2019-06-06T14:59:51.432300
| 1,559,833,191.4323 | 27,366 |
pythondev
|
help
|
they can still easily handle tens of thousands of requests/minute
|
2019-06-06T15:00:09.432800
|
Hiroko
|
pythondev_help_Hiroko_2019-06-06T15:00:09.432800
| 1,559,833,209.4328 | 27,367 |
pythondev
|
help
|
that's it's only use
|
2019-06-06T15:10:44.432900
|
Ashley
|
pythondev_help_Ashley_2019-06-06T15:10:44.432900
| 1,559,833,844.4329 | 27,368 |
pythondev
|
help
|
it's basically "do the stuff from the class above me in the MRO chain"
|
2019-06-06T15:11:41.433100
|
Ashley
|
pythondev_help_Ashley_2019-06-06T15:11:41.433100
| 1,559,833,901.4331 | 27,369 |
pythondev
|
help
|
Can someone help me figure out why python can't find my python files?
|
2019-06-06T15:23:28.433700
|
Javier
|
pythondev_help_Javier_2019-06-06T15:23:28.433700
| 1,559,834,608.4337 | 27,370 |
pythondev
|
help
|
I have 4 files in the same folder and python can't find them
|
2019-06-06T15:23:43.434000
|
Javier
|
pythondev_help_Javier_2019-06-06T15:23:43.434000
| 1,559,834,623.434 | 27,371 |
pythondev
|
help
|
nvm
|
2019-06-06T15:24:46.434200
|
Javier
|
pythondev_help_Javier_2019-06-06T15:24:46.434200
| 1,559,834,686.4342 | 27,372 |
pythondev
|
help
|
`__init__.py` missing?
|
2019-06-06T15:53:29.435000
|
Romaine
|
pythondev_help_Romaine_2019-06-06T15:53:29.435000
| 1,559,836,409.435 | 27,373 |
pythondev
|
help
|
I need to know build script to publish package in pypi
what is a build script
|
2019-06-06T16:15:07.435300
|
Bart
|
pythondev_help_Bart_2019-06-06T16:15:07.435300
| 1,559,837,707.4353 | 27,374 |
pythondev
|
help
|
and where can i find it?
|
2019-06-06T16:15:25.435500
|
Bart
|
pythondev_help_Bart_2019-06-06T16:15:25.435500
| 1,559,837,725.4355 | 27,375 |
pythondev
|
help
|
Anyone know of a library that would help me do the following: display a .png image as a window, when clicked a sound goes off, can be closed out via right click
|
2019-06-06T16:23:23.437300
|
Freeda
|
pythondev_help_Freeda_2019-06-06T16:23:23.437300
| 1,559,838,203.4373 | 27,376 |
pythondev
|
help
|
I'm thinking AHK would be easier to use but I want to try it in python since I'm still learning
|
2019-06-06T16:23:37.437700
|
Freeda
|
pythondev_help_Freeda_2019-06-06T16:23:37.437700
| 1,559,838,217.4377 | 27,377 |
pythondev
|
help
|
I found playsound will help with the mp3s but can't figure out what would show a png as a window and trigger on-click
|
2019-06-06T16:24:12.438300
|
Freeda
|
pythondev_help_Freeda_2019-06-06T16:24:12.438300
| 1,559,838,252.4383 | 27,378 |
pythondev
|
help
|
<@Bart> everything for packaging a python project for pypi is here <https://packaging.python.org/tutorials/packaging-projects/>
|
2019-06-06T16:26:12.438800
|
Clemmie
|
pythondev_help_Clemmie_2019-06-06T16:26:12.438800
| 1,559,838,372.4388 | 27,379 |
pythondev
|
help
|
thanks
|
2019-06-06T16:31:50.439000
|
Bart
|
pythondev_help_Bart_2019-06-06T16:31:50.439000
| 1,559,838,710.439 | 27,380 |
pythondev
|
help
|
<@Freeda> You might look at PyGame... as I recall it's pretty easy to get basic stuff like that going.
|
2019-06-06T17:37:49.439800
|
Sasha
|
pythondev_help_Sasha_2019-06-06T17:37:49.439800
| 1,559,842,669.4398 | 27,381 |
pythondev
|
help
|
Came across that recently while searching, seems like it would be the best choice. Thanks
|
2019-06-06T18:22:43.440600
|
Freeda
|
pythondev_help_Freeda_2019-06-06T18:22:43.440600
| 1,559,845,363.4406 | 27,382 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.