User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
DaniWeb is a massive community of 375,276 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,113 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Showing results 1 to 23 of 23
Search took 0.01 seconds.
Posts Made By: Haze
Forum: Database Design May 29th, 2008
Replies: 1
Views: 568
Posted By Haze
database data entry problem

Im pondering creating a large database of items each with 10 or so variable values attached for a database with some advanced searching features. All of this item information is allready available on...
Forum: Python Feb 9th, 2008
Replies: 3
Views: 388
Posted By Haze
Re: tkinter widget method problem

yep that was it i figured it out myself but didnt get round to replying to this yet. i do have another problem though. One of the functions i have for the program runs through twice when the program...
Forum: Python Feb 9th, 2008
Replies: 3
Views: 388
Posted By Haze
Question tkinter widget method problem

im trying to use the .get() method to get all the text from a tkinter text widget. the code im using is
text = root.textwidget.get(1,end)

i get the error "name error: global name 'end' is not...
Forum: Python Oct 24th, 2007
Replies: 1
Views: 329
Posted By Haze
tkinter widgets

when i change the state of a entry widget to disabled it greys out automaticly and this doesn't happen with text widgets. I was wondering if there is a specific value i can change for text widgets to...
Forum: Python Sep 10th, 2007
Replies: 19
Views: 2,207
Posted By Haze
Re: Python GUI Problem

just making sure my "i will try to figure out the radiobutton thing aswel" isnt being mistook for "dont bother posting" :)
Forum: Python Sep 7th, 2007
Replies: 19
Views: 2,207
Posted By Haze
Re: Python GUI Problem

thanks for clarifying that, i will try to figure out the radiobutton thing aswel and sorry about the double post, i was having trouble with this website yesterday i kept getting database errors.
Forum: Python Sep 6th, 2007
Replies: 19
Views: 2,207
Posted By Haze
Re: Python GUI Problem

ok i understand the first problem now. The second problem i also understand (a bit) but for your example you used a button and what i was planning to use it with was a radiobutton so i tried...
Forum: Python Sep 6th, 2007
Replies: 19
Views: 2,207
Posted By Haze
Re: Python GUI Problem

ok i understand the first problem now. The second problem i also understand (a bit) but for your example you used a button and what i was planning to use it with was a radiobutton so i tried...
Forum: Python Sep 5th, 2007
Replies: 19
Views: 2,207
Posted By Haze
Re: Python GUI Problem

bump, anyone know or im i missing the point completely? and even if you dont know is there anywhere else i could post this so i could get a response? thanks.
Forum: Python Aug 29th, 2007
Replies: 19
Views: 2,207
Posted By Haze
Re: Python GUI Problem

from Tkinter import *

def disable():# temp
root.input_text['state'] = DISABLED

root = Tk()
root.input_text = Text(root, height = 10, width = 25).grid(row = 1, column = 1, sticky =...
Forum: Python Aug 19th, 2007
Replies: 19
Views: 2,207
Posted By Haze
Re: Python GUI Problem

Ok so i have made a function and changed the command

def disable():
root.input_text(state = DISABLED) #way you wrote it doesn't work

root.input_menu.add_radiobutton(label='Input From File',...
Forum: Python Aug 19th, 2007
Replies: 19
Views: 2,207
Posted By Haze
Re: Python GUI Problem

i these are the two variations of the function i use.


def disable(widget):
widget(state = disabled)

def disable(widget):
widget(state = DISABLED)
Forum: Python Aug 18th, 2007
Replies: 19
Views: 2,207
Posted By Haze
Re: Python GUI Problem

Would this not mean that your just changing the variable to root.input.text should it not be like this


input_text = root.Text(root, ...) # rest of options go in




The command part was intended to...
Forum: Python Aug 16th, 2007
Replies: 19
Views: 2,207
Posted By Haze
Question Python GUI Problem

Ok so I'm trying to use menu bars to grey out different widgets in my gui

il show you all the lines that i think are important and the error messages for each command i have tried.

root = Tk()
...
Forum: Python Dec 5th, 2006
Replies: 19
Views: 3,794
Posted By Haze
Re: Very basic de/encrypt program

Ghostdog:
thats a pretty clever bit of code ill use it when i fully understand it (or else it just feels like cheating)

jrcagle:
i realised that my z's dont need to come out as a its encryption its...
Forum: Python Dec 4th, 2006
Replies: 19
Views: 3,794
Posted By Haze
Re: Very basic de/encrypt program

got it working heres the code.


def encrypt(text_f):
length = len(text_f)
for position in range (length):
temp = ord(text_f[position])
temp = temp + 1
temp =...
Forum: Python Dec 4th, 2006
Replies: 19
Views: 3,794
Posted By Haze
Re: Very basic de/encrypt program

the edit button seems to disapper a while after you reply but anyway i also realised the 0,length is overcomplicated as it starts at 0 anyway so it should just be length
Forum: Python Dec 4th, 2006
Replies: 19
Views: 3,794
Posted By Haze
Re: Very basic de/encrypt program

This is what i have come up with for the encryption i plan to add things to it but that will be after it works :rolleyes:.


def encrypt(text_f):
length = len(text_f)
for position in range...
Forum: Python Dec 3rd, 2006
Replies: 19
Views: 3,794
Posted By Haze
Re: Very basic de/encrypt program

i do see the problem with my method in that theres allways going to be something misencrypted but i dont really know what u mean by touching each letter only once and using chr and ord. chr and ord...
Forum: Python Dec 3rd, 2006
Replies: 19
Views: 3,794
Posted By Haze
Re: Very basic de/encrypt program

sorry for double posting i cant find the edit button but i have found 1 problem with the program you have given me. when i try to encrpyt 'z' it will come out as b becuase it changes z to a then a to...
Forum: Python Dec 2nd, 2006
Replies: 19
Views: 3,794
Posted By Haze
Re: Very basic de/encrypt program

now thats what a call a explanation :cheesy:. as for the quote above there i think your wrong about that because well heres a example.

for i in range(1,10):
print i

the output you would expect...
Forum: Python Dec 2nd, 2006
Replies: 19
Views: 3,794
Posted By Haze
Re: Very basic de/encrypt program

thanks i guess allthough a explanation as to where my code is going wrong would be good. i should probably have said i probably know nothing about python compared to the average person on these...
Forum: Python Dec 2nd, 2006
Replies: 19
Views: 3,794
Posted By Haze
Question Very basic de/encrypt program

when i say basic i mean basic it doesnt store the encrypted string in a file or anything it just prints out what it would be and all i intend it to do is swap a for b, b for c and so on then turn the...
Showing results 1 to 23 of 23

 
All times are GMT -4. The time now is 6:14 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC