I'll be out of the office until approximately August 20th. If you have any
questions, please email [EMAIL PROTECTED]
-- David Wahler
--
http://mail.python.org/mailman/listinfo/python-list
hi,
i am making a GUI using Tkinter,
I have a button and a checkbutton.
i want the button to be enable when checkbutton is on and disble when
the checkbutton is off.
thanx
--
http://mail.python.org/mailman/listinfo/python-list
In <[EMAIL PROTECTED]>, Justin Azoff
wrote:
> Rhamphoryncus wrote:
> [snip interesting istep function]
>
>> Would anybody else find this useful? Maybe worth adding it to itertool?
>
> yeah, but why on earth did you make it so complicated?
>
> def istep(iterable, step):
> a=[]
> for x
> such as tempname="\"..it says that the line is single qouted.
The others have addressed the escape issue I think. However it looks
like you want the funtionality of the os.path module. For example:
>>> import os.path as path
>>> filename = "/home/ant/test.sh"
>>> filename2 = r"c:\python24\scri
JyotiC wrote:
> i am making a GUI using Tkinter,
> I have a button and a checkbutton.
> i want the button to be enable when checkbutton is on and disble when
> the checkbutton is off.
use the checkbutton's command option to install a callback that enables
or disables the button.
--
http://ma
Alex Martelli wrote:
>> IIRC, ctrl-Z is not used _in_files_ to represent EOF. Only
>> when text is being entered at the console.
>
> Easy to test, if you have Windows:
>
n='foo.txt'
s='ba\r\n'+chr(26)+'bo\r\r'
open(n,'wb').write(s)
ss=open(n).read()
ss
> 'ba\n'
>
> As
i have tried it out but it's not working.
this is the code
from Tkinter import *
class abc:
def __init__(self,parent):
#make container myparent
self.myparent=parent
self.myparent.geometry("500x200")
#make the initial frame
self.frame=Frame(self.myparen
Hi, I'm learning STL and I wrote some simple code to compare the
efficiency of python and STL.
//C++
#include
#include
#include
#include
#include
using namespace std;
int main(){
vector a;
for (long int i=0; i<1 ; ++i){
a.push_back("What do you know?");
101 - 108 of 108 matches
Mail list logo