« first day (2886 days earlier)      last day (2078 days later) » 
00:00 - 18:0018:00 - 00:00

6:02 PM
Does this seem like a valid answer deletion? 10k + stackoverflow.com/a/10465063/3483203
 
perhaps it was plagiarism
 
DSM
More likely it was deleted for lack of disclosure: that's the author of the package.
 
ah, good catch
 
DSM
I'm just guessing here, but I could imagine if he posted a bunch of similar answers to lots of questions at the same time the Powers (and the Lizard used to be a power) decided to delete them in bulk.
 
yeah, could've been duplicate answers on multiple questions
 
6:09 PM
@DSM 35 days count down, you ready?
 
DSM
Always. B-)
 
today was great news for Montreal
some over due spring cleaning was done
Vegas has to deal with it now (and it will end up working well for them, funny enough) 😀
 
DSM
Pacioretty? I was a little surprised, TBH.
 
oh good god no way
I was waiting for it. I was surprised it happened this late.
 
DSM
Was it personality stuff? The injury? I mean, the guy can score. Presumably that's why Vegas wants him.
 
6:15 PM
Admittedly, the team and org really did not help matters. He had no one to play with. But at the same time he had way too many gaps of no show games. Maybe it is his leadership style? But it seemed like that was non-existent too
 
I heard he had a beef with the org and upper management. Oh well not our problem. :)
I think we can win within 3 years :D
 
DSM
Hmm, apparently he'd been making "get me out of here" noises since last year. Guess it's less unexpected than I thought..
@MooingRawr: I'll be happy for regular playoff victories. :-)
 
6:30 PM
If we do, I would take a day off and join the parade, and the party downtown. :) Currently, I'm thinking of picking up some tickets for some random games on a Tuesday or Thursday.
 
6:43 PM
Whenever I see people refer to x = int(input()) as "casting", I feel somehow that this is incorrect. But I can't articulate exactly what is wrong with it.
Maybe it's because of my C++ origins, a language which (as far as I could tell) did not have easy string-to-int conversion.
 
Sam
Do you guys use any tools for writing documentation for parts of your code i.e. database schemas, apis? I don't really want to use MS word..
 
"You can cast a double to an int, but not a string to an int. Therefore, int(input()) can't be casting", says the brown smudge on the ground that represents my remaining C++ knowledge
 
@Sam are you asking for documentation outside of your code or inside of the code ?
 
@Kevin I imagine casting as something that reinterprets existing data (which is probably an incorrect notion)
 
Sam
I guess it's more about the project scope rather than the code itself
 
6:47 PM
@AndrasDeak mm hmm, I originally had something typed up about how casting retains the internal representation of the data even if this causes the observed value to change a lot, but thinking about it again I think C++ had both kinds
 
Sam
A place where I can write about database designs... or what modules achieve. With diagrams etc
 
you can cast an int to double which sinks my understanding, but I agree that calling what you posted casting is just ew.
 
hmm not sure what the standard is these days, but in our company we use an internal wiki system...
 
Specifically I think pointer casting is the one that retains internal data
 
I'd rather not call anything "casting" other than numpy arrays' .astype method and .view method
 
Sam
6:48 PM
Is your wiki made by yourselves?
 
@Kevin yup
 
Sam
I've seen you can make pages with Github and that looks fairly cool
 
@Sam I see readthedocs.org get used a bunch. Not sure how much it helps you copmpose documentation, as opposed to host it in an aesthetically pleasing way.
 
@Sam meta.wikimedia.org/wiki/Setting_up_an_internal_Wikimedia_wiki I was not part of the process but I would imagine this might be useful.
 
Sam
@Kevin that looks neat
 
6:50 PM
I think I'll just keep doing what I was doing: grumble to myself, but don't do anything, when I see people use "casting" in this context
 
what would you call that if it's not casting ? (at kevin's comment)
Typing? Creation of object?
 
