URL Co-Pilot Ver1 : 다모아 사이보그화

URL Co-Pilot Ver1 : 다모아 사이보그화

Summary URL을 키매핑하여 웹사이트 이동을 반자동화하는 프로그램에 대한 내용으로, 파이썬 코드 재시작 방법과 관련된 코드 예시가 포함되어 있습니다. 매크로 개발과 진심 글쓰기를 주제로 하며, Tkinter를 사용한 최상위 창 만들기 및 모니터 해상도 얻기와 관련된 참고 코드도 제공됩니다.


🔗 https://github.com/HelloZOOO/URL-co-pilot

1
2
3
#아이콘 포함하여 빌드하기

pyinstaller -F -w -n=URLcopilot --icon=./icon2.ico --onefile HalfAuto_UrlCopiler.py

🔥 참고 코드 🔗 https://insubkim.tistory.com/68

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
import os
import sys

def restart():
    os.execl(sys.executable, sys.executable, *sys.argv)

print("Program Started")

y_or_n = input("Are you gonna restart the program? y/n\n")

if y_or_n == "y":
	restart()

🔗 https://amureo.tistory.com/30

1
2
3
4
5
from tkinter import *

tk = Tk()

tk.wm_attributes("-topmost", 1)

🔗 https://www.delftstack.com/ko/howto/python/python-get-screen-size/

1
2
3
4
5
6
7
8
9
from tkinter import *

root = Tk()

monitor_height = root.winfo_screenheight()
monitor_width = root.winfo_screenwidth()

print("width x height = %d x %d (pixels)" %(monitor_width, monitor_height))
mainloop()

💬 댓글

GitHub 계정으로 로그인하여 댓글을 남겨보세요. GitHub 로그인

🔧 댓글 시스템 설정이 필요합니다

GitHub Discussions 기반 댓글 시스템을 활성화하려면:

  1. Giscus 설정 페이지에서 설정 생성
  2. GISCUS_SETUP_GUIDE.md 파일의 안내를 따라 설정 완료
  3. Repository의 Discussions 기능 활성화

Repository 관리자만 설정할 수 있습니다. 설정이 완료되면 모든 방문자가 댓글을 남길 수 있습니다.

목차