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
Ahh, well done. And no problem, pare.
2019-02-13T04:51:32.372800
Malena
pythondev_help_Malena_2019-02-13T04:51:32.372800
1,550,033,492.3728
8,121
pythondev
help
Oh, fellow kababayan. Awesome! :grin:
2019-02-13T04:56:56.375000
Philip
pythondev_help_Philip_2019-02-13T04:56:56.375000
1,550,033,816.375
8,122
pythondev
help
Hi everyone! Quick question, can't find a 100% sure answer: can I type return value to type or None? Such as ``` def fun(id: int) -> int or None: # do stuff ``` I tried and it works, but isn't it a "bad practice" or something like that?
2019-02-13T04:57:49.376600
Russ
pythondev_help_Russ_2019-02-13T04:57:49.376600
1,550,033,869.3766
8,123
pythondev
help
does anyone have any recommendations for a reliable proxy service (think: crawlera, luminati) which doesn't prevent you from scraping a linkedin API? heck, this isn't even profile data. this is just to get the list of languages that they have. I tried out <http://proxycrawl.io|proxycrawl.io> and <http://scraperapi.com|...
2019-02-13T04:57:51.376700
Conrad
pythondev_help_Conrad_2019-02-13T04:57:51.376700
1,550,033,871.3767
8,124
pythondev
help
I'm not sure if you found the answer, but the order is top to bottom. If say a package cannot be installed for some reason, the rest of the package below it will not be installed.
2019-02-13T04:58:20.376900
Philip
pythondev_help_Philip_2019-02-13T04:58:20.376900
1,550,033,900.3769
8,125
pythondev
help
The alternative is to always ever return an int, but raise an exception instead of returning None (but make sure to add this exception to the docs!). But, I don't see why returning `int or None` could be considered "bad practice".
2019-02-13T05:07:37.377600
Malena
pythondev_help_Malena_2019-02-13T05:07:37.377600
1,550,034,457.3776
8,126
pythondev
help
I have not used `typing` before, but here's the best I could find <https://docs.python.org/3/library/typing.html#typing.Optional> <https://stackoverflow.com/a/39429578/1809168>
2019-02-13T05:07:38.377900
Philip
pythondev_help_Philip_2019-02-13T05:07:38.377900
1,550,034,458.3779
8,127
pythondev
help
ye, you can do `def foo() -&gt; Optional[int]` which means return `None` or `int`
2019-02-13T05:09:03.378300
Mica
pythondev_help_Mica_2019-02-13T05:09:03.378300
1,550,034,543.3783
8,128
pythondev
help
Raising an exception follows the paradigm of "Easier to ask for forgiveness than permission." But some people believe that "Exceptions should only ever be exceptional". So ultimately, it depends on what _you_ or your working environment believe.
2019-02-13T05:09:55.378600
Malena
pythondev_help_Malena_2019-02-13T05:09:55.378600
1,550,034,595.3786
8,129
pythondev
help
yh, as long as you're aware it can return None, then it should be fine
2019-02-13T05:10:32.378800
Mica
pythondev_help_Mica_2019-02-13T05:10:32.378800
1,550,034,632.3788
8,130
pythondev
help
Hello everyone. Do you know how to convert string like ``` 'Thu, 24 Jan 2019 18:54:45' ``` to python datetime format? I just want to get from this string day, month and year.
2019-02-13T05:17:27.379600
Jung
pythondev_help_Jung_2019-02-13T05:17:27.379600
1,550,035,047.3796
8,131
pythondev
help
<https://stackoverflow.com/questions/466345/converting-string-into-datetime>
2019-02-13T05:19:50.380000
Mica
pythondev_help_Mica_2019-02-13T05:19:50.380000
1,550,035,190.38
8,132
pythondev
help
think the first answer solves this
2019-02-13T05:19:57.380400
Mica
pythondev_help_Mica_2019-02-13T05:19:57.380400
1,550,035,197.3804
8,133
pythondev
help
`Thu` just to remove?
2019-02-13T05:22:08.380700
Jung
pythondev_help_Jung_2019-02-13T05:22:08.380700
1,550,035,328.3807
8,134
pythondev
help
you could probably cut that out using split
2019-02-13T05:22:54.381100
Mica
pythondev_help_Mica_2019-02-13T05:22:54.381100
1,550,035,374.3811
8,135
pythondev
help
not sure if `strptime` can handle that
2019-02-13T05:23:15.381600
Mica
pythondev_help_Mica_2019-02-13T05:23:15.381600
1,550,035,395.3816
8,136
pythondev
help
it can
2019-02-13T05:24:18.382300
Jettie
pythondev_help_Jettie_2019-02-13T05:24:18.382300
1,550,035,458.3823
8,137
pythondev
help
``` %a Weekday as locale’s abbreviated name. ```
2019-02-13T05:24:44.382700
Jettie
pythondev_help_Jettie_2019-02-13T05:24:44.382700
1,550,035,484.3827
8,138
pythondev
help
For me I'd use `from dateutil.parser import parse` then just get whatever data you need from the converted datetime. Flexible input so yey
2019-02-13T05:25:07.383200
Philip
pythondev_help_Philip_2019-02-13T05:25:07.383200
1,550,035,507.3832
8,139
pythondev
help
Thanks to new ideas! I've stumbled across Optional but don't know why passed it by. Think raising exception is a too complicated of an option in my context :yum: <@Malena> :taco: <@Mica> :taco: <@Philip> :taco:
2019-02-13T05:41:31.383400
Russ
pythondev_help_Russ_2019-02-13T05:41:31.383400
1,550,036,491.3834
8,140
pythondev
help
Actually :uk: Her Majesty's subject nowadays, but yeah. :wink:
2019-02-13T05:43:13.383800
Malena
pythondev_help_Malena_2019-02-13T05:43:13.383800
1,550,036,593.3838
8,141
pythondev
help
what do you mean by languages? if your referring to the language options they have: ```Bahasa Indonesia (Bahasa Indonesia) Bahasa Malaysia (Malay) Čeština (Czech) Dansk (Danish) Deutsch (German) English (English) Español (Spanish) 正體中文 (Chinese (Traditional)) Français (French) 한국어 (Korean) Italiano (Italian) 简体中文 (Chin...
2019-02-13T06:03:11.384300
Sparkle
pythondev_help_Sparkle_2019-02-13T06:03:11.384300
1,550,037,791.3843
8,142
pythondev
help
that available without having to scrape them
2019-02-13T06:03:34.384500
Sparkle
pythondev_help_Sparkle_2019-02-13T06:03:34.384500
1,550,037,814.3845
8,143
pythondev
help
what is error in the code?
2019-02-13T06:35:18.385300
Aracelis
pythondev_help_Aracelis_2019-02-13T06:35:18.385300
1,550,039,718.3853
8,144
pythondev
help
what do you think it is?
2019-02-13T06:35:37.385700
Mica
pythondev_help_Mica_2019-02-13T06:35:37.385700
1,550,039,737.3857
8,145
pythondev
help
or are you asking what does it mean?
2019-02-13T06:35:47.385900
Mica
pythondev_help_Mica_2019-02-13T06:35:47.385900
1,550,039,747.3859
8,146
pythondev
help
class myclass(): pass object1,object2 = myclass() object1.obj = "Text" print(object1.obj) object2.obj2 = 20 print(object2.obj2)
2019-02-13T06:36:03.386100
Aracelis
pythondev_help_Aracelis_2019-02-13T06:36:03.386100
1,550,039,763.3861
8,147
pythondev
help
Please use the snippet feature, or backticks, when sharing code. You can do so by clicking on the :heavy_plus_sign: on the left of the input box for a snippet. For more information on snippets click <https://get.slack.help/hc/en-us/articles/204145658-Create-a-snippet|here>. For more information on inline code formattin...
2019-02-13T06:36:11.386300
Leana
pythondev_help_Leana_2019-02-13T06:36:11.386300
1,550,039,771.3863
8,148
pythondev
help
so the issue is when you do `x, y = class_instance()` is it tries to divide the instance amongst the variables `x` and `y`
2019-02-13T06:36:52.387200
Mica
pythondev_help_Mica_2019-02-13T06:36:52.387200
1,550,039,812.3872
8,149
pythondev
help
C:\Users\PCUser\Desktop\pyCharmPractice\venv\Scripts\python.exe C:/Users/PCUser/Desktop/pyCharmPractice/Class&amp;Object/c&amp;o.py Traceback (most recent call last): File "C:/Users/PCUser/Desktop/pyCharmPractice/Class&amp;Object/c&amp;o.py", line 4, in &lt;module&gt; object1,object2 = myclass() TypeError: cannot...
2019-02-13T06:36:58.387500
Aracelis
pythondev_help_Aracelis_2019-02-13T06:36:58.387500
1,550,039,818.3875
8,150
pythondev
help
in order to create several instances, each new variable has to be instantiated separately
2019-02-13T06:37:18.388000
Mica
pythondev_help_Mica_2019-02-13T06:37:18.388000
1,550,039,838.388
8,151
pythondev
help
so you can't do `object1,object2 = myclass()` you have to do: ``` object1 = myclass() object2 = myclass() ```
2019-02-13T06:37:51.389000
Mica
pythondev_help_Mica_2019-02-13T06:37:51.389000
1,550,039,871.389
8,152
pythondev
help
also you need to define the class too
2019-02-13T06:38:01.389300
Mica
pythondev_help_Mica_2019-02-13T06:38:01.389300
1,550,039,881.3893
8,153
pythondev
help
ah no not these, I meant language skills. the kind you add by adding a profile section and looking under accomplishments
2019-02-13T06:38:15.389900
Conrad
pythondev_help_Conrad_2019-02-13T06:38:15.389900
1,550,039,895.3899
8,154
pythondev
help
Am I just lunch-hungry and not thinking clearly or how do I remap `[(1,1), (1,2), (1,3), (2,1), (2,2), (2,3), (3, 1), (3, 2), (3, 3)]` to the range [0, 8]
2019-02-13T06:38:16.390100
Yaeko
pythondev_help_Yaeko_2019-02-13T06:38:16.390100
1,550,039,896.3901
8,155
pythondev
help
that list is only available via autocomplete
2019-02-13T06:38:40.390300
Conrad
pythondev_help_Conrad_2019-02-13T06:38:40.390300
1,550,039,920.3903
8,156
pythondev
help
what do you mean by remap?
2019-02-13T06:38:42.390500
Mica
pythondev_help_Mica_2019-02-13T06:38:42.390500
1,550,039,922.3905
8,157
pythondev
help
It felt better when I thought of the question than it looked when I wrote it ... :/ Basically ``` (1,1) =&gt; 0 (1,2) =&gt; 1 (1,3) =&gt; 2 ⋮ ```
2019-02-13T06:40:03.392000
Yaeko
pythondev_help_Yaeko_2019-02-13T06:40:03.392000
1,550,040,003.392
8,158
pythondev
help
could use comprehension to create a dict
2019-02-13T06:40:33.392400
Mica
pythondev_help_Mica_2019-02-13T06:40:33.392400
1,550,040,033.3924
8,159
pythondev
help
`y = {a: b for a, b in zip(x, range(0, 8))}`
2019-02-13T06:41:35.392600
Mica
pythondev_help_Mica_2019-02-13T06:41:35.392600
1,550,040,095.3926
8,160
pythondev
help
or even better: ``` x = [(1,1), (1,2), (1,3), (2,1), (2,2), (2,3), (3, 1), (3, 2), (3, 3)] y = {a: b for a, b in zip(x, range(len(x)))} ```
2019-02-13T06:42:02.393400
Mica
pythondev_help_Mica_2019-02-13T06:42:02.393400
1,550,040,122.3934
8,161
pythondev
help
Ok, completely rephrase my question into what I actually wants: I have a function that takes a tuple giving x,y coordinates bounded by `(rows cols)`, which I want to convert into a index for a list of length `rows * cols`.
2019-02-13T06:45:35.396400
Yaeko
pythondev_help_Yaeko_2019-02-13T06:45:35.396400
1,550,040,335.3964
8,162
pythondev
help
does the above not work?
2019-02-13T06:47:16.396600
Mica
pythondev_help_Mica_2019-02-13T06:47:16.396600
1,550,040,436.3966
8,163
pythondev
help
you can replace `range(len(x))` with `range(0, (rows * cols))`
2019-02-13T06:47:49.397200
Mica
pythondev_help_Mica_2019-02-13T06:47:49.397200
1,550,040,469.3972
8,164
pythondev
help
as long as you know the no. of cols and rows
2019-02-13T06:48:04.397500
Mica
pythondev_help_Mica_2019-02-13T06:48:04.397500
1,550,040,484.3975
8,165
pythondev
help
Umm, If your list is x: `x= [(1,1), (1,2), (1,3), (2,1), (2,2), (2,3), (3, 1), (3, 2), (3, 3)]`` then to get the index of (1,2) then you can `x.index((1,2))`
2019-02-13T06:50:45.399100
Malena
pythondev_help_Malena_2019-02-13T06:50:45.399100
1,550,040,645.3991
8,166
pythondev
help
I'll shut up if I'm misunderstanding your question. :smile:
2019-02-13T06:51:31.400000
Malena
pythondev_help_Malena_2019-02-13T06:51:31.400000
1,550,040,691.4
8,167
pythondev
help
what is error here?
2019-02-13T06:55:40.401800
Aracelis
pythondev_help_Aracelis_2019-02-13T06:55:40.401800
1,550,040,940.4018
8,168
pythondev
help
Sorry, my question is really badly written. What I wont is a function f(x,y) that for a given (x,y) returns the index n in the range of [0, whatever] So that ``` (1,1) =&gt; 0 (1,2) =&gt; 1 ⋮ (2,2) =&gt; 4 (2,3) =&gt; 5 ⋮ (3,1) =&gt; 6 (3,2) =&gt; 7 (3,3) =&gt; 8 ```
2019-02-13T06:55:50.402100
Yaeko
pythondev_help_Yaeko_2019-02-13T06:55:50.402100
1,550,040,950.4021
8,169
pythondev
help
<@Aracelis> what error is it showing
2019-02-13T06:56:07.402400
Mica
pythondev_help_Mica_2019-02-13T06:56:07.402400
1,550,040,967.4024
8,170
pythondev
help
in print function i get a error
2019-02-13T06:56:33.402800
Aracelis
pythondev_help_Aracelis_2019-02-13T06:56:33.402800
1,550,040,993.4028
8,171
pythondev
help
what does it say
2019-02-13T06:56:40.403000
Mica
pythondev_help_Mica_2019-02-13T06:56:40.403000
1,550,041,000.403
8,172
pythondev
help
Knowing how to ask a good question is a highly invaluable skill that will benefit you greatly in any career. <https://stackoverflow.com/help/how-to-ask> is a good collection of suggestions and strategies to help you structure and phrase your question to make it easier for those here to understand your problem and help ...
2019-02-13T06:56:51.403200
Leana
pythondev_help_Leana_2019-02-13T06:56:51.403200
1,550,041,011.4032
8,173
pythondev
help
TypeError: can only concatenate str (not "int") to str
2019-02-13T06:57:12.403900
Aracelis
pythondev_help_Aracelis_2019-02-13T06:57:12.403900
1,550,041,032.4039
8,174
pythondev
help
@ <@Yaeko> ``` lookup = {x, (x[0] * x[1]) for x, y in list_of_coords} ```
2019-02-13T06:57:22.404100
Mica
pythondev_help_Mica_2019-02-13T06:57:22.404100
1,550,041,042.4041
8,175
pythondev
help
you can use a dict comp to create a dictionary lookup
2019-02-13T06:57:38.404400
Mica
pythondev_help_Mica_2019-02-13T06:57:38.404400
1,550,041,058.4044
8,176
pythondev
help
<@Aracelis> the issue is the age is an int and not a str
2019-02-13T06:58:02.405100
Mica
pythondev_help_Mica_2019-02-13T06:58:02.405100
1,550,041,082.4051
8,177
pythondev
help
there's two solutions, either convert to str using `str()` or use string formatting
2019-02-13T06:58:18.405900
Mica
pythondev_help_Mica_2019-02-13T06:58:18.405900
1,550,041,098.4059
8,178
pythondev
help
either using `''.format()` or the new f-strings
2019-02-13T06:58:29.406300
Mica
pythondev_help_Mica_2019-02-13T06:58:29.406300
1,550,041,109.4063
8,179
pythondev
help
Yeah, thanks <@Tracie>, that would work. It might not be a nice `x + y + something` equation to calculate these in an easy way. :taco:
2019-02-13T06:58:50.406800
Yaeko
pythondev_help_Yaeko_2019-02-13T06:58:50.406800
1,550,041,130.4068
8,180
pythondev
help
ye, dict comp is just a fast way, if you want it to be more readable you can covert to a normal for loop
2019-02-13T06:59:18.407300
Mica
pythondev_help_Mica_2019-02-13T06:59:18.407300
1,550,041,158.4073
8,181
pythondev
help
then you can do all sorts of calc without it being squeezed onto one line
2019-02-13T06:59:41.407700
Mica
pythondev_help_Mica_2019-02-13T06:59:41.407700
1,550,041,181.4077
8,182
pythondev
help
how
2019-02-13T07:00:10.407900
Aracelis
pythondev_help_Aracelis_2019-02-13T07:00:10.407900
1,550,041,210.4079
8,183
pythondev
help
<https://realpython.com/python-string-formatting/>
2019-02-13T07:00:46.408400
Mica
pythondev_help_Mica_2019-02-13T07:00:46.408400
1,550,041,246.4084
8,184
pythondev
help
Err, using the data you provided, then `f` would be: `def f(x,y): return ((x -1) * 3) + y - 1`
2019-02-13T07:16:49.408600
Malena
pythondev_help_Malena_2019-02-13T07:16:49.408600
1,550,042,209.4086
8,185
pythondev
help
But still, the question is a bit problematic.
2019-02-13T07:17:42.409200
Malena
pythondev_help_Malena_2019-02-13T07:17:42.409200
1,550,042,262.4092
8,186
pythondev
help
hello guys
2019-02-13T07:20:19.409600
Lorinda
pythondev_help_Lorinda_2019-02-13T07:20:19.409600
1,550,042,419.4096
8,187
pythondev
help
None
2019-02-13T07:20:26.409700
Lorinda
pythondev_help_Lorinda_2019-02-13T07:20:26.409700
1,550,042,426.4097
8,188
pythondev
help
Guys I need help with the above code.
2019-02-13T07:20:46.410200
Lorinda
pythondev_help_Lorinda_2019-02-13T07:20:46.410200
1,550,042,446.4102
8,189
pythondev
help
What's your question?
2019-02-13T07:21:05.410600
Ashley
pythondev_help_Ashley_2019-02-13T07:21:05.410600
1,550,042,465.4106
8,190
pythondev
help
This is from QSpectrumAnalyzer
2019-02-13T07:21:13.410900
Lorinda
pythondev_help_Lorinda_2019-02-13T07:21:13.410900
1,550,042,473.4109
8,191
pythondev
help
and I have connected HackRF
2019-02-13T07:21:23.411400
Lorinda
pythondev_help_Lorinda_2019-02-13T07:21:23.411400
1,550,042,483.4114
8,192
pythondev
help
This is the process initiated for the start button to start scanning. There is also encoded the restart process of the hardware (hackrf) and that's what I am trying to implement. I have made all the necessary changes and I now have created the def process_reset(self) to initiate the code hackrf_spiflash -R that does th...
2019-02-13T07:23:01.413400
Lorinda
pythondev_help_Lorinda_2019-02-13T07:23:01.413400
1,550,042,581.4134
8,193
pythondev
help
However I don't understand the above code block that does the start... in order to mirror the process and do the reset process.
2019-02-13T07:23:29.414100
Lorinda
pythondev_help_Lorinda_2019-02-13T07:23:29.414100
1,550,042,609.4141
8,194
pythondev
help
What don't you understand about it?
2019-02-13T07:24:29.414600
Ashley
pythondev_help_Ashley_2019-02-13T07:24:29.414600
1,550,042,669.4146
8,195
pythondev
help
I would like someone to explain line by line what it does... for example what is this: "-f", "{}....
2019-02-13T07:26:00.415300
Lorinda
pythondev_help_Lorinda_2019-02-13T07:26:00.415300
1,550,042,760.4153
8,196
pythondev
help
I am pretty beginner and the task is above my level
2019-02-13T07:26:11.415600
Lorinda
pythondev_help_Lorinda_2019-02-13T07:26:11.415600
1,550,042,771.4156
8,197
pythondev
help
but it must be done.
2019-02-13T07:26:16.415800
Lorinda
pythondev_help_Lorinda_2019-02-13T07:26:16.415800
1,550,042,776.4158
8,198
pythondev
help
Well, I can't really go line by line, but the bulk of it seems to pretty much just be generating a command to call in the shell/command prompt, and then at the end it does so
2019-02-13T07:29:11.417400
Ashley
pythondev_help_Ashley_2019-02-13T07:29:11.417400
1,550,042,951.4174
8,199
pythondev
help
It looks like you're printing out towards the end, which should tell you what the exact command is that it's calling
2019-02-13T07:29:47.418300
Ashley
pythondev_help_Ashley_2019-02-13T07:29:47.418300
1,550,042,987.4183
8,200
pythondev
help
thanks for the tip
2019-02-13T07:31:22.418500
Lorinda
pythondev_help_Lorinda_2019-02-13T07:31:22.418500
1,550,043,082.4185
8,201
pythondev
help
any idea how i could implement the reset function?
2019-02-13T07:31:33.418800
Lorinda
pythondev_help_Lorinda_2019-02-13T07:31:33.418800
1,550,043,093.4188
8,202
pythondev
help
is the above code a good representation of what i must do with reseT?
2019-02-13T07:31:52.419300
Lorinda
pythondev_help_Lorinda_2019-02-13T07:31:52.419300
1,550,043,112.4193
8,203
pythondev
help
I'm unfamiliar with those tools, but probably not. But it should tell you what the main command is, and you can look up the documentation for it where there should be something about resetting it, if that's something it supports
2019-02-13T07:33:07.421400
Ashley
pythondev_help_Ashley_2019-02-13T07:33:07.421400
1,550,043,187.4214
8,204
pythondev
help
yep the command hackrf_spiflash -r
2019-02-13T07:36:02.421800
Lorinda
pythondev_help_Lorinda_2019-02-13T07:36:02.421800
1,550,043,362.4218
8,205
pythondev
help
does the reset
2019-02-13T07:36:04.422100
Lorinda
pythondev_help_Lorinda_2019-02-13T07:36:04.422100
1,550,043,364.4221
8,206
pythondev
help
but i don't yet know how should i start to implent it on the process_reset()
2019-02-13T07:36:32.422600
Lorinda
pythondev_help_Lorinda_2019-02-13T07:36:32.422600
1,550,043,392.4226
8,207
pythondev
help
Oh, sorry, I misunderstood
2019-02-13T07:38:58.422900
Ashley
pythondev_help_Ashley_2019-02-13T07:38:58.422900
1,550,043,538.4229
8,208
pythondev
help
Then yeah, you can mimic the code in that function
2019-02-13T07:39:16.423600
Ashley
pythondev_help_Ashley_2019-02-13T07:39:16.423600
1,550,043,556.4236
8,209
pythondev
help
ok where can i find what this does for example: "-f", "{}:{}".format(int(self.params["start_freq"] - self.lnb_lo / 1e6), int(self.params["stop_freq"] - self.lnb_lo / 1e6)),
2019-02-13T07:39:55.424000
Lorinda
pythondev_help_Lorinda_2019-02-13T07:39:55.424000
1,550,043,595.424
8,210
pythondev
help
Well, the `"{}:{}”.format()` stuff is just how string formatting is done in Python (there's a few ways, but this is a common one)
2019-02-13T07:42:50.426200
Ashley
pythondev_help_Ashley_2019-02-13T07:42:50.426200
1,550,043,770.4262
8,211
pythondev
help
In general, Python has to evaluate things in a certain order
2019-02-13T07:43:15.426800
Ashley
pythondev_help_Ashley_2019-02-13T07:43:15.426800
1,550,043,795.4268
8,212
pythondev
help
You'll notice that that's inside a `cmdline.extend()` call. `cmdline` seems to be just a normal list, and the `extend` method of a list takes another list, and slaps it into the end of that list
2019-02-13T07:44:40.428700
Ashley
pythondev_help_Ashley_2019-02-13T07:44:40.428700
1,550,043,880.4287
8,213
pythondev
help
So you're "extending" `cmdline`
2019-02-13T07:44:58.429300
Ashley
pythondev_help_Ashley_2019-02-13T07:44:58.429300
1,550,043,898.4293
8,214
pythondev
help
But to know what you're extending it with, Python has to figure out what you're passing to `extend`
2019-02-13T07:45:44.430500
Ashley
pythondev_help_Ashley_2019-02-13T07:45:44.430500
1,550,043,944.4305
8,215
pythondev
help
And to figure the out, it has to evaluate the things inside of the list one at a time
2019-02-13T07:46:01.431100
Ashley
pythondev_help_Ashley_2019-02-13T07:46:01.431100
1,550,043,961.4311
8,216
pythondev
help
The first thing is easy. It's just `"-f"`
2019-02-13T07:46:30.431600
Ashley
pythondev_help_Ashley_2019-02-13T07:46:30.431600
1,550,043,990.4316
8,217
pythondev
help
But the next thing takes a little more, because to figure that out, it has to look at the things you're passing to `format`
2019-02-13T07:47:01.432500
Ashley
pythondev_help_Ashley_2019-02-13T07:47:01.432500
1,550,044,021.4325
8,218
pythondev
help
It's kinda like PEMDAS
2019-02-13T07:47:30.432800
Ashley
pythondev_help_Ashley_2019-02-13T07:47:30.432800
1,550,044,050.4328
8,219
pythondev
help
If you ignore the `subprocess` and `QtCore` stuff, you're pretty much only dealing with simple python stuff (it's really just lists, numbers, and strings). It's only the context that seems complicated, but you know what you're working with, so you should be fine
2019-02-13T07:50:20.435800
Ashley
pythondev_help_Ashley_2019-02-13T07:50:20.435800
1,550,044,220.4358
8,220