kyle seebohm wrote:
> I recently created a program that searches through a computer's drive to
> make a list of all the files in that drive. However, the drive I am
> attempting to parse through is extremely large and when I run my program,
> it runs for about 5 or 10 minutes then proceeds to not
On Thu, May 16, 2013 at 6:15 PM, Jim Mooney wrote:
> How do I install PIL with easy-install? I used that once but forget
> how. I seem to recall reading it installs a version that is Py native
> and doesn't choke on your OS. Or did I read that wrong?
I recommend pip instead of easy_install becau
On Thu, May 16, 2013 at 6:12 PM, Jim Mooney wrote:
> I tried "import image from pil" and got the following error:
> SyntaxError invalid syntax (python_init.py, line 1)
If you see a syntax error, that means your code could not be compiled.
Python's parser doesn't grok "import image from pil". In
On 16/05/13 21:03, Arvind Virk wrote:
This is my first post so go gentle. I'm just getting into Python
programming and am having an issue understanding the Word Jumble Game.
Welcome.
First thing is we have no idea what Chapter 4 refers to so please tell
us the source you are working from (als
On 16/05/13 19:17, kyle seebohm wrote:
I recently created a program that searches through a computer's drive to
make a list of all the files in that drive. However, the drive I am
attempting to parse through is extremely large and when I run my
program, it runs for about 5 or 10 minutes then proc
On 16 May 2013 16:11, James Reynolds wrote:
> You may want to consider pillow. Oil hasn't been maintained in some time.
Actually, I installed Pillow. But then I deleted everything and
started over with 32 bit. I got greedy figuring I'd get the fastest Py
with 64 bit, but there are too many kludge
On Thu, May 16, 2013 at 1:03 PM, Arvind Virk wrote:
import random
>
> WORDS = ('python','jumble','easy','difficult','lower','high')
> word = random.choice(WORDS)
> correct = word
> jumble = ""
>
> while word:
> position = random.randrange(len(word))
> jumble += word[position]
> word =
You may want to consider pillow. Oil hasn't been maintained in some time.
On May 16, 2013 6:12 PM, "Jim Mooney" wrote:
> Make sure you have the correct architecture. The builds from
> PythonWare are 32-bit. Christoph Gohlke has 64-bit builds here:
>
> http://www.lfd.uci.edu/~gohlke/pythonlibs/#p
> By the way, do you mind if I ask why you're using PyGraphics? It's
> only meant to be used for education (and even there, AFAIK the only
> users are the University of Toronto (and even there, I think they
> stopped using it because they switched to Python 3 for Coursera and
> didn't care enough t
On Thu, May 16, 2013 at 2:06 AM, Jim Mooney wrote:
> How do I uninstall modules? I installed Pygraphics, which worked fine,
> along with some other mods, like numpy, but when I installed 64 bit py
> 2.7
> I get the message "The _imaging C module is not installed" when
> running a prog that worked
How do I install PIL with easy-install? I used that once but forget
how. I seem to recall reading it installs a version that is Py native
and doesn't choke on your OS. Or did I read that wrong?
Jim
On 16 May 2013 02:44, eryksun wrote:
> On Thu, May 16, 2013 at 2:06 AM, Jim Mooney wrote:
>>
>>
Make sure you have the correct architecture. The builds from
PythonWare are 32-bit. Christoph Gohlke has 64-bit builds here:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pil
==
Okay, I installed the 64 bit for Py 2.7, it installed, I see PIL
directory in Site-Packages. (Actually, it's the Pillow f
Arvind Virk wrote:
> Hi guys!
>
> This is my first post so go gentle. I'm just getting into Python programming
> and am having an issue
> understanding the Word Jumble Game.
>
> import random
>
> WORDS = ('python','jumble','easy','difficult','lower','high')
> word = random.choice(WORDS)
> corre
Dave Angel wrote:
> On 05/16/2013 02:17 PM, kyle seebohm wrote:
> > I recently created a program that searches through a computer's drive to
> > make a list of all the
> files in that drive. However, the drive I am attempting to parse through is
> extremely large and when I
> run my program, it r
Hi guys!
This is my first post so go gentle. I'm just getting into Python programming
and am having an issue understanding the Word Jumble Game.
import random
WORDS = ('python','jumble','easy','difficult','lower','high')word =
random.choice(WORDS)correct = wordjumble = ""
while word:position
Thank you - that makes perfectly sense.
Also, I am new to the list, and I appreciate your suggestion.
I will include error tracebacks in the future.
All the best,
Rafael
On Thu, May 16, 2013 at 9:14 PM, Dave Angel wrote:
> On 05/16/2013 02:58 PM, Rafael Knuth wrote:
>
>> Hej,
>>
>> I wrote a
On 05/16/2013 02:17 PM, kyle seebohm wrote:
I recently created a program that searches through a computer's drive to make a
list of all the files in that drive. However, the drive I am attempting to
parse through is extremely large and when I run my program, it runs for about 5
or 10 minutes t
On Thu, May 16, 2013 at 1:58 PM, Rafael Knuth wrote:
> Hej,
Hi Rafael,
> I wrote a tiny little program which I was hoping would take a number as
> input, square and print it:
>
> square = input ("Enter a number. ")
> print (str(square) + " squared is " + str(square ** 2))
>
> It seems I can't wo
On 05/16/2013 02:58 PM, Rafael Knuth wrote:
Hej,
I wrote a tiny little program which I was hoping would take a number as
input, square and print it:
square = input ("Enter a number. ")
print (str(square) + " squared is " + str(square ** 2))
It seems I can't work with variables within the str()
Hej,
I wrote a tiny little program which I was hoping would take a number as
input, square and print it:
square = input ("Enter a number. ")
print (str(square) + " squared is " + str(square ** 2))
It seems I can't work with variables within the str() string method, and I
was wondering if anyone
I don't think running this on Idle is the best.
Did you try to run your program in the command line?
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
I recently created a program that searches through a computer's drive to make a
list of all the files in that drive. However, the drive I am attempting to
parse through is extremely large and when I run my program, it runs for about 5
or 10 minutes then proceeds to not respond and not finish par
On Thu, May 16, 2013 at 1:42 AM, eryksun wrote:
> On the other hand a BufferedWriter will buffer the remaining 3000
> bytes that can't be written. You won't find out until an exception is
> raised when the file is closed:
Actually it was buffering all 4000 bytes. I forgot about the fast path
that
Please use a meaningful subject when posting it makes it easier to find
things in the archives and identify related posts.
On 10/05/13 21:44, Krish Nagpal wrote:
I have a quick question based on python 2.7. Do you know how to write a
web server with a form.
I have no idea what you mean.
A web
On 08/05/13 03:30, Sky Flyinz wrote:
Where can I find a web programming python tutorial online either book?
How do you define web programming?
Do you mean building web sites? Or scraping web sites?
Or do you mean using web APIs?
There is a web programming HowTo on the python web site that wil
On 7 May 2013 21:10, Linsey Raaijmakers wrote:
> Hi,
>
> Im trying to work with the help Oscar provided me, but I still get stuck :(
For the benefit of everyone else here, this is referring to a question
that was asked on python-list. The discussion there went off-list and
I recommended that it t
On Thu, May 16, 2013 at 2:06 AM, Jim Mooney wrote:
>
> And regardless of the answer to that I still want to know how to
> uninstall modules. Do I just find and delete them? And are they all in
> the same place?
You should be able to uninstall msi or exe packages just like any
other Windows progra
Hi,
On 16 May 2013 07:12, Jim Mooney wrote:
> Okay, I'm trying to install the latest PIL on win 7. It claims Python
> 2.7 was not found in the registry, although it's installed, on a path,
> and works fine. The install box lets you type in a directory but won't
> accept typing. I'm stumped.
A
On Thu, May 16, 2013 at 2:12 AM, Jim Mooney wrote:
> Okay, I'm trying to install the latest PIL on win 7. It claims Python
> 2.7 was not found in the registry, although it's installed, on a path,
> and works fine. The install box lets you type in a directory but won't
> accept typing. I'm stumped.
29 matches
Mail list logo