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.
I guess the way around this is to know what I have to put
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 fine before. I think I have a higher
dot-version - Py 2.7.4 as
On Wed, May 15, 2013 at 8:07 PM, Steven D'Aprano wrote:
> On 16/05/13 06:02, Alan Gauld wrote:
>>
>> And C's printf() returns the number of chars printed.
>> I actually wish python had followed suit because, as Marc says,
>> it can occasionally be useful...
>
> Guido's time machine strikes again.
Just a note about PyScripter since I was whining here about some bugs,
but the bugs were mine ;')
I downloaded Py 64-bit for Py 3.3 but for some reason installed 32
bit for Py 2.7. PyScripter runs multiple Pys but it apparently choked
on the different word lengths. Once I installed 64 bit for bot
i recommend getting a copy of Python Programming for the absolute
beginner. It offers end of chapter exercises to make sure you
understand everything you are reading. It was a great read for me and
made my learning experience really fun. I garantee by the end you
would have gained a lot of confiden
On Wed, May 15, 2013 at 5:07 PM, Steven D'Aprano wrote:
> Guido's time machine strikes again.
>
>
> py> import sys
> py> sys.stdout.write('NOBODY expects the Spanish Inquisition!\n')
> NOBODY expects the Spanish Inquisition!
> 40
>
>
> The write() method of file objects in Python 3 return the num
i completed this book and i did every exercise. are you asking for
help with the challenges, or have you completed them and want code to
compare yours too? im relunctant to share challenge code, incase you
havent done them. They are really good exercises to try doing.
__
(Your message suddenly appeared here today, after four days in limbo)
On 05/11/2013 08:50 AM, Raymond Jackson wrote:
Hello My name is Raymond Jackson I am currently on your tutorial site
Be explicit. There are lots of tutorial sites around. Perhaps you mean
http://docs.python.org/tutorial
Somehow, your message didn't appear here for 9 days. That's probably
why you haven't seen any responses yet.
On 05/06/2013 01:26 AM, subha krishna wrote:
hi,
i need an help in the following program
i just started to learn.
if speed >= 80:
print 'License and registration please'
Indenta
On 16/05/13 06:02, Alan Gauld wrote:
On 15/05/13 16:51, Marc Tompkins wrote:
Actually, I was mixing up my memory of an overloaded print() function
And C's printf() returns the number of chars printed.
I actually wish python had followed suit because, as Marc says,
it can occasionally be usefu
> I'm working through the Book Python Programming for the Absolute Beginner and
> am wondering if you could help me out with the coding to certain
> Challenges at the end of the book, specifically chapter 7 challenges 1 and 2
> and chapter 8 challenges 1 and 3.
Since I personally don't have that
Hi Grace,
On Thu, May 2, 2013 at 8:04 AM, Grace Kathryn
wrote:
> Hello~
>
> I'm working through the Book Python Programming for the Absolute Beginner
> and am wondering if you could help me out with the coding to certain
> Challenges at the end of the book, specifically chapter 7 challenges 1 an
Hello My name is Raymond Jackson I am currently on your tutorial site and
trying to teach my self this new language I haven't done this before
so i'm open to any suggestions going about this
___
Tutor maillist - Tutor@python.org
To unsubscribe or change
Good Afternoon,
I have a quick question based on python 2.7. Do you know how to write a web
server with a form. (Pthyon) When the webserver gets a GET request, I need
to serve the HTML document with a form. In response to a POST, i want to
write the resulting data to a form.
Do you know how to do
Hello,
I have a file with actions and time points at which they occur.
I want to find how many times an action occurs, and how many times it
occurs in combination with an other action at the same time point
(overlapping between onset and apex)
Below is the input file. in this file, action 50 occu
hi,
i need an help in the following program
i just started to learn.
if speed >= 80:
print 'License and registration please'
if mood == 'terrible' or speed >= 100:
print 'You have the right to remain silent.'
elif mood == 'bad' or speed >= 90:
print "I'm going to have to write you a ticket."
w
Hi,
Im trying to work with the help Oscar provided me, but I still get stuck :(
So what I'm trying to do now is write the program with the following input
and output:
Input:
action,start,apex,stop
3, 12, 13, 15
4, 15, 15, 15
3, 20, 21, 25
5, 21, 23, 30
...
And when you run your program it prints
In your code, you're not actually inserting the contents of the file into
your MIME part (you're only constructing headers), which is why the
content-length is not right.
The 404 is probably the site detecting this as a script/robot/violation of
their TOS and blocking you. Which you can probably
Where can I find a web programming python tutorial online either book?
Are social media, email, live talk, and etc that called web programming
for browser?
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://ma
Hi Jim,
When you replace num = int(num); it's not changing a list.
Due to It only pick a value from a list.
You have to pointing to list so,
You have to use list[position] using while loop like below
listOfNumChars = list(str(intNum))
i = 0
while i < len(listOfNumChars):
listOfNumChars[i]
Hello~
I'm working through the Book Python Programming for the Absolute Beginner and
am wondering if you could help me out with the coding to certain
Challenges at the end of the book, specifically chapter 7 challenges 1 and 2
and chapter 8 challenges 1 and 3.
Could you help? I need something to
On 16/05/13 00:18, Marc Tompkins wrote:
On Wed, May 15, 2013 at 3:52 PM, Marc Tompkins mailto:marc.tompk...@gmail.com>> wrote:
I was thinking along the lines of an optional parameter ("verbose"
or something similar), so print() would supply a return value if you
asked it to but keep
On Wed, May 15, 2013 at 4:14 PM, Oscar Benjamin
wrote:
> I don't really understand what the reason for having the information
> is. Would it return the number of characters written or the number of
> bytes?
>
It's absolutely useless in an interactive session, or any time that print()
is printing
On Wed, May 15, 2013 at 3:52 PM, Marc Tompkins wrote:
> I was thinking along the lines of an optional parameter ("verbose" or
> something similar), so print() would supply a return value if you asked it
> to but keep stumm if you didn't.
>
After I hit Send, I thought of the obvious problem... y
On 15 May 2013 23:52, Marc Tompkins wrote:
> On Wed, May 15, 2013 at 3:43 PM, Oscar Benjamin
> wrote:
>>
>> On 15 May 2013 22:21, Marc Tompkins wrote:
>> > On Wed, May 15, 2013 at 1:02 PM, Alan Gauld
>> > wrote:
>> >>
>> >> And C's printf() returns the number of chars printed.
>> >> I actually
On Wed, May 15, 2013 at 3:43 PM, Oscar Benjamin
wrote:
> On 15 May 2013 22:21, Marc Tompkins wrote:
> > On Wed, May 15, 2013 at 1:02 PM, Alan Gauld
> > wrote:
> >>
> >> And C's printf() returns the number of chars printed.
> >> I actually wish python had followed suit because, as Marc says,
> >>
On 15 May 2013 22:21, Marc Tompkins wrote:
> On Wed, May 15, 2013 at 1:02 PM, Alan Gauld
> wrote:
>>
>> And C's printf() returns the number of chars printed.
>> I actually wish python had followed suit because, as Marc says,
>> it can occasionally be useful...
>>
>
> I wonder if this would be a g
On Wed, May 15, 2013 at 1:02 PM, Alan Gauld wrote:
> On 15/05/13 16:51, Marc Tompkins wrote:
>
> Actually, I was mixing up my memory of an overloaded print() function
>>
>
> And C's printf() returns the number of chars printed.
> I actually wish python had followed suit because, as Marc says,
> i
On 15/05/13 16:51, Marc Tompkins wrote:
Actually, I was mixing up my memory of an overloaded print() function
And C's printf() returns the number of chars printed.
I actually wish python had followed suit because, as Marc says,
it can occasionally be useful...
--
Alan G
Author of the Learn to
On Wed, May 15, 2013 at 2:26 AM, Steven D'Aprano wrote:
I assumed Marc was talking hypothetically. A print function *could*
> return a result, even if Python's print function does not.
>
> Actually, I was mixing up my memory of an overloaded print() function with
Python's built-in print(). I _hav
Thank you Vasya and Eryksun. Sorry i didn't mention my OS i am on
windows. Thanks for the links and detailed explanations which after
following, i now have django up and running! thanks again
___
Tutor maillist - Tutor@python.org
To unsubscribe or chang
On Tue, May 14, 2013 at 3:54 PM, Matthew Ngaha wrote:
> I was instructed to get django via easy installer that was
> located in my Python/Scripts folder. it installed django to a
> different place in site-packages, where django-admin.py resides.
You appear to be using Windows, since you talk abou
On Wed, May 15, 2013 at 10:03:20AM +0100, Oscar Benjamin wrote:
> On 14 May 2013 17:11, Marc Tompkins wrote:
> > Again, the return value of print() - e.g. success/failure - is
> > separate from what print() actually prints.
>
>
> I was surprised by this so I've just tested it and checked the d
On 14 May 2013 17:11, Marc Tompkins wrote:
>
> The OP expressed some confusion between what a function DOES and what it
> RETURNS. It occurs to me that the print() function (or, more generically,
> ANY print() function - it doesn't have to be Python 3) is a good
> demonstration.
>
> Our first
Hi, Matthew
First of all, please state what OS do you using?
I think its ubuntu because some kind of this problem I've alredy solved
some time ago: when I've need something like to add "djando-admin.py" to
my PATH.
What you need to do is to delete your django install that you make from
easy_inst
2013/5/15 vasya
> Hi, Matthew
>
> First of all, please state what OS do you using?
> I think its ubuntu because some kind of this problem I've alredy solved
> some time ago: when I've need something like to add "djando-admin.py" to
> my PATH.
>
> What you need to do is to delete your django inst
36 matches
Mail list logo