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
<https://blog.miguelgrinberg.com/post/the-flask-mega-tutorial-part-iv-database>
2018-02-27T19:49:58.000043
Kacie
pythondev_help_Kacie_2018-02-27T19:49:58.000043
1,519,760,998.000043
36,424
pythondev
help
check out that tutorial
2018-02-27T19:50:02.000410
Kacie
pythondev_help_Kacie_2018-02-27T19:50:02.000410
1,519,761,002.00041
36,425
pythondev
help
Miguel is a 'evangelist' for flask of sorts, hes one of the domain experts it seems for flask
2018-02-27T19:50:26.000059
Kacie
pythondev_help_Kacie_2018-02-27T19:50:26.000059
1,519,761,026.000059
36,426
pythondev
help
i like his stuff and its simple to follow :slightly_smiling_face:
2018-02-27T19:50:35.000030
Kacie
pythondev_help_Kacie_2018-02-27T19:50:35.000030
1,519,761,035.00003
36,427
pythondev
help
Miguel is one of only two that I know that preach hard for Flask
2018-02-27T19:50:44.000234
Garrett
pythondev_help_Garrett_2018-02-27T19:50:44.000234
1,519,761,044.000234
36,428
pythondev
help
yeah lol
2018-02-27T19:50:48.000387
Kacie
pythondev_help_Kacie_2018-02-27T19:50:48.000387
1,519,761,048.000387
36,429
pythondev
help
hes been on it for a min
2018-02-27T19:50:51.000293
Kacie
pythondev_help_Kacie_2018-02-27T19:50:51.000293
1,519,761,051.000293
36,430
pythondev
help
Just a bit, yeah
2018-02-27T19:50:56.000314
Garrett
pythondev_help_Garrett_2018-02-27T19:50:56.000314
1,519,761,056.000314
36,431
pythondev
help
funny enough that tall northern european fella who started it moved on :slightly_smiling_face:
2018-02-27T19:51:21.000401
Kacie
pythondev_help_Kacie_2018-02-27T19:51:21.000401
1,519,761,081.000401
36,432
pythondev
help
hes doing rust i think?
2018-02-27T19:51:28.000255
Kacie
pythondev_help_Kacie_2018-02-27T19:51:28.000255
1,519,761,088.000255
36,433
pythondev
help
The other being <@Telma>
2018-02-27T19:51:32.000380
Garrett
pythondev_help_Garrett_2018-02-27T19:51:32.000380
1,519,761,092.00038
36,434
pythondev
help
Armin still does Python, but, yeah, he's doing some Rust now, too. Which, given his job, makes sense
2018-02-27T19:51:55.000315
Garrett
pythondev_help_Garrett_2018-02-27T19:51:55.000315
1,519,761,115.000315
36,435
pythondev
help
Hello all! Is there anyway to use: ```indices = [i for i, elem in enumerate(sugarlistsplt) if 'Monounsaturated Fat' in elem]``` which returns `[2]` to call that number in a list? Like: ```print(list[indices])```?
2018-02-27T22:05:54.000005
Chi
pythondev_help_Chi_2018-02-27T22:05:54.000005
1,519,769,154.000005
36,436
pythondev
help
<@Chi> what if the comprehension returns multiple indices?
2018-02-27T22:10:18.000055
Aleida
pythondev_help_Aleida_2018-02-27T22:10:18.000055
1,519,769,418.000055
36,437
pythondev
help
None of the data that I know of would. Would that be an issue?
2018-02-27T22:10:58.000128
Chi
pythondev_help_Chi_2018-02-27T22:10:58.000128
1,519,769,458.000128
36,438
pythondev
help
you can do ``` [your_list[i] for i, elem in enumerate(sugarlistsplt) if 'Monounsaturated Fat' in elem] ``` if I understand correctly. <@Aleida> question matters too
2018-02-27T22:11:15.000131
Sadye
pythondev_help_Sadye_2018-02-27T22:11:15.000131
1,519,769,475.000131
36,439
pythondev
help
<@Chi> that is a strange way to use a comprehension then
2018-02-27T22:11:42.000251
Aleida
pythondev_help_Aleida_2018-02-27T22:11:42.000251
1,519,769,502.000251
36,440
pythondev
help
If "none of the data" then why you collecting list of indices then?
2018-02-27T22:11:52.000166
Sadye
pythondev_help_Sadye_2018-02-27T22:11:52.000166
1,519,769,512.000166
36,441
pythondev
help
Write a regular for loop: ``` for idx, elem in enumerate(sugarlistsplt): if 'Monounsaturated Fat' in elem: print(list[idx]) break ```
2018-02-27T22:12:50.000056
Aleida
pythondev_help_Aleida_2018-02-27T22:12:50.000056
1,519,769,570.000056
36,442
pythondev
help
It's a webscrape that requires tons of parsing. Sorry if I sound incorrect, I'm still very new at this. The data comes in as a single list item: ```Sugarlist = [% Daily ValueTotal Fat2 g3.0Saturated Fat0.5 G3Trans Fat0 GPolyunsaturated Fat0.0 gMonounsaturated Fat0.5 gCholesterol15 Mg5Sodium890 Mg37Potassium50 Mg1Total...
2018-02-27T22:14:12.000252
Chi
pythondev_help_Chi_2018-02-27T22:14:12.000252
1,519,769,652.000252
36,443
pythondev
help
Which is what I use: ```indices = [i for i, elem in enumerate(sugarlistsplt) if 'Monounsaturated Fat' in elem]``` for
2018-02-27T22:14:56.000194
Chi
pythondev_help_Chi_2018-02-27T22:14:56.000194
1,519,769,696.000194
36,444
pythondev
help
&gt; `[% Daily ValueTotal Fat2 g3.0Saturated Fat0.5 G3Trans Fat0 GPolyunsaturated Fat0.0 gMonounsaturated Fat0.5 gCholesterol15 Mg5Sodium890 Mg37Potassium50 Mg1Total Carbohydrate8 g3.0Dietary Fiber1 G4Sugars1 GProtein3 g]` This example is not a valid python list, and even if it would it's value is pretty inconsistent
2018-02-27T22:16:04.000210
Aleida
pythondev_help_Aleida_2018-02-27T22:16:04.000210
1,519,769,764.00021
36,445
pythondev
help
What's about all these hanging `g` symbols?
2018-02-27T22:16:19.000011
Aleida
pythondev_help_Aleida_2018-02-27T22:16:19.000011
1,519,769,779.000011
36,446
pythondev
help
What is the expected output of the transformation you'd like to apply?
2018-02-27T22:16:36.000122
Aleida
pythondev_help_Aleida_2018-02-27T22:16:36.000122
1,519,769,796.000122
36,447
pythondev
help
I used `g` as kind of a stepping stone, I just need to parse it and figured that would be the best way to test this method out. I would like to write them to a page. So far I have the title, price and calories, I would like this information as well. It just seems to be parsed in such a weird way.
2018-02-27T22:18:11.000179
Chi
pythondev_help_Chi_2018-02-27T22:18:11.000179
1,519,769,891.000179
36,448
pythondev
help
Kinda like this ```Saturated Fat0.5 G3 Trans Fat0 G Polyunsaturated Fat0.0 g Monounsaturated Fat0.5 g Dietary Fiber1 G4 Sugars1 G ```
2018-02-27T22:18:25.000093
Chi
pythondev_help_Chi_2018-02-27T22:18:25.000093
1,519,769,905.000093
36,449
pythondev
help
I figured I could add the `g`s back after I get them seperated.
2018-02-27T22:18:49.000247
Chi
pythondev_help_Chi_2018-02-27T22:18:49.000247
1,519,769,929.000247
36,450
pythondev
help
Can you show us the source you have parsed?
2018-02-27T22:18:50.000037
Aleida
pythondev_help_Aleida_2018-02-27T22:18:50.000037
1,519,769,930.000037
36,451
pythondev
help
Yes, one moment while I run it.
2018-02-27T22:19:09.000272
Chi
pythondev_help_Chi_2018-02-27T22:19:09.000272
1,519,769,949.000272
36,452
pythondev
help
I mean not the source code, but a site you parsed
2018-02-27T22:19:41.000225
Aleida
pythondev_help_Aleida_2018-02-27T22:19:41.000225
1,519,769,981.000225
36,453
pythondev
help
Just to be clear
2018-02-27T22:19:45.000200
Aleida
pythondev_help_Aleida_2018-02-27T22:19:45.000200
1,519,769,985.0002
36,454
pythondev
help
I'm using ```sugars = soup.findAll('div', class_='NutritionFacts-allFacts-nutrientInfo')``` On <https://www.walmart.com/ip/Campbell-s-Condensed-Chicken-Noodle-Soup-10-75-oz-4-pack/43671426> (I'm looping through a bunch of pages, but the code framework is the same) And I get `[&lt;div class="NutritionFacts-allFacts...
2018-02-27T22:22:23.000148
Chi
pythondev_help_Chi_2018-02-27T22:22:23.000148
1,519,770,143.000148
36,455
pythondev
help
I get it in the list by using ``` sugarlist = [] for sugar in sugars: su = sugar.text sugarlist.append(su)```
2018-02-27T22:23:11.000233
Chi
pythondev_help_Chi_2018-02-27T22:23:11.000233
1,519,770,191.000233
36,456
pythondev
help
Aha, so `% Daily Value` is really redundant here
2018-02-27T22:25:48.000257
Aleida
pythondev_help_Aleida_2018-02-27T22:25:48.000257
1,519,770,348.000257
36,457
pythondev
help
Exactly
2018-02-27T22:26:05.000316
Chi
pythondev_help_Chi_2018-02-27T22:26:05.000316
1,519,770,365.000316
36,458
pythondev
help
Jesus Crist walmart's source code is awful
2018-02-27T22:43:47.000219
Aleida
pythondev_help_Aleida_2018-02-27T22:43:47.000219
1,519,771,427.000219
36,459
pythondev
help
Anyway, I would suggest to not append texts into a single list, but form a dictionary right away
2018-02-27T22:44:57.000173
Aleida
pythondev_help_Aleida_2018-02-27T22:44:57.000173
1,519,771,497.000173
36,460
pythondev
help
Ooh, I have not thought of a dictionary. I'm going to put that in now. Thank you very much!!
2018-02-27T22:50:39.000129
Chi
pythondev_help_Chi_2018-02-27T22:50:39.000129
1,519,771,839.000129
36,461
pythondev
help
Hi, there. I'm a beginner of python/django. Does anyone can help me how to make a custom authentification backend with drf?
2018-02-27T23:13:35.000134
Lillia
pythondev_help_Lillia_2018-02-27T23:13:35.000134
1,519,773,215.000134
36,462
pythondev
help
Hi - Dear community. I am new to programming. I want to develop something using python. I need some help. I have created list inside for loop along with print statement. I am also printing the list outside for loop. I see that list inside for loop has 48 values where as list outside for loop has only 1 value. I tried ...
2018-02-27T23:36:07.000073
Refugia
pythondev_help_Refugia_2018-02-27T23:36:07.000073
1,519,774,567.000073
36,463
pythondev
help
ticker_list = [] for ticker in range(no_of_tickers): ticker_list = (utc_series_start + datetime.timedelta(minutes = offset_min * ticker)).strftime("%Y-%m-%dT%H:%M:00") print("ticker_list inside for loop",ticker_list) for item in ticker_list: print("ticker_list outside for loop",item)
2018-02-27T23:36:08.000189
Refugia
pythondev_help_Refugia_2018-02-27T23:36:08.000189
1,519,774,568.000189
36,464
pythondev
help
Thanks
2018-02-28T00:00:03.000131
Adell
pythondev_help_Adell_2018-02-28T00:00:03.000131
1,519,776,003.000131
36,465
pythondev
help
its resolved now :slightly_smiling_face:
2018-02-28T00:01:26.000221
Refugia
pythondev_help_Refugia_2018-02-28T00:01:26.000221
1,519,776,086.000221
36,466
pythondev
help
any one online ?
2018-02-28T00:34:33.000170
Refugia
pythondev_help_Refugia_2018-02-28T00:34:33.000170
1,519,778,073.00017
36,467
pythondev
help
Try using the `list.append()` method inside your loop instead of `=` assignment. Right now it looks like you're creating `ticker_list` each iteration. hth
2018-02-28T00:35:01.000063
Mandi
pythondev_help_Mandi_2018-02-28T00:35:01.000063
1,519,778,101.000063
36,468
pythondev
help
yep it worked with append
2018-02-28T00:36:32.000088
Refugia
pythondev_help_Refugia_2018-02-28T00:36:32.000088
1,519,778,192.000088
36,469
pythondev
help
def tickerlist(): offset_days = 1 floor_min = 30 offset_min = 30 no_of_tickers = int(offset_days * 24 * 60 / offset_min)+1 utc_now = datetime.datetime.utcnow() utc_day_offset = utc_now - datetime.timedelta(days = offset_days) utc_series_start = utc_day_offset - datetime.timedelta(minutes = ...
2018-02-28T00:37:50.000231
Refugia
pythondev_help_Refugia_2018-02-28T00:37:50.000231
1,519,778,270.000231
36,470
pythondev
help
This gives and error basevolumlist(ticker_list) NameError: name 'ticker_list' is not defined
2018-02-28T00:37:58.000005
Refugia
pythondev_help_Refugia_2018-02-28T00:37:58.000005
1,519,778,278.000005
36,471
pythondev
help
i am passing ticker_list which i created in function tickerlist, into function basevolumlist. but function basevolumlist doesnt recognize ticker_list.
2018-02-28T00:39:15.000199
Refugia
pythondev_help_Refugia_2018-02-28T00:39:15.000199
1,519,778,355.000199
36,472
pythondev
help
Or by wrapping your code with ```
2018-02-28T00:41:40.000099
Sadye
pythondev_help_Sadye_2018-02-28T00:41:40.000099
1,519,778,500.000099
36,473
pythondev
help
preformatted message will be without syntax highlighting, but it'll be anyway easier to read
2018-02-28T00:42:53.000003
Sadye
pythondev_help_Sadye_2018-02-28T00:42:53.000003
1,519,778,573.000003
36,474
pythondev
help
wow thats better, thanks for sharing
2018-02-28T00:43:24.000208
Refugia
pythondev_help_Refugia_2018-02-28T00:43:24.000208
1,519,778,604.000208
36,475
pythondev
help
yes i do have :stuck_out_tongue:
2018-02-28T01:02:57.000181
Refugia
pythondev_help_Refugia_2018-02-28T01:02:57.000181
1,519,779,777.000181
36,476
pythondev
help
sure allen, i m new to programming. may b i m misssing list and dictionary comarision.
2018-02-28T01:36:44.000093
Refugia
pythondev_help_Refugia_2018-02-28T01:36:44.000093
1,519,781,804.000093
36,477
pythondev
help
Ya no worries. It's hard and gets very detailed so everyone needs lots of practice
2018-02-28T01:37:40.000013
Mandi
pythondev_help_Mandi_2018-02-28T01:37:40.000013
1,519,781,860.000013
36,478
pythondev
help
hang on I'll check on your new updated
2018-02-28T01:37:55.000035
Mandi
pythondev_help_Mandi_2018-02-28T01:37:55.000035
1,519,781,875.000035
36,479
pythondev
help
by the way u can hit this url in ur browser to see the output of api. <https://bittrex.com/Api/v2.0/pub/market/GetTicks?marketName=ETH-1ST&amp;tickInterval=thirtyMin>
2018-02-28T01:38:48.000294
Refugia
pythondev_help_Refugia_2018-02-28T01:38:48.000294
1,519,781,928.000294
36,480
pythondev
help
i am comparing T parameter and want to return BV parameter. if there are only 48 T which i want to compare then it should have only 48 output. When matched it would returned the BV otherwise 0 as value
2018-02-28T01:39:34.000106
Refugia
pythondev_help_Refugia_2018-02-28T01:39:34.000106
1,519,781,974.000106
36,481
pythondev
help
ya I see. this some pretty serious data structure work, you have a list of dicts and you need to match one of the dict item values to any element in a list of strings
2018-02-28T01:46:04.000222
Mandi
pythondev_help_Mandi_2018-02-28T01:46:04.000222
1,519,782,364.000222
36,482
pythondev
help
lemme think on that
2018-02-28T01:46:12.000267
Mandi
pythondev_help_Mandi_2018-02-28T01:46:12.000267
1,519,782,372.000267
36,483
pythondev
help
keep those functions short, focused, and as simple as possible man.
2018-02-28T02:05:18.000261
Mandi
pythondev_help_Mandi_2018-02-28T02:05:18.000261
1,519,783,518.000261
36,484
pythondev
help
let me try allen, thanks again for detail code
2018-02-28T02:10:44.000067
Refugia
pythondev_help_Refugia_2018-02-28T02:10:44.000067
1,519,783,844.000067
36,485
pythondev
help
output -&gt; len of ticker list 1 49 len of match_indexs_list 37 len of bv list 1143
2018-02-28T02:22:15.000225
Refugia
pythondev_help_Refugia_2018-02-28T02:22:15.000225
1,519,784,535.000225
36,486
pythondev
help
if len of match_indexs_list 37, then len of len of bv list should have been 37 as well. I would do some more brainstorming and i shold get it in some time now :slightly_smiling_face:
2018-02-28T02:24:03.000265
Refugia
pythondev_help_Refugia_2018-02-28T02:24:03.000265
1,519,784,643.000265
36,487
pythondev
help
Ah then just kill off lines 45 and 46 in that code file I put up. sorry I tht you wanted zeros in there where no match
2018-02-28T02:29:11.000207
Mandi
pythondev_help_Mandi_2018-02-28T02:29:11.000207
1,519,784,951.000207
36,488
pythondev
help
i am sorry i didnt clarify clearly. If there are 49 tickers in the list, and there is 37 match with dictionary, then BVlist would have total 49 values as well. where 37 value would be the matches returned and rest 12 would have zero. let me try my best, if i dont get it by end of day. i will ping u again :slightly_smi...
2018-02-28T02:32:55.000363
Refugia
pythondev_help_Refugia_2018-02-28T02:32:55.000363
1,519,785,175.000363
36,489
pythondev
help
:+1: you got it !!
2018-02-28T02:34:05.000030
Mandi
pythondev_help_Mandi_2018-02-28T02:34:05.000030
1,519,785,245.00003
36,490
pythondev
help
Hi guys, can anybody tell me what `sleep(0)` does?
2018-02-28T02:53:12.000370
Margert
pythondev_help_Margert_2018-02-28T02:53:12.000370
1,519,786,392.00037
36,491
pythondev
help
I know what the function does, but I’m curious is if there’s any delay caused by passing 0 as a parameter.
2018-02-28T02:53:23.000019
Margert
pythondev_help_Margert_2018-02-28T02:53:23.000019
1,519,786,403.000019
36,492
pythondev
help
There is the delay of calling the function (very very small) but I doesn't sleep for any amount of time
2018-02-28T02:56:14.000127
Micki
pythondev_help_Micki_2018-02-28T02:56:14.000127
1,519,786,574.000127
36,493
pythondev
help
afaik
2018-02-28T02:56:19.000271
Micki
pythondev_help_Micki_2018-02-28T02:56:19.000271
1,519,786,579.000271
36,494
pythondev
help
its also platform dependent and probably causes a context switch
2018-02-28T02:58:50.000118
Noel
pythondev_help_Noel_2018-02-28T02:58:50.000118
1,519,786,730.000118
36,495
pythondev
help
the implementation is some fun stuff in here <https://hg.python.org/cpython/file/4d584ebbfa77/Modules/timemodule.c#l930>
2018-02-28T02:59:51.000069
Noel
pythondev_help_Noel_2018-02-28T02:59:51.000069
1,519,786,791.000069
36,496
pythondev
help
I see, is this because of all the overhead involved when calling the `sleep` function?
2018-02-28T03:00:02.000267
Margert
pythondev_help_Margert_2018-02-28T03:00:02.000267
1,519,786,802.000267
36,497
pythondev
help
it looks like it will sleep for as long as it takes to give up context and get that context back in your OS
2018-02-28T03:01:27.000303
Noel
pythondev_help_Noel_2018-02-28T03:01:27.000303
1,519,786,887.000303
36,498
pythondev
help
<https://github.com/python/cpython/blob/master/Modules/timemodule.c#L344> to be precise
2018-02-28T03:01:46.000180
Micki
pythondev_help_Micki_2018-02-28T03:01:46.000180
1,519,786,906.00018
36,499
pythondev
help
~well it's checking if `!=` than 0~
2018-02-28T03:02:06.000020
Micki
pythondev_help_Micki_2018-02-28T03:02:06.000020
1,519,786,926.00002
36,500
pythondev
help
~so I guess if it's 0 it return directly~
2018-02-28T03:02:14.000077
Micki
pythondev_help_Micki_2018-02-28T03:02:14.000077
1,519,786,934.000077
36,501
pythondev
help
yeah thats the return code for pysleep checking against 0
2018-02-28T03:03:55.000253
Noel
pythondev_help_Noel_2018-02-28T03:03:55.000253
1,519,787,035.000253
36,502
pythondev
help
```/* Implement pysleep() for various platforms. When interrupted (or when another error occurs), return -1 and set an exception; else return 0. */```
2018-02-28T03:04:03.000250
Noel
pythondev_help_Noel_2018-02-28T03:04:03.000250
1,519,787,043.00025
36,503
pythondev
help
cause `sleep(0)` is a valid thing to do
2018-02-28T03:04:12.000332
Noel
pythondev_help_Noel_2018-02-28T03:04:12.000332
1,519,787,052.000332
36,504
pythondev
help
yeah I read too fast
2018-02-28T03:04:21.000153
Micki
pythondev_help_Micki_2018-02-28T03:04:21.000153
1,519,787,061.000153
36,505
pythondev
help
Thanks guys, I was going through some code review and deliberating wether I should have this line of code removed or not. I guess I’ll just talk this over lunch with the author. :simple_smile:
2018-02-28T03:07:16.000099
Margert
pythondev_help_Margert_2018-02-28T03:07:16.000099
1,519,787,236.000099
36,506
pythondev
help
Hey all, I just downloaded a project with a virtual environment, when I activate it, and try to run it, the pip from the virtual env is not the one in use. Is there a way to update it? Or do I have to re-install the virtual env?
2018-02-28T04:40:23.000408
Milo
pythondev_help_Milo_2018-02-28T04:40:23.000408
1,519,792,823.000408
36,507
pythondev
help
You have to re-build it on your machine
2018-02-28T04:42:26.000218
Aleida
pythondev_help_Aleida_2018-02-28T04:42:26.000218
1,519,792,946.000218
36,508
pythondev
help
virtual environments aren't movable
2018-02-28T04:42:39.000148
Aleida
pythondev_help_Aleida_2018-02-28T04:42:39.000148
1,519,792,959.000148
36,509
pythondev
help
ah ok makes sense thanks <@Aleida> :taco:
2018-02-28T04:44:40.000391
Milo
pythondev_help_Milo_2018-02-28T04:44:40.000391
1,519,793,080.000391
36,510
pythondev
help
is module-multiprocessing good work in Windows10? I have 1 script - work good in Ubuntu, but not work good ad Windows10? But if I change script - del Pool - all work and in W10 and in Ubuntu. Why?
2018-02-28T05:23:07.000116
Shirleen
pythondev_help_Shirleen_2018-02-28T05:23:07.000116
1,519,795,387.000116
36,511
pythondev
help
<@Shirleen> show us your code (as usual)
2018-02-28T05:23:54.000282
Aleida
pythondev_help_Aleida_2018-02-28T05:23:54.000282
1,519,795,434.000282
36,512
pythondev
help
I everyone! I have a little problem in Python about types: I want to create strong type aliases. Here is a short explanatory code: ``` class MyComplexType: # Definition of my type here pass # Not working, the part where I need help alias1 = MyComplexType alias2 = MyComplexType # End of the part where I need he...
2018-02-28T05:43:41.000079
Nyla
pythondev_help_Nyla_2018-02-28T05:43:41.000079
1,519,796,621.000079
36,513
pythondev
help
you want two alias of the same time not be recognize by `isinstance` ?
2018-02-28T05:47:15.000377
Micki
pythondev_help_Micki_2018-02-28T05:47:15.000377
1,519,796,835.000377
36,514
pythondev
help
I want them to be treated as different types, so yes
2018-02-28T05:47:49.000442
Nyla
pythondev_help_Nyla_2018-02-28T05:47:49.000442
1,519,796,869.000442
36,515
pythondev
help
I think it could be possible by creating a factory that each time return a different class (that inherit from your base class)
2018-02-28T05:49:44.000288
Micki
pythondev_help_Micki_2018-02-28T05:49:44.000288
1,519,796,984.000288
36,516
pythondev
help
Ok, second question: are the special class methods (such as __init__ or __new__) inherited also or not. If I don't re-define the __init__ method in my child class, will base_class.__init__ be called automatically when instantiating a child class?
2018-02-28T05:52:14.000357
Nyla
pythondev_help_Nyla_2018-02-28T05:52:14.000357
1,519,797,134.000357
36,517
pythondev
help
yes
2018-02-28T05:52:34.000505
Micki
pythondev_help_Micki_2018-02-28T05:52:34.000505
1,519,797,154.000505
36,518
pythondev
help
Ok, so basic inheritance should solve my problem, I though it was not like that in Python and didn't even checked, sorry
2018-02-28T05:53:21.000145
Nyla
pythondev_help_Nyla_2018-02-28T05:53:21.000145
1,519,797,201.000145
36,519
pythondev
help
no problem :slightly_smiling_face:
2018-02-28T05:54:08.000532
Micki
pythondev_help_Micki_2018-02-28T05:54:08.000532
1,519,797,248.000532
36,520
pythondev
help
Is there a way to use ipython with atom? I have been looking at something similar called hyrodgen package but not sure if its going to work?
2018-02-28T07:24:02.000255
Milo
pythondev_help_Milo_2018-02-28T07:24:02.000255
1,519,802,642.000255
36,521
pythondev
help
sorry for bother you again but I didn't find a good approach for separate database per tenant to convert my web service in a multi tenant web service do you have any suggestion ?
2018-02-28T07:38:19.000425
Logan
pythondev_help_Logan_2018-02-28T07:38:19.000425
1,519,803,499.000425
36,522
pythondev
help
<@Milo> It’s my understanding the hydrogen is the package that gives you inline execution just like ipython. I’ve personally not used it, but that is my understanding. :wink:
2018-02-28T07:47:38.000222
Katrina
pythondev_help_Katrina_2018-02-28T07:47:38.000222
1,519,804,058.000222
36,523