분류 전체보기 330

set, count, index, reverse, sort, pop, strip, lstrip, rstrip, round, zip, |, ^, dict, sort, sorted, reverse, math, Queue, LifoQueue

setIt returns unique items.my_set={1,2,3,1,2}print(my_set)>>>{1, 2, 3}your_set=set([1,2,3,2,1])your_set>>>{1, 2, 3}set('abracadabra')>>>{'a', 'b', 'c', 'd', 'r'} countIt returns the number of elements with the specified value.fruits = ['apple', 'banana', 'cherry','banana', 'apple']fruits.count('apple')>>>2 index(x,n)Return zero-based index in the list of the first..

The way how to find remote jupyter server(after connect two different containers)

The way how to find remote jupyter server address after connected the networks between two different containers over docker-compose is simple. docker-compose logs -f - f, --follow Fetch the logs of a container. docker-compose logs -f Attaching to docker-compose_jupyternotebook_sql_jupyter_1, docker-compose_jupyternotebook_sql_db_1, docker-compose_jupyternotebook_sql_adminer_1 ... jupyter_1 | [I ..

Docker 2022.01.28