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
different environments, etc.
2019-05-08T10:40:42.009700
Jonas
pythondev_help_Jonas_2019-05-08T10:40:42.009700
1,557,312,042.0097
22,721
pythondev
help
if you want to deploy something to an air-gapped system with no network, you generally do it as a single 'thing': a VM image typically.
2019-05-08T10:41:23.009800
Jonas
pythondev_help_Jonas_2019-05-08T10:41:23.009800
1,557,312,083.0098
22,722
pythondev
help
But you can do the same with docker, at the lowest level `docker export` produces a `tar.gz` file of your image that you or the client can move to a secure server
2019-05-08T10:41:57.010000
Jonas
pythondev_help_Jonas_2019-05-08T10:41:57.010000
1,557,312,117.01
22,723
pythondev
help
sorry, yeah - I meant “audible” usually that means “with sound”
2019-05-08T10:42:08.010200
Clemmie
pythondev_help_Clemmie_2019-05-08T10:42:08.010200
1,557,312,128.0102
22,724
pythondev
help
It's more auditable than a big fat VM
2019-05-08T10:42:18.010500
Jonas
pythondev_help_Jonas_2019-05-08T10:42:18.010500
1,557,312,138.0105
22,725
pythondev
help
oh, sorry. Auditable :joy:
2019-05-08T10:42:24.010700
Jonas
pythondev_help_Jonas_2019-05-08T10:42:24.010700
1,557,312,144.0107
22,726
pythondev
help
so much more sense!!
2019-05-08T10:42:39.010900
Clemmie
pythondev_help_Clemmie_2019-05-08T10:42:39.010900
1,557,312,159.0109
22,727
pythondev
help
I thought it was a joke about air gapped systems still being susceptible to audio attacks
2019-05-08T10:43:15.011200
Clemmie
pythondev_help_Clemmie_2019-05-08T10:43:15.011200
1,557,312,195.0112
22,728
pythondev
help
if i have a python project that uses another of my projects as a library, how can i make it easy to work on both together? i know i can install `-e` with pip to make it refer to another directory on disk, sort of like `yarn link`, but i want to have a reference to the proper github location of the dependency in requirements.txt/Pipfile without having to switch it back to the "real" url each time i want to push changes
2019-05-08T14:01:23.012600
Dante
pythondev_help_Dante_2019-05-08T14:01:23.012600
1,557,324,083.0126
22,729
pythondev
help
i basically want something like `yarn link` for python
2019-05-08T14:01:32.012900
Dante
pythondev_help_Dante_2019-05-08T14:01:32.012900
1,557,324,092.0129
22,730
pythondev
help
if you’re using docker, I tend to use the volumes in `docker-compose.override.yml`
2019-05-08T14:03:33.013400
Hiroko
pythondev_help_Hiroko_2019-05-08T14:03:33.013400
1,557,324,213.0134
22,731
pythondev
help
eg ```version: '2.1' services: web: volumes: - ~/projects/microservice-chassis/chassis/:/usr/local/lib/python3.6/site-packages/chassis # - ~/projects/feather/feather/:/usr/local/lib/python3.6/site-packages/feather ```
2019-05-08T14:04:19.013800
Hiroko
pythondev_help_Hiroko_2019-05-08T14:04:19.013800
1,557,324,259.0138
22,732
pythondev
help
<@Dante> git submodule?
2019-05-08T14:04:33.014400
Jettie
pythondev_help_Jettie_2019-05-08T14:04:33.014400
1,557,324,273.0144
22,733
pythondev
help
that creates a symlink from one directory to another
2019-05-08T14:04:41.014800
Hiroko
pythondev_help_Hiroko_2019-05-08T14:04:41.014800
1,557,324,281.0148
22,734
pythondev
help
maybe
2019-05-08T14:04:41.014900
Dante
pythondev_help_Dante_2019-05-08T14:04:41.014900
1,557,324,281.0149
22,735
pythondev
help
would prefer to not use submodules if possible because they make it more complicated for other people to stay up to date (having to run `git submodule update`)
2019-05-08T14:08:00.015700
Dante
pythondev_help_Dante_2019-05-08T14:08:00.015700
1,557,324,480.0157
22,736
pythondev
help
i'm using pipenv
2019-05-08T14:08:26.016000
Dante
pythondev_help_Dante_2019-05-08T14:08:26.016000
1,557,324,506.016
22,737
pythondev
help
the cleanest but lamest solution seems like to toggle commenting out the github version and uncommenting the path link when i want to hack on both projects
2019-05-08T14:09:06.016900
Dante
pythondev_help_Dante_2019-05-08T14:09:06.016900
1,557,324,546.0169
22,738
pythondev
help
and then swap them back before pushing
2019-05-08T14:09:12.017200
Dante
pythondev_help_Dante_2019-05-08T14:09:12.017200
1,557,324,552.0172
22,739
pythondev
help
<@Dante> one thing I used to do on a weirdly configured project once was editing my local file, then use `git update-index --skip-worktree &lt;file_name&gt;` so i dont commit the changes by mistake
2019-05-08T15:25:42.018700
Carlo
pythondev_help_Carlo_2019-05-08T15:25:42.018700
1,557,329,142.0187
22,740
pythondev
help
it can get a bit cumbersome when switching branches though, you end up having to toggle them with `--no-skip-worktree`, stashing them, switching branch, unstash and re-skip, but nothing that cant be fixed with an alias
2019-05-08T15:26:58.020100
Carlo
pythondev_help_Carlo_2019-05-08T15:26:58.020100
1,557,329,218.0201
22,741
pythondev
help
you could also symlink it manually ¯\_(ツ)_/¯
2019-05-08T15:29:06.021200
Carlo
pythondev_help_Carlo_2019-05-08T15:29:06.021200
1,557,329,346.0212
22,742
pythondev
help
Hey Guys [And Ladies], I'm trying to circumvent NoneType entries when working with OpenPyxl and excel sheets. The Code I crafted works swimmingly, until it encounters a cell with no value in it.
2019-05-08T16:35:26.022300
Walton
pythondev_help_Walton_2019-05-08T16:35:26.022300
1,557,333,326.0223
22,743
pythondev
help
your issue is simply that you cant do `string + None + string`
2019-05-08T16:40:50.022800
Carlo
pythondev_help_Carlo_2019-05-08T16:40:50.022800
1,557,333,650.0228
22,744
pythondev
help
seems like `exSheet.cell(row=i,column=8).value` being empty is`None`
2019-05-08T16:41:18.023000
Carlo
pythondev_help_Carlo_2019-05-08T16:41:18.023000
1,557,333,678.023
22,745
pythondev
help
just add a check, if `xSheet.cell(row=i,column=8).value` is `None `, set an empty string
2019-05-08T16:44:23.023300
Carlo
pythondev_help_Carlo_2019-05-08T16:44:23.023300
1,557,333,863.0233
22,746
pythondev
help
As I am new to Python, do I just tab in from that loop and add an if/else clause?
2019-05-08T16:55:49.023700
Walton
pythondev_help_Walton_2019-05-08T16:55:49.023700
1,557,334,549.0237
22,747
pythondev
help
Figured it out thank you!
2019-05-08T17:06:25.023900
Walton
pythondev_help_Walton_2019-05-08T17:06:25.023900
1,557,335,185.0239
22,748
pythondev
help
if exSheet.cell(row=i,column=8).value != None: exSheet.cell(row=i,column=1).value = 'cn=' + exSheet.cell(row=i,column=8).value + ',ou=Service-Users,ou=Customers,dc=Fabricom,dc=com'
2019-05-08T17:06:51.024100
Walton
pythondev_help_Walton_2019-05-08T17:06:51.024100
1,557,335,211.0241
22,749
pythondev
help
could recommend me a resource or course related to object-oriented programming, in Spanish if possible, to the functions and that I come well but I'm struggling to understand the subject of object-oriented programming
2019-05-08T18:16:31.024800
Melia
pythondev_help_Melia_2019-05-08T18:16:31.024800
1,557,339,391.0248
22,750
pythondev
help
you can also try asking in <#CCQ3XH9JQ|i18n_spain> channel
2019-05-08T18:21:23.025200
Raguel
pythondev_help_Raguel_2019-05-08T18:21:23.025200
1,557,339,683.0252
22,751
pythondev
help
thanks
2019-05-08T18:34:16.025400
Melia
pythondev_help_Melia_2019-05-08T18:34:16.025400
1,557,340,456.0254
22,752
pythondev
help
Hi Guys, This is the first time we are doing a partnership with an external vendor who has given us their api, mainly our mobile app talks to our django backend with jwt auth, I was wondering what is the best way to store/transfer the api key for auth with this external vendor we have integrated in our app. Should I store the api key as env on my backend and then encrypt it and decrypt it on the client side?
2019-05-08T21:20:51.026000
Anna
pythondev_help_Anna_2019-05-08T21:20:51.026000
1,557,350,451.026
22,753
pythondev
help
or some sort of proxy which stores my credentials and also tranfers data as is.
2019-05-08T21:21:31.026200
Anna
pythondev_help_Anna_2019-05-08T21:21:31.026200
1,557,350,491.0262
22,754
pythondev
help
Please advise.
2019-05-08T21:21:56.026800
Anna
pythondev_help_Anna_2019-05-08T21:21:56.026800
1,557,350,516.0268
22,755
pythondev
help
excellent! glad you found a solution
2019-05-08T21:38:49.027000
Carlo
pythondev_help_Carlo_2019-05-08T21:38:49.027000
1,557,351,529.027
22,756
pythondev
help
:taco: <@Walton>
2019-05-08T21:39:47.027200
Carlo
pythondev_help_Carlo_2019-05-08T21:39:47.027200
1,557,351,587.0272
22,757
pythondev
help
If you need to secure the credentials, using a server side proxy is generally best
2019-05-08T23:37:16.028500
Tamera
pythondev_help_Tamera_2019-05-08T23:37:16.028500
1,557,358,636.0285
22,758
pythondev
help
a = [0, 1, 2, 1, 3, 1] how do i move all 1's to the end of the list
2019-05-09T00:10:50.029000
Lanelle
pythondev_help_Lanelle_2019-05-09T00:10:50.029000
1,557,360,650.029
22,759
pythondev
help
this is my try: ```a = [0, 1, 2, 1, 3, 1] b=[] count = 0 for i in a: if i!=1: b.insert(len(a),i) ```
2019-05-09T00:13:42.029300
Lanelle
pythondev_help_Lanelle_2019-05-09T00:13:42.029300
1,557,360,822.0293
22,760
pythondev
help
So, the `len(a)` there is problematic, since `b` starts from length 0 and grows, instead of being as long as `a`.
2019-05-09T00:18:54.030400
Sasha
pythondev_help_Sasha_2019-05-09T00:18:54.030400
1,557,361,134.0304
22,761
pythondev
help
You'll also want to have an `else` case for what to do with the `1` values.
2019-05-09T00:19:09.030900
Sasha
pythondev_help_Sasha_2019-05-09T00:19:09.030900
1,557,361,149.0309
22,762
pythondev
help
what if you cycled through a and popped any 1 you found into another list, and then just append the new list to the remains of a?
2019-05-09T00:39:20.031800
Mildred
pythondev_help_Mildred_2019-05-09T00:39:20.031800
1,557,362,360.0318
22,763
pythondev
help
It's generally a little tricky to modify a list while you're iterating through it.
2019-05-09T00:41:51.032300
Sasha
pythondev_help_Sasha_2019-05-09T00:41:51.032300
1,557,362,511.0323
22,764
pythondev
help
not my strongest suit, but i would have thought something like below would work: for i in range(0,len(a)-1): if a[i] == 1: b.append(a.pop[i]) a=a+b
2019-05-09T00:45:52.034400
Mildred
pythondev_help_Mildred_2019-05-09T00:45:52.034400
1,557,362,752.0344
22,765
pythondev
help
Yeah, the trouble is that as soon as the `pop()` executes, that shifts a new value down into the `i`th slot, but the `for` loop will move on to `i+1` without ever doing anything with that value.
2019-05-09T00:48:14.035500
Sasha
pythondev_help_Sasha_2019-05-09T00:48:14.035500
1,557,362,894.0355
22,766
pythondev
help
ahh, i get what you are saying.
2019-05-09T00:49:24.035800
Mildred
pythondev_help_Mildred_2019-05-09T00:49:24.035800
1,557,362,964.0358
22,767
pythondev
help
so if you could interate through in reverse it would work
2019-05-09T00:50:54.036900
Mildred
pythondev_help_Mildred_2019-05-09T00:50:54.036900
1,557,363,054.0369
22,768
pythondev
help
You can do it, but it requires a little more control over the loop, like: ```while i &lt; len(a): if a[i] == 1: b.append(a.pop[i]) else: i += 1``` And yeah, going in reverse is also a common solution.
2019-05-09T00:51:47.037700
Sasha
pythondev_help_Sasha_2019-05-09T00:51:47.037700
1,557,363,107.0377
22,769
pythondev
help
<@Lanelle> does this help?
2019-05-09T00:56:05.038000
Mildred
pythondev_help_Mildred_2019-05-09T00:56:05.038000
1,557,363,365.038
22,770
pythondev
help
There's also the one-liner approach: `[x for x in a if x != 1] + [x for x in a if x == 1]`.
2019-05-09T00:59:37.038800
Sasha
pythondev_help_Sasha_2019-05-09T00:59:37.038800
1,557,363,577.0388
22,771
pythondev
help
now you're just shownig off :stuck_out_tongue:
2019-05-09T01:00:08.039000
Mildred
pythondev_help_Mildred_2019-05-09T01:00:08.039000
1,557,363,608.039
22,772
pythondev
help
not a one-liner, but something like this: ``` a = [0, 1, 2, 1, 3, 1] cnt = a.count(1) for i in range(cnt): a.remove(1) a = a + [1]*cnt ```
2019-05-09T01:20:55.039700
Raguel
pythondev_help_Raguel_2019-05-09T01:20:55.039700
1,557,364,855.0397
22,773
pythondev
help
I like the one-liner approach (you can unfold it to multiple lines) because it builds a new list instead of mutating an existing one
2019-05-09T02:13:37.041100
Chester
pythondev_help_Chester_2019-05-09T02:13:37.041100
1,557,368,017.0411
22,774
pythondev
help
This actually makes it easier to pass any iterable instead of strictly list
2019-05-09T02:14:34.041900
Chester
pythondev_help_Chester_2019-05-09T02:14:34.041900
1,557,368,074.0419
22,775
pythondev
help
Yep. It does iterate twice, but approaches with `pop`, `remove`, or `insert` can end up O(n^2).
2019-05-09T02:16:41.043000
Sasha
pythondev_help_Sasha_2019-05-09T02:16:41.043000
1,557,368,201.043
22,776
pythondev
help
it unfolds nicely and is pretty readable with decent names
2019-05-09T02:19:33.046000
Leida
pythondev_help_Leida_2019-05-09T02:19:33.046000
1,557,368,373.046
22,777
pythondev
help
you could just sort it... ``` # python 2 &gt;&gt;&gt; a = [0, 1, 2, 1, 3, 1] &gt;&gt;&gt; a.sort(cmp=lambda a,b: 0 if 1 not in (a,b) else (1 if a == 1 else -1)) &gt;&gt;&gt; print(a) [0, 2, 3, 1, 1, 1] ``` Even better: ``` &gt;&gt;&gt; a = [0, 1, 2, 1, 3, 1] &gt;&gt;&gt; a.sort(key=lambda x: x == 1) &gt;&gt;&gt; print(a) [0, 2, 3, 1, 1, 1] ```
2019-05-09T02:25:43.046700
Guillermina
pythondev_help_Guillermina_2019-05-09T02:25:43.046700
1,557,368,743.0467
22,778
pythondev
help
or ``` from itertools import filterfalse, tee def partition(pred, iterable): 'Use a predicate to partition entries into false entries and true entries' # partition(is_odd, range(10)) --&gt; 0 2 4 6 8 and 1 3 5 7 9 t1, t2 = tee(iterable) return filterfalse(pred, t1), filter(pred, t2) ```
2019-05-09T02:31:22.047700
Leida
pythondev_help_Leida_2019-05-09T02:31:22.047700
1,557,369,082.0477
22,779
pythondev
help
Slightly shorter version, also immutable: ``` &gt;&gt;&gt; sorted(a, key=lambda item: item == 1) [0, 2, 3, 1, 1, 1] ```
2019-05-09T02:32:56.048800
Chester
pythondev_help_Chester_2019-05-09T02:32:56.048800
1,557,369,176.0488
22,780
pythondev
help
Stable sorts are so nice...
2019-05-09T02:33:47.049500
Sasha
pythondev_help_Sasha_2019-05-09T02:33:47.049500
1,557,369,227.0495
22,781
pythondev
help
yeah, sry - above is still python 2... `cmp` doesn't even exist anymore in py3... Was just about to correct it, but I'll leave that for reference now :wink:
2019-05-09T02:38:08.049600
Guillermina
pythondev_help_Guillermina_2019-05-09T02:38:08.049600
1,557,369,488.0496
22,782
pythondev
help
It actually does, through <https://docs.python.org/3/library/functools.html#functools.cmp_to_key>
2019-05-09T02:39:25.050000
Chester
pythondev_help_Chester_2019-05-09T02:39:25.050000
1,557,369,565.05
22,783
pythondev
help
Right. I meant (and probably should have written): `cmp` does not exist anymore as a keyword for `sort`/`sorted` in py3... :smile:
2019-05-09T02:42:12.050200
Guillermina
pythondev_help_Guillermina_2019-05-09T02:42:12.050200
1,557,369,732.0502
22,784
pythondev
help
With larger lists the two list comprehensions will be faster than `sort/sorted` though...
2019-05-09T02:48:31.051300
Guillermina
pythondev_help_Guillermina_2019-05-09T02:48:31.051300
1,557,370,111.0513
22,785
pythondev
help
functional program may be help
2019-05-09T03:54:00.052100
Bertram
pythondev_help_Bertram_2019-05-09T03:54:00.052100
1,557,374,040.0521
22,786
pythondev
help
```python &gt;&gt;&gt; a = [0, 1, 1, 2, 3] &gt;&gt;&gt; result = list(filter(lambda x:x!=1, a)) &gt;&gt;&gt; result.extend(list(filter(lambda x:x==1, a))) ```
2019-05-09T03:55:36.053600
Bertram
pythondev_help_Bertram_2019-05-09T03:55:36.053600
1,557,374,136.0536
22,787
pythondev
help
or for time complexity
2019-05-09T04:15:36.054100
Bertram
pythondev_help_Bertram_2019-05-09T04:15:36.054100
1,557,375,336.0541
22,788
pythondev
help
this will perform as O(n) time complexity
2019-05-09T04:16:16.054200
Bertram
pythondev_help_Bertram_2019-05-09T04:16:16.054200
1,557,375,376.0542
22,789
pythondev
help
None
2019-05-09T08:15:05.055200
Alvina
pythondev_help_Alvina_2019-05-09T08:15:05.055200
1,557,389,705.0552
22,790
pythondev
help
is it better to use a list of kwargs like that or setattr()?
2019-05-09T08:15:26.055900
Alvina
pythondev_help_Alvina_2019-05-09T08:15:26.055900
1,557,389,726.0559
22,791
pythondev
help
<@Sasha> :taco:
2019-05-09T08:52:35.058200
Velva
pythondev_help_Velva_2019-05-09T08:52:35.058200
1,557,391,955.0582
22,792
pythondev
help
I don't think that gave you a taco, did it? I hit return by accident and then edited to add the taco.
2019-05-09T08:53:56.058500
Velva
pythondev_help_Velva_2019-05-09T08:53:56.058500
1,557,392,036.0585
22,793
pythondev
help
<@Sasha> :taco:
2019-05-09T08:54:38.058700
Velva
pythondev_help_Velva_2019-05-09T08:54:38.058700
1,557,392,078.0587
22,794
pythondev
help
That's better. Sorry for all the mentions :worried:
2019-05-09T08:54:51.058900
Velva
pythondev_help_Velva_2019-05-09T08:54:51.058900
1,557,392,091.0589
22,795
pythondev
help
If I had to I'd vote for `setattr` - it's a bit more explicit...
2019-05-09T09:15:01.061400
Guillermina
pythondev_help_Guillermina_2019-05-09T09:15:01.061400
1,557,393,301.0614
22,796
pythondev
help
okay, cool
2019-05-09T09:27:54.062000
Alvina
pythondev_help_Alvina_2019-05-09T09:27:54.062000
1,557,394,074.062
22,797
pythondev
help
I'd rather use a `dataclass` though... (if applicable, don't know the context)
2019-05-09T09:47:49.063800
Guillermina
pythondev_help_Guillermina_2019-05-09T09:47:49.063800
1,557,395,269.0638
22,798
pythondev
help
I guess this would be considered help, but correct me if this should go in another channel. I've known of this site and is super awesome so wanting to share for those who haven't heard/seen it yet. <https://medium.freecodecamp.org/650-free-online-programming-computer-science-courses-you-can-start-this-summer-6c8905e6a3b2>
2019-05-09T12:14:53.065000
Nenita
pythondev_help_Nenita_2019-05-09T12:14:53.065000
1,557,404,093.065
22,799
pythondev
help
I think this one will scramble the original order of the non-1 elements, though.
2019-05-09T12:43:10.065300
Sasha
pythondev_help_Sasha_2019-05-09T12:43:10.065300
1,557,405,790.0653
22,800
pythondev
help
hi, who can help me with heroku and docker-compose? I'm trying to host my app using commands: heroku container:build and release and i constantly receive 503 error
2019-05-09T13:57:04.067400
Maryellen
pythondev_help_Maryellen_2019-05-09T13:57:04.067400
1,557,410,224.0674
22,801
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 formatting with backticks click <https://get.slack.help/hc/en-us/articles/202288908-Format-your-messages#inline-code|here>.
2019-05-09T14:00:43.068400
Leana
pythondev_help_Leana_2019-05-09T14:00:43.068400
1,557,410,443.0684
22,802
pythondev
help
question about python-ldap. I installed using 'pip install python-ldap' it installed correctly [running python 3.7 btw]. I open Python to start testing. I type import ldap, it says no module
2019-05-09T14:31:57.070000
Walton
pythondev_help_Walton_2019-05-09T14:31:57.070000
1,557,412,317.07
22,803
pythondev
help
i tried import python-ldap, it says invalid syntax
2019-05-09T14:32:31.070400
Walton
pythondev_help_Walton_2019-05-09T14:32:31.070400
1,557,412,351.0704
22,804
pythondev
help
are you in a virtual environment?
2019-05-09T14:34:05.070600
Claudine
pythondev_help_Claudine_2019-05-09T14:34:05.070600
1,557,412,445.0706
22,805
pythondev
help
no, this is on my windows 10 workstation
2019-05-09T14:34:20.070900
Walton
pythondev_help_Walton_2019-05-09T14:34:20.070900
1,557,412,460.0709
22,806
pythondev
help
ahhh i see something. I went and uninstalled it. now i'm trying to reinstall and i see an error
2019-05-09T14:36:15.071400
Walton
pythondev_help_Walton_2019-05-09T14:36:15.071400
1,557,412,575.0714
22,807
pythondev
help
"error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": <https://visualstudio.microsoft.com/downloads/>"
2019-05-09T14:36:17.071600
Walton
pythondev_help_Walton_2019-05-09T14:36:17.071600
1,557,412,577.0716
22,808
pythondev
help
ok. now im perplexed. I installed the x64 and the x86 package of c++, for my 32-bit python isntalled on my 64-bit os.... and its still erroring out saying visual c++ 14.0 is required
2019-05-09T14:45:56.072800
Walton
pythondev_help_Walton_2019-05-09T14:45:56.072800
1,557,413,156.0728
22,809
pythondev
help
OHHHHHHHH!. The ERROR message is inaccurate and highly misleading
2019-05-09T14:47:09.073300
Walton
pythondev_help_Walton_2019-05-09T14:47:09.073300
1,557,413,229.0733
22,810
pythondev
help
For anyone having such an issue in the future with the python-ldap module - When you receive: building '_ldap' extension error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": <https://visualstudio.microsoft.com/downloads/> DONT use the link to get Visual C++ Redistributable for Visual Studio 2019. What you need to search for on that site is C++ Build Tools. The link they provide will not take you there.
2019-05-09T14:52:48.075600
Walton
pythondev_help_Walton_2019-05-09T14:52:48.075600
1,557,413,568.0756
22,811
pythondev
help
I need some LDAP connection help. I see that my place uses a connection that is LDAPS:// but the example I'm following uses LDAP, and when I enter my credentials it uses "con.simple_bind_s" is this incorrect for a LDAPS connection?
2019-05-09T16:57:22.078000
Walton
pythondev_help_Walton_2019-05-09T16:57:22.078000
1,557,421,042.078
22,812
pythondev
help
I verified my credentials work with this LDAP tool they use, Softerra. but I'm lost on setting up this test connection. I get ldap.SERVER_DOWN: {'desc': "Can't contact LDAP server"}
2019-05-09T16:58:27.079200
Walton
pythondev_help_Walton_2019-05-09T16:58:27.079200
1,557,421,107.0792
22,813
pythondev
help
It looks like you want `con.start_tls_s()` instead, and there are probably some additional options to configure.
2019-05-09T17:03:54.080200
Sasha
pythondev_help_Sasha_2019-05-09T17:03:54.080200
1,557,421,434.0802
22,814
pythondev
help
Since it’s an LDAPS connection, you may need pass some additional params to the config.
2019-05-09T17:04:01.080400
Shan
pythondev_help_Shan_2019-05-09T17:04:01.080400
1,557,421,441.0804
22,815
pythondev
help
ah and oh. hmmm this is uncharted territory for me
2019-05-09T17:04:42.081000
Walton
pythondev_help_Walton_2019-05-09T17:04:42.081000
1,557,421,482.081
22,816
pythondev
help
unsure but this _may_ help?
2019-05-09T17:09:47.081400
Shan
pythondev_help_Shan_2019-05-09T17:09:47.081400
1,557,421,787.0814
22,817
pythondev
help
<https://stackoverflow.com/a/31013971>
2019-05-09T17:09:47.081600
Shan
pythondev_help_Shan_2019-05-09T17:09:47.081600
1,557,421,787.0816
22,818
pythondev
help
im probably asking google incorrectly but there’s not a whole bunch out there.
2019-05-09T17:10:14.082100
Shan
pythondev_help_Shan_2019-05-09T17:10:14.082100
1,557,421,814.0821
22,819
pythondev
help
i had found one article searching that start_TLS_s() , but I will pour over this as well, thank you
2019-05-09T17:10:46.082600
Walton
pythondev_help_Walton_2019-05-09T17:10:46.082600
1,557,421,846.0826
22,820