"type conversion", perhaps. But a two word phrase isn't as catchy.
(even that isn't so great since the reader may assume that the object changes its type, rather than a new object with a different type being created, but meh)
 
I'd just call it conversion. Convert a string to an int.
 
It's pretty much impossible to convey information in a way that can't be misinterpreted, but that doesn't stop me from trying
I know at least some users assume in-place type change is possible, or else they wouldn't attempt to do x = input(); int(x); print(x*2)
 
7:08 PM
clearly they need intify(x)
 
Hello! I'm just getting into python, and pandas and playing with data frames. I want to understand more about machine learning because I have no experience. Where is a good place to start?
 
are you asking for a guide for machine learning with pandas ? or are those two separate things ?
 
the two things are seperate, but using pandas with what I learn seems more hands on
again, I have no idea what I'm talking about, so any guidance is appreciated
 
For Panadas, they have a really well written tutorial and api on their site: pandas.pydata.org/pandas-docs/stable/tutorials.html and for machine learning, that's a broader topic, I'm assuming you want some sort of tensorflow which they also have a good tutorial on tensorflow.org/tutorials or maybe some sort of scikit learning scikit-learn.org/stable/tutorial/index.html
 
@SteelFox my recommendation is to learn one well, before trying to learn the other. Either get comfortable with machine learning, then learn how to do it with python, or learn python well, and then learn how to leverage it for machine learning.
My goto would be the first approach
 
7:13 PM
Those might be a good starting point to learn how to use them. or are you asking for a broader topic of machine learning in general, in which case, the library/google might help you more on that topic.
 
thanks for the guidance!
also, a friend just recommended Andrew Ng's coursera course. is that a good start
I have a good foundation in Math, and I'm familiar with C and Java. I don't want a slow paced learning curve
 
I've heard good things about it. Just make sure that any machine learning course you look into isn't starting you off by throwing a framework at you. Machine learning is language agnostic, and if you have the mathematical background the implementation is straight forward.
 
FYI - starring things aren't for personal bookmarking. The feature is more for the side "star board" you see to the right of the chat window that is more for items that would be interesting/funny to the room in general
 
I'm not comfortable with the use of the term "casting" in Python. In C-like languages it's an action that (semantically speaking) operates on the type of an expression, not its value.
OTOH, I guess there's nothing stopping us from using it in Python in a more general sense of conversion, except it may mislead people about how Python's data model works.
 
my bad @idjaw. first day on this chat
 
7:17 PM
no worries.
did you star that too? 😛 haha
 
To add to idjaw, you don't need to star answers you get in this room, we are happy to help you and a thank you is more than enough for us.
 
no lol
 
Star board is for more interesting topics that you think would benefit people who comes into this chat room for maybe a chuckle or interesting news.
 
@PM2Ring It should be reserved for voodoo a la DnD.
 
I am pleased to find that my casting opinion is not completely unfounded
In a perfect world, it should be reserved to refer to the action of putting a nonland card onto the stack in Magic: The Gathering.
 
7:30 PM
Honestly though, I've been taught "casting" in Python since Grade 9, so yeah.... kinda wrong bias I might be.
 
I bet there are some proponents of casting in here that just don't feel like getting into a semantics slapfight with me
That's fine. Let the uneasy peace between our people continue for another generation.
 
Apart from what I said earlier, I'm not averse to "casting" being co-opted by Python. I'm unlikely to use it myself, but I can't say I've never used it. And as Mooing says, it's fairly entrenched, so we aren't likely to convince the community to stop using it.
 
abc
@SteelFox he's good and he explains things clearly. I'm following these days the convolutional NN module of Ng's course and seems well done. I would say it's a good starting point to have a general picture.
 
@PM2Ring that merely means that the other half of the community has to cave
 
I wonder if there are any SO questions asking how to cast a regular string to a raw string. ;)
 
7:43 PM
thanks @abc
ill give it a shot
 
@PM2Ring :|
 
@PM2Ring why..... :\
 
@MooingRawr See the transcripts for a very recent discussion about raw string literals, and the confused ideas some newbies have regarding them.
 
Good ol' map-territory confusion
 
abc
@user3483203 the fact is that python seems to currently be the de facto standard for ML &co and there are many libraries that can make life a lot easier and save time, however I totally agree on the language agnostic.
 
7:48 PM
Exactly. Ceci n'est pas une raw string.
 
hello all

I have a dependency python-dateutil that a package needs but is out of date. I upgraded the package with pip install python-dateutil to 2.7.3. but when i list it with pip list, the version is still 1.5. Any ideas on why there is this discrepancy?
 
instead of pip ... use python_version -m pip ... to be sure
the most common problem is using the wrong pip
 
@AndrasDeak hey, thanks for responding. sorry what do you mean by "python_version -m pip ..." could you give me a more explicit example thanks. btw i am trying to use Flask-appbuilder but its saying that my python-dateutils was not found; thats why im asking about this
 
