On 2014-06-19 17:21, Peter Pearson wrote:
On Thu, 19 Jun 2014 12:25:23 +0100, MRAB wrote:
[snip]
and then you can say:
def myCase(c):
if len(c) < 8 or len(c) > 80:
return False
if c in mySet:
return False
return True
which can be sho
On Thu, 19 Jun 2014 12:25:23 +0100, MRAB wrote:
[snip]
> and then you can say:
>
> def myCase(c):
> if len(c) < 8 or len(c) > 80:
> return False
>
> if c in mySet:
> return False
>
> return True
>
> which can be shortened to:
>
> def m
On 2014-06-19 09:17, cutey Love wrote:
update_idletasks didn't work.
The code is this
file_path = filedialog.askopenfilename(filetypes=[('text files', '.txt')],
multiple=True, defaultextension=".txt")
for path in file_path:
fo = open(path, "r")
for line in fo:
update_idletasks didn't work.
The code is this
file_path = filedialog.askopenfilename(filetypes=[('text files', '.txt')],
multiple=True, defaultextension=".txt")
for path in file_path:
fo = open(path, "r")
for line in fo:
if myCase(line.lowe
On Wed, Jun 18, 2014 at 4:32 PM, cutey Love wrote:
> Hi, thanks for the replies,
>
> I mean windows displays "Not responding close the program now"
>
> How can I do it asynconistrically?
>
> It's simple code just open file, loop through line by line and do some
> comparons with the string.
If al
On 6/18/14, 3:32 PM, cutey Love wrote:
Hi, thanks for the replies,
I mean windows displays "Not responding close the program now"
How can I do it asynconistrically?
It's simple code just open file, loop through line by line and do some
comparons with the string.
To get anything better from
Hi, thanks for the replies,
I mean windows displays "Not responding close the program now"
How can I do it asynconistrically?
It's simple code just open file, loop through line by line and do some
comparons with the string.
On Wednesday, June 18, 2014 6:20:13 PM UTC+1, cutey Love wrote:
> I'm
On 6/18/14, 10:20 AM, cutey Love wrote:
I'm trying to read in 10 lines of text, use some functions to edit them and
then return a new list.
How is it that you are opening the file, and iterating the contents?
The problem is my program always goes not responding when the amount of lines
On 06/18/2014 11:20 AM, cutey Love wrote:
> I'm trying to read in 10 lines of text, use some functions to
> edit them and then return a new list.
>
> The problem is my program always goes not responding when the amount
> of lines are a high number.
>
> I don't care how long the program takes
In <00d330e3-fc8a-4b7e-b2bd-f1a48bc33...@googlegroups.com> cutey Love
writes:
> The problem is my program always goes not responding when the amount of
> lines are a high number.
> I don't care how long the program takes to work, just need it to stop
> crashing?
How long have you tried waiting
On Wednesday, June 18, 2014 1:20:13 PM UTC-4, cutey Love wrote:
> I'm trying to read in 10 lines of text, use some functions to edit them
> and then return a new list.
> The problem is my program always goes not responding when the amount of lines
> are a high number.
> I don't care how long
On Wed, Jun 18, 2014 at 1:20 PM, cutey Love wrote:
> I'm trying to read in 10 lines of text, use some functions to edit them
> and then return a new list.
>
> The problem is my program always goes not responding when the amount of lines
> are a high number.
>
> I don't care how long the prog
I'm trying to read in 10 lines of text, use some functions to edit them and
then return a new list.
The problem is my program always goes not responding when the amount of lines
are a high number.
I don't care how long the program takes to work, just need it to stop crashing?
--
https://ma
13 matches
Mail list logo