티스토리 뷰
import keyring
import sys
from dotenv import load_dotenv
folderPath_CommonLibraries = keyring.get_password("BilientService", "CommonLibraries")
#print("[CommonLibraries]", folderPath_CommonLibraries)
if folderPath_CommonLibraries not in sys.path:
sys.path.append(folderPath_CommonLibraries)
print("Path appended")
envPath = folderPath_CommonLibraries + "/.env"
load_dotenv(envPath)
def Test02(): # @ 2026.02.01
if folderPath_CommonLibraries not in sys.path:
sys.path.append(folderPath_CommonLibraries)
print("Path appended")
envPath = folderPath_CommonLibraries + "/.env"
load_dotenv()
clientID = os.getenv('GOOGLE_CLIENT_ID')
print("[ClientID]", clientID)
from BDBManager import cDBManager
dbManger = cDBManager("Test262")
dbManger.CreateTable('UserInfos')
반응형
'SWDesk' 카테고리의 다른 글
| 우분투(Ubuntu)에서 keyring 사용 방법 (0) | 2026.01.26 |
|---|---|
| [Python] Selenium을 대신할 Playwright 예제 코드 (0) | 2025.12.31 |
| [Python] List 내 정렬 (0) | 2025.12.18 |
| [Python] dovenv 라이브러리 활용하기 (0) | 2025.12.13 |
| [Android] Test25A-T11 (0) | 2025.10.31 |
반응형
250x250
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- 오블완
- Video
- DYOV
- 치매방지
- 혁신과허들
- image
- 둎
- 절연형
- 배프
- Hurdles
- 전압
- 혁신
- 아두이노
- 치매
- BiliChild
- arduino
- 심심풀이치매방지기
- BSC
- 티스토리챌린지
- Innovations&Hurdles
- 빌리언트
- 허들
- 전류
- ServantClock
- Innovation&Hurdles
- Innovations
- 심심풀이
- 빌리칠드
- bilient
- Decorator
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
글 보관함
