일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
- 편스토랑 우승상품
- Baekjoon
- hackerrank
- 맥북
- 프로그래머스 파이썬
- 금융문자분석경진대회
- dacon
- 편스토랑
- ubuntu
- 우분투
- programmers
- github
- Real or Not? NLP with Disaster Tweets
- ChatGPT
- Docker
- Git
- 캐치카페
- leetcode
- 프로그래머스
- 데이콘
- 더현대서울 맛집
- gs25
- Kaggle
- 백준
- SW Expert Academy
- 자연어처리
- 파이썬
- PYTHON
- AI 경진대회
- 코로나19
- Today
- Total
목록
반응형
전체 글 (1653)
솜씨좋은장씨

예전 Ubuntu에서 Python 가상환경을 만들때에는 virtualenv를 활용하여 가상환경을 만들고 사용했었습니다. Windows에서도 virtualenv를 설치하고자 검색 중 venv라는 더 편하고 쉽게 사용할 수 있는 방법을 알게되어 공유합니다. 다음의 방법은 Python3에서만 가능합니다! 1. 가상환경 생성 먼저 가상환경을 생성할 디렉토리(폴더)로 이동한 후 Windows 10 의 경우 # python -m venv ./(생성하고자 하는 가상환경 이름) python -m venv ./myenv Mac OS X / Linux 의 경우 # python3 -m venv ./(생성하고자 하는 가상환경 이름) python3 -m venv ./myenv 위의 명령어를 통해 가상환경을 생성합니다. 2. 가..

Windows 10 환경에서 git add 를 했을 경우 $ git add . warning: LF will be replaced by CRLF in README.md. The file will have its original line endings in your working directory 위와 같은 warning을 보는 경우가 있습니다. 원인 운영체제에 따라서 다른 개행문자를 사용하고 나중에 이것으로 추후 문제가 생길 수 있기 때문입니다. 운영체제 별 사용하는 개행문자 유닉스 / 리눅스 : "LF"로 개행문자를 사용 윈도우 : "CRLF"형식으로 개행문자를 사용 해결방법 $ git config core.autocrlf true 이 명령어를 실행하고 다시 git add . 를 실행하면 warning..

1일 1문제 60일차! 오늘의 문제는 프로그래머스의 더 맵게 입니다. 프로그래머스 코드 중심의 개발자 채용. 스택 기반의 포지션 매칭. 프로그래머스의 개발자 맞춤형 프로필을 등록하고, 나와 기술 궁합이 잘 맞는 기업들을 매칭 받으세요. programmers.co.kr 첫번째 시도 def solution(scoville, K): answer = -1 count = 0 check_flag = False while min(scoville) < K: scoville = sorted(scoville, reverse=True) scoville.append(scoville.pop() + (scoville.pop() * 2) ) if len(scoville) == 1 and scoville[0] < K: check_f..

Given a time in 12-hour AM/PM format, convert it to military (24-hour) time. Note: Midnight is 12:00:00AM on a 12-hour clock, and 00:00:00 on a 24-hour clock. Noon is 12:00:00PM on a 12-hour clock, and 12:00:00 on a 24-hour clock. Function Description Complete the timeConversion function in the editor below. It should return a new string representing the input time in 24 hour format. timeConvers..

You are in charge of the cake for your niece's birthday and have decided the cake will have one candle for each year of her total age. When she blows out the candles, she’ll only be able to blow out the tallest ones. Your task is to find out how many candles she can successfully blow out. For example, if your niece is turning 4 years old, and the cake will have 4 candles of height 4, 4, 1, 3, sh..

[Python] Pycharm에서 unittest 사용해보기! Pycharm에서 unittest를 사용하는 방법에 대해서 정리해보려합니다. Step 3. Test your first Python application - Help | PyCharm Step 3. Test your first Python application Remember, in the first tutoria.. somjang.tistory.com 지난 글에서 테스트를 하면서 오류났던 부분을 디버깅을 통해서 고쳐보려합니다. Testing started at 5:53 오후 ... /Users/donghyunjang/PycharmProjects/MyTestPractice/venv/bin/python "/Applications/PyCharm ..

A queue is an abstract data type that maintains the order in which elements were added to it, allowing the oldest elements to be removed from the front and new elements to be added to the rear. This is called a First-In-First-Out (FIFO) data structure because the first element added to the queue (i.e., the one that has been waiting the longest) is always the first one to be removed. A basic queu..

Pycharm에서 unittest를 사용하는 방법에 대해서 정리해보려합니다. Step 3. Test your first Python application - Help | PyCharm Step 3. Test your first Python application Remember, in the first tutorial you’ve created your first Python application, and in the second tutorial you’ve debugged it. Now it’s time to do some testing. Choosing the test runner If you used nosetest, py.test www.jetbrains.com 위의 문서를 참조하여 작성하였습니다...