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 | Even though this is really abstract hacky python, it's still interesting. :taco: <@Carmen> | 2019-02-07T15:44:27.300600 | Gemma | pythondev_help_Gemma_2019-02-07T15:44:27.300600 | 1,549,554,267.3006 | 7,221 |
pythondev | help | particularly `super().__init__(C.foo)` | 2019-02-07T15:44:58.300800 | Gemma | pythondev_help_Gemma_2019-02-07T15:44:58.300800 | 1,549,554,298.3008 | 7,222 |
pythondev | help | Yay tacos! Thank you! | 2019-02-07T15:47:50.301600 | Carmen | pythondev_help_Carmen_2019-02-07T15:47:50.301600 | 1,549,554,470.3016 | 7,223 |
pythondev | help | I'm getting an error writing the results of json.dumps to a file. Tried a few variations.
```
def write_courts(...):
...
for court in courts:
jdata = json.dumps(get_courts_from_massgov_url(court[1]), ensure_ascii=True).decode()
PlaygroundSection('sources').write_file( court[0] + '.json',jdata)
...... | 2019-02-07T16:24:32.303800 | Fredric | pythondev_help_Fredric_2019-02-07T16:24:32.303800 | 1,549,556,672.3038 | 7,224 |
pythondev | help | wrapping it in `unicode()` results in the error `TypeError: decoding Unicode is not supported` | 2019-02-07T16:26:27.304200 | Fredric | pythondev_help_Fredric_2019-02-07T16:26:27.304200 | 1,549,556,787.3042 | 7,225 |
pythondev | help | so, `content` is a json stringified? | 2019-02-07T16:27:00.304800 | Hiroko | pythondev_help_Hiroko_2019-02-07T16:27:00.304800 | 1,549,556,820.3048 | 7,226 |
pythondev | help | what version python? | 2019-02-07T16:27:18.305300 | Hiroko | pythondev_help_Hiroko_2019-02-07T16:27:18.305300 | 1,549,556,838.3053 | 7,227 |
pythondev | help | not in every instance, I am using a function in someone else's class. i can submit a pull request to fix a bug there though. Python 2.7 | 2019-02-07T16:27:22.305500 | Fredric | pythondev_help_Fredric_2019-02-07T16:27:22.305500 | 1,549,556,842.3055 | 7,228 |
pythondev | help | <https://stackoverflow.com/a/28830404> | 2019-02-07T16:27:47.306200 | Hiroko | pythondev_help_Hiroko_2019-02-07T16:27:47.306200 | 1,549,556,867.3062 | 7,229 |
pythondev | help | I'm planning to ugprade to python 3.5 soon. so is the author of the overall platform, which is where this bug first appeared. | 2019-02-07T16:28:03.306700 | Fredric | pythondev_help_Fredric_2019-02-07T16:28:03.306700 | 1,549,556,883.3067 | 7,230 |
pythondev | help | gotcha | 2019-02-07T16:28:09.306900 | Hiroko | pythondev_help_Hiroko_2019-02-07T16:28:09.306900 | 1,549,556,889.3069 | 7,231 |
pythondev | help | Hmm. I do need to go through the class's `write` method in order to place the file in the correct directory.
but running `unicode(jdata)` results in an error because `write_file` is using `.encode('utf8')`.
I could suggest that the author use the `codec` module | 2019-02-07T16:33:05.309400 | Fredric | pythondev_help_Fredric_2019-02-07T16:33:05.309400 | 1,549,557,185.3094 | 7,232 |
pythondev | help | I don't really understand why one part of the function requires unicode, and the other fails if it receives unicode. do you think the `write_file` method works? maybe the author didn't test when preparing to upgrade to Python 3.5? | 2019-02-07T16:34:08.310300 | Fredric | pythondev_help_Fredric_2019-02-07T16:34:08.310300 | 1,549,557,248.3103 | 7,233 |
pythondev | help | not sure, but unicode issues are one reason for the python 2-3 update | 2019-02-07T16:36:45.310700 | Hiroko | pythondev_help_Hiroko_2019-02-07T16:36:45.310700 | 1,549,557,405.3107 | 7,234 |
pythondev | help | py3 simplifies things quite a bit | 2019-02-07T16:36:54.311000 | Hiroko | pythondev_help_Hiroko_2019-02-07T16:36:54.311000 | 1,549,557,414.311 | 7,235 |
pythondev | help | Is there an easy way to call a Python module that's located in the '/usr/sbin' folder from another Python program? I'm seeing that examples only show the Python module being executed to parse a specific syntax. It's for the JsonToCsv module that's available on PIP | 2019-02-07T17:10:46.313600 | Granville | pythondev_help_Granville_2019-02-07T17:10:46.313600 | 1,549,559,446.3136 | 7,236 |
pythondev | help | I thought I could get away with calling the functions of the module, but I'm not seeing a clear way to get my syntax to parse from doing that | 2019-02-07T17:11:23.314200 | Granville | pythondev_help_Granville_2019-02-07T17:11:23.314200 | 1,549,559,483.3142 | 7,237 |
pythondev | help | Managed to sneak this gem into production code. Why do you think it's hacky though? Thought it was pretty elegant way to type check potential unknown classes | 2019-02-07T17:35:17.316100 | Ted | pythondev_help_Ted_2019-02-07T17:35:17.316100 | 1,549,560,917.3161 | 7,238 |
pythondev | help | Maybe your real code is different, but using a class attribute `C.foo` in a delegated `__init__` call in a subclass way down the inheritance chain seems complicated. | 2019-02-07T17:43:22.316300 | Gemma | pythondev_help_Gemma_2019-02-07T17:43:22.316300 | 1,549,561,402.3163 | 7,239 |
pythondev | help | I may be looking at this too literally though. | 2019-02-07T17:46:28.316500 | Gemma | pythondev_help_Gemma_2019-02-07T17:46:28.316500 | 1,549,561,588.3165 | 7,240 |
pythondev | help | Hi all - I'm passing back a string with special characters via ajax and its throwing an error. Here's the string: "Parish, Evelyn C.". I tried `encodeURIComponent` in my jquery but that didn't seem to do anything. Is there a way to have jquery just treat it as a raw string? | 2019-02-07T20:13:38.319100 | Maricruz | pythondev_help_Maricruz_2019-02-07T20:13:38.319100 | 1,549,570,418.3191 | 7,241 |
pythondev | help | If you're returning it in the response as a string, jQuery should absolutely be treating it as a string in your callback. Can you post the error you're getting and the code in question? | 2019-02-07T20:22:22.319800 | Carmen | pythondev_help_Carmen_2019-02-07T20:22:22.319800 | 1,549,570,942.3198 | 7,242 |
pythondev | help | Sure, ya. I have a Django object that is being seralized into json:
```
data = serializers.serialize(
'json',
[ActionItem.objects.get(id=int(<http://request.POST['id']|request.POST['id']>))],
use_natural_foreign_keys=True,
)
```
When I pass that to the template I get `Uncaught Error: Syntax error, unrecogni... | 2019-02-07T20:23:36.320600 | Maricruz | pythondev_help_Maricruz_2019-02-07T20:23:36.320600 | 1,549,571,016.3206 | 7,243 |
pythondev | help | I'm assuming because it has special characters in it or something? | 2019-02-07T20:23:43.320900 | Maricruz | pythondev_help_Maricruz_2019-02-07T20:23:43.320900 | 1,549,571,023.3209 | 7,244 |
pythondev | help | my `natural_foreign_key` returns a tuple...looks like this in the console: | 2019-02-07T20:25:40.321400 | Maricruz | pythondev_help_Maricruz_2019-02-07T20:25:40.321400 | 1,549,571,140.3214 | 7,245 |
pythondev | help | None | 2019-02-07T20:25:43.321500 | Maricruz | pythondev_help_Maricruz_2019-02-07T20:25:43.321500 | 1,549,571,143.3215 | 7,246 |
pythondev | help | Then I'm just doing this to get the name in jquery: `person_responsible = result[0]['fields']['person_responsible'][0]` | 2019-02-07T20:26:20.322100 | Maricruz | pythondev_help_Maricruz_2019-02-07T20:26:20.322100 | 1,549,571,180.3221 | 7,247 |
pythondev | help | Says it's a string in jquery... | 2019-02-07T20:27:58.322400 | Maricruz | pythondev_help_Maricruz_2019-02-07T20:27:58.322400 | 1,549,571,278.3224 | 7,248 |
pythondev | help | UGH - I had a typo | 2019-02-07T20:38:02.322600 | Maricruz | pythondev_help_Maricruz_2019-02-07T20:38:02.322600 | 1,549,571,882.3226 | 7,249 |
pythondev | help | <@Carmen> :taco: thanks for bein there anyway :slightly_smiling_face: | 2019-02-07T20:38:19.323100 | Maricruz | pythondev_help_Maricruz_2019-02-07T20:38:19.323100 | 1,549,571,899.3231 | 7,250 |
pythondev | help | Hey, I'm glad I was able to help you re-evaluate the code with fresh eyes. | 2019-02-07T20:42:32.323500 | Carmen | pythondev_help_Carmen_2019-02-07T20:42:32.323500 | 1,549,572,152.3235 | 7,251 |
pythondev | help | hey guys, does anybody have any advice for building recommendation algorithms? currently picking up python but not sure where to progress from here? | 2019-02-07T22:34:13.324000 | Reina | pythondev_help_Reina_2019-02-07T22:34:13.324000 | 1,549,578,853.324 | 7,252 |
pythondev | help | "Recommendation algorithms" is too broad of a topic. Did you have a specific algorithm you were trying to implement? What's the space you're trying to generate recommendations for? | 2019-02-07T22:54:25.325200 | Carmen | pythondev_help_Carmen_2019-02-07T22:54:25.325200 | 1,549,580,065.3252 | 7,253 |
pythondev | help | Thanks <@Carmen> | 2019-02-07T23:10:37.325400 | Francisco | pythondev_help_Francisco_2019-02-07T23:10:37.325400 | 1,549,581,037.3254 | 7,254 |
pythondev | help | Hey guys. I've got a django app throwing an error that doesn't make sense to me and I feel like eye just need a second set of eyes on it. The error is basic file i/o so it's not necessarily django specific. Anybody mind taking a look at the following image and code snippet to see if you see what I'm missing? | 2019-02-08T01:18:40.327800 | Yasmin | pythondev_help_Yasmin_2019-02-08T01:18:40.327800 | 1,549,588,720.3278 | 7,255 |
pythondev | help | None | 2019-02-08T01:19:10.327900 | Yasmin | pythondev_help_Yasmin_2019-02-08T01:19:10.327900 | 1,549,588,750.3279 | 7,256 |
pythondev | help | in_path = os.path.join(settings.PROCESS_FOLDER, 'englewood','import', 'HMUCEpicSTMTfromCASS.csv')
with open(in_path) as from_bm: | 2019-02-08T01:19:31.328400 | Yasmin | pythondev_help_Yasmin_2019-02-08T01:19:31.328400 | 1,549,588,771.3284 | 7,257 |
pythondev | help | Any chance the Django process is running as a user that doesn't have permissions to see the file, or is in some sort of sandbox that isn't allowed to get up to C:\ to follow the path back down? | 2019-02-08T01:29:22.330100 | Sasha | pythondev_help_Sasha_2019-02-08T01:29:22.330100 | 1,549,589,362.3301 | 7,258 |
pythondev | help | Would it be good practice to return a fstring in mehtod? | 2019-02-08T02:12:47.331000 | Adolfo | pythondev_help_Adolfo_2019-02-08T02:12:47.331000 | 1,549,591,967.331 | 7,259 |
pythondev | help | ```
family_name = data['family']
revision = data['revision']
return f'{family_name}-{revision}'
``` | 2019-02-08T02:12:49.331200 | Adolfo | pythondev_help_Adolfo_2019-02-08T02:12:49.331200 | 1,549,591,969.3312 | 7,260 |
pythondev | help | or is it bad? | 2019-02-08T02:13:17.331600 | Adolfo | pythondev_help_Adolfo_2019-02-08T02:13:17.331600 | 1,549,591,997.3316 | 7,261 |
pythondev | help | Sure, that's fine. It will get evaluated into a regular string before it gets returned, so from the caller's perspective it's no different than any other way the function might calculate the result. | 2019-02-08T02:46:36.333200 | Sasha | pythondev_help_Sasha_2019-02-08T02:46:36.333200 | 1,549,593,996.3332 | 7,262 |
pythondev | help | oh sweet! thanks <@Sasha> | 2019-02-08T02:53:27.333500 | Adolfo | pythondev_help_Adolfo_2019-02-08T02:53:27.333500 | 1,549,594,407.3335 | 7,263 |
pythondev | help | i changed it up to not set the variables at all | 2019-02-08T02:53:46.334000 | Adolfo | pythondev_help_Adolfo_2019-02-08T02:53:46.334000 | 1,549,594,426.334 | 7,264 |
pythondev | help | `return f"{data['family']}-data['revision]}"` | 2019-02-08T02:54:15.334500 | Adolfo | pythondev_help_Adolfo_2019-02-08T02:54:15.334500 | 1,549,594,455.3345 | 7,265 |
pythondev | help | Hello everyone, last 2 days my celery completely stopped working, tried to reinstall my whole EC2 instance, but without any luck. It gives 0 output to the console when i run it and I have no idea how to debug anything, that gives no information whatsoever. Any ideas :disappointed:? | 2019-02-08T03:34:55.336000 | Geneva | pythondev_help_Geneva_2019-02-08T03:34:55.336000 | 1,549,596,895.336 | 7,266 |
pythondev | help | Hi ! I want to use gevent.ssl to support TLSv1.2 and the current code looks like this, but in case the server doesn't support tlsv1.2 I want the fallback on tlsv1.1 but I am bit confused on how to add that to support the lower versions .
```options={'ssl_version':gevent.ssl.PROTOCOL_TLSv1_1,
'server_hostname':... | 2019-02-08T04:33:22.336500 | Otha | pythondev_help_Otha_2019-02-08T04:33:22.336500 | 1,549,600,402.3365 | 7,267 |
pythondev | help | Hi there Team,
I am stuck in on a way to email and attachment with email content (HTML) in the body.
New at Python SMTP - so the error I get is the following: AttributeError: ‘str’ object has no attribute ‘policy’
Which makes sense, but no idea how to fix? Any suggestions - I think I should look for a course on MIME a... | 2019-02-08T06:26:56.340000 | Lashay | pythondev_help_Lashay_2019-02-08T06:26:56.340000 | 1,549,607,216.34 | 7,268 |
pythondev | help | What is the full stack trace? | 2019-02-08T06:29:44.340500 | Karoline | pythondev_help_Karoline_2019-02-08T06:29:44.340500 | 1,549,607,384.3405 | 7,269 |
pythondev | help | <@Karoline> Will this help?
AttributeError Traceback (most recent call last)
<ipython-input-61-49b5bfe73d69> in <module>
107 s.login(msg[‘From’], password)
108
--> 109 s.sendmail(msg[‘From’], [msg[‘To’]], msg.as_string())
110 print(name + ” Sent Successf... | 2019-02-08T06:54:27.340600 | Lashay | pythondev_help_Lashay_2019-02-08T06:54:27.340600 | 1,549,608,867.3406 | 7,270 |
pythondev | help | What if you do `msg.attach(msg.body)`? | 2019-02-08T07:02:40.340800 | Karoline | pythondev_help_Karoline_2019-02-08T07:02:40.340800 | 1,549,609,360.3408 | 7,271 |
pythondev | help | instead of `msg.attach(email_content)`? | 2019-02-08T07:02:58.341000 | Karoline | pythondev_help_Karoline_2019-02-08T07:02:58.341000 | 1,549,609,378.341 | 7,272 |
pythondev | help | I will try that, but the email_content is the HTML body text… | 2019-02-08T07:05:47.341200 | Lashay | pythondev_help_Lashay_2019-02-08T07:05:47.341200 | 1,549,609,547.3412 | 7,273 |
pythondev | help | Sure, but why do you need to attach it again then? At any rate, basing it off of this: <https://stackoverflow.com/questions/26311030/attributeerror-str-object-has-no-attribute-policy> | 2019-02-08T07:07:06.341400 | Karoline | pythondev_help_Karoline_2019-02-08T07:07:06.341400 | 1,549,609,626.3414 | 7,274 |
pythondev | help | I saw this post but got lost in it - sorry… Thank you! | 2019-02-08T07:08:48.341700 | Lashay | pythondev_help_Lashay_2019-02-08T07:08:48.341700 | 1,549,609,728.3417 | 7,275 |
pythondev | help | Changed it and then also made `msg.body = MIMEText(email_content, 'plain')` to `msg.body = MIMEText(email_content, 'html')` | 2019-02-08T07:09:35.341900 | Lashay | pythondev_help_Lashay_2019-02-08T07:09:35.341900 | 1,549,609,775.3419 | 7,276 |
pythondev | help | And it is working! You are my SUPERHERO for the day! Merci! | 2019-02-08T07:09:50.342100 | Lashay | pythondev_help_Lashay_2019-02-08T07:09:50.342100 | 1,549,609,790.3421 | 7,277 |
pythondev | help | No problem, glad you got it working! | 2019-02-08T07:10:14.342300 | Karoline | pythondev_help_Karoline_2019-02-08T07:10:14.342300 | 1,549,609,814.3423 | 7,278 |
pythondev | help | Are you sure it's not just running in the background? Do you see the process running? | 2019-02-08T07:12:25.342500 | Karoline | pythondev_help_Karoline_2019-02-08T07:12:25.342500 | 1,549,609,945.3425 | 7,279 |
pythondev | help | hey fellas | 2019-02-08T07:17:39.342900 | Malka | pythondev_help_Malka_2019-02-08T07:17:39.342900 | 1,549,610,259.3429 | 7,280 |
pythondev | help | can you guys think of a good way to connect attributes of a class to other keys without typing the attributes in string?
have a look here to understand what i'm trying to do: <https://gist.github.com/lordlycastle/6fa9b4c15fa6988eb93575f0232dd903> | 2019-02-08T07:19:50.344200 | Malka | pythondev_help_Malka_2019-02-08T07:19:50.344200 | 1,549,610,390.3442 | 7,281 |
pythondev | help | Not really, if you're doing something like that then you need to use strings and handle cases where the key does not exist | 2019-02-08T07:58:42.345900 | Jonas | pythondev_help_Jonas_2019-02-08T07:58:42.345900 | 1,549,612,722.3459 | 7,282 |
pythondev | help | I'd recommend avoiding that pattern if you can, as you mentioned there are annoying downsides | 2019-02-08T07:59:04.346700 | Jonas | pythondev_help_Jonas_2019-02-08T07:59:04.346700 | 1,549,612,744.3467 | 7,283 |
pythondev | help | <@Jonas> `lookup_dict = {1: lambda eg: eg.a}` this is better imo | 2019-02-08T08:20:56.347400 | Malka | pythondev_help_Malka_2019-02-08T08:20:56.347400 | 1,549,614,056.3474 | 7,284 |
pythondev | help | Personally I'd disagree, it seems like more of an antipattern. While the lookup dict pattern is not super common, it's used like you originally posted almost always | 2019-02-08T08:55:48.349700 | Jonas | pythondev_help_Jonas_2019-02-08T08:55:48.349700 | 1,549,616,148.3497 | 7,285 |
pythondev | help | <@Malka> what exactly is your end goal? There may be a much better/simpler approach | 2019-02-08T09:11:15.350500 | Ashley | pythondev_help_Ashley_2019-02-08T09:11:15.350500 | 1,549,617,075.3505 | 7,286 |
pythondev | help | yeah probably. but idc anymore, it works. not paid enough to make it pretty. | 2019-02-08T09:13:50.351100 | Malka | pythondev_help_Malka_2019-02-08T09:13:50.351100 | 1,549,617,230.3511 | 7,287 |
pythondev | help | wait what about | 2019-02-08T09:21:30.351300 | Bethany | pythondev_help_Bethany_2019-02-08T09:21:30.351300 | 1,549,617,690.3513 | 7,288 |
pythondev | help | None | 2019-02-08T09:22:15.351400 | Bethany | pythondev_help_Bethany_2019-02-08T09:22:15.351400 | 1,549,617,735.3514 | 7,289 |
pythondev | help | if you insist on this | 2019-02-08T09:22:32.351800 | Bethany | pythondev_help_Bethany_2019-02-08T09:22:32.351800 | 1,549,617,752.3518 | 7,290 |
pythondev | help | you can check by comparing lookup_dict.values to the class dict | 2019-02-08T09:25:05.352300 | Bethany | pythondev_help_Bethany_2019-02-08T09:25:05.352300 | 1,549,617,905.3523 | 7,291 |
pythondev | help | for those of you who also know jenkins:
Hi all,
I have a python scripts with functions.
I want to run this python script in jenkins pipeline- Not as a whole script. run this function under step build, run that function under step install, etc... Is it possible? If so, how?
someone told me I can use python fabric for t... | 2019-02-08T09:30:05.353600 | Bridget | pythondev_help_Bridget_2019-02-08T09:30:05.353600 | 1,549,618,205.3536 | 7,292 |
pythondev | help | <@Bethany> i don't insist, that's why i'm asking. but people aren't understanding what i'm trying so cbf. my first solution works fine, just wanted to know if i could improve it. | 2019-02-08T09:39:00.355700 | Malka | pythondev_help_Malka_2019-02-08T09:39:00.355700 | 1,549,618,740.3557 | 7,293 |
pythondev | help | <@Bridget> Fabric is primarily focused around running remote commands on multiple machines via SSH. While you could easily use it's task declaration system to get separate task execution from the commandline, you could get the same sort of effect from just parsing provided parameters, without much additional effort. | 2019-02-08T09:53:59.358400 | Carmen | pythondev_help_Carmen_2019-02-08T09:53:59.358400 | 1,549,619,639.3584 | 7,294 |
pythondev | help | how so? | 2019-02-08T09:54:26.359200 | Bridget | pythondev_help_Bridget_2019-02-08T09:54:26.359200 | 1,549,619,666.3592 | 7,295 |
pythondev | help | yeah I get it. I believe mine's basically what you're doing but with a little bit of change. 1) dict.get for missing keys. 2) your lambda is basically getattr but unnamed, so why not just use getattr? | 2019-02-08T09:55:07.359900 | Bethany | pythondev_help_Bethany_2019-02-08T09:55:07.359900 | 1,549,619,707.3599 | 7,296 |
pythondev | help | Clarifying something you touched on: Fabric is just a Python library with a helper runner script. Everything you do is either a library call, or a decorator. | 2019-02-08T09:55:08.360100 | Carmen | pythondev_help_Carmen_2019-02-08T09:55:08.360100 | 1,549,619,708.3601 | 7,297 |
pythondev | help | Your actual code to run things is straight up Python. | 2019-02-08T09:55:43.360600 | Carmen | pythondev_help_Carmen_2019-02-08T09:55:43.360600 | 1,549,619,743.3606 | 7,298 |
pythondev | help | Fabric is purely focused on declaring which things are tasks and what target servers you want to run them against. | 2019-02-08T09:56:09.361200 | Carmen | pythondev_help_Carmen_2019-02-08T09:56:09.361200 | 1,549,619,769.3612 | 7,299 |
pythondev | help | Are you wondering how you could use the Fabric task declaration system, or how you can parse parameters from the commandline? | 2019-02-08T09:58:08.361300 | Carmen | pythondev_help_Carmen_2019-02-08T09:58:08.361300 | 1,549,619,888.3613 | 7,300 |
pythondev | help | How can we `close` or `shutdown` dynamodb connection ? | 2019-02-08T09:58:57.361700 | Greg | pythondev_help_Greg_2019-02-08T09:58:57.361700 | 1,549,619,937.3617 | 7,301 |
pythondev | help | <@Carmen>, parse parameters from the commandline. It sounds the simple solution between the two | 2019-02-08T09:59:36.363500 | Bridget | pythondev_help_Bridget_2019-02-08T09:59:36.363500 | 1,549,619,976.3635 | 7,302 |
pythondev | help | Like I make a `resource` object and do some query.. then I wish to close the connection.. but didn't get anything | 2019-02-08T09:59:41.363700 | Greg | pythondev_help_Greg_2019-02-08T09:59:41.363700 | 1,549,619,981.3637 | 7,303 |
pythondev | help | I am using boto3 for dynamodb | 2019-02-08T09:59:49.364000 | Greg | pythondev_help_Greg_2019-02-08T09:59:49.364000 | 1,549,619,989.364 | 7,304 |
pythondev | help | does dynamo have open/close? It's serverless right | 2019-02-08T10:05:40.365100 | Bethany | pythondev_help_Bethany_2019-02-08T10:05:40.365100 | 1,549,620,340.3651 | 7,305 |
pythondev | help | <@Carmen>, looks like I succeeded, with argparse. you meant it, right? | 2019-02-08T10:13:06.365800 | Bridget | pythondev_help_Bridget_2019-02-08T10:13:06.365800 | 1,549,620,786.3658 | 7,306 |
pythondev | help | argparse is fine. You could use sys.argv as well for low-level access, but if argparse works for you, go with that. | 2019-02-08T10:14:30.366800 | Carmen | pythondev_help_Carmen_2019-02-08T10:14:30.366800 | 1,549,620,870.3668 | 7,307 |
pythondev | help | bcz spelling mistakes are easy and auto-complete is helpful which will exist in lambda statement | 2019-02-08T10:24:24.367100 | Malka | pythondev_help_Malka_2019-02-08T10:24:24.367100 | 1,549,621,464.3671 | 7,308 |
pythondev | help | How about verifying the attributes exist once where it's defined? | 2019-02-08T10:39:46.367300 | Melynda | pythondev_help_Melynda_2019-02-08T10:39:46.367300 | 1,549,622,386.3673 | 7,309 |
pythondev | help | <https://gist.github.com/4d3477ad5c285e3d2f6e594a2c98ab67> | 2019-02-08T10:40:07.367500 | Melynda | pythondev_help_Melynda_2019-02-08T10:40:07.367500 | 1,549,622,407.3675 | 7,310 |
pythondev | help | If you uncomment line 18, it blows up inside verify() | 2019-02-08T10:40:21.367700 | Melynda | pythondev_help_Melynda_2019-02-08T10:40:21.367700 | 1,549,622,421.3677 | 7,311 |
pythondev | help | Interesting suggestion. I just tried running the command prompt as an administrator, but no luck. Anything else I should try permission-wise? | 2019-02-08T10:42:17.367900 | Yasmin | pythondev_help_Yasmin_2019-02-08T10:42:17.367900 | 1,549,622,537.3679 | 7,312 |
pythondev | help | does anyone else run into issues with `black` and `pipenv` giving them issues about `--pre`? <https://github.com/ambv/black/issues/209> this has been driving me up the wall. I ended up just removing `black` from my pipfile, running `pipenv lock --clear` and then it worked but i get this issue ever time | 2019-02-08T12:09:06.369800 | Vanita | pythondev_help_Vanita_2019-02-08T12:09:06.369800 | 1,549,627,746.3698 | 7,313 |
pythondev | help | took me an hour to fix that. gonna go walk off the 3 coffees ingested during that and i’ll pop back later | 2019-02-08T12:10:30.370400 | Vanita | pythondev_help_Vanita_2019-02-08T12:10:30.370400 | 1,549,627,830.3704 | 7,314 |
pythondev | help | Does black support single quotes yet? :disappointed: | 2019-02-08T12:27:35.370900 | Jonas | pythondev_help_Jonas_2019-02-08T12:27:35.370900 | 1,549,628,855.3709 | 7,315 |
pythondev | help | I'm a bit of out my depth here on Windows, unfortunately. But for what it's worth I don't see anything you're doing wrong, so I still suspect that the problem is somehow coming from your environment rather than this specific bit of code. | 2019-02-08T12:31:34.371000 | Sasha | pythondev_help_Sasha_2019-02-08T12:31:34.371000 | 1,549,629,094.371 | 7,316 |
pythondev | help | don't remind me of the pain :disappointed: | 2019-02-08T12:31:59.371600 | Bethany | pythondev_help_Bethany_2019-02-08T12:31:59.371600 | 1,549,629,119.3716 | 7,317 |
pythondev | help | nope, it won’t | 2019-02-08T12:32:01.371700 | Hiroko | pythondev_help_Hiroko_2019-02-08T12:32:01.371700 | 1,549,629,121.3717 | 7,318 |
pythondev | help | reminds me of henry ford | 2019-02-08T12:32:14.372100 | Hiroko | pythondev_help_Hiroko_2019-02-08T12:32:14.372100 | 1,549,629,134.3721 | 7,319 |
pythondev | help | you can have any color you want, as long as its black | 2019-02-08T12:32:23.372400 | Hiroko | pythondev_help_Hiroko_2019-02-08T12:32:23.372400 | 1,549,629,143.3724 | 7,320 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.