brandon w wrote:
> radio1 = Radiobutton(master=myapp, text="had breakfast", value="had
> breakfast", variable=relStatus, commmand=iClicked).pack()
> *Traceback (most recent call last):
>File "tkwindow.py", line 54, in
> radio1 = Radiobutton(master=myapp, text="had breakfast", value="had
brandon w wrote:
> On 08/13/2011 04:49 PM, Peter Otten wrote:
>>> How do I find the modules in Tkinter?
>>>
>> The simplest approach is probably to explore your file system:
>>
>> Step 1: where's Tkinter?
>>
>> $ python -c 'import Tkinter, os; print os.path.dirname(Tkinter.__file__)'
>> /us
Here is the code:
#!/usr/bin/python
from Tkinter import *
from tkMessageBox import *
def iClicked():
radioValue = relStatus.get()
tkMessageBox.showinfo("You clicked", radioValue)
return
def chLabel():
name = "Thank you for clicking me. " + your_name.get()
labelText.set(name
Wolf Halton wrote:
Is there a way to add text to an arbitrary place in a text file?
If you are using the OpenVMS operating system, or a VAX computer, then
yes. The operating system natively supports inserting data into the
middle of a file.
If you are using Windows, Linux, Unix, Mac OS (cl
On 08/13/2011 04:49 PM, Peter Otten wrote:
brandon w wrote:
I have tried to follow the tutorial I found here:
Python 2.7 Tutorial
http://www.youtube.com/watch?v=uh6AdDX7K7U
This is what I have done so far:
#!/usr/bin/python
from Tkinter import *
import Tkinter.MessageBox
myapp = Tk()
m
Is there a way to add text to an arbitrary place in a text file?
NewAddition="this important directive. "
Open config.config
Add new line above "# this marker text in config.config"
Insert $NewAddition in blank line created above.
Save config.config
Close config.config
<\pseudocode>
I am automa
Jon wrote:
Could you link me to some beginners tutorials/idle codes thank you.
http://duckduckgo.com/?q=python+beginners+tutorial
(Check out the very first link provided.)
--
Steven
___
Tutor maillist - Tutor@python.org
To unsubscribe or cha
On 08/13/2011 05:56 PM, Jon wrote:
Could you link me to some beginners tutorials/idle codes thank you.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Check out so
On 13/08/11 22:56, Jon wrote:
Could you link me to some beginners tutorials/idle codes thank you.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Just go to the pytho
Could you link me to some beginners tutorials/idle codes thank you.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Testing from new Ubuntu install... problems with Thunderbird settings...
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.pytho
On 08/13/2011 04:49 PM, Peter Otten wrote:
`python -c 'import Tkinter, os; print
os.path.dirname(Tkinter.__file__)'`
Thanks dude. That is some really useful information. That will help me
for future coding.
I found that I needed to use "from tkMessageBox import *" to get it to work.
___
brandon w wrote:
> I have tried to follow the tutorial I found here:
>
> Python 2.7 Tutorial
> http://www.youtube.com/watch?v=uh6AdDX7K7U
>
> This is what I have done so far:
>
> #!/usr/bin/python
>
> from Tkinter import *
> import Tkinter.MessageBox
>
> myapp = Tk()
> myapp.title("This is th
I have tried to follow the tutorial I found here:
Python 2.7 Tutorial
http://www.youtube.com/watch?v=uh6AdDX7K7U
This is what I have done so far:
#!/usr/bin/python
from Tkinter import *
import Tkinter.MessageBox
myapp = Tk()
myapp.title("This is the gui title")
myapp.geometry("500x500+600+600
Michael Scharf wrote:
Sent: Friday, August 12, 2011 3:54 PM
Hi List,
I'm am not quite at the point of needing this, but where would I go to
ask a question like "Why is the OpenCalais Python API not returning
all fields when I do x or y" or "Has anyone built their own Python
API for OpenCalais"
15 matches
Mail list logo