Posts

Showing posts from September 26, 2021

Featured post

When refinancing a bank loan, the actual savings and early repayment fees must be calculated before conversion

Image
  Last Tuesday, while reviewing my quarterly mortgage amortizations over coffee, the first thing that struck me was how much money gets left on the table during bank switches. Most borrowers fall into a common psychological trap. They see a lower advertised rate, calculate a raw monthly payment drop, and instantly sign the transfer paperwork. When I ran a complete audit on my own refinancing history, I discovered that upfront exit fees wiped out nearly ten months of expected gains. I am not here to tell you to stay with an overpriced lender. However, if you have ever felt confused by early payoff calculations, you will recognize why I put this together. Here are my personal field notes on calculating exact net savings before you initiate a bank transfer. FIELD NOTE FOR Borrowers carrying fixed or variable loans within their first 3 years Homeowners looking at a lower rate option at competing ba...

anaconda 64bit를 32bit 가상환경 만드는법

Image
  set CONDA_FORCE_32BIT = 1   conda create -n [가상 환경 이름] python=[파이썬 버전] anaconda 먼저, "set CONDA_FORCE_32BIT = 1"은 64비트의 아나콘다를  일시적으로 32비트로 만들어 주는 명령어 입니다.  1이 아니라 0을 입력하면 다시 64비트로 돌아옵니다.  참고로, 이것을 cmd에 입력하면 아무 반응도 일어나지 않는데 제대로 입력된 것이 맞습니다!   그리고 "conda create -n [가상 환경 이름] python=[파이썬 버전]  anaconda"은 아나콘다 가상환경을 만드는 명령어입니다.  여기서, -n은 가상환경의 폴더명을 설정하는 옵션으로, -n py38_32와 같이 입력하면 폴더명이 py38_32인 가상환경이 생성됩니다.  그리고 저는 파이썬 버전을 3.8.5로 설치하였습니다.  (입력 예시 : conda create -n py38_32 python=3.8.5 anaconda)

UI파일을 Python 코드에서 import하는 방법

Image
import sys from PyQt5.QtWidgets import * from PyQt5 import uic   # ui 파일을 사용하기 위한 모듈 import #UI파일 연결 코드 UI_class = uic.loadUiType("UI파일이름.ui")[0] class MyWindow(QMainWindow, UI_class) :     def __init__(self) :         super().__init__()         self.setupUi(self) app = QApplication(sys.argv)  Window = MyWindow()  Window.show() app.exec_() ㅇ
  그리고, 인터넷 창에 https://api.telegram.org/bot 토큰/getUpdates 을 입력한다. 예를 들어 토큰이 12345:ABcdeFGhIjKL 이라고 하면 주소는 https://api.telegram.org/bot 12345:ABcdeFGhIjKL/getUpdates이 된다. 한 번에 아래와 같이 안 나올 수 있는데 그럴 때는 대화창에 대화를 좀 더 하고, 인터넷 창 새로 고침도 몇 번 더 하면 아래와 같이 본인의 계정 ID가 나온다. 아래는 대화창에 hi라고 쓴 부분이 보인다. 한글은 깨져서 잘 안 나온다. 저번 봇에서는 잘 나왔던 거 같은데... 아무튼 영어로 한 대화는 잘 나온다. "text":"hi" 부분의 "id" : "xxxxxx"의 숫자가 본인의 ID이다. 이것 또한 저장해놓자. 외우려고 하지 말고...

vs code에 빨간줄 제거방법

Image
Complete Engineering Guide to Eliminating Red Error Squiggles in VS Code Navigating modern software development workflows requires an optimized, distraction-free Integrated Development Environment (IDE). In Visual Studio Code (VS Code), the appearance of red under-lines—scientifically termed Error Squiggles —serves as an essential diagnostic indicator to flag syntax mutations, compilation failures, or linter metric violations. However, misconfigured development environments, overly aggressive code-analysis tools, or localized caching glitches often trigger false-positive warnings that disrupt cognitive programming velocity. To recover terminal workspace clarity, software engineers must master the structural configuration techniques required to selectively suppress or resolve these visual indicators.   vs code 내에서 '.pylintrc'라는 파일을 생성해 주시고 그 안에다가 'extension-pkg-whitelist=PyQt5' 내용을 입력하고 저장한 다음 vs vode를 재실행하시면 됩니다. 그러면 빨간줄은 감쪽같이 사라집니다! Technical Mechanics of Integrated Di...

MySql 디렉토리 수정, 에러나올때

Image
  작업관리자에 들어가서 서비스->아래로스크롤->mysql80 실행중지클릭 D드라이브에 원하는 곳에 폴더생성 후(D:\MySQL\MySQL_data) 이곳에 DATA폴더와 my.ini를 복사 C:\ProgramData\MySQL\MySQL Server 8.0에서 my.ini 복사본백업 후 내용 수정 실행에 regedit 후 컴퓨터\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MySQL80입력 이곳에서 imagepath클릭 후 "C:\Program Files\MySQL\MySQL Server 8.0\bin\mysqld.exe"  --defaults-file= "C:\ProgramData\MySQL\MySQL Server 8.0\my.ini" 빨간부분 미리생성한 폴더 위치로 변경 저장

블루투스 테더링

Image
  항목  최대 속도   연결 기기 수 비고 모바일 핫스팟 144Mbps 최대 10대 WiFi만큼 속도 지원 동영상 끊김 없이 재생 가능 배터리 소모 큼 블루투스 테더링    1.3Mbps 1대  동영상이 끊길 수 있고 배터리 소모 적음

telegram-bot 에러나왔을때

Image
  telegram모듈이 없거나 참조를 잘못 하고있을 때 나오는 현상 pip uninstall python-telegram-bot telegram pip install python-telegram-bot #텔레그램 모듈 import import telegram  from telegram.ext import Updater from telegram.ext import CommandHandler from telegram.ext import MessageHandler, Filters ========================= #텔레그램 모듈 설치(pip와 conda 두 가지중에 하나 선택해서 설치)  pip install python-telegram-bot --upgrade  conda install -c conda-forge python-telegram-bot 

파이썬 study python

Image
  #. python 들여쓰기 들여쓰기를 하려는 줄을 모두 선택(드래그)한 후  tab 키를 누르면 선택된 줄이 한 번에 들여쓰기 됩니다.  반대는 shift + tab import requests from bs4 import BeautifulSoup raw = requests . get ( "https://search.naver.com/search.naver?where=news&query=코알라" , headers = { 'User-Agent' : 'Mozilla/5.0' } ) html = BeautifulSoup ( raw . text , "html.parser" ) 네이버뉴스 기사 언론사의 선택자: a._sp_each_source ================================================ try : # 실행문1 # 실행문2 # ... except : # 예외문1 # 예외문2 # ... 기본적으로 위와 같이 try: 아래 들여쓰기된 부분에서 에러가 발생하면, except: 아래 들여쓰기된 부분이 실행됩니다. try: 를 사용하는 경우, except: 가 꼭 있어야합니다. ===================================================

7Day

Ultimate Roadmap to Highly Valued Generative Artificial Intelligence Certification Frameworks

Ultimate Guide to Text to Video AI Tools

90도 엘보 원하는각도 자르는방법.배관 질라 길이 계산법