David Hutto wrote:
> #A little more complex in terms of params:
>
> def SwapCaseAndCenter(*kwargs):
>
> if upper_or_lower == "upper":
> print a_string.center(center_num).upper()
>
> if upper_or_lower == "lower":
> print a_string.center(center_num).lower()
On Mon, Oct 29, 2012 at 2:28 PM, Alan Gauld wrote:
> On 29/10/12 08:37, Asokan Pichai wrote:
>
>>> teachers put stupid artificial constraints on your code,
>>
>>
>>>
>>> such as banning the use of len().
>>
>>
>> There may be legitim
On 29/10/12 08:37, Asokan Pichai wrote:
teachers put stupid artificial constraints on your code,
such as banning the use of len().
There may be legitimate learning outcomes for a teacher
to specify such conditions.
In that ca
[SNIPPED]
>
> Always use a while loop in this situation,
This is excellent advice. Use a for loop in two
situations:
1. Iterating a fixed(known) number of times
2. Iterating through the contents of any container
Use a while loop to iterate as long as a condition applies.
> regardless of wheth
On 29/10/2012 01:40, Matthew Ngaha wrote:
In your original getNames do something like this.
Initialise a counter to zero.
Every time you get a valid name increment the count.
If the count is three you're finished.
hey i was looking at the question as im learning also. With the counter,
would
>
> In your original getNames do something like this.
>> Initialise a counter to zero.
>> Every time you get a valid name increment the count.
>> If the count is three you're finished.
>>
> hey i was looking at the question as im learning also. With the counter,
would you use a while loop instead o
On 28/10/12 21:37, Sandra Beleza wrote:
def GetNames():
names=[]
while len(names)<3:
name=raw_input("Name: ")
if name in names:
print name, "is already in the data. Try again."
if name not in names:
names.append(name)
names.sort
On 28/10/2012 21:37, Sandra Beleza wrote:
Hi,
I have to write a script that asks the user for names one at a time, and
accept the name only if the user did not gave it before. The script has to
do this until it gets 3 unique names.
So far I have this:
def GetNames():
names=[]
while le
Hi,
I have to write a script that asks the user for names one at a time, and
accept the name only if the user did not gave it before. The script has to
do this until it gets 3 unique names.
So far I have this:
def GetNames():
names=[]
while len(names)<3:
name=raw_input("Name: ")
On 10/27/2012 4:51 PM, Frank Pontius wrote:
But, this is an if.
When replying please put your response after the text it applies to, and
delete all irrelevant text. In other words avoid "top-posting".
Sorry I really messed up my reply!
The offending line is:
coin = random.randragge(0,2):
get
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 fu
On 10/18/2012 7:59 PM, Frank Pontius wrote:
Help with class example
Hello,
Hi - this just showed up in my mailbox. Perhaps there was a delay
getting it posted.
The "" around tails and heads are not ascii quote characters. They are
what some word processors change ascii quotes into to meet t
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 function, returning #.
import random
def RandomNumberGen
#Apologies, this is the actual code:
def SwapCaseAndCenter(a_string, upper_or_lower = None, center_num = None):
if upper_or_lower == "upper":
print a_string.center(center_num).upper()
if upper_or_lower == "lower":
print a_string.center(center_num)
#A little more complex in terms of params:
def SwapCaseAndCenter(*kwargs):
if upper_or_lower == "upper":
print a_string.center(center_num).upper()
if upper_or_lower == "lower":
print a_string.center(center_num).lower()
a_string = raw_input("Give m
#This is the actual code:
def SwapCaseAndCenter(a_string, upper_or_lower = None):
if upper_or_lower == "upper":
print a_string.center(center_num).upper()
if upper_or_lower == "lower":
print a_string.center(center_num).lower()
a_string = raw_input(
Algorithm it, and look at the instance below the function first where
variables are drawn in as raw input, and comments with # are just
comments, not part of the code:
def SwapCaseAndCenter(a_string, upper_or_lower = None):
#find if it's upper, and print
if upper_or_lower == "upper":
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. He
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 M
On 25 October 2012 10:26, 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 pytho
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 d
On 22 October 2012 20:57, Daniel Gulko 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?
>
> Assignment Specification
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 o
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
r
y not
after 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
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
>
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 stri
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 t
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
Got it, many thanks for your help.
On Tue, Oct 2, 2012 at 7:59 PM, Oscar Benjamin
wrote:
> 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.
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
wrote:
> On Mon, Oct 1, 2012 at 11:02 AM, Osca
On 1 Oct 2012 19:58, "Mark Rourke" 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 rate of 4% and
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
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
On Mon, Oct 1, 2012 at 1:16 AM, Dave Angel 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 the
>
On Mon, Oct 1, 2012 at 12:33 AM, Alan Gauld wrote:
> 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 an
On Sep 30, 2012 11:10 PM, "Cecilia Chavana-Bryant"
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 calibrated file i
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.
>
> i
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.
I have succ
On 21/09/12 15:33, Prasad, Ramit wrote:
Steven D'Aprano wrote:
On 21/09/12 08:54, Prasad, Ramit wrote:
People on this list are not all receiving this via email.
They're not? How else can you receive this? Unlike the main python-list,
this isn't (as far as I know) mirrored on Usenet.
I wonder
On Sat, Sep 22, 2012 at 5:13 AM, Dwight Hutto wrote:
>
> I'd say youtube, but you couldn't copy and paste from the video, just
> look at the errors outputed, and a good long video of the code.
OK, but please don't make a video and basically grunt like Animal from
the Muppet Show: see code! see co
>> It's tricky.
>>
>> Ideally, you need to take your large code base, and reduce it into a
>> short piece of sample code that is runnable and reproduces your issue.
>
>
> +1 on this.
>
> There is no good answer. Speaking for myself, I would prefer that you
> attach the file to your email. But
On Fri, Sep 21, 2012 at 2:46 PM, Brett Dailey
wrote:
>
> It just needs to be scaled to fit into each tile. You can just use one of your
> choice as a place holder for now and I'll just put my own in later.
I wrote up a version last night. Here's an image of the output:
http://i.imgur.com/h4Wcd.p
On 22/09/12 01:18, Jerry Hill wrote:
On Fri, Sep 21, 2012 at 10:33 AM, Prasad, Ramit
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
On Fri, Sep 21, 2012 at 10:33 AM, Prasad, Ramit
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 into a
short piece of sampl
Steven D'Aprano wrote:
> On 21/09/12 08:54, Prasad, Ramit wrote:
> > People on this list are not all receiving this via email.
>
>
> They're not? How else can you receive this? Unlike the main python-list,
> this isn't (as far as I know) mirrored on Usenet.
>
> I wonder under what circumstances
On 21/09/12 08:54, Prasad, Ramit wrote:
People on this list are not all receiving this via email.
They're not? How else can you receive this? Unlike the main python-list,
this isn't (as far as I know) mirrored on Usenet.
I wonder under what circumstances people could read this email without
s
On Thu, Sep 20, 2012 at 6:31 PM, Brett Dailey
wrote:
>
> From this, create a checkboard pattern which evenly fills the window. On
> approximately 10% of the squares (chosen at random) draw an image which is
> sized to just fit inside a checkboard square (use the smallest dimension).
> Keep the pro
People on this list are not all receiving this via email. It is
recommended that you post 1. plain text (instead of Rich Text or HTML)
2. Just include the code directly in the email if it is short (which this
is) or post to a website like pastebin for large samples. I have included
the code below
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 appr
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, goin
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
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,
Re: Help with class in class (leam hall)
6. Re: web 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
To: tutor
Subject: Re: [Tutor]
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,
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,
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,
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",
On Sun, Sep 9, 2012 at 5:43 PM, leam hall 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 wrote:
>>
>> I'm in the O'Reilly Python 2 class, so pointers to learning would be
>> better than ju
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 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.
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
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 helpfu
Hi Ian,
On 4 September 2012 20:36, Ian o donovan 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 really want to
> make
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
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 to
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
>
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
> 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 p
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 tryi
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 do
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 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, co
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
Tk
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, wh
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 conv
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 - Tutor@pyth
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.
_
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.
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 wa
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 quizzes
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 ".
Can you provide a short example of the output format from lslpp?
Now i want to format output of above command such that onl
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 ".
Now i want to format output of above command such that only list of files
with abso
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"
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 pasteb
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:
http://mail.python.org/mailman/listinfo/t
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 pret
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
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 t
; School of Geography and the Environment
> University of Oxford
> South Parks Road, Oxford, OX1 3QY
> Web: http://www.eci.ox.ac.uk/teaching/doctoral/chavanabryantcecilia.php
> Tel Direct: +44 (0)1865 275861
> Fax: +44 (0)1865 275885
>
> From: William R. Wing (Bil
m 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, at 6:10 AM, Cecilia Chavana-Bryant
mailto:cecilia.chavana-bry...@ouce.ox.ac.uk>>
wrote:
Dear al
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
havana-bry...@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 COMPLET
plies.
-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
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 Amaz
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 th
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
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
class BAGExtractP
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 enti
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,
> >
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 a
801 - 900 of 2055 matches
Mail list logo