【Programming】31 [Python] Python 3.10보다 최대 10-60% 빠른 Python 3.11 릴리즈 https://www.python.org/downloads/release/python-3110/ Python Release Python 3.11.0The official home of the Python Programming Languagewww.python.org 【Programming】/Python 2022. 10. 27. [Python] Where does pip install its packages? pip list -v can be used to list packages' install locations, introduced in https://pip.pypa.io/en/stable/news/#b1-2018-03-31 【Programming】/Python 2022. 5. 12. [JS] Node.js 개발환경 with atom + atom-runner / script 요런 갬성이 좋아서 Visual Studio Code대신 atom을 사용하는데, atom에서 Node.js 실행 환경을 구성해 본다.atom에서 File >> Settings을 선택하면 Settings Tab이 열리고, 여기서 왼쪽 Install 항목으로 가서atom-runner 혹은 script를 찾아 설치하면 끝..... Javascript를 작성하고 아래 Key를 누르면 실행 결과가 나옴.[atom-runner] Alt + R on Windows설치 후, File >> Config... 메뉴에서 아래와 같이 runner 부분 추가 필요[Script] Ctrl + Shift + B on Windows 아래는 Python을 위한 환경을 포함해 설치한 Package 【Programming】/JavaScript & TypeScript 2022. 2. 16. [Python] Windows와 Linux를 동시에 지원하는 코드 구조 sys를 import해서 OS 타입을 알아낸 다음, OS에 따른 코드를 실행시키는 구조import sysimport osif sys.platform == "win32": # -------------------------------------------------------- # Multi-Processing # -------------------------------------------------------- processes = [] p = multiprocessing.Process(target=do_something) ## 각 프로세스에 작업을 등록 p.start() processes.append(p)else: # -------------------.. 【Programming】/Python 2022. 1. 27. [Python] Python 메인함수 - if __name__ == "__main__" 의미 if __name__ == "__main__" 의 의미는 메인 함수의 선언, 시작을 의미합니다. 해당 코드 밑에 main 등의 함수 호출 코드를 작성해서 함수의 기능을 수행합니다.def main(): testfunc() def testfunc(): print('This is a test function') if __name__== "__main__": main() 파이썬 if __name__ == "__main__" 의미 파이썬 if __name__ ==Python에서 if __name__ ==madplay.github.io 【Programming】/Python 2022. 1. 27. [Python] Python 개발환경 with Anaconda Anconda사이트에서 Anaconda Individual Editon을 다운받아 설치합니다. (글 작성 기준으로 Anaconda3-2021.11-Windows-x86_64.exe, Python 3.9버전)설치는 대부분 기본 설정대로 하면 되지만, Select Installation Type 단계에서 Just Me를 선택합니다. All Users를 선택하면 실행시 Admin권한으로 실행해야합니다. Advanced Installation Options 단계에서 Register Anacoda as my default Python 3.8을 선택한 상태로 Install 버튼을 클릭합니다. 이 옵션은 PyCharm과 같은 개발 툴에 아나콘다에 포함되어 있는 Python을 사용하도록 등록하는 것입니다. 첫 번째 옵.. 【Programming】/Python 2022. 1. 17. [Java] Java SE 8 버전 개발환경 1. Java SE 8 (8u202 and earlier) 버전 설치오라클 계정이 없으시면 계정을 만드시고, 로그인 후 다운 받으시기 바랍니다.※ JAVA SE 8(8u202 and earlier) 버전을 사용하는 이유Oracle이 2018년 7월부터 JAVA를 유료(Paid) 구독형 라이센스로 개편하면서JAVA SE 8(8u211 and later) 버전부터는 6개월 이후부터는 보안 업데이트가 이루어지지 않는 형태로 변경되었습니다.따라서 JDK 8 버전 이상을 무료(Free)로 이용하기 위해서는 Open JDK(https://openjdk.java.net/)를 이용하시면 됩니다. 2. 환경변수 설정JAVA_HOME 변수 추가변수 값: C:\Program Files\Java\jdk1.8.0_202 (64.. 【Programming】/Java & JSP 2022. 1. 16. [Python] Proxy환경하에서 pip 집에서는 잘 되는데....왜 회사에서는 안되냐고요....python개발시, pip가 안되면 주금인데.....특히 Proxy환경하에서는 삽질하게 만드는 오류가 많이 나서 구글 끝에 알아낸 방법임. 아래와 같이 옵션을 주면 동작함. python -m pip install --index-url=http://pypi.python.org/simple/ --trusted-host pypi.python.org --proxy http://PROXY.ADDRESS:PORT 기타 참고: 각종 Proxy 설정더보기Woking behind the proxy 각종 프로그램에서 프록시 설정하기 오늘 I have troubled while using programs which use networks behinde proxy. So.. 【Programming】/Python 2016. 12. 23. [Python] Unofficial Windows Binaries for Python Extension Packages Windows환경에서 pip install [library name]을 사용할 수 없을 경우(내부 보안 등등), 32/64Bit용 .whl파일을 받을 수 있는 곳임. [Site Link]Download한 .whl파일은 pip install [file_name.whl]로 설치함. 【Programming】/Python 2016. 12. 19. [Python] Unable to find vcvarsall.bat ◈ Python 2.7기반으로 Windows에서 개발시, 특히 아래와 같은 오류 발생시에 해결 방법The typical error message you will receive if you need this compiler package is Unable to find vcvarsall.bat - (선택 1) Visual Studio C++ 2008 Express Edition - (선택 2) Microsoft Visual C++ Compiler for Python 2.7◈ 관련된 stackoverflow thread [Link] 【Programming】/Python 2016. 12. 19. [C] Macro - Bit Operation #define Macro_Set_Bit(dest, position) ((dest) |= ((unsigned)0x1>(position)) & 0x1)#define Macro_Check_Bit_Clear(dest, position) (!((((unsigned)dest)>>(position)) & 0x1))#define Macro_Extract_Area(dest, bits, position) ((((unsigned)dest)>>(position)) & (bits)) 【Programming】/C & C++ 2013. 7. 11. [C] Writing Efficient C and C Code Optimization 원문: Code Project번역: Joinc 【Programming】/C & C++ 2013. 7. 11. 이전 1 2 3 다음