python3.7 -m pip install -U python-dateutil
 
8:03 PM
@Embedded_Mugs are you in a virtual environment? That fixes most stuff
 
8:24 PM
cbg
 
cbg
 
hmm that didnt work either (i did swap 3.7 with my version)
@AndrasDeak . ill try using pipenv
 
DSM
"that didn't work" isn't very informative; what Andras recommended should have worked, or failed noisily.
 
of course in that exact form it's unlikely to work: either it needs python in a virtualenv, or it needs sudo or --user
unless it works in windows
 
DSM
You don't need to be in a virtualenv to use python -m pip, I don't think, although it's good practice.
I've reread this question several times and am honestly not sure where the OP's confusion is coming in.
 
8:36 PM
One vote left today
been a long time since I've gone oom
 
@DSM just to be clear I meant that in a virtualenv it's not called python3.7. I always use this form and rarely use a virtualenv.
 
DSM
Ah, gotcha.
 
sorry, the problem was 'python2.7.3 wasnt a recognized command'. I tried python3.7 and it said that it was installed but running

fabmanager create-admin --app superset

still it gives

pkg_resources.DistributionNotFound: The 'python-dateutil<3,>=2.3' distribution was not found and is required by Flask-AppBuilder
 
I'm sorry to say that unsuccessful installs don't help with installation problems
the point is to use the same version of python (the same command) that you use to run your script
and it probably doesn't hurt if you do the same thing when running flask
 
DSM
Okay, I just created a new python 3.6 virtualenv, installed python-dateutil and flask-appbuilder, and both fabmanager create-app and fabmanager create-admin --app superset managed to start without any dateutil problems.
 
8:43 PM
I suspect fabmanager corresponds to the wrong python version, probably 2.7 but that would need python2.7 instead of python2.7.3
 
DSM
Plausible. The most common source of problems like this is, as you say, a mismatch between Python versions involved (console, pip, program.)
 
I also hope that my previous remark applies to fabmanager too via pythonwhatever -m fabmanager ...
 
DSM
Unfortunately not, it's a script and not an importable module.
 
:(
so if there are multiple python versions...?
doesn't sound so fab to me ;)
 
DSM
Work within the activated environment. :-)
 
8:46 PM
in that case @Embedded_Mugs definitely has to use an env
 
how is this called? a range which is "split" like from 0 to 9, and then from 11 to 15
 
"it's the only way to be sure"
 
DSM
Heh. Well, OP could still do python (path-to-fabmanager) if needed.
 
Hi guys thanks for the help. I'm new to python (I come from a node.js background). I'm going to learn about virtual environments, follow your guys suggestions and work from there
 
good luck :)
@Null I don't think there's a name for that (if there is I'm unfamiliar with it)
you can describe it as being non-contiguous, perhaps
 
8:49 PM
virtual environments are bless since if you are working on multiple projects with different dependencies
 
but that's not really a range at all
 
1023
Q: Random string generation with upper case letters and digits in Python

HellnarI want to generate a string of size N. It should be made up of numbers and uppercase English letters such as: 6U1S75 4Z4UKK U911K4 How can I achieve this in a pythonic way?

 
you could've just put the link in your first message (appending it to the text in the message :|)
 
but i guess i can implement it in another way :)
 
and if you want to do "this" where "this" is a python question: what's the problem?
 
8:56 PM
@Null There's a simple way to do that with a generator expression. And a more efficient way to do it by chaining the 2 ranges together.
 
@PM2Ring how about just adding a list with exactly those characters i want?
 
@Null did you misunderstand what I said?
 
@Null I don't see the connection between your split range question and the question about making strings of letters and digits.
 
which was what i wanted to do at first
 
python2-specific
 
abc
9:01 PM
reading this question stackoverflow.com/questions/52265195/… I had a general curiosity (not about that question). With python does it exist a case (or more) in which using global variables leads to some improvement (in general terms) with respect to the same solution without a global variable ? In C I've used them, but never in python and I'm trying to figure out when they could be useful.
 
global does have it uses, but generally not recommended for new users because they tend to global everything, and avoid passing variables into functions and what not. It gets messy when you have multiple global variables when it isn't needed. (give this a read if you want stackoverflow.com/questions/19158339/…)
 
