arkadaşlar ; aşağıda kodlarını paylaştığım py dosya içersinde oluşturduğum yan2 frame içinde belirttiğim web sayfasını göstermek isitiyorum, fakat hep yeni pencerede açarak gösteriyor, bilenlerden yardım istiyorum, şimdiden teşekkürler..
---
# -*-coding:cp1254 -*-
# -*-coding:utf-8-*-
from tkinter import *
import RPi.GPIO as GPIO
from tkinter import messagebox
from time import sleep
import webbrowser
GPIO.setmode(GPIO.BOARD)
GPIO.setwarnings(False)
Motor1A = 16
Motor1B = 18
Motor1E = 22
Motor2A = 19
Motor2B = 21
Motor2E = 23
GPIO.setup(Motor1A,GPIO.OUT)
GPIO.setup(Motor1B,GPIO.OUT)
GPIO.setup(Motor1E,GPIO.OUT)
GPIO.setup(Motor2A,GPIO.OUT)
GPIO.setup(Motor2B,GPIO.OUT)
GPIO.setup(Motor2E,GPIO.OUT)
top = Tk()
top.geometry("600x600")
yan = Frame()
yan.config(width=200, borderwidth=2, relief=GROOVE, bg="#a52")
yan.pack(side=LEFT, fill=Y)
yan2 = Frame()
webbrowser.open(r"http://192.168.1.131:8081",yan2)
yan2.config(width=400, borderwidth=2, relief=GROOVE, bg="#a52")
yan2.pack(side=RIGHT, fill=Y)
def ileri():
GPI
utput(Motor1A,GPIO.HIGH)
GPI
utput(Motor1B,GPIO.LOW)
GPI
utput(Motor1E,GPIO.HIGH)
GPI
utput(Motor2A,GPIO.HIGH)
GPI
utput(Motor2B,GPIO.LOW)
GPI
utput(Motor2E,GPIO.HIGH)
def sag():
GPI
utput(Motor1A,GPIO.HIGH)
GPI
utput(Motor1B,GPIO.LOW)
GPI
utput(Motor1E,GPIO.HIGH)
GPI
utput(Motor2B,GPIO.HIGH)
GPI
utput(Motor2A,GPIO.LOW)
GPI
utput(Motor2E,GPIO.HIGH)
def sol():
GPI
utput(Motor1B,GPIO.HIGH)
GPI
utput(Motor1A,GPIO.LOW)
GPI
utput(Motor1E,GPIO.HIGH)
GPI
utput(Motor2A,GPIO.HIGH)
GPI
utput(Motor2B,GPIO.LOW)
GPI
utput(Motor2E,GPIO.HIGH)
def geri():
GPI
utput(Motor1B,GPIO.HIGH)
GPI
utput(Motor1A,GPIO.LOW)
GPI
utput(Motor1E,GPIO.HIGH)
GPI
utput(Motor2B,GPIO.HIGH)
GPI
utput(Motor2A,GPIO.LOW)
GPI
utput(Motor2E,GPIO.HIGH)
def motordurdur():
GPI
utput(Motor1E,GPIO.LOW)
GPI
utput(Motor2E,GPIO.LOW)
A = Button(yan, text = "ILERI", command = ileri)
A.place(x = 80,y = 20)
B = Button(yan, text = "SAG", command = sag)
B.place(x = 20,y = 50)
C = Button(yan, text = "SOL", command = sol)
C.place(x = 150,y = 50)
D = Button(yan, text = "GERI", command = geri)
D.place(x = 80,y = 80)
E = Button(yan, text = "DUR", command = motordurdur)
E.place(x = 80,y = 50 )
top.mainloop()
GPIO.cleanup()
---
---
# -*-coding:cp1254 -*-
# -*-coding:utf-8-*-
from tkinter import *
import RPi.GPIO as GPIO
from tkinter import messagebox
from time import sleep
import webbrowser
GPIO.setmode(GPIO.BOARD)
GPIO.setwarnings(False)
Motor1A = 16
Motor1B = 18
Motor1E = 22
Motor2A = 19
Motor2B = 21
Motor2E = 23
GPIO.setup(Motor1A,GPIO.OUT)
GPIO.setup(Motor1B,GPIO.OUT)
GPIO.setup(Motor1E,GPIO.OUT)
GPIO.setup(Motor2A,GPIO.OUT)
GPIO.setup(Motor2B,GPIO.OUT)
GPIO.setup(Motor2E,GPIO.OUT)
top = Tk()
top.geometry("600x600")
yan = Frame()
yan.config(width=200, borderwidth=2, relief=GROOVE, bg="#a52")
yan.pack(side=LEFT, fill=Y)
yan2 = Frame()
webbrowser.open(r"http://192.168.1.131:8081",yan2)
yan2.config(width=400, borderwidth=2, relief=GROOVE, bg="#a52")
yan2.pack(side=RIGHT, fill=Y)
def ileri():
GPI

GPI

GPI

GPI

GPI

GPI

def sag():
GPI

GPI

GPI

GPI

GPI

GPI

def sol():
GPI

GPI

GPI

GPI

GPI

GPI

def geri():
GPI

GPI

GPI

GPI

GPI

GPI

def motordurdur():
GPI

GPI

A = Button(yan, text = "ILERI", command = ileri)
A.place(x = 80,y = 20)
B = Button(yan, text = "SAG", command = sag)
B.place(x = 20,y = 50)
C = Button(yan, text = "SOL", command = sol)
C.place(x = 150,y = 50)
D = Button(yan, text = "GERI", command = geri)
D.place(x = 80,y = 80)
E = Button(yan, text = "DUR", command = motordurdur)
E.place(x = 80,y = 50 )
top.mainloop()
GPIO.cleanup()
---