On 28/09/2012 06:18, jh wrote:
[snip]
The subtotal of your items is: 26010.8502
The total amount of your items plus tax is: 27,571.50
My question here is, why does my subtotal have so many decimals when I never
went above 2 in my input?
Thanks in advance,
J
Brett Ritter has already
On Sep 28, 2012 4:47 AM, "Dwight Hutto" wrote:
>
> On Wed, Sep 26, 2012 at 6:59 AM, Walter Prins wrote:
> > Dwight,
> >
> > On 26 September 2012 09:26, Dwight Hutto wrote:
> >> The only face I personally want to see of him
> >>> because of this is his back.
> >>>
> >>
> >> You wanna see my ass,
Hi all,
I'm wondering if anyone has seen or knows of a good way to do a lazily
decorated sort. I was reading about how good the DSU (decorate, sort,
undecorate) approach is but the problem that we are running into in
SymPy is that we want to get by with a fast hash sort if possible, and
only decor
Thank you for your reply. I understand that it is odd, but my program is being
called from a hubot and returning data to it as well. I have figured out how to
make the changes to get it to output the correct data in the correct format,
but now I am getting a "Premature end of script headers" err
I have used python a lot at school and am relatively good with it. I just
tried to get it on my mac and i try to open a "new window" and every time I do
it freezes and i have to either do a forced quit or unplug the whole computer.
I have been able to get into a "new window" through programs
Hi.
I have an assigment where I'm need to write a module containing a function
to examine the contents of the current working directory and print out a
count of how many files have each extension (".txt", ".doc", etc.)
I am a beginner in Python.
This is the code of the function module:
---
impo
I am looking for some recommendations books to
read.websites,links,any information would be appreciated. Thanks,
jmslgil...@gmail.com
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org
I want to extract (no I don't want to download) all links that end in
a certain extension.
Suppose there is a webpage, and in the head of that webpage there are
4 different CSS files linked to external server. Let the head look
like this:
http://foo.bar/part1.css";>
http://foo.bar/part2.c
Dear all,
Suppose I have a parser that parses information stored in e.g. an XML file. I
would like to store the information contained in this XML file as a Python
object.
One option is to create a class like this:
class Record(object):
pass
and store the information in the XML file as att
Hello I am new user of python pls let me know how to save dat or txt file
using python? what is the basic cmd for this? thanks a lot in advance
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org
Hello,
I am new to python, and I was experimenting with the round function, and
came across what appears to be a bug in floating point rounding. I am
guessing there is a valid explanation for it.
When I round the floating points 10.6[0-9]5 to two decimal places, it
rounds as expected for 6 of the
Hello i am new user of python pls let me know how to save the data in ascii
formate Suppose I hv two column data in x and y like
x(:,-1) and y(:,0) then how to save this in [x(:,-1), y(:,0)]; and then
save this in ascii or dat file?
thanks a lot in advance
--
preeti gaikwad
I would like tutorial ? Thank You ___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Hi there,
Is there any IDE or Python interpreter that can show the
assembly language generated by each line of python code? Is there any popular
boot loader written in Python
(plus some assembly code)?
Thanks,
Jerry___
Tutor maillist - Tutor@pytho
Help! I'm into Chapter 2 in the Book by Michael Dawson - I cannot access the
Companion Guide. Do I need it? Do I have to purchase it? How do I get it? The
site he sends me to is very confusing.___
Tutor maillist - Tutor@python.org
To unsubscribe or ch
On Fri, Sep 28, 2012 at 9:44 AM, CHERRY PHOUTHAVONG
wrote:
> I would like tutorial ? Thank You
>
What tutorial ?
> ___
> Tutor maillist - Tutor@python.org
> To unsubscribe or change subscription options:
> http://mail.python.org/mailman/listinfo/tut
On 11/09/2012 12:44, Chris Smith wrote:
Hi all,
I'm wondering if anyone has seen or knows of a good way to do a lazily
decorated sort. I was reading about how good the DSU (decorate, sort,
undecorate) approach is but the problem that we are running into in
SymPy is that we want to get by with a
On 17/09/2012 20:21, Fation Beqirllari wrote:
I have a php code and I want to translate it to python..Can you help me
please,or show me how to do it ?
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mai
On 20/09/2012 17:14, Preeti Gaikwad wrote:
Hello I am new user of python pls let me know how to save dat or txt file
using python? what is the basic cmd for this? thanks a lot in advance
___
Tutor maillist - Tutor@python.org
To unsubscribe or ch
On 28/09/2012 05:14, CHERRY PHOUTHAVONG wrote:
I would like tutorial ? Thank You
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
Given that your subject is specif
Hi Zack,
On 11 September 2012 22:18, zack dunphey wrote:
> I have used python a lot at school and am relatively good with it. I just
> tried to get it on my mac and i try to open a "new window" and every time I
> do it freezes and i have to either do a forced quit or unplug the whole
> compute
On 19 September 2012 19:27, Andrew Tritt wrote:
> Hello,
>
> I am new to python, and I was experimenting with the round function, and
> came across what appears to be a bug in floating point rounding. I am
> guessing there is a valid explanation for it.
>
> When I round the floating points 10.6[0
On 21/09/2012 14:20, Preeti Gaikwad wrote:
Hello i am new user of python pls let me know how to save the data in ascii
formate Suppose I hv two column data in x and y like
x(:,-1) and y(:,0) then how to save this in [x(:,-1), y(:,0)]; and then
save this in ascii or dat file?
thanks a lot in ad
On 23 September 2012 05:46, Fit Wii wrote:
> Is there any IDE or Python interpreter that can show the assembly language
> generated by each line of python code? Is there any popular boot loader
> written in Python (plus some assembly code)?
>
Python doesn't generate assembly language code. It d
On 23/09/2012 05:46, Fit Wii wrote:
Hi there,
Is there any IDE or Python interpreter that can show the
assembly language generated by each line of python code? Is there any popular
boot loader written in Python
(plus some assembly code)?
Thanks,
Jerry
__
On Sat, Sep 8, 2012 at 12:08 PM, james gillis wrote:
> I am looking for some recommendations books to
> read.websites,links,any information would be appreciated. Thanks,
> jmslgil...@gmail.com
>
http://python.org/doc/ is a nice place to start.
--
Joel Goldstick
_
On 16 September 2012 08:20, Santosh Kumar wrote:
> I want to extract (no I don't want to download) all links that end in
> a certain extension.
>
> Suppose there is a webpage, and in the head of that webpage there are
> 4 different CSS files linked to external server. Let the head look
> like thi
On 28/09/2012 12:56, Oscar Benjamin wrote:
On 19 September 2012 19:27, Andrew Tritt wrote:
Hello,
I am new to python, and I was experimenting with the round function, and
came across what appears to be a bug in floating point rounding. I am
guessing there is a valid explanation for it.
When
On 11/09/12 21:44, Chris Smith wrote:
Hi all,
I'm wondering if anyone has seen or knows of a good way to do a lazily
decorated sort. I was reading about how good the DSU (decorate, sort,
undecorate) approach is but the problem that we are running into in
SymPy is that we want to get by with a fa
On 09/19/2012 02:27 PM, Andrew Tritt wrote:
> Hello,
>
> I am new to python, and I was experimenting with the round function, and
> came across what appears to be a bug in floating point rounding. I am
> guessing there is a valid explanation for it.
Welcome to the Python tutor; hope you enjoy lea
Chris Smith wrote:
> I'm wondering if anyone has seen or knows of a good way to do a lazily
> decorated sort. I was reading about how good the DSU (decorate, sort,
> undecorate) approach is but the problem that we are running into in
> SymPy is that we want to get by with a fast hash sort if possi
On 09/20/2012 12:14 PM, Preeti Gaikwad wrote:
> Hello I am new user of python pls let me know how to save dat or txt file
> using python? what is the basic cmd for this? thanks a lot in advance
>
>
Have you written any code that READs files?
Check out the open() function, in particular the "w"
On 28/09/12 21:59, Oscar Benjamin wrote:
On 23 September 2012 05:46, Fit Wii wrote:
Is there any IDE or Python interpreter that can show the assembly language
generated by each line of python code? Is there any popular boot loader
written in Python (plus some assembly code)?
That's two unju
On 28/09/12 22:15, Mark Lawrence wrote:
The Python round function is itself problematic. The idea of deprecating
it is currently being discussed on Python ideas. This quote from Calvin
Spealman is typical "Also, I'd be completely in support of dropping round()
and agree it gets misused and leads
On 28/09/12 19:03, Mark Lawrence wrote:
On 28/09/2012 06:18, jh wrote:
[snip]
The subtotal of your items is: 26010.8502
The total amount of your items plus tax is: 27,571.50
My question here is, why does my subtotal have so many decimals when I never
went above 2 in my input?
Thanks
On Fri, 28 Sep 2012, Bod Soutar wrote:
On Sep 28, 2012 4:47 AM, "Dwight Hutto" wrote:
> Yeah, all up in my fucking cranium with nothing but me and God to hold
> on to one another.
>
> --
> Best Regards,
> David Hutto
> CEO: http://www.hitwebdevelopment.com
Probably not a good idea to advertis
On 28/09/2012 13:37, Steven D'Aprano wrote:
On 28/09/12 22:15, Mark Lawrence wrote:
Deprecating and dropping features causes pain to developers who are already
using them correctly. There is strong opposition on deprecating round.
And there is strong support for deprecating round. Personall
On Fri, Sep 28, 2012 at 1:10 PM, wrote:
> Date: Sun, 16 Sep 2012 12:50:09 +0530
> From: Santosh Kumar
> To: tutor@python.org
> Subject: [Tutor] list all links with certain extension in an html file
> python
> Message-ID:
> <
> cae7maqa53x8pav96q2ka0vajhnjtrz_rgzcmh_cbsaqdiz5...@m
On Sep 6, 2012, at 9:49 AM, vi...@thepenguin.org wrote:
> Thank you for your reply. I understand that it is odd, but my program is
> being called from a hubot and returning data to it as well. I have figured
> out how to make the changes to get it to output the correct data in the
> correct for
Santosh Kumar, 16.09.2012 09:20:
> I want to extract (no I don't want to download) all links that end in
> a certain extension.
>
> Suppose there is a webpage, and in the head of that webpage there are
> 4 different CSS files linked to external server. Let the head look
> like this:
>
> http:
On Fri, Sep 28, 2012 at 8:17 AM, Peter Otten <__pete...@web.de> wrote:
>
> def make_key(keys):
> @total_ordering
> class Key(object):
> def __init__(self, value):
> self._keys = keys(value)
> self._cached = []
Using a generator/iterator to pump the key valu
Preeti Gaikwad wrote:
> Hello I am new user of python pls let me know how to save dat or txt file
> using python? what is the basic cmd for this? thanks a lot in advance
Try reading:
http://docs.python.org/tutorial/inputoutput.html#reading-and-writing-files
This email is confidential and subje
On 9/27/2012 9:42 AM Debbie Snowdon said...
Help! I'm into Chapter 2 in the Book by Michael Dawson - I cannot access
the Companion Guide. Do I need it? Do I have to purchase it? How do I
get it? The site he sends me to is very confusing.
I'd ask your instructor or look in the book to see if the
As Mark pointed out - a better subject would help. I have changed it
this time.
On 9/17/2012 3:21 PM, Fation Beqirllari wrote:
I have a php code and I want to translate it to python..Can you help me
> please,or show me how to do it ?
In what context do you run the PHP? A web server responding
On 11/09/12 22:18, zack dunphey wrote:
I have used python a lot at school and am relatively good with it.
> I just tried to get it on my mac and i try to open a "new window"
OK, Python doesn't have any windows so you must be talking about
some kind of add-on tool - like IDLE maybe? If so please
I'm just back from 2 weeks vacation and catching up on mail etc.
I flushed the python tutor mail queue earlier hence the proliferation of
messages some of which may be duplicates of stuff already seen...
enjoy,
--
Alan G
List moderator.
___
Tutor m
On Tue, Sep 11, 2012 at 10:18 PM, zack dunphey
wrote:
> I have used python a lot at school and am relatively good with it. I just
> tried to get it on my mac and i try to open a "new window" and every time I
> do it freezes and i have to either do a forced quit or unplug the whole
> computer. I
Which edition do you have? My copy mentions nothing about a companion
guide, so my guess is that you don't need it. That said, my copy also
doesn't send me to any sites for the exercises. Everything I need is right
in the book.
On Sep 28, 2012 7:30 AM, "Debbie Snowdon" wrote:
> **
> Help! I'm int
eryksun wrote:
> On Fri, Sep 28, 2012 at 8:17 AM, Peter Otten <__pete...@web.de> wrote:
>>
>> def make_key(keys):
>> @total_ordering
>> class Key(object):
>> def __init__(self, value):
>> self._keys = keys(value)
>> self._cached = []
>
>
> Using a generato
Hello folks,
I'm relatively new to python, and was asked to program a lotka-volterra
model (predator and prey relation) simulator. The program basically will
basically have a menu that takes user input, collect data, and then create
a graph. Currently i've been working on the simulator section;
On Fri, Sep 28, 2012 at 3:34 PM, Peter Otten <__pete...@web.de> wrote:
>
>> Also, as far as I can see in the code, implementing "total_ordering"
>> is unnecessary for sorting. One only needs to implement __lt__. It's
>> used by binarysort() to test the pivot via the IFLT/ISLT macros:
>>
>> http://h
Jim Apto wrote
> Hello folks,
>
> I'm relatively new to python, and was asked to program a lotka-volterra model
> (predator and prey relation)
> simulator. The program basically will basically have a menu that takes user
> input, collect data, and then
> create a graph. Currently i've been wor
On Fri, 28 Sep 2012, Jim Apto wrote:
Hello folks,
I'm relatively new to python, and was asked to program a lotka-volterra model
(predator and prey
relation) simulator. The program basically will basically have a menu that
takes user input, collect
data, and then create a graph. Currently i'v
On Fri, Sep 28, 2012 at 9:17 AM, Mark Lawrence wrote:
> On 28/09/2012 13:37, Steven D'Aprano wrote:
>
>> Deprecating and dropping features causes pain to developers who are
>> already using them correctly. There is strong opposition on deprecating
>> round.
>
> And there is strong support for depr
On Fri, Sep 28, 2012 at 8:37 AM, Steven D'Aprano wrote:
> On 28/09/12 22:15, Mark Lawrence wrote:
>
>> The Python round function is itself problematic. The idea of deprecating
>> it is currently being discussed on Python ideas. This quote from Calvin
>> Spealman is typical "Also, I'd be completely
On 28 September 2012 21:32, Jim Apto wrote:
> Hello folks,
>
> I'm relatively new to python, and was asked to program a lotka-volterra
> model (predator and prey relation) simulator. The program basically will
> basically have a menu that takes user input, collect data, and then create
> a graph
On 28/09/12 21:32, Jim Apto wrote:
I'm relatively new to python, and was asked to program a lotka-volterra
model (predator and prey relation) simulator.
No idea what that means in practice but commenting purely on the code
provided...
x represents prey population
y represents predator popu
On 28/09/2012 22:07, eryksun wrote:
On Fri, Sep 28, 2012 at 9:17 AM, Mark Lawrence wrote:
On 28/09/2012 13:37, Steven D'Aprano wrote:
Deprecating and dropping features causes pain to developers who are
already using them correctly. There is strong opposition on deprecating
round.
And there
On 28/09/12 13:15, Mark Lawrence wrote:
from Calvin Spealman is typical "Also, I'd be completely in support of
dropping round() and agree it gets misused
and leads to too much confusion. We should promote the right ways, and
sometimes to show the right path you need to lock another door and thro
On 9/28/2012 12:52 PM, Fation Beqirllari wrote:
This php is for map cache,it reads cache file created,but im creating
all the web server to python because it works faster..I use this for
openlayers web server.
I run Python 3.2.if you want to help me..i will send te php
code..thank you!
On 29/09/12 11:30, Alan Gauld wrote:
On 28/09/12 13:15, Mark Lawrence wrote:
from Calvin Spealman is typical "Also, I'd be completely in support of
dropping round() and agree it gets misused
and leads to too much confusion. We should promote the right ways, and
sometimes to show the right path
On 29/09/12 07:27, Devin Jeanpierre wrote:
On Fri, Sep 28, 2012 at 8:37 AM, Steven D'Aprano wrote:
[...]
I'm not impressed. He sprouts off about how you can't use Python on mobile
devices, when you can. What makes you think his opinions on breaking
working code just because he thinks he knows
62 matches
Mail list logo