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
<@Kenda> Hackerrank
2017-07-08T09:11:43.139917
Suellen
pythondev_help_Suellen_2017-07-08T09:11:43.139917
1,499,505,103.139917
84,403
pythondev
help
<@Suellen> Thanks, never seen that site before.
2017-07-08T09:21:23.181171
Kenda
pythondev_help_Kenda_2017-07-08T09:21:23.181171
1,499,505,683.181171
84,404
pythondev
help
<@Kenda> They have a large set of Python challenges, from very basic stuff to XML parsing and working with big datasets. <https://www.hackerrank.com/domains/python/py-introduction>
2017-07-08T09:23:14.188876
Suellen
pythondev_help_Suellen_2017-07-08T09:23:14.188876
1,499,505,794.188876
84,405
pythondev
help
Hi peeps. I need some advice on architecture. I have an ios app that captures videos and saves them on firebase. Now I want to build a remote pipeline for video processing in real-time. The pipeline needs to send back to the app some texts.
2017-07-08T09:36:35.249591
Lamont
pythondev_help_Lamont_2017-07-08T09:36:35.249591
1,499,506,595.249591
84,406
pythondev
help
What protocol would you use?
2017-07-08T09:36:50.250584
Lamont
pythondev_help_Lamont_2017-07-08T09:36:50.250584
1,499,506,610.250584
84,407
pythondev
help
<@Suellen> this is what I was looking for this should keep me occupied. Thanks
2017-07-08T09:57:23.341666
Kenda
pythondev_help_Kenda_2017-07-08T09:57:23.341666
1,499,507,843.341666
84,408
pythondev
help
I am setting up a new machine for dev. I was about to go fix my "no such file or directory: /usr/local/bin/virtualenvwrapper.sh" error, but paused to think about whether I should still be using virtualenvwrapper. I'm doing Python 2.7 and 3.5 dev. Is there anything better these days? How should I be managing my environments as a "modern" Python developer?
2017-07-08T11:04:22.683202
Kyoko
pythondev_help_Kyoko_2017-07-08T11:04:22.683202
1,499,511,862.683202
84,409
pythondev
help
<@Kyoko> I'd recommend pyenv
2017-07-08T12:18:31.076360
Suellen
pythondev_help_Suellen_2017-07-08T12:18:31.076360
1,499,516,311.07636
84,410
pythondev
help
you can install and use pypy, py27, py34, py35 and py36 all at the same time
2017-07-08T12:19:59.084685
Suellen
pythondev_help_Suellen_2017-07-08T12:19:59.084685
1,499,516,399.084685
84,411
pythondev
help
need a virtualenv? `pyenv virtualenv 3.5.2 myproject-3.5.2`
2017-07-08T12:20:27.087563
Suellen
pythondev_help_Suellen_2017-07-08T12:20:27.087563
1,499,516,427.087563
84,412
pythondev
help
Thanks <@Suellen>. I'll check it out
2017-07-08T12:42:23.202417
Kyoko
pythondev_help_Kyoko_2017-07-08T12:42:23.202417
1,499,517,743.202417
84,413
pythondev
help
Hi there, i need to find a package or a solution for log http call and retry failed call with an GUI or website. Anyone got some got lib or package ?
2017-07-08T12:45:06.216813
Loise
pythondev_help_Loise_2017-07-08T12:45:06.216813
1,499,517,906.216813
84,414
pythondev
help
<@Loise> Can the requests library do what you want? There are some retry examples in <https://stackoverflow.com/questions/15431044/can-i-set-max-retries-for-requests-request>
2017-07-08T13:07:18.332708
Kyoko
pythondev_help_Kyoko_2017-07-08T13:07:18.332708
1,499,519,238.332708
84,415
pythondev
help
Yes it’s good start but i want to log failed call (with http code error) for edit post params in a gui or web app and resend request.
2017-07-08T13:10:56.352258
Loise
pythondev_help_Loise_2017-07-08T13:10:56.352258
1,499,519,456.352258
84,416
pythondev
help
maybe `logging` will do what you want? something like: ``` import logging logging.basicConfig(level=logging.DEBUG) logger = logging.getLogger(__name__) ``` Then under your requests `response` object do something like ``` logger.debug('http status: {}'.format(response.status)) ```
2017-07-08T13:18:59.396253
Minerva
pythondev_help_Minerva_2017-07-08T13:18:59.396253
1,499,519,939.396253
84,417
pythondev
help
<@Beula> Do you know why sometimes they dont get credited even though they were sent? not a big deal just curious - there were a couple that I "received" but last I checked they never got tallied
2017-07-08T18:35:50.887539
Martha
pythondev_help_Martha_2017-07-08T18:35:50.887539
1,499,538,950.887539
84,418
pythondev
help
<@Martha> it only works in public channels, if they don't send you may need to `/invite <@Lenny>`
2017-07-08T18:38:41.898120
Beula
pythondev_help_Beula_2017-07-08T18:38:41.898120
1,499,539,121.89812
84,419
pythondev
help
cool thanks
2017-07-08T18:39:13.900355
Martha
pythondev_help_Martha_2017-07-08T18:39:13.900355
1,499,539,153.900355
84,420
pythondev
help
Getting this annoying error — requirements are satisfied, chromedriver in the right place, this error comes upon launching a chrome window
2017-07-09T13:29:09.979241
Christina
pythondev_help_Christina_2017-07-09T13:29:09.979241
1,499,606,949.979241
84,421
pythondev
help
it implies there's a problem with the server, but it could also just be that the package doesn't handle that situation properly. It's unlikely to be your fault
2017-07-09T13:37:32.021602
Gabriele
pythondev_help_Gabriele_2017-07-09T13:37:32.021602
1,499,607,452.021602
84,422
pythondev
help
<@Gabriele> how can I fix it?
2017-07-09T13:49:16.078388
Christina
pythondev_help_Christina_2017-07-09T13:49:16.078388
1,499,608,156.078388
84,423
pythondev
help
That depends on what you mean by fix. If the server is broken and you don't control the server, it's unfixable. If the package just doesn't understand something the server is doing, it's probably possible to patch the package, but that would probably be a job for the package maintainer
2017-07-09T13:53:15.098040
Gabriele
pythondev_help_Gabriele_2017-07-09T13:53:15.098040
1,499,608,395.09804
84,424
pythondev
help
the reason being is `str(None)` results in `'None'`, which is a string
2017-07-09T18:02:53.331300
Meg
pythondev_help_Meg_2017-07-09T18:02:53.331300
1,499,623,373.3313
84,425
pythondev
help
open up a python shell
2017-07-09T18:03:11.332737
Meg
pythondev_help_Meg_2017-07-09T18:03:11.332737
1,499,623,391.332737
84,426
pythondev
help
enter in `str(None)`
2017-07-09T18:03:21.333597
Meg
pythondev_help_Meg_2017-07-09T18:03:21.333597
1,499,623,401.333597
84,427
pythondev
help
```In [1]: str(None) Out[1]: 'None'```
2017-07-09T18:03:32.334471
Meg
pythondev_help_Meg_2017-07-09T18:03:32.334471
1,499,623,412.334471
84,428
pythondev
help
anyone know how to get ids from transmission using their api?
2017-07-09T18:09:22.363026
Yu
pythondev_help_Yu_2017-07-09T18:09:22.363026
1,499,623,762.363026
84,429
pythondev
help
<http://transmissionrpc.readthedocs.io/en/release-0.7/reference/transmissionrpc.html#transmissionrpc.Client.get_files>
2017-07-09T18:09:40.364433
Yu
pythondev_help_Yu_2017-07-09T18:09:40.364433
1,499,623,780.364433
84,430
pythondev
help
<@Meg> Thanks for reply! Yeah, but there is function which does not filter it:
2017-07-09T18:15:20.392020
Hyacinth
pythondev_help_Hyacinth_2017-07-09T18:15:20.392020
1,499,624,120.39202
84,431
pythondev
help
<@Hyacinth> instead of screenshots, pleas copy and paste the code. You can paste code w/ "+" button to left of message area.
2017-07-09T18:21:03.418969
Deedee
pythondev_help_Deedee_2017-07-09T18:21:03.418969
1,499,624,463.418969
84,432
pythondev
help
or use code formatting
2017-07-09T18:21:39.421841
Meg
pythondev_help_Meg_2017-07-09T18:21:39.421841
1,499,624,499.421841
84,433
pythondev
help
<https://get.slack.help/hc/en-us/articles/202288908-Format-your-messages#code-blocks>
2017-07-09T18:21:40.421899
Meg
pythondev_help_Meg_2017-07-09T18:21:40.421899
1,499,624,500.421899
84,434
pythondev
help
so the reason why that function is not working is because you're using `and` for everything
2017-07-09T18:22:01.423503
Meg
pythondev_help_Meg_2017-07-09T18:22:01.423503
1,499,624,521.423503
84,435
pythondev
help
there's no way a variable can be `''` and `' '` at the same time
2017-07-09T18:22:29.425678
Meg
pythondev_help_Meg_2017-07-09T18:22:29.425678
1,499,624,549.425678
84,436
pythondev
help
so, for you, the best thing would be to break it out into an if-else conditional test
2017-07-09T18:22:54.427550
Meg
pythondev_help_Meg_2017-07-09T18:22:54.427550
1,499,624,574.42755
84,437
pythondev
help
Well, it's look like my brain stopped working :smile: I'm trying to fix it now...
2017-07-09T18:27:34.449816
Hyacinth
pythondev_help_Hyacinth_2017-07-09T18:27:34.449816
1,499,624,854.449816
84,438
pythondev
help
how firm is the requirement that a list test include a sub-list?
2017-07-09T18:27:54.451434
Meg
pythondev_help_Meg_2017-07-09T18:27:54.451434
1,499,624,874.451434
84,439
pythondev
help
yeah
2017-07-09T18:28:07.452461
Hyacinth
pythondev_help_Hyacinth_2017-07-09T18:28:07.452461
1,499,624,887.452461
84,440
pythondev
help
eg `test_items = [['None'], '', ' ', 'item']`?
2017-07-09T18:28:22.453645
Meg
pythondev_help_Meg_2017-07-09T18:28:22.453645
1,499,624,902.453645
84,441
pythondev
help
Right. In fact, it's looks like `list = [ [item,item1,item3], item, [item4,item5], [None] ] `
2017-07-09T18:29:30.458780
Hyacinth
pythondev_help_Hyacinth_2017-07-09T18:29:30.458780
1,499,624,970.45878
84,442
pythondev
help
So i need to check when there is no value.
2017-07-09T18:29:46.460227
Hyacinth
pythondev_help_Hyacinth_2017-07-09T18:29:46.460227
1,499,624,986.460227
84,443
pythondev
help
and definition of no value is an empty string
2017-07-09T18:30:05.461634
Meg
pythondev_help_Meg_2017-07-09T18:30:05.461634
1,499,625,005.461634
84,444
pythondev
help
or a string with just spaces
2017-07-09T18:30:12.462264
Meg
pythondev_help_Meg_2017-07-09T18:30:12.462264
1,499,625,012.462264
84,445
pythondev
help
or an item of type `None`
2017-07-09T18:30:22.463073
Meg
pythondev_help_Meg_2017-07-09T18:30:22.463073
1,499,625,022.463073
84,446
pythondev
help
correct?
2017-07-09T18:30:23.463222
Meg
pythondev_help_Meg_2017-07-09T18:30:23.463222
1,499,625,023.463222
84,447
pythondev
help
`not val` satisfies `None` and `""` the other two are strings so can be matched like `val not in (' ', 'None')`
2017-07-09T18:36:17.490471
Deedee
pythondev_help_Deedee_2017-07-09T18:36:17.490471
1,499,625,377.490471
84,448
pythondev
help
``` is_empty([None]): False is_empty(): False is_empty(None): False is_empty(['None']): False ```
2017-07-09T18:37:13.494669
Deedee
pythondev_help_Deedee_2017-07-09T18:37:13.494669
1,499,625,433.494669
84,449
pythondev
help
Thank you! Unfortunately, it doesn't work :disappointed:
2017-07-09T18:37:33.496409
Hyacinth
pythondev_help_Hyacinth_2017-07-09T18:37:33.496409
1,499,625,453.496409
84,450
pythondev
help
wait.. so in your code snipet, it's supposed to return F, T, T, F?
2017-07-09T18:38:37.501155
Deedee
pythondev_help_Deedee_2017-07-09T18:38:37.501155
1,499,625,517.501155
84,451
pythondev
help
I tried to add valid ones.
2017-07-09T18:39:04.503423
Hyacinth
pythondev_help_Hyacinth_2017-07-09T18:39:04.503423
1,499,625,544.503423
84,452
pythondev
help
I'm confused also :smile:
2017-07-09T18:39:16.504303
Hyacinth
pythondev_help_Hyacinth_2017-07-09T18:39:16.504303
1,499,625,556.504303
84,453
pythondev
help
All day working at one task, and finally done 90%, but this thing get me mad :smile:
2017-07-09T18:39:55.507330
Hyacinth
pythondev_help_Hyacinth_2017-07-09T18:39:55.507330
1,499,625,595.50733
84,454
pythondev
help
haven't forgotten about you, milo.
2017-07-09T18:54:19.575334
Deedee
pythondev_help_Deedee_2017-07-09T18:54:19.575334
1,499,626,459.575334
84,455
pythondev
help
I think I'm going to get banned for this but the problem is that it needs some way of determining what is being passed (string, or list)
2017-07-09T19:21:36.717293
Deedee
pythondev_help_Deedee_2017-07-09T19:21:36.717293
1,499,628,096.717293
84,456
pythondev
help
so if list, and first element exists and that first element is 'None', then it is empty
2017-07-09T19:22:25.721557
Deedee
pythondev_help_Deedee_2017-07-09T19:22:25.721557
1,499,628,145.721557
84,457
pythondev
help
also, if val does not exist (None or empty), it is also True (is_empty)
2017-07-09T19:22:59.724368
Deedee
pythondev_help_Deedee_2017-07-09T19:22:59.724368
1,499,628,179.724368
84,458
pythondev
help
``` is_empty([None]): True is_empty(): True is_empty(None): True is_empty(['None']): True is_empty(1): False ```
2017-07-09T19:23:12.725619
Deedee
pythondev_help_Deedee_2017-07-09T19:23:12.725619
1,499,628,192.725619
84,459
pythondev
help
Оh, man! Thank you soo much! I hope you live near me, so i can buy you a beer or something!! Thanks!
2017-07-09T19:29:18.758755
Hyacinth
pythondev_help_Hyacinth_2017-07-09T19:29:18.758755
1,499,628,558.758755
84,460
pythondev
help
<@Deedee> Please, don't ban him, ban me, i'm a noob :smile:
2017-07-09T19:29:47.761626
Hyacinth
pythondev_help_Hyacinth_2017-07-09T19:29:47.761626
1,499,628,587.761626
84,461
pythondev
help
hey, what about `" "` or `[" "]`? &lt;-- spaces
2017-07-09T19:38:31.810419
Deedee
pythondev_help_Deedee_2017-07-09T19:38:31.810419
1,499,629,111.810419
84,462
pythondev
help
As for the alcoholic refreshment, I'm near an airport. Just tell me where to go. :laughing:
2017-07-09T19:39:14.814243
Deedee
pythondev_help_Deedee_2017-07-09T19:39:14.814243
1,499,629,154.814243
84,463
pythondev
help
Eheheheh :smile: Come to Serbia dude! :smile: I will add that option, don't worry :slightly_smiling_face: I was in trouble to determine is list or what :slightly_smiling_face:
2017-07-09T19:41:25.826574
Hyacinth
pythondev_help_Hyacinth_2017-07-09T19:41:25.826574
1,499,629,285.826574
84,464
pythondev
help
packing bags yo
2017-07-09T19:42:54.834572
Deedee
pythondev_help_Deedee_2017-07-09T19:42:54.834572
1,499,629,374.834572
84,465
pythondev
help
<@Deedee> See ya mate!!
2017-07-09T19:47:50.862233
Hyacinth
pythondev_help_Hyacinth_2017-07-09T19:47:50.862233
1,499,629,670.862233
84,466
pythondev
help
Hi all. Can't deal with pandas. I have six columns 1,2,3,4,5,6 I need to merge into one on 1 and 4, 2 and 5, 3 and 6 How to do it - I do not understand. ```first_column = [df["1"], df["4"]] second_column = [df["2"], df["5"]] third_column = [df["3"], df["6"]] result = pd.concat(first_column, second_column, third_column)``` not working. Used `append` - did not help.
2017-07-10T05:22:51.556134
Georgeann
pythondev_help_Georgeann_2017-07-10T05:22:51.556134
1,499,664,171.556134
84,467
pythondev
help
`pd.concat([first_column, second_column, third_column])` perhaps ?
2017-07-10T05:26:44.643938
Carri
pythondev_help_Carri_2017-07-10T05:26:44.643938
1,499,664,404.643938
84,468
pythondev
help
oops, it looks a bit strange at the end
2017-07-10T05:32:25.774946
Suellen
pythondev_help_Suellen_2017-07-10T05:32:25.774946
1,499,664,745.774946
84,469
pythondev
help
but that's not the point :stuck_out_tongue:
2017-07-10T05:32:34.778649
Suellen
pythondev_help_Suellen_2017-07-10T05:32:34.778649
1,499,664,754.778649
84,470
pythondev
help
Thank you very much.
2017-07-10T05:34:07.813850
Georgeann
pythondev_help_Georgeann_2017-07-10T05:34:07.813850
1,499,664,847.81385
84,471
pythondev
help
has anyone worked with `gspread` to retrieve and write data to google spreadsheets? getting data from the spreadsheet works totally fine but i am having trouble writing to it. followed the documentation. maybe someone has had similar issues and i am missing something
2017-07-10T10:44:08.556739
Aimee
pythondev_help_Aimee_2017-07-10T10:44:08.556739
1,499,683,448.556739
84,472
pythondev
help
Anyone here familiar with SVN?
2017-07-10T12:16:43.115913
Myong
pythondev_help_Myong_2017-07-10T12:16:43.115913
1,499,689,003.115913
84,473
pythondev
help
The version control software?
2017-07-10T12:18:29.178200
Gabriele
pythondev_help_Gabriele_2017-07-10T12:18:29.178200
1,499,689,109.1782
84,474
pythondev
help
Yeah.
2017-07-10T12:19:36.218014
Myong
pythondev_help_Myong_2017-07-10T12:19:36.218014
1,499,689,176.218014
84,475
pythondev
help
Oh the joys of not being able to use Git
2017-07-10T12:19:58.230712
Myong
pythondev_help_Myong_2017-07-10T12:19:58.230712
1,499,689,198.230712
84,476
pythondev
help
I spent several years with it. What's the problem?
2017-07-10T12:20:27.247166
Gabriele
pythondev_help_Gabriele_2017-07-10T12:20:27.247166
1,499,689,227.247166
84,477
pythondev
help
Got a huge code base of multiple versions of a project and I needed to basically just get the newest versions. It seems that something happened to my local directory so it may or not be updating and checking out everything from the server
2017-07-10T12:22:19.313007
Myong
pythondev_help_Myong_2017-07-10T12:22:19.313007
1,499,689,339.313007
84,478
pythondev
help
But it seems like a common issue is a `forcibly closed connection` also `truncated http response` and `hash mismatch`
2017-07-10T12:22:48.330786
Myong
pythondev_help_Myong_2017-07-10T12:22:48.330786
1,499,689,368.330786
84,479
pythondev
help
ugh... sounds weird. Are you pulling from an HTTP repository then?
2017-07-10T12:23:35.357903
Gabriele
pythondev_help_Gabriele_2017-07-10T12:23:35.357903
1,499,689,415.357903
84,480
pythondev
help
The hash mismatch problem seems fixed by going to the local directory where the issue occurred and running `svn update --set-depth empty` then `svn update --set-depth infinity`
2017-07-10T12:23:37.359148
Myong
pythondev_help_Myong_2017-07-10T12:23:37.359148
1,499,689,417.359148
84,481
pythondev
help
<@Gabriele> yes
2017-07-10T12:24:50.402623
Myong
pythondev_help_Myong_2017-07-10T12:24:50.402623
1,499,689,490.402623
84,482
pythondev
help
It's a outside hosted server
2017-07-10T12:25:04.410670
Myong
pythondev_help_Myong_2017-07-10T12:25:04.410670
1,499,689,504.41067
84,483
pythondev
help
outside of our network that is
2017-07-10T12:25:10.413692
Myong
pythondev_help_Myong_2017-07-10T12:25:10.413692
1,499,689,510.413692
84,484
pythondev
help
Also occasionally run into hanging on update. I use the CLI cause the GUI is just way too slow having to cleanup due to locked repo.
2017-07-10T12:25:48.436327
Myong
pythondev_help_Myong_2017-07-10T12:25:48.436327
1,499,689,548.436327
84,485
pythondev
help
Where in the console it will just sit for a while
2017-07-10T12:26:02.445113
Myong
pythondev_help_Myong_2017-07-10T12:26:02.445113
1,499,689,562.445113
84,486
pythondev
help
and eventually I have to `ctrl-c` and then `svn cleanup` and `svn update`
2017-07-10T12:26:20.455921
Myong
pythondev_help_Myong_2017-07-10T12:26:20.455921
1,499,689,580.455921
84,487
pythondev
help
It probably wouldn't be such a huge PITA, but it's a massive repo
2017-07-10T12:26:46.471426
Myong
pythondev_help_Myong_2017-07-10T12:26:46.471426
1,499,689,606.471426
84,488
pythondev
help
yeah... sorry that I probably can't help, because I've never had that sort of problem with it
2017-07-10T12:29:03.552053
Gabriele
pythondev_help_Gabriele_2017-07-10T12:29:03.552053
1,499,689,743.552053
84,489
pythondev
help
No problem, thanks anyways
2017-07-10T12:30:24.600016
Myong
pythondev_help_Myong_2017-07-10T12:30:24.600016
1,499,689,824.600016
84,490
pythondev
help
Guys, anyone worked with docker?
2017-07-10T15:29:43.674811
Bella
pythondev_help_Bella_2017-07-10T15:29:43.674811
1,499,700,583.674811
84,491
pythondev
help
lots of us have <@Bella>
2017-07-10T15:34:18.821631
Signe
pythondev_help_Signe_2017-07-10T15:34:18.821631
1,499,700,858.821631
84,492
pythondev
help
Could you help me? I can’t connect mysql image with my python image;(
2017-07-10T15:47:03.218403
Bella
pythondev_help_Bella_2017-07-10T15:47:03.218403
1,499,701,623.218403
84,493
pythondev
help
I presume you are using compose?
2017-07-10T15:47:33.234834
Beula
pythondev_help_Beula_2017-07-10T15:47:33.234834
1,499,701,653.234834
84,494
pythondev
help
Just post your question :smile:
2017-07-10T15:47:38.237346
Beula
pythondev_help_Beula_2017-07-10T15:47:38.237346
1,499,701,658.237346
84,495
pythondev
help
one moment;)
2017-07-10T15:47:51.243994
Bella
pythondev_help_Bella_2017-07-10T15:47:51.243994
1,499,701,671.243994
84,496
pythondev
help
&gt;I presume you are using compose? no:slightly_smiling_face:
2017-07-10T15:48:03.250309
Bella
pythondev_help_Bella_2017-07-10T15:48:03.250309
1,499,701,683.250309
84,497
pythondev
help
first I running, MySQL image ``` docker run --name my-db -e MYSQL_ROOT_PASSWORD=t123 mysql ``` then I build the image for the python app ``` docker build --rm -t myapp:dev -f Dockerfile . ``` Dockerfile body ``` FROM python:2.7 RUN apt-get update &amp;&amp; apt-get install -y python-dev ENV DEBIAN_FRONTEND noninteractive RUN echo "en_US.UTF-8 UTF-8" &gt; /etc/locale.gen &amp;&amp; locale-gen ENV PYTHONPATH /app RUN mkdir app WORKDIR /app/ # Ensure that Python outputs everything that's printed inside # the application rather than buffering it. ENV PYTHONUNBUFFERED 1 # Defaults to PIP ENV PIP_NO_CACHE_DIR off ENV PIP_DISABLE_PIP_VERSION_CHECK on ENTRYPOINT [ "/bin/bash" ] ``` then I running my app image ``` docker run --name=test-app -p 8000:8000 -it -v $PWD:/app --link my-db --env-file=.env myapp:dev ``` and tried to run flask app in the docker container, and got error ``` Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' ```
2017-07-10T16:04:06.768365
Bella
pythondev_help_Bella_2017-07-10T16:04:06.768365
1,499,702,646.768365
84,498
pythondev
help
Spend a lot of time, and can’t find solution:disappointed:
2017-07-10T16:05:08.801346
Bella
pythondev_help_Bella_2017-07-10T16:05:08.801346
1,499,702,708.801346
84,499
pythondev
help
Looks like you are trying to access the MySQL server through the socket, I think you need to set it to use the port and the hostname `my-db` (or whatever `link` arg you name)
2017-07-10T16:07:09.865299
Beula
pythondev_help_Beula_2017-07-10T16:07:09.865299
1,499,702,829.865299
84,500
pythondev
help
``` docker run --name -p 3306 -h localhost -e MYSQL_ROOT_PASSWORD=t123 mysql ``` something like this?
2017-07-10T16:09:52.951299
Bella
pythondev_help_Bella_2017-07-10T16:09:52.951299
1,499,702,992.951299
84,501
pythondev
help
No, it's what you link it as, so the `docker run --name=test-app -p 8000:8000 -it -v $PWD:/app --link my-db --env-file=.env myapp:dev` The `--link my-db` would name the link `my-db`
2017-07-10T16:12:07.021123
Beula
pythondev_help_Beula_2017-07-10T16:12:07.021123
1,499,703,127.021123
84,502