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 | You might need to build it yourself | 2019-05-29T11:55:43.430900 | Clemmie | pythondev_help_Clemmie_2019-05-29T11:55:43.430900 | 1,559,130,943.4309 | 25,721 |
pythondev | help | yeah I was afraid of that. lol | 2019-05-29T11:59:51.431100 | Frankie | pythondev_help_Frankie_2019-05-29T11:59:51.431100 | 1,559,131,191.4311 | 25,722 |
pythondev | help | was hoping for the lazy way out. haha | 2019-05-29T12:00:04.431500 | Frankie | pythondev_help_Frankie_2019-05-29T12:00:04.431500 | 1,559,131,204.4315 | 25,723 |
pythondev | help | I very seldom build from source - do you know of any tutorials on that by any chance? | 2019-05-29T12:04:25.433000 | Frankie | pythondev_help_Frankie_2019-05-29T12:04:25.433000 | 1,559,131,465.433 | 25,724 |
pythondev | help | I know where to get the .tar.gz and where all the stuff *should* end up :slightly_smiling_face: | 2019-05-29T12:04:38.433400 | Frankie | pythondev_help_Frankie_2019-05-29T12:04:38.433400 | 1,559,131,478.4334 | 25,725 |
pythondev | help | I'd try to just `pip install` it first and see the output | 2019-05-29T12:05:03.433800 | Chester | pythondev_help_Chester_2019-05-29T12:05:03.433800 | 1,559,131,503.4338 | 25,726 |
pythondev | help | I did - it's windows so it fails to build the wheel | 2019-05-29T12:05:19.434100 | Frankie | pythondev_help_Frankie_2019-05-29T12:05:19.434100 | 1,559,131,519.4341 | 25,727 |
pythondev | help | with what error? | 2019-05-29T12:05:25.434400 | Chester | pythondev_help_Chester_2019-05-29T12:05:25.434400 | 1,559,131,525.4344 | 25,728 |
pythondev | help | `fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory` | 2019-05-29T12:05:38.434600 | Frankie | pythondev_help_Frankie_2019-05-29T12:05:38.434600 | 1,559,131,538.4346 | 25,729 |
pythondev | help | during setup.py | 2019-05-29T12:05:50.434800 | Frankie | pythondev_help_Frankie_2019-05-29T12:05:50.434800 | 1,559,131,550.4348 | 25,730 |
pythondev | help | while trying to buildthe wheel | 2019-05-29T12:06:03.435100 | Frankie | pythondev_help_Frankie_2019-05-29T12:06:03.435100 | 1,559,131,563.4351 | 25,731 |
pythondev | help | it's a pretty well known issue on windows it seems so people just suggest downloading the wheel and installing it from that which worked fine for v 1.4.2 | 2019-05-29T12:06:37.435700 | Frankie | pythondev_help_Frankie_2019-05-29T12:06:37.435700 | 1,559,131,597.4357 | 25,732 |
pythondev | help | but I'm trying to match my reqs to the requirements.txt as closely as possible so I wanted to use v1.3.13 | 2019-05-29T12:07:00.436300 | Frankie | pythondev_help_Frankie_2019-05-29T12:07:00.436300 | 1,559,131,620.4363 | 25,733 |
pythondev | help | this is a py2 project also, FWIW | 2019-05-29T12:07:06.436500 | Frankie | pythondev_help_Frankie_2019-05-29T12:07:06.436500 | 1,559,131,626.4365 | 25,734 |
pythondev | help | I'm just gonna use 1.4.2. it's all good | 2019-05-29T12:09:27.436800 | Frankie | pythondev_help_Frankie_2019-05-29T12:09:27.436800 | 1,559,131,767.4368 | 25,735 |
pythondev | help | I see | 2019-05-29T12:09:50.437000 | Chester | pythondev_help_Chester_2019-05-29T12:09:50.437000 | 1,559,131,790.437 | 25,736 |
pythondev | help | Just in case, there is a pre-built wheel for 1.3.12 | 2019-05-29T12:10:00.437400 | Chester | pythondev_help_Chester_2019-05-29T12:10:00.437400 | 1,559,131,800.4374 | 25,737 |
pythondev | help | <https://pypi.org/project/mysqlclient/1.3.12/#files> | 2019-05-29T12:10:01.437600 | Chester | pythondev_help_Chester_2019-05-29T12:10:01.437600 | 1,559,131,801.4376 | 25,738 |
pythondev | help | But I'd go with 1.4.2 - it is a much safer option | 2019-05-29T12:10:24.438100 | Chester | pythondev_help_Chester_2019-05-29T12:10:24.438100 | 1,559,131,824.4381 | 25,739 |
pythondev | help | yea I just confirmed 1.4.2 will be good w/ the client and also will future proof it for when they upgrade | 2019-05-29T12:23:14.438600 | Frankie | pythondev_help_Frankie_2019-05-29T12:23:14.438600 | 1,559,132,594.4386 | 25,740 |
pythondev | help | thanks! | 2019-05-29T12:23:20.438800 | Frankie | pythondev_help_Frankie_2019-05-29T12:23:20.438800 | 1,559,132,600.4388 | 25,741 |
pythondev | help | looking for some pandas advice, and if using it may be overly complex for my use case. I'm essentially taking a large csv, and breaking it out into smaller csv's based on an id number in a specific column. Basically loading the csv into a dataframe, isolating the unique ids in it, and then writing each line that corresponds to that id in a new file. Example: there are 100 lines, and the unique id numbers are 1,2,3, each line references one of those, and I want to break it out into a file for id 1, a file for id 2, and so on | 2019-05-29T12:30:39.440800 | Holly | pythondev_help_Holly_2019-05-29T12:30:39.440800 | 1,559,133,039.4408 | 25,742 |
pythondev | help | pandas looked initially to be teh simplest way to do this, but now I'm not so sure, never really used it before and I can't seem to find an answer to isolating things like this in a dataframe and breaking it out | 2019-05-29T12:31:11.441600 | Holly | pythondev_help_Holly_2019-05-29T12:31:11.441600 | 1,559,133,071.4416 | 25,743 |
pythondev | help | I can’t speak to the pandas aspect of it, but you don’t want to be open./close ing a file to write for each row - it will kill your performance. Best bet is to create how ever many data structures you need to store the rows that will go into each file, and then write those out complete to the target files | 2019-05-29T12:40:13.443100 | Clemmie | pythondev_help_Clemmie_2019-05-29T12:40:13.443100 | 1,559,133,613.4431 | 25,744 |
pythondev | help | yeah my ultiamte goal was to create a data frame for each individual file that I want | 2019-05-29T12:42:21.443400 | Holly | pythondev_help_Holly_2019-05-29T12:42:21.443400 | 1,559,133,741.4434 | 25,745 |
pythondev | help | then call the write_tocsv function | 2019-05-29T12:42:29.443700 | Holly | pythondev_help_Holly_2019-05-29T12:42:29.443700 | 1,559,133,749.4437 | 25,746 |
pythondev | help | that way I don't have upwards of 500 files open a time lol | 2019-05-29T12:42:56.444000 | Holly | pythondev_help_Holly_2019-05-29T12:42:56.444000 | 1,559,133,776.444 | 25,747 |
pythondev | help | at a time* | 2019-05-29T12:43:00.444200 | Holly | pythondev_help_Holly_2019-05-29T12:43:00.444200 | 1,559,133,780.4442 | 25,748 |
pythondev | help | Hi folks, slap me on the wrist if this Q does not fit here; but I am looking to go all in learning Machine Learning. Would Python be the vehicle to pratice/do that in or should I also be account for R | 2019-05-29T12:56:30.446400 | Tyron | pythondev_help_Tyron_2019-05-29T12:56:30.446400 | 1,559,134,590.4464 | 25,749 |
pythondev | help | Python would be appropriate | 2019-05-29T12:57:13.446800 | Claudine | pythondev_help_Claudine_2019-05-29T12:57:13.446800 | 1,559,134,633.4468 | 25,750 |
pythondev | help | I'm not sure if there are things specific to R, but in general you can't go wrong with Python there are a lot of resources and tutorials and books | 2019-05-29T12:57:44.447400 | Claudine | pythondev_help_Claudine_2019-05-29T12:57:44.447400 | 1,559,134,664.4474 | 25,751 |
pythondev | help | I would agree, python seems to have the most resources and libraries for ML at the moment | 2019-05-29T13:07:13.448100 | Holly | pythondev_help_Holly_2019-05-29T13:07:13.448100 | 1,559,135,233.4481 | 25,752 |
pythondev | help | I'm setting up a new python environment on a new server and am running into some path issues. We keep our scripts in a different directory outside of C:/python27 (windows server 2016). We use ipython module to run specific code and I can't get the ipython command to execute with the current configuration.
```PS C:\Users\username> ipython
ipython : The term 'ipython' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.```
Here is my path config for pythonpath to our scripts directory and python_home. | 2019-05-29T13:27:20.450600 | Maricela | pythondev_help_Maricela_2019-05-29T13:27:20.450600 | 1,559,136,440.4506 | 25,753 |
pythondev | help | you may need to add ipython into your path | 2019-05-29T13:28:23.451200 | Holly | pythondev_help_Holly_2019-05-29T13:28:23.451200 | 1,559,136,503.4512 | 25,754 |
pythondev | help | it leverages python but I believe its a different executable | 2019-05-29T13:28:33.451500 | Holly | pythondev_help_Holly_2019-05-29T13:28:33.451500 | 1,559,136,513.4515 | 25,755 |
pythondev | help | I may be incorrect | 2019-05-29T13:28:43.451800 | Holly | pythondev_help_Holly_2019-05-29T13:28:43.451800 | 1,559,136,523.4518 | 25,756 |
pythondev | help | does anyone know of a good document that relates working with pandas to working with sql by any chance? It seems like its going to be the easiest way for me to learn it | 2019-05-29T13:38:58.452600 | Holly | pythondev_help_Holly_2019-05-29T13:38:58.452600 | 1,559,137,138.4526 | 25,757 |
pythondev | help | and it seems like there' s a lot out there that do this | 2019-05-29T13:39:05.452900 | Holly | pythondev_help_Holly_2019-05-29T13:39:05.452900 | 1,559,137,145.4529 | 25,758 |
pythondev | help | like that: <https://pandas.pydata.org/pandas-docs/stable/getting_started/comparison/comparison_with_sql.html> | 2019-05-29T16:02:51.456000 | Guillermina | pythondev_help_Guillermina_2019-05-29T16:02:51.456000 | 1,559,145,771.456 | 25,759 |
pythondev | help | :neutral_face: | 2019-05-29T16:36:28.456600 | Holly | pythondev_help_Holly_2019-05-29T16:36:28.456600 | 1,559,147,788.4566 | 25,760 |
pythondev | help | Some recommendations to improve, make my code clearer, I am a complete begginer | 2019-05-29T18:03:25.457400 | Melia | pythondev_help_Melia_2019-05-29T18:03:25.457400 | 1,559,153,005.4574 | 25,761 |
pythondev | help | - if its python3 you can just do *class Robot* instead of *class Robot(object)*
- if its not python3 then start using python3
- the `reset()` function isnt doing what you think its doing. it will only reset your `self.name` about 1 in a million times
- the if/else block in `create_name` doesnt work. the else will never be reached because self.created_name is always not in self.used_names.
- you might want to put self.used_names in your __init__ method, so that you can keep track of what names have been used | 2019-05-29T18:13:32.457700 | Jorge | pythondev_help_Jorge_2019-05-29T18:13:32.457700 | 1,559,153,612.4577 | 25,762 |
pythondev | help | Why not use faker to generate real names?
<https://github.com/joke2k/faker> | 2019-05-29T18:30:29.458400 | Hiroko | pythondev_help_Hiroko_2019-05-29T18:30:29.458400 | 1,559,154,629.4584 | 25,763 |
pythondev | help | <@Hiroko> The rules are: the robot must have a random name starting with 2 uppercase letters followed by 3 numbers. Each time you create one you can not repeat the name of another. Each time the robot is reset it must give a different name. The exercise passed the excersism tests but I would like to improve it if possible to also learn. | 2019-05-29T18:36:38.458700 | Melia | pythondev_help_Melia_2019-05-29T18:36:38.458700 | 1,559,154,998.4587 | 25,764 |
pythondev | help | <@Jorge> It's weird but the exercise passed all the excersism tests, I'm going to review anyway what you told me, I'm using python 3 and obviously I want to improve my code and learn | 2019-05-29T18:38:29.458900 | Melia | pythondev_help_Melia_2019-05-29T18:38:29.458900 | 1,559,155,109.4589 | 25,765 |
pythondev | help | The reset will NOT work 1 out of a million times, not the other way around. Reset will almost always reset, but your logic in reset still isn't quite right, even though it appears to be working | 2019-05-29T18:46:01.459100 | Genesis | pythondev_help_Genesis_2019-05-29T18:46:01.459100 | 1,559,155,561.4591 | 25,766 |
pythondev | help | also, the randomness makes this really hard to test | 2019-05-29T18:46:31.459300 | Genesis | pythondev_help_Genesis_2019-05-29T18:46:31.459300 | 1,559,155,591.4593 | 25,767 |
pythondev | help | how do i open a password protected excel sheet and read? | 2019-05-29T19:29:36.461100 | Hai | pythondev_help_Hai_2019-05-29T19:29:36.461100 | 1,559,158,176.4611 | 25,768 |
pythondev | help | <@Genesis> How would you improve the logic of my code keeping its essence according to my knowledge? | 2019-05-29T19:33:28.461200 | Melia | pythondev_help_Melia_2019-05-29T19:33:28.461200 | 1,559,158,408.4612 | 25,769 |
pythondev | help | So, you are comparing the output of the function to your current name, you are not comparing your new name to the old name | 2019-05-29T19:38:24.461400 | Genesis | pythondev_help_Genesis_2019-05-29T19:38:24.461400 | 1,559,158,704.4614 | 25,770 |
pythondev | help | Does that make sense? | 2019-05-29T19:38:28.461600 | Genesis | pythondev_help_Genesis_2019-05-29T19:38:28.461600 | 1,559,158,708.4616 | 25,771 |
pythondev | help | `reset` and `create_name` can be designated as `@property` | 2019-05-29T20:01:01.461800 | Fawn | pythondev_help_Fawn_2019-05-29T20:01:01.461800 | 1,559,160,061.4618 | 25,772 |
pythondev | help | When using django-channels, I found that many exception occurring in consumer are silent. What do I do to let django-channels re-raise it? | 2019-05-29T23:47:08.001300 | Zita | pythondev_help_Zita_2019-05-29T23:47:08.001300 | 1,559,173,628.0013 | 25,773 |
pythondev | help | <@Fawn> why? These are clearly methods, not attributes | 2019-05-30T00:00:26.001400 | Chester | pythondev_help_Chester_2019-05-30T00:00:26.001400 | 1,559,174,426.0014 | 25,774 |
pythondev | help | Well, as methods they don’t have any input parameters so why not make them properties? | 2019-05-30T00:03:48.003700 | Fawn | pythondev_help_Fawn_2019-05-30T00:03:48.003700 | 1,559,174,628.0037 | 25,775 |
pythondev | help | Because they represent an action, rather than an attribute. | 2019-05-30T00:04:50.003900 | Chester | pythondev_help_Chester_2019-05-30T00:04:50.003900 | 1,559,174,690.0039 | 25,776 |
pythondev | help | The create_name method assigns a name to self.name which is itself an attribute to the class. | 2019-05-30T00:08:03.006400 | Fawn | pythondev_help_Fawn_2019-05-30T00:08:03.006400 | 1,559,174,883.0064 | 25,777 |
pythondev | help | Okay, that's what methods are usually supposed to do - change the underlying state | 2019-05-30T00:12:42.006600 | Chester | pythondev_help_Chester_2019-05-30T00:12:42.006600 | 1,559,175,162.0066 | 25,778 |
pythondev | help | Ginger, if you have any interest, I'm stuck in a similar boat in trying to push JSON syntax into PostgreSQL. I don't see any actual good documentation on working with nested JSON out there. | 2019-05-30T01:13:22.007200 | Granville | pythondev_help_Granville_2019-05-30T01:13:22.007200 | 1,559,178,802.0072 | 25,779 |
pythondev | help | Guys trying to scrape a website but
but todays cookies and x-csrf-jwt-pdp (header tokens) are not valid for tomorrorw i.e. I am unable to scrape today with yesterdays cookies and x-csrf-jwt-pdp (header tokens)
Anyone any help as to how to bypass such situations? | 2019-05-30T01:42:57.007500 | Malika | pythondev_help_Malika_2019-05-30T01:42:57.007500 | 1,559,180,577.0075 | 25,780 |
pythondev | help | I guess this is one of the goals of cookies. To prevent websites from being scrapped… | 2019-05-30T02:08:35.008300 | Lolita | pythondev_help_Lolita_2019-05-30T02:08:35.008300 | 1,559,182,115.0083 | 25,781 |
pythondev | help | Why not get cookies and tokens first and then do your thing? | 2019-05-30T02:57:08.009400 | Russ | pythondev_help_Russ_2019-05-30T02:57:08.009400 | 1,559,185,028.0094 | 25,782 |
pythondev | help | I want to call rest api in multi threads
I retrieve record from db and put it in queue
In run process thread will pick record from queue and do rest call
After processing all records in queue, the thread and program should be stopped
But, my program is running without exist | 2019-05-30T03:09:29.013100 | Donald | pythondev_help_Donald_2019-05-30T03:09:29.013100 | 1,559,185,769.0131 | 25,783 |
pythondev | help | None | 2019-05-30T03:12:51.013300 | Donald | pythondev_help_Donald_2019-05-30T03:12:51.013300 | 1,559,185,971.0133 | 25,784 |
pythondev | help | can any one have a solution for this | 2019-05-30T03:15:07.014200 | Donald | pythondev_help_Donald_2019-05-30T03:15:07.014200 | 1,559,186,107.0142 | 25,785 |
pythondev | help | Is there some automated way of having a methods run before and after a method implemented in a sub-class? | 2019-05-30T03:54:44.015200 | Dominique | pythondev_help_Dominique_2019-05-30T03:54:44.015200 | 1,559,188,484.0152 | 25,786 |
pythondev | help | Something similar to common's lisp around I guess. | 2019-05-30T03:55:03.015700 | Dominique | pythondev_help_Dominique_2019-05-30T03:55:03.015700 | 1,559,188,503.0157 | 25,787 |
pythondev | help | umm you mean add the before and after after the code is written? | 2019-05-30T03:55:31.016200 | Leida | pythondev_help_Leida_2019-05-30T03:55:31.016200 | 1,559,188,531.0162 | 25,788 |
pythondev | help | or just add for certain methods | 2019-05-30T03:55:48.016600 | Leida | pythondev_help_Leida_2019-05-30T03:55:48.016600 | 1,559,188,548.0166 | 25,789 |
pythondev | help | or just nvm... you could just write a decorator that does the before and after | 2019-05-30T03:57:10.017900 | Leida | pythondev_help_Leida_2019-05-30T03:57:10.017900 | 1,559,188,630.0179 | 25,790 |
pythondev | help | if you can embed the before and after in the class then a decorator does the trick | 2019-05-30T03:57:41.018400 | Leida | pythondev_help_Leida_2019-05-30T03:57:41.018400 | 1,559,188,661.0184 | 25,791 |
pythondev | help | So, if I decorate the abstract method, does the decorator apply to implementations of the abstract method? | 2019-05-30T03:58:45.019000 | Dominique | pythondev_help_Dominique_2019-05-30T03:58:45.019000 | 1,559,188,725.019 | 25,792 |
pythondev | help | interesting question :smile: can check in repl | 2019-05-30T04:01:52.019600 | Leida | pythondev_help_Leida_2019-05-30T04:01:52.019600 | 1,559,188,912.0196 | 25,793 |
pythondev | help | I'll check. That'd be convenient. | 2019-05-30T04:05:36.019900 | Dominique | pythondev_help_Dominique_2019-05-30T04:05:36.019900 | 1,559,189,136.0199 | 25,794 |
pythondev | help | if i override the abstract method then the decorator is lost too | 2019-05-30T04:08:23.020600 | Leida | pythondev_help_Leida_2019-05-30T04:08:23.020600 | 1,559,189,303.0206 | 25,795 |
pythondev | help | if the abstract method remains abstract then the decorator does run before and after | 2019-05-30T04:08:42.021100 | Leida | pythondev_help_Leida_2019-05-30T04:08:42.021100 | 1,559,189,322.0211 | 25,796 |
pythondev | help | hmm i messed up somewhere with that... ill past the repl once it works.. | 2019-05-30T04:10:35.021600 | Leida | pythondev_help_Leida_2019-05-30T04:10:35.021600 | 1,559,189,435.0216 | 25,797 |
pythondev | help | ```from abc import ABC, abstractmethod
def my_decorator(func):
def wrapper(*args):
print("Something is happening before the function is called.")
func(*args)
print("Something is happening after the function is called.")
return wrapper
class AbstractClass(ABC):
@abstractmethod
@my_decorator
def abstractMethod(self):
return
class ConcreteClass1(AbstractClass):
def __init__(self):
<http://self.me|self.me> = "first"
def abstractMethod(self):
print(<http://self.me|self.me>)
class ConcreteClass2(AbstractClass):
def __init__(self):
<http://self.me|self.me> = "second"
@my_decorator
def abstractMethod(self):
print(<http://self.me|self.me>)
c1 = ConcreteClass1()
c2 = ConcreteClass2()
c1.abstractMethod()
c2.abstractMethod()``` | 2019-05-30T04:16:36.022500 | Leida | pythondev_help_Leida_2019-05-30T04:16:36.022500 | 1,559,189,796.0225 | 25,798 |
pythondev | help | ```first
Something is happening before the function is called.
second
Something is happening after the function is called.``` | 2019-05-30T04:16:54.022700 | Leida | pythondev_help_Leida_2019-05-30T04:16:54.022700 | 1,559,189,814.0227 | 25,799 |
pythondev | help | the implementation overrides the abstract methods decorator | 2019-05-30T04:18:15.024000 | Leida | pythondev_help_Leida_2019-05-30T04:18:15.024000 | 1,559,189,895.024 | 25,800 |
pythondev | help | Yeah, decorators don't seem to be inherited. | 2019-05-30T04:24:45.024900 | Dominique | pythondev_help_Dominique_2019-05-30T04:24:45.024900 | 1,559,190,285.0249 | 25,801 |
pythondev | help | you could make the decorator a class method tho, so that it comes with the class... | 2019-05-30T04:25:55.025400 | Leida | pythondev_help_Leida_2019-05-30T04:25:55.025400 | 1,559,190,355.0254 | 25,802 |
pythondev | help | I may go to hell for this... `self.__class__.do_something = wrap_do_something(self.__class__.do_something)` in `__init__` of the abstract class _does it_ | 2019-05-30T04:30:04.026600 | Dominique | pythondev_help_Dominique_2019-05-30T04:30:04.026600 | 1,559,190,604.0266 | 25,803 |
pythondev | help | ```0
In Python 3.7 now you can do it this way:
class ParentClass:
def __init_subclass__(cls, **kwargs):
return your_decorator(_cls=cls)
it will apply decorator for each subclass of ParentClass``` | 2019-05-30T04:30:10.026700 | Leida | pythondev_help_Leida_2019-05-30T04:30:10.026700 | 1,559,190,610.0267 | 25,804 |
pythondev | help | found that on stackexchange, havent tried it | 2019-05-30T04:30:23.027000 | Leida | pythondev_help_Leida_2019-05-30T04:30:23.027000 | 1,559,190,623.027 | 25,805 |
pythondev | help | but thats whole class not method... but i think this could be extended to target fixed methods | 2019-05-30T04:31:07.027900 | Leida | pythondev_help_Leida_2019-05-30T04:31:07.027900 | 1,559,190,667.0279 | 25,806 |
pythondev | help | Oh... that actually sheds light on how my solution is wrong. | 2019-05-30T04:31:20.028200 | Dominique | pythondev_help_Dominique_2019-05-30T04:31:20.028200 | 1,559,190,680.0282 | 25,807 |
pythondev | help | I'm using Python 3.7 and this `__init_subclass__` looks very useful. | 2019-05-30T04:31:41.028700 | Dominique | pythondev_help_Dominique_2019-05-30T04:31:41.028700 | 1,559,190,701.0287 | 25,808 |
pythondev | help | None | 2019-05-30T04:32:44.028800 | Dominique | pythondev_help_Dominique_2019-05-30T04:32:44.028800 | 1,559,190,764.0288 | 25,809 |
pythondev | help | Thank you <@Leida>. | 2019-05-30T04:36:42.029400 | Dominique | pythondev_help_Dominique_2019-05-30T04:36:42.029400 | 1,559,191,002.0294 | 25,810 |
pythondev | help | indeed and the super decorates the abstract class - cool | 2019-05-30T04:37:02.029800 | Leida | pythondev_help_Leida_2019-05-30T04:37:02.029800 | 1,559,191,022.0298 | 25,811 |
pythondev | help | altho i might instead decorate the abstract method implicitly not through init as this calls `ABC.__init_subclass__` which might not be the best | 2019-05-30T04:40:12.031300 | Leida | pythondev_help_Leida_2019-05-30T04:40:12.031300 | 1,559,191,212.0313 | 25,812 |
pythondev | help | I'm sorry, I don't understand the last statement. Can you elaborate? | 2019-05-30T04:41:30.031700 | Dominique | pythondev_help_Dominique_2019-05-30T04:41:30.031700 | 1,559,191,290.0317 | 25,813 |
pythondev | help | em, i guess i dont understand the need for `super` there, you want everything along the chain of inheritance to call its init subclass? | 2019-05-30T04:44:26.032700 | Leida | pythondev_help_Leida_2019-05-30T04:44:26.032700 | 1,559,191,466.0327 | 25,814 |
pythondev | help | i mistook it to decorate the original too but it wouldnt as `super()` wouldnt decorate the baseclass | 2019-05-30T04:45:04.033500 | Leida | pythondev_help_Leida_2019-05-30T04:45:04.033500 | 1,559,191,504.0335 | 25,815 |
pythondev | help | ill just read the docs for it as all examples i see have it :smile: | 2019-05-30T04:49:03.034000 | Leida | pythondev_help_Leida_2019-05-30T04:49:03.034000 | 1,559,191,743.034 | 25,816 |
pythondev | help | That super just makes sure I'm not accidentally removing built in __init_subclass__ functionality. | 2019-05-30T04:50:35.034600 | Dominique | pythondev_help_Dominique_2019-05-30T04:50:35.034600 | 1,559,191,835.0346 | 25,817 |
pythondev | help | <https://docs.python.org/3/reference/datamodel.html#customizing-class-creation> | 2019-05-30T04:50:57.034800 | Dominique | pythondev_help_Dominique_2019-05-30T04:50:57.034800 | 1,559,191,857.0348 | 25,818 |
pythondev | help | ah ok and passes what ever is left over to the parent | 2019-05-30T04:54:10.035200 | Leida | pythondev_help_Leida_2019-05-30T04:54:10.035200 | 1,559,192,050.0352 | 25,819 |
pythondev | help | TIL :stuck_out_tongue: | 2019-05-30T04:54:27.035400 | Leida | pythondev_help_Leida_2019-05-30T04:54:27.035400 | 1,559,192,067.0354 | 25,820 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.