DSM
@PM2Ring: hey, look at you answering a HNQ. :-)
 
abc
@MooingRawr thanks for the ref, I was reading that but seems more to be about disadvantages than about some use case in which they could be useful
 
well if there are only disadvantages... ;)
 
@Null Apart from it being Python 2, it's not good code. It does several things that are not good practice. However, it can be repaired & rewritten for Python 3.
 
9:06 PM
literally the only benefit is that they're globals
 
ehm, how the heck is "u5qRf70w0P61uNk0cMN0oztHVhCti2Az" a medium strength password if it is the max length for the form i want to copy it in...
 
DSM
Okay, here's a use case: you want to have a module-level constant, but you want to be able to test it and you don't want its construction to run on import. You want to bundle the setting of the constant entirely up into a function. global lets you do that.
I have an example of that in one of my codebases.
 
@DSM I did? Which one?
 
abc
thanks for the good example, it perfectly addresses what I meant
 
DSM
@PM2Ring: the radioactive gas one.
 
9:08 PM
due note that globals aren't like other languages in Python, you can still reference a "global" variable without declaring it's a global, however if you want to change that variable inside a function you will have to declare it
 
I truly don't understand why this hot mess is getting votes stackoverflow.com/a/52265229/2336654
 
@DSM Cool!
 
@Null there's no special character in it :P
 
this dupe of questions about what does join/merge do in pandas
 
@AndrasDeak i tried some special chars, the form said invalid character :/
 
9:10 PM
@piRSquared I can't handle a question like that about a post that has no downvotes. Surely if you're so discontent with the post you should've downvoted yourself
which is not to say that it should be downvoted; I didn't read the answer
@Null give my regards to the dev who wrote the form
 
@smci if you can find a dupe that merges based on partial string matching I'll close, but it's not just a generic merge dupe
 
@AndrasDeak I'm out of votes. I have to go undo a vote )-:
 
@AndrasDeak well i kinda am into this kind of humor too :D
 
@piRSquared you're saying that I should stop using not only apply, but for loops as well with pandas?? Heresy!
 
@Null Are you trying to make random passwords?
 
9:12 PM
@user3483203 Ah thanks for pointing that out. The question needs to say so more prominently. But still, isn't there a target?
 
I guess another positive for global is when you know your module will be referencing that one variable everywhere and it's alright to modify it anywhere in the module, for example a global counter of some sort, but to me it seems kinda weak still..
 
@PM2Ring yeah
 
@user3483203 for loops have their place. But... yeah
 
@AndrasDeak oops, s/question/remark
 
I remember reading about how "if you need a for loop in Pandas you are doing it wrong", not sure if I would agree with it but I know little to nothing about Pandas.... other than the cute useless bear ones.
 
9:17 PM
@Null Take a look at random.choices. That will give you strong passwords, if your passwords are long enough. So yes, you need to first build a list of the chars that are valid in a password. However, if you need to comply with dumb password rules, you may have to construct the password in a couple of stages.
 
Feel like a data janitor
 
@PM2Ring is length*dumbpassword=good password? like thisismypasswordthisismypassword for example
 
@Null if we're just discussing units of entropy, then that's a very secure password
I always think back to: xkcd.com/936
 
DSM
You need to think of strength in terms of strength against an attacker.
 
@Null It's ok, but I'd prefer to avoud exact repetition like that. Are you free to create passwords however you like, or do you have to conform to someone else's rules of what the insist a strong password looks like?
 
9:25 PM
But honestly, I don't think brute forcing is still a common method for actuall attacks.
 
@PM2Ring well i guess 4 random english words will do the trick^^
eventually someone keylogs me, or i install the virus myself or whatever, <- windows user xd
 
@user3483203 in university, in my security class, we had to demonstrate how to crack our prof's password, you wouldn't believe the amount of brute force variant solutions...
 
Also, what DSM said. :) There are a bunch of standard cracking techniques that work on overly simple passwords, primarily things like birthdays, or one or two words found in a dictionary. Standard password rules (like including special chars) are designed to make those attacks fail, or at least less likely to succeed.
 
DSM
That password consists of four English words repeated twice, where the first three words are a common English phrase, and the last is literally the word "password". That makes life much easier for the attacker.
For example, when I google 37b6f9b43749e598c58ba1b485c4fea38823fe42, I get a result, which lets me know it's the SHA1 for "this is my password". The first rainbow table site I went to had it as well.
 
