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
There aren't, from a Python language perspective, but it's a common concept in, say, Java, which can be useful to borrow.
2019-04-21T00:20:19.063400
Sasha
pythondev_help_Sasha_2019-04-21T00:20:19.063400
1,555,806,019.0634
19,721
pythondev
help
Do you have any example for when its useful with a private class?
2019-04-21T00:20:50.063900
Conchita
pythondev_help_Conchita_2019-04-21T00:20:50.063900
1,555,806,050.0639
19,722
pythondev
help
Just to get a high-level idea of the use cases
2019-04-21T00:21:39.064700
Conchita
pythondev_help_Conchita_2019-04-21T00:21:39.064700
1,555,806,099.0647
19,723
pythondev
help
OS and hardware related stuff?
2019-04-21T00:23:35.067000
Conchita
pythondev_help_Conchita_2019-04-21T00:23:35.067000
1,555,806,215.067
19,724
pythondev
help
Sure. For instance, say you're writing a class which connects to, say, a USB device. You need to maintain a connection to it, and keep track of particular command sequences. It would be a real problem if some other code came in and just randomly borrowed your connection to send other commands or flip some bits in your state. You want your code to be able to rely on the fact that only you can access and change those things, while providing other users with some friendly functions to call instead.
2019-04-21T00:24:06.067600
Sasha
pythondev_help_Sasha_2019-04-21T00:24:06.067600
1,555,806,246.0676
19,725
pythondev
help
Again, none of this is actually enforced in Python. It's just a way for people to know that they're "breaking the rules" if they start poking at the inner logic of a class.
2019-04-21T00:26:01.068400
Sasha
pythondev_help_Sasha_2019-04-21T00:26:01.068400
1,555,806,361.0684
19,726
pythondev
help
And sometimes you actually want to break the rules, if you're writing a unit test which wants to examine some of that behavior.
2019-04-21T00:28:11.069800
Sasha
pythondev_help_Sasha_2019-04-21T00:28:11.069800
1,555,806,491.0698
19,727
pythondev
help
Thanks for the explanation! So its basically a `Don't push this big fat red button` haha
2019-04-21T00:28:26.070200
Conchita
pythondev_help_Conchita_2019-04-21T00:28:26.070200
1,555,806,506.0702
19,728
pythondev
help
Exactly!
2019-04-21T00:28:34.070500
Sasha
pythondev_help_Sasha_2019-04-21T00:28:34.070500
1,555,806,514.0705
19,729
pythondev
help
"Stuff might happen"
2019-04-21T00:28:37.070600
Conchita
pythondev_help_Conchita_2019-04-21T00:28:37.070600
1,555,806,517.0706
19,730
pythondev
help
Enjoy the :taco: <@Sasha>
2019-04-21T00:29:12.071200
Conchita
pythondev_help_Conchita_2019-04-21T00:29:12.071200
1,555,806,552.0712
19,731
pythondev
help
It can also save you a lot of time in reading other people's code, as you can tell that big long functions starting with an underscore are "behind the scenes" and not something that you might need to call to use the library.
2019-04-21T00:30:19.072500
Sasha
pythondev_help_Sasha_2019-04-21T00:30:19.072500
1,555,806,619.0725
19,732
pythondev
help
Is this what is grouped as "low-level"? And maybe part of the reason why its not enforced in Python, as Python is a high-level language?
2019-04-21T00:31:20.073500
Conchita
pythondev_help_Conchita_2019-04-21T00:31:20.073500
1,555,806,680.0735
19,733
pythondev
help
Not really... low- versus high-level usually refers to how close to the patterns of the underlying hardware you are, like whether you have to worry about CPU registers and memory addresses, or only deal in more abstract things like "dicts".
2019-04-21T00:33:14.075300
Sasha
pythondev_help_Sasha_2019-04-21T00:33:14.075300
1,555,806,794.0753
19,734
pythondev
help
Ok, got it
2019-04-21T00:33:46.075600
Conchita
pythondev_help_Conchita_2019-04-21T00:33:46.075600
1,555,806,826.0756
19,735
pythondev
help
Another question, do you have a process for reading other people's code? It feels like I spend way to much time to understand code I have NOT written myself (to a level of understanding where I will modify their code)
2019-04-21T00:35:20.077300
Conchita
pythondev_help_Conchita_2019-04-21T00:35:20.077300
1,555,806,920.0773
19,736
pythondev
help
I tend to work from the "outside" moving in. Start with any documentation and public APIs, then a quick scan through the files to just see what is where. Sometimes the unit tests, if there are any, can provide some nice examples of how the functions are called in practice. Then I make sure I understand any key data structures. And lastly just read line by line, hopefully only targeting a section of the code which I know I'm interested in, although sometimes I have to do a code-review of everything.
2019-04-21T00:42:14.080800
Sasha
pythondev_help_Sasha_2019-04-21T00:42:14.080800
1,555,807,334.0808
19,737
pythondev
help
But it is a learned skill by itself, and reading bad code can be a challenge for anyone. I've been a bit fortunate to mostly work with great coders, so reading their stuff can be a breeze.
2019-04-21T00:43:33.081800
Sasha
pythondev_help_Sasha_2019-04-21T00:43:33.081800
1,555,807,413.0818
19,738
pythondev
help
That sounds like a nice approach - I started line by line, and later discovered the code was let's call it "un-impressive", as it was not functioning as the author claimed + no single line of comment / documentation
2019-04-21T00:47:52.084000
Conchita
pythondev_help_Conchita_2019-04-21T00:47:52.084000
1,555,807,672.084
19,739
pythondev
help
Ugh
2019-04-21T00:48:40.084400
Sasha
pythondev_help_Sasha_2019-04-21T00:48:40.084400
1,555,807,720.0844
19,740
pythondev
help
I'm gonna apply your approach next time!
2019-04-21T00:49:04.085000
Conchita
pythondev_help_Conchita_2019-04-21T00:49:04.085000
1,555,807,744.085
19,741
pythondev
help
<@Sasha> do you have any degrees?
2019-04-21T01:05:16.085700
Priscilla
pythondev_help_Priscilla_2019-04-21T01:05:16.085700
1,555,808,716.0857
19,742
pythondev
help
if you dont mind me asking...
2019-04-21T01:05:28.086000
Priscilla
pythondev_help_Priscilla_2019-04-21T01:05:28.086000
1,555,808,728.086
19,743
pythondev
help
Technically just a bachelors in physics and math, though I went pretty far into a Ph.D. program before dropping out.
2019-04-21T01:07:21.087100
Sasha
pythondev_help_Sasha_2019-04-21T01:07:21.087100
1,555,808,841.0871
19,744
pythondev
help
are you glad you got that bachelors?
2019-04-21T01:07:48.087400
Priscilla
pythondev_help_Priscilla_2019-04-21T01:07:48.087400
1,555,808,868.0874
19,745
pythondev
help
i mean like is it relevant to programming and useful in this field?
2019-04-21T01:09:05.087900
Priscilla
pythondev_help_Priscilla_2019-04-21T01:09:05.087900
1,555,808,945.0879
19,746
pythondev
help
assuming this isnt just your hobby but also your hjob
2019-04-21T01:10:54.089500
Priscilla
pythondev_help_Priscilla_2019-04-21T01:10:54.089500
1,555,809,054.0895
19,747
pythondev
help
Yes, I think so... IMHO any sort of technical degree is generally useful for developing the sort of rational problem-solving skills that programming relies on. So it's not specifically useful, but it's generally useful. That said, I started programming from a very young age too, so I probably would have ended up doing some level of coding regardless.
2019-04-21T01:12:56.091200
Sasha
pythondev_help_Sasha_2019-04-21T01:12:56.091200
1,555,809,176.0912
19,748
pythondev
help
interesting how old are you?
2019-04-21T01:14:02.091600
Priscilla
pythondev_help_Priscilla_2019-04-21T01:14:02.091600
1,555,809,242.0916
19,749
pythondev
help
Now? 40's.
2019-04-21T01:14:26.091800
Sasha
pythondev_help_Sasha_2019-04-21T01:14:26.091800
1,555,809,266.0918
19,750
pythondev
help
when did you get in tpo programming?
2019-04-21T01:14:43.092100
Priscilla
pythondev_help_Priscilla_2019-04-21T01:14:43.092100
1,555,809,283.0921
19,751
pythondev
help
Back in the 80's, the early days of home computers like the Commodore 64.
2019-04-21T01:16:03.093200
Sasha
pythondev_help_Sasha_2019-04-21T01:16:03.093200
1,555,809,363.0932
19,752
pythondev
help
haha cool! i work under an engineer at work who used those in college it would be cool to have
2019-04-21T01:16:55.094200
Priscilla
pythondev_help_Priscilla_2019-04-21T01:16:55.094200
1,555,809,415.0942
19,753
pythondev
help
Really was a great machine. And it booted up to a BASIC prompt, so the invitation to do some coding was unavoidable.
2019-04-21T01:18:25.095200
Sasha
pythondev_help_Sasha_2019-04-21T01:18:25.095200
1,555,809,505.0952
19,754
pythondev
help
```10 PRINT "HELLO" 20 GOTO 10```
2019-04-21T01:20:36.095600
Sasha
pythondev_help_Sasha_2019-04-21T01:20:36.095600
1,555,809,636.0956
19,755
pythondev
help
neat!
2019-04-21T01:21:04.095900
Priscilla
pythondev_help_Priscilla_2019-04-21T01:21:04.095900
1,555,809,664.0959
19,756
pythondev
help
i am looking at learning basic here soon!
2019-04-21T01:21:53.096600
Priscilla
pythondev_help_Priscilla_2019-04-21T01:21:53.096600
1,555,809,713.0966
19,757
pythondev
help
It's probably not really worth it these days, except as just an exercise.
2019-04-21T01:22:37.097100
Sasha
pythondev_help_Sasha_2019-04-21T01:22:37.097100
1,555,809,757.0971
19,758
pythondev
help
thats why i want to learn it, understand a lower language and the people i talk to its the most relevant languge to them for some reason lol
2019-04-21T01:23:53.098400
Priscilla
pythondev_help_Priscilla_2019-04-21T01:23:53.098400
1,555,809,833.0984
19,759
pythondev
help
every analogy to me (the programmer in the company) is explained in basic lol
2019-04-21T01:24:22.099100
Priscilla
pythondev_help_Priscilla_2019-04-21T01:24:22.099100
1,555,809,862.0991
19,760
pythondev
help
Amusing...
2019-04-21T01:25:02.099300
Sasha
pythondev_help_Sasha_2019-04-21T01:25:02.099300
1,555,809,902.0993
19,761
pythondev
help
only because they are electrical or mechanical or optical engineers and have only dablled i guess
2019-04-21T01:26:00.100200
Priscilla
pythondev_help_Priscilla_2019-04-21T01:26:00.100200
1,555,809,960.1002
19,762
pythondev
help
The limitations of the language sound crazy today. All variables are global, and can only be named a max of two letters, and only be numbers or strings. No such thing as a function, but you can GOSUB to a line number and then RETURN to where you came from.
2019-04-21T01:31:19.101900
Sasha
pythondev_help_Sasha_2019-04-21T01:31:19.101900
1,555,810,279.1019
19,763
pythondev
help
Basic is dead
2019-04-21T07:53:40.103900
Nieves
pythondev_help_Nieves_2019-04-21T07:53:40.103900
1,555,833,220.1039
19,764
pythondev
help
And for good reason
2019-04-21T07:53:44.104100
Nieves
pythondev_help_Nieves_2019-04-21T07:53:44.104100
1,555,833,224.1041
19,765
pythondev
help
It had flaws that made it die out
2019-04-21T07:53:51.104500
Nieves
pythondev_help_Nieves_2019-04-21T07:53:51.104500
1,555,833,231.1045
19,766
pythondev
help
Although, still fun to read about
2019-04-21T07:54:01.104900
Nieves
pythondev_help_Nieves_2019-04-21T07:54:01.104900
1,555,833,241.1049
19,767
pythondev
help
could someone explain to me how to use sessions in a code free manner
2019-04-21T08:23:05.105900
Leida
pythondev_help_Leida_2019-04-21T08:23:05.105900
1,555,834,985.1059
19,768
pythondev
help
im sending a form on post and i want it to be editable in the same session
2019-04-21T08:23:31.106500
Leida
pythondev_help_Leida_2019-04-21T08:23:31.106500
1,555,835,011.1065
19,769
pythondev
help
so i should on post create a session or record the session id and send the inserted data back. On new post i should check if its the same session?
2019-04-21T08:24:34.107500
Leida
pythondev_help_Leida_2019-04-21T08:24:34.107500
1,555,835,074.1075
19,770
pythondev
help
since i dont have any authentication i should just save the session id in the db with the data and once it expires either a new entry is created or some error thrown...
2019-04-21T08:27:38.108600
Leida
pythondev_help_Leida_2019-04-21T08:27:38.108600
1,555,835,258.1086
19,771
pythondev
help
I am new to python need some help with my pandas data frame for jupyter notebook, when i read a csv file as a data frame i am able to see it like this but i want it to be in a tabular format like we have a table in a word document
2019-04-21T10:20:17.110100
Verlene
pythondev_help_Verlene_2019-04-21T10:20:17.110100
1,555,842,017.1101
19,772
pythondev
help
I don't understand, what the here <https://gspread.readthedocs.io/en/latest/oauth2.html> is `scope`? ``` import gspread from oauth2client.service_account import ServiceAccountCredentials scope = ['<https://spreadsheets.google.com/feeds>', '<https://www.googleapis.com/auth/drive>'] credentials = ServiceAccountCredentials.from_json_keyfile_name('gspread-april-2cd … ba4.json', scope) gc = gspread.authorize(credentials) wks = gc.open("Where is the money Lebowski?").sheet1 ``` This URL is not working - <https://spreadsheets.google.com/feeds> It is a mistake?
2019-04-21T10:31:25.111400
Jung
pythondev_help_Jung_2019-04-21T10:31:25.111400
1,555,842,685.1114
19,773
pythondev
help
What code returned <@Jung>
2019-04-21T10:37:29.111800
Nieves
pythondev_help_Nieves_2019-04-21T10:37:29.111800
1,555,843,049.1118
19,774
pythondev
help
If it returns anything, but like 200... it ‘won’t work’
2019-04-21T10:38:15.112500
Nieves
pythondev_help_Nieves_2019-04-21T10:38:15.112500
1,555,843,095.1125
19,775
pythondev
help
Do you see the line about credentials? I'm not certain, but it can be that you have to do the following;
2019-04-21T10:58:07.113600
Conchita
pythondev_help_Conchita_2019-04-21T10:58:07.113600
1,555,844,287.1136
19,776
pythondev
help
1. Register for Google Cloud (you get plenty of free credits, no need to pay anthing) 2. Create a IAM Service Account 3. Right after step 2, create a key file and download its JSON file 4. replace `gspread-april-2cd … ba4.json` with the path to your own JSON file
2019-04-21T10:59:39.115700
Conchita
pythondev_help_Conchita_2019-04-21T10:59:39.115700
1,555,844,379.1157
19,777
pythondev
help
i dont know about gspread but i used pygsheets and there you just reference your client_secret.json
2019-04-21T10:59:57.115900
Leida
pythondev_help_Leida_2019-04-21T10:59:57.115900
1,555,844,397.1159
19,778
pythondev
help
i think the scope allows you to narrow down the access scope you give to your python script
2019-04-21T11:01:00.116500
Leida
pythondev_help_Leida_2019-04-21T11:01:00.116500
1,555,844,460.1165
19,779
pythondev
help
``` import pygsheets def _get_sheet(): 'Load google sheet named {SHEET_NAME}' google_login = pygsheets.authorize(service_file='client_secret.json') sheet = google_login.open(SHEET_NAME) return sheet.sheet1 ```
2019-04-21T11:04:17.116900
Leida
pythondev_help_Leida_2019-04-21T11:04:17.116900
1,555,844,657.1169
19,780
pythondev
help
API key?
2019-04-21T11:04:33.117300
Nieves
pythondev_help_Nieves_2019-04-21T11:04:33.117300
1,555,844,673.1173
19,781
pythondev
help
I would think is what you would need as well?
2019-04-21T11:04:46.117900
Nieves
pythondev_help_Nieves_2019-04-21T11:04:46.117900
1,555,844,686.1179
19,782
pythondev
help
<https://oauth2client.readthedocs.io/en/latest/source/oauth2client.service_account.html#oauth2client.service_account.ServiceAccountCredentials.from_json_keyfile_name>
2019-04-21T11:06:32.118500
Leida
pythondev_help_Leida_2019-04-21T11:06:32.118500
1,555,844,792.1185
19,783
pythondev
help
`scopes – List or string, (Optional) Scopes to use when acquiring an access token.`
2019-04-21T11:07:50.119100
Leida
pythondev_help_Leida_2019-04-21T11:07:50.119100
1,555,844,870.1191
19,784
pythondev
help
Yeah... you need to retrieve the access token before you can send the request
2019-04-21T11:08:37.119700
Nieves
pythondev_help_Nieves_2019-04-21T11:08:37.119700
1,555,844,917.1197
19,785
pythondev
help
Pretty sure
2019-04-21T11:08:40.119900
Nieves
pythondev_help_Nieves_2019-04-21T11:08:40.119900
1,555,844,920.1199
19,786
pythondev
help
No idea... never used that before
2019-04-21T11:08:45.120200
Nieves
pythondev_help_Nieves_2019-04-21T11:08:45.120200
1,555,844,925.1202
19,787
pythondev
help
The token would need to also be passed probs as a parameter in the request
2019-04-21T11:09:11.121100
Nieves
pythondev_help_Nieves_2019-04-21T11:09:11.121100
1,555,844,951.1211
19,788
pythondev
help
And than get results
2019-04-21T11:09:19.121300
Nieves
pythondev_help_Nieves_2019-04-21T11:09:19.121300
1,555,844,959.1213
19,789
pythondev
help
its probably wrapped by the library
2019-04-21T11:09:27.121600
Leida
pythondev_help_Leida_2019-04-21T11:09:27.121600
1,555,844,967.1216
19,790
pythondev
help
¯\_(ツ)_/¯
2019-04-21T11:09:36.121900
Nieves
pythondev_help_Nieves_2019-04-21T11:09:36.121900
1,555,844,976.1219
19,791
pythondev
help
the one i used does that automatically
2019-04-21T11:09:36.122000
Leida
pythondev_help_Leida_2019-04-21T11:09:36.122000
1,555,844,976.122
19,792
pythondev
help
Not a web dev
2019-04-21T11:09:42.122200
Nieves
pythondev_help_Nieves_2019-04-21T11:09:42.122200
1,555,844,982.1222
19,793
pythondev
help
So no idea
2019-04-21T11:09:45.122400
Nieves
pythondev_help_Nieves_2019-04-21T11:09:45.122400
1,555,844,985.1224
19,794
pythondev
help
Most likely even if it does it automatically there is a function where you could specify what you need anyways
2019-04-21T11:13:36.123200
Nieves
pythondev_help_Nieves_2019-04-21T11:13:36.123200
1,555,845,216.1232
19,795
pythondev
help
The automatic process is usually default values
2019-04-21T11:13:57.123800
Nieves
pythondev_help_Nieves_2019-04-21T11:13:57.123800
1,555,845,237.1238
19,796
pythondev
help
I wanted to achieve the following and after trial and error I achieved it
2019-04-21T15:24:35.125300
Melia
pythondev_help_Melia_2019-04-21T15:24:35.125300
1,555,860,275.1253
19,797
pythondev
help
def retroCounter2(number): if number &gt; 0: print("{}\n".format(number), end = "") while number &gt; 0: (retroCounter2(numero - 1)) return numero else: pass
2019-04-21T15:26:06.125500
Melia
pythondev_help_Melia_2019-04-21T15:26:06.125500
1,555,860,366.1255
19,798
pythondev
help
hi, need guidance on easiest way to do this. i have multiple assets, each with multiple data points. I’m looking to assign a value to each asset based on decisions on each of these data points. As an example, each asset being a house, and data points including number of windows, garage door, broken fence, etc., each house would have a score. Is there a recommended way of coding this besides a bunch of if statements and adding/subtracting from a score?
2019-04-21T21:56:56.129800
Sophia
pythondev_help_Sophia_2019-04-21T21:56:56.129800
1,555,883,816.1298
19,799
pythondev
help
<@Sophia> Your question is quite vague. But here is a way. Assign “costs” to each data point`a_i` on your asset. Assign a weight `w_i` to each `a_i`. Then for all `n` data points in your asset, your score is the dot product: ``` S = a1*x1 + a2*x2 + ... an*xn ```
2019-04-22T00:46:48.134400
Rebeca
pythondev_help_Rebeca_2019-04-22T00:46:48.134400
1,555,894,008.1344
19,800
pythondev
help
How do you know when to refactor and split logic in one function into 2 or more?
2019-04-22T02:23:09.135600
Conchita
pythondev_help_Conchita_2019-04-22T02:23:09.135600
1,555,899,789.1356
19,801
pythondev
help
Reason I ask is I'm writing unit tests now and it feels like it would make sense to move a piece of logic into a separate function
2019-04-22T02:24:05.136600
Conchita
pythondev_help_Conchita_2019-04-22T02:24:05.136600
1,555,899,845.1366
19,802
pythondev
help
That's a good reason. If you ever find yourself using "and" in the function name, that's another sign, heh heh.
2019-04-22T02:26:51.137600
Sasha
pythondev_help_Sasha_2019-04-22T02:26:51.137600
1,555,900,011.1376
19,803
pythondev
help
Some people go by the "if it's longer than easily fits on my screen" rule.
2019-04-22T02:28:34.138200
Sasha
pythondev_help_Sasha_2019-04-22T02:28:34.138200
1,555,900,114.1382
19,804
pythondev
help
`if it's longer than easily fits on my screen` nowhere near that haha
2019-04-22T02:35:40.138500
Conchita
pythondev_help_Conchita_2019-04-22T02:35:40.138500
1,555,900,540.1385
19,805
pythondev
help
I'm just trying to make it easily readable and testable
2019-04-22T02:36:05.138900
Conchita
pythondev_help_Conchita_2019-04-22T02:36:05.138900
1,555,900,565.1389
19,806
pythondev
help
Go for it. A too-long function is sufficient, but certainly not necessary.
2019-04-22T02:40:41.140000
Sasha
pythondev_help_Sasha_2019-04-22T02:40:41.140000
1,555,900,841.14
19,807
pythondev
help
<@Conchita> I follow SRP strictly for everything
2019-04-22T02:58:01.140500
Valeri
pythondev_help_Valeri_2019-04-22T02:58:01.140500
1,555,901,881.1405
19,808
pythondev
help
Every block of code should try and do just one thing and do it well
2019-04-22T02:58:24.141100
Valeri
pythondev_help_Valeri_2019-04-22T02:58:24.141100
1,555,901,904.1411
19,809
pythondev
help
<@Conchita> I have two reasons: 1. a part of the logic is required to be re-used by another function (I like to copy-paste things that look familiar before refactoring the duplication) 2. it contains more than 15-20 lines of code (this is a very vague limit, for performance critical things it can be extended without a doubt)
2019-04-22T03:06:04.143500
Chester
pythondev_help_Chester_2019-04-22T03:06:04.143500
1,555,902,364.1435
19,810
pythondev
help
For example, I have this function <https://github.com/malinoff/amqproto/blob/master/amqproto/serialization.py#L99-L156> that spans over more than 50 lines, but this is a requirement because this function needs to perform fast
2019-04-22T03:07:20.144300
Chester
pythondev_help_Chester_2019-04-22T03:07:20.144300
1,555,902,440.1443
19,811
pythondev
help
If you look at other functions/methods in amqproto, you'll mostly see bodies with less than 10 lines
2019-04-22T03:08:21.144900
Chester
pythondev_help_Chester_2019-04-22T03:08:21.144900
1,555,902,501.1449
19,812
pythondev
help
usually 3-4
2019-04-22T03:08:26.145100
Chester
pythondev_help_Chester_2019-04-22T03:08:26.145100
1,555,902,506.1451
19,813
pythondev
help
Thanks for the example, will take a closer look at it later. For now I noticed something else in your code - in the bottom you have this ```# Avoid circular imports problem. from .methods import Method # noqa from .content import Content # noqa ``` Why the . in `.methods`?
2019-04-22T03:19:33.146300
Conchita
pythondev_help_Conchita_2019-04-22T03:19:33.146300
1,555,903,173.1463
19,814
pythondev
help
These are relative imports
2019-04-22T03:20:18.146700
Chester
pythondev_help_Chester_2019-04-22T03:20:18.146700
1,555,903,218.1467
19,815
pythondev
help
And why do you have import statements in the bottom of the file?
2019-04-22T03:20:23.146900
Conchita
pythondev_help_Conchita_2019-04-22T03:20:23.146900
1,555,903,223.1469
19,816
pythondev
help
The comment says it :slightly_smiling_face: I use functions from `serialization` module in `methods` and `content` modules, but for convenience I also use `Method` and `Content` methods in `serialization`
2019-04-22T03:21:23.148100
Chester
pythondev_help_Chester_2019-04-22T03:21:23.148100
1,555,903,283.1481
19,817
pythondev
help
I read the comment but my current Python lvl isn't high enough to know it lol
2019-04-22T03:22:31.148600
Conchita
pythondev_help_Conchita_2019-04-22T03:22:31.148600
1,555,903,351.1486
19,818
pythondev
help
hey folks, using python2, {'01': 'something1', '02': 'something2', '03': 'something3', '04': 'something4'} to ordered list with keys as 01, 02, 03, 04
2019-04-22T04:17:36.150000
Nena
pythondev_help_Nena_2019-04-22T04:17:36.150000
1,555,906,656.15
19,819
pythondev
help
Not sure if I catch what you mean. This will print the keys to terminal.
2019-04-22T04:21:26.150300
Conchita
pythondev_help_Conchita_2019-04-22T04:21:26.150300
1,555,906,886.1503
19,820