Arkadaşlar Python'da kullanicinin clickledigi yeri nasıl alabilirim?
>>> import pymouse
>>> mouse = pymouse.PyMouse()
>>> mouse.position()
(231L, 479L)
pip install pymouse
ile yükleyebilirsiniz.Hocam eline saglik. Ben HTML sayfamda bir resim katalogu olusturdum bu resimlerin birine tikladiginda o tikladigini alip ona islem yapmak istiyorum. Misal en soldaki resmi secti, o resim ustunden ilerlemek istiyorum.Python get mouse x, y position on click
Coming from IDL, I find it quite hard in python to get the x-y position of the mouse on a single left click using a method that is not an overkill as in tkinter. Does anyone know about a python pac...stackoverflow.com
Bu kodu deneyebilirsiniz CMD Python'unda;
Kod:>>> import pymouse >>> mouse = pymouse.PyMouse() >>> mouse.position() (231L, 479L)
PyMouse eklentisi yoksapip install pymouse
ile yükleyebilirsiniz.
O zaman resimlere koordinat mi vereyim ?Python get mouse x, y position on click
Coming from IDL, I find it quite hard in python to get the x-y position of the mouse on a single left click using a method that is not an overkill as in tkinter. Does anyone know about a python pac...stackoverflow.com
Bu kodu deneyebilirsiniz CMD Python'unda;
Kod:>>> import pymouse >>> mouse = pymouse.PyMouse() >>> mouse.position() (231L, 479L)
PyMouse eklentisi yoksapip install pymouse
ile yükleyebilirsiniz.
Sizin işiniz Django ile o zaman?Hocam eline saglik. Ben HTML sayfamda bir resim katalogu olusturdum bu resimlerin birine tikladiginda o tikladigini alip ona islem yapmak istiyorum. Misal en soldaki resmi secti, o resim ustunden ilerlemek istiyorum.
O zaman resimlere koordinat mi vereyim ?
Hocam Flask ile yapiyorum. Daha dogrusu Flask ile yapmam lazim.Sizin işiniz Django ile o zaman?
Hocam Flask ile yapiyorum. Daha dogrusu Flask ile yapmam lazim.
Get the data received in a Flask request
I want to be able to get the data sent to my Flask app. I've tried accessing request.data but it is an empty string. How do you access request data? from flask import request @app.route('/', meth...stackoverflow.com
<a href> yoluyla olabiliyorsa hocam neden olmasın. Flask ile fazla ilgilenmedim ama mantıken çalışabileceğine inanıyorum.Flask - Calling python function on button OnClick event
I am new to python and Flask. I have a Flask Web App with a button. When I click on the button I would like to execute a python method not a Javascript method. How can I do this? I have seen examp...stackoverflow.com
Soyle dusundum. Butun resimlerimi button olarak yapsam ? Buttonlari ayirsam misal 1. button'a bastiginda 1.'yi cagirsin ?
Suan bir 10 resmi button yapip GET, POST olaylari ile halletmeye calisacagim.<a href> yoluyla olabiliyorsa hocam neden olmasın. Flask ile fazla ilgilenmedim ama mantıken çalışabileceğine inanıyorum.
Bu sitenin çalışmasını sağlamak için gerekli çerezleri ve deneyiminizi iyileştirmek için isteğe bağlı çerezleri kullanıyoruz.