On 2011-12-07 19:31, Christopher Spears wrote:
I do need to be able to save the chart as an image file, so it can be
linked to the wiki. My only complaint about matplotlib is that I
have not figured out a way to save a graph as an image using a python
script.
You can save a graph with "matplot
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 08-Dec-2011, at 6:47 AM, Do youknow who wrote:
> Im trying to write this program where i make it flip a coin 100 times then
> tells me the number of heads and tails it came up with.
>
> this is what I got but it does not run
>
> # Coin Flip
>
On 12/07/2011 08:39 PM, Max S. wrote:
You are using an 'elif' for your 'coin_rolls == 1:'. The 'elif' keyword
means that if the last 'if' statement (and any 'elif's behind it) was *not*
true, only then will it be executed. Your code could be written as 'if
rolls is NOT less than or equal to 100
You are using an 'elif' for your 'coin_rolls == 1:'. The 'elif' keyword
means that if the last 'if' statement (and any 'elif's behind it) was *not*
true, only then will it be executed. Your code could be written as 'if
rolls is NOT less than or equal to 100, only then check to see if it is 1
or 2
Im trying to write this program where i make it flip a coin 100 times then
tells me the number of heads and tails it came up with.
this is what I got but it does not run
# Coin Flip
# Demonstrating the While loop
import random
print("I will flip a coin 100 times and tell you")
print(", how man
On 07/12/11 15:16, Mic wrote:
OK, that should work except you haven't set the command value to the
function that creates the seat booking window. You probabvly also want
to set the filename here too
Hmm, yes but I don't want to write two lines of code for each chair I
create, I want them in
a
On 07/12/11 17:01, George Nyoro wrote:
I was observing the tkinter code under the topic "Creating arbitrary
number of destinations. (GUI program)" in the previous email and saw
this super thing:
class ChooseDestinationWindow(Frame): def __init__(self,master):
super(ChooseDestinationWindow,self).
Le 07/12/2011 19:31, Christopher Spears a écrit :
I need to create a pie chart that is referenced by a wiki page. I am
impressed with matplotlib. Any other good libraries out there?
I do need to be able to save the chart as an image file, so it can be
linked to the wiki. My only complaint a
I need to create a pie chart that is referenced by a wiki page. I am impressed
with matplotlib. Any other good libraries out there?
I do need to be able to save the chart as an image file, so it can be linked to
the wiki. My only complaint about matplotlib is that I have not figured out a
wa
I was observing the tkinter code under the topic "Creating arbitrary
number of destinations. (GUI program)" in the previous email and saw
this super thing:
> class ChooseDestinationWindow(Frame): def __init__(self,master):
>super(ChooseDestinationWindow,self).__init_
_(master)
What exactly does th
surya k wrote:
I have included the path directory of the file but still I couldn't run it!.
1. I created a .pth file and wrote all required path list's and saved in
"site-packages" of python dir.( python\Lib\Site-packages).
2. I also included python path ( c:\python27\) in system path so as to r
Thanks, although you actually missed a step somewhere - the bit where
the user selects how many chairs... But ignoring that...
Where do we select how many destinations you want?
If we stick to 3 for now:
Actually, the user never selects how many destinations that he wants. It is
in the code y
12 matches
Mail list logo