@user3483203 True, but it's still useful if you're trying to crack a whole collection of unsalted hashes. If you have a 100,000 hashes that you might match by brute force, it won't take long to get some hits.
 
9:34 PM
That's what I store all passwords as plain text so I don't have to worry about salting them
 
DSM
#timesaving
 
Plus makes it easier for users to recover their password, cuz I can just email it to them
So I'm being sarcastic, but my utility company did just that last week
Called them up, got connected with their IT guy, he was literally storing customer passwords in a csv
Completely unencrypted
 
But the csv file was probably latin-1 encrypted encoded, so it's fine, right?
 
No, he was just using windows-style line endings so linux hax0rs couldn't attack it
 
DSM
Foiled again.
 
9:38 PM
Smart.
 
I hate it when the security policy forces you to change your password regularly, but is able to tell you that your new password is too similar to a previous password. I guess they can do that safely by saving the hashes of a few partial passwords, as well as the full one. But how can you trust that they're actually doing that?
 
I'm seriously wondering why browsers sending plain text passwords to servers is still a thing. Surely we could implement a protocol where the website chooses a key derivation function, and the browser only sends the derived key to the server rather than the plain text input...?
 
DSM
@PM2Ring: my office does that. :-( I spent the time to figure out what the minimum perturbation which beats its similarity filter is, and now do that every quarter.
 
surely browser-specific programming has been governed by uniform rationality
@DSM eh, you can't do "too similar" without storing plaintext, can you?
unless the hash is "append '_hashed' to the password and rot13"
 
@Aran-Fey There's this thing called https...
 
DSM
9:45 PM
Well, you could simply apply a bunch of modifications, hash them, and see if you collide with previously stored hashes (which is kind of like what PM2R was proposing).
 
My company used to require the monthly changes, but NIST released new guidelines at the beginning of this year that say the frequent changes are counterproductive, so they axed it
 
@PM2Ring But that only protects you against the man in the middle, right? The server still has access to the plain text password, no?
 
wim
Why are people delete-voting this question and downvoting the answer? Am I missing something obvious? change the working directory of imported python file [duplicate]
 
@Aran-Fey Ah, right. I get what you're saying now.
 
9:47 PM
hourly changing passwords of length=256characters, way to tribute to the enigmamachine :)
lol somewhere such things happen haha
 
abc
actually no, I mean the server usually just gets the hash of your password, it should not get the plain text one as far as i know
 
DSM
The server shouldn't even get the hash of my password; it should simply be convinced that I know it.
 
@wim The downvotes might be a "this solution has been posted dozens of times already" kind of thing I guess. But the delvotes are very weird.
 
payload = {"it's_dsm": True}
 
Is there a way to see who cast a delvote?
 
9:51 PM
Funny, I was going to mention Enigma a little while ago. The Germans thought it would make Enigma stronger if a char was always changed, i.e., it could never map to itself. But they were dead wrong. By eliminating the identity mapping they made it weak enough for the Allies to crack it.
 
@user3483203 not until it's deleted, same with close votes
 
@wim Actually, I'm pretty sure that Path(__file__).parent doesn't always work correctly. I forget why, but I've adopted doing Path(__file__).absolute().parent because it's more reliable
 
wim
Example of a case where it doesn't work?
 
Dunno. I'll experiment though.
 
wim
@Aran-Fey I have not seen this solution posted dozens of times. I don't think I've even seen it posted once (of course, it was not an option available on the 2012 dupe).
 
9:53 PM
@DSM You mean like a zero-knowledge proof? Those things are weird. Never understood them.
 
DSM
@Aran-Fey: yep, that's what I had in mind. I think they're really cool.
 
I wish I could set my home computer to be a bit less strict about my password, like it it's between 12-3AM and I was close, just give it to me.
 
@wim one, two. They're harder to find than I thought they'd be, but they do exist
 
my password is a single digit, and the hint is the digit, now...
(on a windows machine, so who cares)
 
yeah, passwords are the least of your problems
 
10:00 PM
yolo :D
 
wim
@Aran-Fey hmm, those both look suboptimal to me. the first has a frame hack, and the second is incorrect weird
 
@user3483203 df1['movie'].apply(lambda movie_title: df2['FILM'].str.contains(movie_title)) is nice but returns a 4x5 matrix, how to get only the (unique or None) match cols?
 
