[Tutor] Searching db while typing on Entry widget

2017-01-16 Thread Ali Moradi
Hi. i want to search one field of my db while i type text in my Entry widget. how can i do that? and another problem is that now when i click on one of the item lists it always writes the first field of my db in the Text widget, i think i did the loop wrong maybe but i am not sure. #! /usr/bin/env

Re: [Tutor] problem with scroll in Tkinter

2017-01-13 Thread Ali Moradi
https://paste.pound-python.org/show/CIKA8eOFbdq18r3nFUBv/ On Fri, Jan 13, 2017 at 10:25 AM, Ali Moradi <adeadmars...@gmail.com> wrote: > hi. I've written this code and i can't fix the scrollbar error. i am a > beginner in Python plz help. this is

[Tutor] problem with python3 Tkinter scroll bar

2017-01-13 Thread Ali Moradi
Hi. i can't fix this error in my code about scroll bar. what should i do? i'm a beginner in Python plz help. https://paste.pound-python.org/show/CIKA8eOFbdq18r3nFUBv/ ___ Tutor maillist - Tutor@python.org To unsubscribe or change subscription options:

[Tutor] Console application

2016-01-16 Thread Ali Moradi
Hi, i don't have any clue how to write a console program that shows a list of options which could be chosen with keyboard and when one item was selected, a text shows there. I want to know, which things i need to write a program like that? Input() , print, and What? :(

[Tutor] Clickable listbox opening specific .txt files

2016-01-14 Thread Ali Moradi
Hi, i want to open specific .txt files when each item on the listbox was clicked! When i click on the first item for example it opens 1.txt and shows it on the text widget on the right, and when i select the second item on the list first it erases the text on the Text widget and then opens 2.txt

[Tutor] Clickable listbox opening .txt files

2016-01-14 Thread Ali Moradi
Hi, you said my click event grabs text and doesn't show it. So how do get it to show on the Text widget? So that when i clicked on item 1, 1.txt shows on the Text widget. I can't connect click event to Text widget from Tkinter import * root = Tk() root.title("Renkontoj kun Diferenculoj")

[Tutor] About python intrepeters on Android.

2015-08-06 Thread Ali Moradi
Hi, i noticed that the Python intrepeters on Android OS does not have Tkinter! Why they couldn't bring Tkinter on Android too? It there anyway ti use tkintr on android too ? Tnx :) ___ Tutor maillist - Tutor@python.org To unsubscribe or change

[Tutor] You are right.

2015-08-04 Thread Ali Moradi
About the listbox from sqlite, yes you are right, i'm beginner in python, and i watched many videos and study books, but i can't write what i want to :(, i mean i know the python basics (like data structures and...), i know tkinter basics and how to write widgets, but i don't know how to relate

[Tutor] How to show the listbox from sqlite and make it searchable?

2015-08-03 Thread Ali Moradi
hi, this is my code ( http://paste.pound-python.org/show/3DZoev97e1UkWFcATKYF/) how can i show the two fields name esperanto and english in a listbox positioned under the entry widget? i want the two fields to be beside eachother like (abak/o abacus) and i want to make them searchable via

[Tutor] clickable listbox with Tkinter (python2)

2015-06-18 Thread Ali Moradi
Hi, i studied your book that u said before. now i came up with this code, which i can't now show my words in the list box! ? http://pastebin.com/GpWc8Pnw now, i've got a better idea! , i can use two lists like this code ( http://pastebin.com/sJj39UjA), just the items should be loaded from my

[Tutor] clickable listbox from sqlite database.

2015-06-16 Thread Ali Moradi
Hi, you got what i mean thanks, your code (http://pastebin.com/VbaVKJgj) was so good. now i want to do two more things. i want to fill the listbox from my database which contains of one table (Words) and two fields (English) and (Esperanto), how can i do that? i want the program to be the same

Re: [Tutor] Tutor Digest, Vol 136, Issue 27

2015-06-15 Thread Ali Moradi
documentation (Steven D'Aprano) 2. How to make clickable listbox from database by Tkinter (Ali Moradi) 3. Re: How to make clickable listbox from database by Tkinter (Alan Gauld) -- Message: 1 Date: Mon, 15

[Tutor] Clickable listbox in Tkinter python 2

2015-06-15 Thread Ali Moradi
let me put it this way: the listbox should be on the same frame under the entry widget and the whole list should be visible, when the user types the word in Entry widger and clicks on search button, the listbox narrows down to that word only and now just (for example: waterakvo) are visible.

[Tutor] How to make clickable listbox from database by Tkinter

2015-06-15 Thread Ali Moradi
hi, i use python 2. how can i add a listbox under the entry and button widgets? i want to use database to fill the listbox, both fields in the database (English and Esperanto) listbox should be like this (words are beside eachother: *English* *Esperanto* waterakvo father

[Tutor] making a list in Tkinter with clickable items (Python 2.x)

2015-04-16 Thread Ali Moradi
Hi, i want to load a bunch of words from my database into the listbox in Tkinter, make them clickable, and when i clicked on them the specific meaning of that word apears in a textbox beside the listbox. i have a code but it's not complete. i'm a beginner in Python :( code: #!/bin/python from