On 10/18/2012 07:59 PM, Frank Pontius wrote:
Hello,
I'm taking a beginners course on Python.
Have class example which is to be used in H/W, which I can't get to work.
Thus I figure the example is wrong. But I need this to get H/W done.
Using 'import random' and random.randrange in
Hi All,
First of the big thanks and congrats for managing such a brilliant online
community. I am new to Python and have started getting the taste of python
on my day to day work.
I have a requirement and i am trying to solve it using python.
I am from QA. Here is what i do daily and wanted to
On 25 October 2012 10:26, Arumugam N aru1...@gmail.com wrote:
Hi All,
First of the big thanks and congrats for managing such a brilliant online
community. I am new to Python and have started getting the taste of python
on my day to day work.
I have a requirement and i am trying to solve it
On 25/10/12 10:26, Arumugam N wrote:
1. Revert the snapshot of a VM used for testing. - i have automated
using pysphere
2. Copy the build from share location to the VM - here i can have a
python script run from the VM but is it possible to run it remotely? for
example. if i run the script from
Arumugam N wrote:
Hi All,
First of the big thanks and congrats for managing such a brilliant online
community. I am new to Python and have
started getting the taste of python on my day to day work.
I have a requirement and i am trying to solve it using python.
I am from QA. Here is
Hi Python Tutor,
I have an issue trying to figure out how to print out final answers using sort
and join functions.
Assignment Specification:
make a function that is a magic eight ball emulator. emulator will be a
function that returns one of the possible answers. Make another function that
On 10/22/2012 03:57 PM, Daniel Gulko wrote:
Hi Python Tutor,
I have an issue trying to figure out how to print out final answers using
sort and join functions.
Assignment Specification:
make a function that is a magic eight ball emulator. emulator will be a
function that returns one of
On 22 October 2012 20:57, Daniel Gulko dangu...@hotmail.com wrote:
Hi Python Tutor,
Hi Daniel,
I have an issue trying to figure out how to print out final answers using
sort and join functions.
Do you know how to use sort and join to print a list of strings in
alphabetical order?
Thanks David. This has been helpful in understanding a bit more on how
parameters are passed through.
Date: Thu, 18 Oct 2012 04:44:55 -0400
Subject: Re: [Tutor] Help Passing Variables
From: dwightdhu...@gmail.com
To: dangu...@hotmail.com
CC: tutor@python.org
#A little more complex
the things they follow? There is a long-standing convention in
this forum, and many others, and why let Microsoft ruin it for all of us?
Date: Thu, 18 Oct 2012 04:44:55 -0400
Subject: Re: [Tutor] Help Passing Variables
From: dwightdhu...@gmail.com
To: dangu...@hotmail.com
CC: tutor@python.org
Hi Python Tutor, I have a write a simple function named
SwapCaseAndCenter(a_string, width). The idea is to use the function swapcase
and center so that when the userenters a string it centers it and swaps the
case (e.g. upper to lower and vice versa). The function calls for passing in
two
On 18/10/12 08:08, Daniel Gulko wrote:
The function calls for passing in two variables a_string, width but I
am still confused on this concept.
You just provide the list of input parameters when you define the function:
def add(x,y):
... return x+y
...
add(4,5)
9
I define add to take two
On 10/18/2012 03:08 AM, Daniel Gulko wrote:
Hi Python Tutor, I have a write a simple function named
SwapCaseAndCenter(a_string, width).
So why did you define it with only one formal parameter?
The idea is to use the function swapcase and center so that when the
userenters a string it
Hi Cecilia, I'm sending this again as the first message was sent only
to you (I hadn't realised that your own message was sent only to me as
well). If you want to reply please reply-all to this message.
On 1 October 2012 17:42, Cecilia Chavana-Bryant
cecilia.chav...@gmail.com wrote:
On Mon, Oct
On Sep 30, 2012 11:10 PM, Cecilia Chavana-Bryant
cecilia.chav...@gmail.com wrote:
Hola again Python Tutor!
Hi Cecilia
With a friend's help I have the following code to extract reflectance data
from an ASCII data file, do a bit of data manipulation to calibrate the data
and then write the
On Mon, Oct 1, 2012 at 12:33 AM, Alan Gauld alan.ga...@btinternet.comwrote:
On 30/09/12 23:07, Cecilia Chavana-Bryant wrote:
Hola again Python Tutor!
With a friend's help I have the following code to extract reflectance
data from an ASCII data file, do a bit of data manipulation to
On Mon, Oct 1, 2012 at 1:16 AM, Dave Angel d...@davea.name wrote:
On 09/30/2012 06:07 PM, Cecilia Chavana-Bryant wrote:
Hola again Python Tutor!
With a friend's help I have the following code to extract reflectance
data
from an ASCII data file, do a bit of data manipulation to calibrate
hello, I am a college student in my first year of computer programming,
I was wondering if you could look at my code to see whats wrong with it.
# Mark Rourke
# Sept 29, 2012
# Write a program to calculate the sales tax at the rate of 4% and 2%
respectively
# Thereafter compute the total sales
Is the only problem that your code is giving unexpected results, or that it
doesnt run or what?
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor
On 1 Oct 2012 19:58, Mark Rourke mark.rour...@gmail.com wrote:
hello, I am a college student in my first year of computer programming, I was
wondering if you could look at my code to see whats wrong with it.
# Mark Rourke
# Sept 29, 2012
# Write a program to calculate the sales tax at the
On 30/09/12 23:07, Cecilia Chavana-Bryant wrote:
Hola again Python Tutor!
With a friend's help I have the following code to extract reflectance
data from an ASCII data file, do a bit of data manipulation to calibrate
the data and then write the calibrated file into an out file.
snip
I have
On 09/30/2012 06:07 PM, Cecilia Chavana-Bryant wrote:
Hola again Python Tutor!
With a friend's help I have the following code to extract reflectance data
from an ASCII data file, do a bit of data manipulation to calibrate the
data and then write the calibrated file into an out file.
import
On Fri, Sep 21, 2012 at 10:33 AM, Prasad, Ramit
ramit.pra...@jpmorgan.com wrote:
Ironically, that describes me. So what is the preference for large
code samples? Just always include it? What about for the main list?
It's tricky.
Ideally, you need to take your large code base, and reduce it
I'm having trouble with a small project. Here's what it needs to do:Has variables for window width and window height and creates a window of that size.Has variables which control the number of columns and number of rows.From this, create a checkboard pattern which evenly fills the window. On
Hi Steven.
Thank you for your answer below. The program now runs, using print(Game
Over).
I use Python 3..; but the book - python for absolute beginner - that I have is
an old (2003) edition. I don't know how this combination may affect my
learning, going forward. Could you please suggest
On 10/09/12 19:40, tayo rotimi wrote:
Hi Steven.
Thank you for your answer below. The program now runs,
using print(Game Over).
I use Python 3..; but the book - python for absolute
beginner - that I have is an old (2003) edition. I don't
know how this combination may affect my learning, going
I'm in the O'Reilly Python 2 class, so pointers to learning would be better
than just answers, please. My brain is a bit slow but needs to go forward.
Line 16 calls line 31. Rather, it is supposed to. I'm trying to figure out
why I get
File ./ch8_project.py, line 31, in change_text_color
Of course, showing the code might help...
http://bpaste.net/show/44593/
Thanks!
Leam
On Sun, Sep 9, 2012 at 10:42 AM, leam hall leamh...@gmail.com wrote:
I'm in the O'Reilly Python 2 class, so pointers to learning would be
better than just answers, please. My brain is a bit slow but needs
On Sun, Sep 9, 2012 at 5:43 PM, leam hall leamh...@gmail.com wrote:
Of course, showing the code might help...
http://bpaste.net/show/44593/
Thanks!
Leam
On Sun, Sep 9, 2012 at 10:42 AM, leam hall leamh...@gmail.com wrote:
I'm in the O'Reilly Python 2 class, so pointers to learning
leam hall wrote:
I'm in the O'Reilly Python 2 class, so pointers to learning would be
better than just answers, please. My brain is a bit slow but needs to go
forward.
Line 16 calls line 31. Rather, it is supposed to. I'm trying to figure out
why I get
File ./ch8_project.py, line 31,
On Sun, Sep 9, 2012 at 12:12 PM, Peter Otten __pete...@web.de wrote:
the above will no longer complain about a missing attribute.
root = Tk()
project = ch8_Project(master=root)
project.mainloop()
Another problem that caught my attention:
self.green = Button(root, text=Green,
self.blue = Button(root, text=Blue,
command=self.change_text_color(blue))
self.blue.pack(side=LEFT)
self.green = Button(root, text=Green,
command=self.change_text_color(green))
self.green.pack(side=LEFT)
To follow up, I've added a second button. Of course, it doesn't work, the
On 09/09/2012 04:56 PM, leam hall wrote:
self.blue = Button(root, text=Blue,
command=self.change_text_color(blue))
self.blue.pack(side=LEFT)
self.green = Button(root, text=Green,
command=self.change_text_color(green))
self.green.pack(side=LEFT)
To follow up, I've added a
frameworks (Matthew Ngaha)
7. Re: Help with class in class (Dave Angel)
--
Message: 1
Date: Sun, 9 Sep 2012 14:12:48 -0500
From: leam hall leamh...@gmail.com
To: tutor tutor@python.org
Subject: Re: [Tutor] Help with class
Please, please, PLEASE do not reply to a digest without deleting the
irrelevant text from your email! We don't need to read HUNDREDS of lines
of text we've already seen before.
When you want to start a *new* question, ALWAYS start a fresh, blank
email, set the To address to tutor@python.org,
Hey, I am writing this to you because I want to know could you help.
My school is doing enterprise and I want to enter. I really want to
make a program that will clean up your desktop E.G put files you
haven't used for a while into a folder and delete your trash they are
just a few ideas. I am
Ok, I am somewhat new to python, and I am making a text-based RPG. I get a
weird error with this code:
#A Python text-RPG
#A Jak Production
#APOC
global ammo
global health
global lives
global exp
global food
ammo=55
health = 100
lives=10
exp = 0
food = 30
def part1():
print
On 09/03/2012 07:39 AM, Jack Little wrote:
Ok, I am somewhat new to python, and I am making a text-based RPG. I get a
weird error with this code:
#A Python text-RPG
#A Jak Production
#APOC
global ammo
global health
global lives
global exp
global food
ammo=55
health =
On 09/03/2012 10:39 AM, Jack Little wrote:
Ok, I am somewhat new to python, and I am making a text-based RPG. I get a
weird error with this code:
#A Python text-RPG
#A Jak Production
#APOC
global ammo
global health
global lives
global exp
global food
ammo=55
health = 100
lives=10
hey guys i just like to thank everyone for their input. Its really
helped me in deciding a lot of things. also @ Alan i think? as ive
started writing this mail it won;t let me look up previous senders but
thanks for your input. Also your field of work sounds very interesting
indeed. I can't dare
On 06/09/12 09:35, Ray Jones wrote:
#A Python text-RPG
#A Jak Production
#APOC
global ammo
You use global inside a function not outside. All variables declared at
the module level are global by definition.
ammo=55
This sets the global ammo value
def part1():
if answer == SHOW or
Hi Ian,
On 4 September 2012 20:36, Ian o donovan ianodonova...@gmail.com wrote:
Hey, I am writing this to you because I want to know could you help.
My school is doing enterprise and I want to enter.
What do you mean your school is doing enterprise? Is it some
competition or something?
I
On 03/09/2012 15:39, Jack Little wrote:
Ok, I am somewhat new to python, and I am making a text-based RPG. I get a
weird error with this code:
[snip]
Thanks,
Jack Little
Further to the sound advice you've already been given a rather more
informative subject line would have been
Hi Alan thanks so much for your helpful answers.
probably wxPython or GTk
But if you want to get serious about GUIs I'd probably suggest wxPython
instead - it ultimately is more powerful and complete and if you are only
just starting will be easy to learn whereas learning Tkinter and
From: Matthew Ngaha
[snip]
i feel confident using Python now but im still not
sure which direction i want to go in. I would at some point like to
learn how to use GUIs and a web Framework(Django). But i don't know
which of the 2 to start out with.
a) IF you happen to have used both, which
On 05/09/12 11:04, Matthew Ngaha wrote:
also please could you tell me why you suggest wxPython over GTK?
Support, there are probably more beginner friendly resources for
wxPython than for GTk, although that is changing.
that wxPython is the easiet to pick up yet a lot more complete than
On 05-Sep-12 10:40, Alan Gauld wrote:
On 05/09/12 11:04, Matthew Ngaha wrote:
also please could you tell me why you suggest wxPython over GTK?
Support, there are probably more beginner friendly resources for
wxPython than for GTk, although that is changing.
Yeah, and wxPython is a large,
No matter what the kit used for GUI, make sure it's well documented, and
has plenty of tuts/docs. I used tkinter, and wxpython, and like the widget
set/cross OS usages in wxpython better.
However, with more experience, now I'm moving toward the Blender Game
Engine to give more feel, and a 3-d pop
On Tue, 4 Sep 2012, Matthew Ngaha wrote:
a) IF you happen to have used both, which one fills you with joy and
is more fun for you to program with, GUI programming, or web related /
Framework programming?
Honestly - both. It's really a highly subjective question and depends what
you want to
hey guys as i program more, i think of silly questions i would like
answers to. if anyone doesnt mind entertaining my question, please do
answer:) I have just about finished my beginner tutorial, just a few
exercises left. i feel confident using Python now but im still not
sure which direction i
Matthew,
Program what is fun for you. I prefer PHP for web work but I'm learning
Python for my day job. Python provides a wider range of abilities but PHP
is more fun for me. If Python GUIs are fun, then do that. The more you
enjoy the topic the more reason you will have to learn more and more. I
sorry wrong i didnt send mail right.
hey i didnt explain it properly, i wasn't asking what language to use
or learn. I am only going to be using Python. I meant whic area to
study on 1st, GUI programing e.g Tkinter or Programming with a web
framwork e.g Django.
hey you didnt read my question:( i dont enjoy either because i have no
experience with them. so im asking questions about peoples personal
experiences with the 2 areas which can give me further information to
research on.
___
Tutor maillist -
Hi,
I am beginner to python and doing coding on UNIX
platforms(AIX,Linux,HP,Solaris)
I want to take the list of files present in packages. On AIX we get the
files list present in packges using command lslpp -f pkgname.
Now i want to format output of above command such that only list of files
On 23/08/12 07:12, rahool shelke wrote:
I want to take the list of files present in packages. On AIX we get the
files list present in packges using command lslpp -f pkgname.
Can you provide a short example of the output format from lslpp?
Now i want to format output of above command such
Hi, Cecilia:
I came across your posts when catching up with my tutor-request digest
emails. I did not see the Udacity site mentioned--if it was, my apologies
for the repetition.
Udacity.com, a free online education service, offers a number of
high-quality courses. They include interactive
Dear all,
I am just returning to my doctoral studies after a 7-month medical leave and
desperately trying to catch up for lost time. I am COMPLETELY new to
programming, well, I did try learning C for 3 weeks 3 yrs ago (with very little
success) but had to stop and then spent 2 years in the
.
-Mario
--
From: Cecilia Chavana-Bryant
Sent: 8/22/2012 6:35 AM
To: tutor@python.org
Subject: [Tutor] Hello Python Tutor - help please!
Dear all,
I am just returning to my doctoral studies after a 7-month medical leave
and desperately trying to catch up for lost time
...@ouce.ox.ac.uk
To: tutor@python.org
Date: Wed, 22 Aug 2012 10:10:46 +
Subject: [Tutor] Hello Python Tutor - help please!
Dear all,
I am just returning to my doctoral studies after a 7-month medical leave and
desperately trying to catch up for lost time. I am COMPLETELY new
Hello Cecilia,
My replies are below, interleaved with your comments, which are
prefixed with marks.
On 22/08/12 20:10, Cecilia Chavana-Bryant wrote:
By the way, the 3 weeks I spent trying to learn C really ended up
being spent trying to get to grips with using a terminal for the
first time
) [w...@mac.com]
Sent: 22 August 2012 15:17
To: Cecilia Chavana-Bryant
Cc: William R. Wing (Bill Wing)
Subject: Re: [Tutor] Hello Python Tutor - help please!
On Aug 22, 2012, at 6:10 AM, Cecilia Chavana-Bryant
cecilia.chavana-bry...@ouce.ox.ac.ukmailto:cecilia.chavana-bry...@ouce.ox.ac.uk
wrote
Direct: +44 (0)1865 275861
Fax: +44 (0)1865 275885
From: William R. Wing (Bill Wing) [w...@mac.com]
Sent: 22 August 2012 15:17
To: Cecilia Chavana-Bryant
Cc: William R. Wing (Bill Wing)
Subject: Re: [Tutor] Hello Python Tutor - help please!
On Aug 22, 2012
On 22/08/12 11:10, Cecilia Chavana-Bryant wrote:
I do not know how to programme!. Thus, I was hoping that some of you
can remember how you got started and point me towards any really good
interactive learning guides/materials and/or have a good learning
strategy for a complete beginner.
At
Hi Cecilia,
You've had a lot of good replies already, but I'd like to add the
following points if I may:
1) You probably should figure out as much as that's possible up front
exactly you're trying to do in terms of data processing first (e.g.
some idea of the stats, graphs, summaries, operations
I highly recommend the Google Python class that is found on YouTube.
The first video is found at http://www.youtube.com/watch?v=tKTZoB2Vjuk
The supporting class materials and assignments are found at
http://code.google.com/edu/languages/google-python-class/ . This series
of videos begins at a
Steven, (now from my new account without all the long-winded signature) can
files be attached to posts in this forum?
Cecilia
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
On 22/08/12 22:51, Cecilia Chavana-Bryant wrote:
Steven, (now from my new account without all the long-winded signature)
can files be attached to posts in this forum?
Yes they can, but we prefer if you just include them in the body if they
are fairly short (100 lines?) or put them on a
On 22/08/12 21:51, Cecilia Chavana-Bryant wrote:
def main(fname, sheet_name):
wb = xlrd.open_workbook(fname)
sh = wb.sheet_by_name(sheet_name)
data1 = sh.col_values(0)
data2 = sh.col_values(1)
return data1, data2
fname = Cal_File_P17.xlsx
sheet_name = RefPanelData
I am trying to fill a file.
When i am start the leading fuction the file schould be overwriting the ,
probarly, existing csv file.
Accoording from keys from different keys in my sql files, information is
collected and written in a other function.
I tried something like this
code
class
On 08/10/2012 06:02 AM, leon zaat wrote:
I am trying to fill a file.
When i am start the leading fuction the file schould be overwriting the ,
probarly, existing csv file.
Accoording from keys from different keys in my sql files, information is
collected and written in a other function.
On 10/08/12 11:02, leon zaat wrote:
I am trying to fill a file.
I assume you mean create a file? Or overwrite an existing one?
Or append to an existing one. There isn't really a concept of filling a
file, they just keep getting bigger until you ruin out of space.
(There are some filesystems
On 09/08/12 04:26, Lily Tran wrote:
I am getting the following error when I try to run this python program
in eclipse. I am running python 3:
I see you fixed that,but there are other problems:
def MagicEightBallEmulator():
answers = [As I see it, yes,
Very doubtful]
while
Hello everyone,
Can anybody help me with this problem.
Ik have a program that i' am modifying.
Ik build a function to export data to a csv file. I tried the functions over
different parts, that needed to be extracted.
The parts on it self worked fine. Now I put all parts in my function.
leon zaat wrote:
Hello everyone,
Can anybody help me with this problem.
Ik have a program that i' am modifying.
Ik build a function to export data to a csv file. I tried the functions
over different parts, that needed to be extracted. The parts on it self
worked fine. Now I put all
Thanks,
adding the self as suggested did the trick.
To: tutor@python.org
From: __pete...@web.de
Date: Thu, 9 Aug 2012 14:45:58 +0200
Subject: Re: [Tutor] help -Global name is not definied.
leon zaat wrote:
Hello everyone,
Can anybody help me with this problem.
Ik
On 09/08/12 13:20, leon zaat wrote:
When i run the program i got the following message:
NameError: global name 'schrijfExportRecord' is not found
What I am doing wrong and how can i fix it?
Looks like you found the problem in this case but for future reference...
Please, always post the
Hello;
I am getting the following error when I try to run this python program in
eclipse. I am running python 3:
File /Users/lilytran/Desktop/python/Ex_Files_Python_3_EssT/Exercise
Files/class_beginner_python/hw3_2_lab6.py, line 30
SyntaxError: Non-UTF-8 code starting with '\xd0' in file
On 08/08/2012 11:26 PM, Lily Tran wrote:
Hello;
I am getting the following error when I try to run this python program in
eclipse. I am running python 3:
File /Users/lilytran/Desktop/python/Ex_Files_Python_3_EssT/Exercise
Files/class_beginner_python/hw3_2_lab6.py, line 30
Thanks. I found the problem character and was able to resolve it.
Lily
On 8/8/12 10:10 PM, Dave Angel d...@davea.name wrote:
On 08/08/2012 11:26 PM, Lily Tran wrote:
Hello;
I am getting the following error when I try to run this python program
in eclipse. I am running python 3:
File
print Mum is in a %s mood % (mum_mood)
print Dad is in a %s mood % (dad_mood)
Hi Victoria!
Since you have only one format character in the strings above there is
no need to surround the variables mum_mood and dad_mood with
parenthesis.
You only do that when you have multiple formats in
On Tue, Jul 31, 2012 at 5:52 AM, ttmticdi . ttmti...@gmail.com wrote:
print Mum is in a %s mood % (mum_mood)
print Dad is in a %s mood % (dad_mood)
Hi Victoria!
Since you have only one format character in the strings above there is
no need to surround the variables mum_mood and
Ex:
No!
print Hi %s! You like %s and %s (user_name, x, y)
Yes!
print Hi %s! You like %s and %s % (user_name, x, y)
Forgot the interpolation operator(%). Thank you very much Joel for
correcting me.
Regards,
ttmticdi.
___
Tutor maillist -
Hi! I am a new Python user, and would really appreciate some help. My code is
as follows:
from sys import argvs
script, mum_mood, dad_mood = argvs
# my own function
def dad_and_mum_mood(mum_mood, dad_mood):
print If both mum and dad are in a good mood, all is good.
print If one is and one
On Mon, Jul 30, 2012 at 9:35 PM, Victoria Homsy victoriaho...@yahoo.com wrote:
Hi! I am a new Python user, and would really appreciate some help. My code
is as follows:
from sys import argvs
script, mum_mood, dad_mood = argvs
# my own function
def dad_and_mum_mood(mum_mood, dad_mood):
Hello all! I have a very simple question but I'm very new to python. Could you
describe to me what the following piece of Python code says in English please?
def print_a_line(line_count, f):
print line_count, f.readline()
I understand that line_count counts the number of lines in the Python
On 7/30/2012 12:52 PM Victoria Homsy said...
Hello all! I have a very simple question but I'm very new to python.
Could you describe to me what the following piece of Python code says in
English please?
def print_a_line(line_count, f):
print line_count, f.readline()
This function accepts
Hello all! I have a very simple question but I'm very new to python. Could you
describe to me what the following piece of Python code says in English
please?
Welcome to the list and Python! When posting code in the future I recommend
posting in plain text and not rich text or HTML. If you are
On 19/06/2012 00:46, Alan Gauld wrote:
On 19/06/12 00:13, Sean Carolan wrote:
and not the total of all the individual items. Anyone matplotlib
experts out there who can weigh in?
Not me, but I notice there is a gmane newsfeed for matplotlib:
gmane.comp.python.matplotlib.general
Probably
I'm working on a simple python web app that generates graphs, because
managers love graphs. I've got it about 90% done, but I'm having
trouble getting labels onto my stacked graph. In the matplotlib
documentation there is a nice example showing how to create the
legend. Note how the variables
Unfortunately my graph is generated dynamically. How can I create my
legend when my 'bar' objects have no names to refer to?
I also noticed another issue with my stacked bar graph; the total
height of the bar is the size of the largest number of the dataset,
and not the total of all the
On 19/06/12 00:13, Sean Carolan wrote:
and not the total of all the individual items. Anyone matplotlib
experts out there who can weigh in?
Not me, but I notice there is a gmane newsfeed for matplotlib:
gmane.comp.python.matplotlib.general
Probably worth posting questions there.
--
Alan
Not me, but I notice there is a gmane newsfeed for matplotlib:
gmane.comp.python.matplotlib.general
Probably worth posting questions there.
Thank you, I will inquire on the newsfeed.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change
Unfortunately my graph is generated dynamically. How can I create my
legend when my 'bar' objects have no names to refer to?
for admin in bd:
bar(ind, bd[admin], width, color=colordict[admin])
xticks(ind+width/2., datenames)
legend()
grid('on')
outfile =
I also noticed another issue with my stacked bar graph; the total
height of the bar is the size of the largest number of the dataset,
and not the total of all the individual items. Anyone matplotlib
experts out there who can weigh in?
I figured out what was going on here; the bars were all
I request help in locating the graphics module graphics.py
I am new to both programming and Python. I have successfully down
loaded Python 2.7.2 and WingIde 101 4.1. I am using Windows 7 as my
operating system.
I am reading Python programming by John Zelle supplemented by MIT
lectures
On Tue, Apr 24, 2012 at 03:57:58PM +0800, Ivor Surveyor wrote:
I request help in locating the graphics module graphics.py
Have you tried searching for Python programming by John Zelle
graphics.py on any of the major search engines, like Google, Yahoo or
DuckDuckGo? That should always be your
Python 2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]
Type help, copyright, credits or license for more information.
Dear Steven D'Aprano
I am most grateful for you directing me towards the file
graphics.py. I was able to download the file and inserted a copy
into the
Dear all
Can someone please tell me how to solve the following problem. I have
developed a python code to extract specific information from more than 1000
files which have slightly different format. The problem I am facing is that I
have to develop specific RE for each of the file which is
syed zaidi wrote:
Dear all Can someone please tell me how to solve the following problem. I
have developed a python code to extract specific information from more than
1000 files which have slightly different format. The problem I am facing is
that I have to develop specific RE for each of the
syed zaidi wrote:
Dear Steve,Tutor doesn't allow attachment of huge files. I am attaching
the files I am taking as input, code and the output CSV file. I hope then
you would be able to help me. DOT keg files open in file viewer, you can
also view them in python. The CSV file is the desired
801 - 900 of 1938 matches
Mail list logo