wim
>>> Path('myfile.py').parent
PosixPath('.')
>>> Path('myfile.py').parents[0]
PosixPath('.')
My bad, it does actually work correctly for no parents. I assumed this would be IndexError or something.
 
@smci you're looking for df1['movie'].apply(lambda movie_title: df2['FILM'].str.contains(movie_title)).any(1), but apply is suboptimal
 
Okay, let me put it this way for you:
1) User sees an answer to an obvious duplicate
2) User faintly remembers having seen `pathlib` solutions to that problem in the past
-> User downvotes answer
 
10:08 PM
@user3483203 Yeah thanks. I'll post it anyway as an alternative. In this case it wasn't a general partial(/fuzzy) sring match, just .startswith() . Still no canonical, sigh...
 
@smci I would prefer [bool(re.match(r'|'.join(df1.movie), m)) for m in df2.FILM]
 
wim
so we downvote answers on dupes now? I must have missed the memo.
 
@user3483203 How do I do something like [ df2.FILM.str.startswith(title) for title in df1.movie ] . What's wrong with .startswith(), seems the natural choice in this case?
 
@wim for obvious dupes some users^[who?] sometimes do^[citation needed]
 
df1.movie.apply( lambda title: df2.FILM.str.startswith(title) ) ...
Yay! df1[ df1.movie.apply( lambda title: df2.FILM.str.startswith(title) ).any(1) ]
 
wim
10:14 PM
chat support for wikipedia markdown leaves some to be desired :)
 
How do I do df2['FILM'].str.contains(title) for title in df1['movie'] without apply()?
 
10:32 PM
@wim Well, if similar answers to similar questions already exist, then the new answer can be downvoted on grounds of being "not useful"
 
wim
10:49 PM
@Aran-Fey I was about to say "fair enough" but then ... I think it's kind of on the mean side, not very fair actually. So I'll just say "understandable enough" :)
I mostly just wanted to know if I was missing something technical like, it doesn't work to use pathlib because of X reason, not missing something because of whatever silly SO politics
 
I couldn't reproduce a problem with Path(__file__).parent, so I guess I'll start doing it that way again until it bites me
 
I need help with this: dpaste.com/25BPG3J
I would like to create these 3 lines for each item in subnet/vlid list
I am able to do only 1
This is the result I am looking for:
create vlan10-router tag 10
enable vlan10-router ipaddress 10.10.10.0/24
enable port 17
!
create vlan20-router tag 20
enable vlan20-router ipaddress 10.10.20.0/24
enable port 17
!
create vlan30-router tag 30
enable vlan30-router ipaddress 10.10.30.0/24
enable port 17
!
create vlan40-router tag 40
enable vlan40-router ipaddress 10.10.40.0/24
enable port 17
!
 
have those uploadfilters any chance?
i mean if i want to i can still encrypt my data
 
wim
11:12 PM
@Aran-Fey I moved the modern approach onto the target. Let's see if that gets downvoted too...
 
11:26 PM
@wim that sounds like the idiomatic thing to do
Let's hope not
@Damon work with a copy of data in the loop and move the print inside the loop?
I have to get to bed but I thought I'd mention this
Rhubarb
 
thanks
 
oops, you're changing the original data 3 times and storing it separately. So ignore what I said about the copy. But you need filedata=filedata.replace(...) the second and third time
 
I think I almost figured it out
I added print and I can see each block
 
OK :)
 
How do I add each block to a variable so it becomes 1 config
for id, net in zip(vlid, subnet):
        filedata = data.replace('{{vlan_type}}', str(vlanType))
        filedata = filedata.replace('{{port}}', str(port))
        filedata = filedata.replace('{{ems_switch}}', str(router_name))
        filedata = filedata.replace('{{vlid}}', str(id))
        filedata = filedata.replace('{{vlan_ip}}', str(net))
        configs =  configs + filedata

    print configs
 
11:37 PM
Sorry, not MCVE enough and I have to go :)
 
ok thanks
 
Others might help if you provide an MCVE
 
configs =  configs + filedata
was talking about this line
each loop, it saves that data and keeps appending
found the issue :)
 
(If you control the input you could switch to single braces and use a single call to data.format or data.format_map)
(And some or all of those str() calls is probably redundant)
 
00:00 - 18:0018:00 - 00:00

« first day (2886 days earlier)      last day (2078 days later) »