On 22/03/18 11:35, Connie Callaghan wrote:
> Hi,
> I was just looking help for a matrix that I am building, it needs to look
> like this
> 1, 0, 0, ...,0
> A,b,c,0,...,0
> 0,a,b,c,...,0
> 0,0,a,b,c,..0
> 0,0,0,a,b,c,...,0
> 0,0,0,0...0, 1
What exactly are the a,b,c values?
Are they variables
On 22/03/18 15:22, David Holland via Tutor wrote:
> Is there anyway I can use Python to fill in an Oracle form
What kind of Oracle form? There are at least 2 that I'm
aware of.
1) The Oracle Forms thick client app framework which runs
on a PC and connects to the database server. (I believe
On 20/03/18 13:55, Mitesh H. Budhabhatti wrote:
> Hello,
>
> Can anybody please suggest better way to connect MS SQL Server database?
As Mats said, better than what?
There are at least two "official" ways:
1) using the SQL Server driver
2) Using the ODBC driver.
Both are described here:
e, and we need to upload the output file, running the script on our
> local system. So, the above method should work.
>
> On 15 Mar 2018 11:13 pm, "Alan Gauld via Tutor" <tutor@python.org
> <mailto:tutor@python.org>> wrote:
>
> On 15/03/18 16:56, Preeti Saxena
On 15/03/18 16:56, Preeti Saxena wrote:
> Hi,
>I am new to python. I am trying to test my program, like a coursera
> submission, which takes run time arguments using "raw_input()". Is there a
> way I can write all the input data into a file and pass it from command
> line to the script?
In
On 15/03/18 13:42, Prashanth Ram wrote:
> My code is working well in localhost but when I try to open that in VPS
> server I'm failing in running that code. I'm getting errors. I have
> installed Chrome and it's drivers. Even though I'm facing errors.
>
> I request your team to help me in this.
On 11/03/18 04:20, Leslie SimondeMontfort via Tutor wrote:
> Hi, I wondered if there is someone that can help me with this code.
I'll try but theres a lot to comment on.
See below...
> def print_menu(): ## Your menu design here
> print 30 * "-" , "MENU" , 30 * "-"
> print "1. Menu
On 06/03/18 18:12, Roger Lea Scherer wrote:
> I know I don't have to apologize, but I am so independent I hate asking for
> help and you guys and gals have been so helpful that now that I'm stuck
> again I'm sorry I have to.
Thats not a problem and, in programming, is usually seen as
a strength
On 06/03/18 22:17, Albert-Jan Roskam wrote:
> But the way you wrote it, the generator expression just "floats"
Any expression can be used where a value is expected provided
that e3xpression produces a value of the required type.
A generator expression effectively produces a sequence and
the
On 02/03/18 21:05, Roger Lea Scherer wrote:
> ability to exchange point between the pool and each of the, what I call,
> attributes of Strength, Health, Wisdom, and Dexterity. I got only to the
> first option and I'm stuck on how to get the points to change
> "permanently". The program will run
On 02/03/18 20:42, Alessandro Parisi wrote:
> Hi, My name is Alessandro Parisi,
Hi.
> I would need to download this code to understand how it works
What code?
Do you have a URL? Or a link of some kind?
We are not mind readers.
--
Alan G
Author of the Learn to Program web site
On 02/03/18 02:40, Nirmal Bhatt wrote:
> Hi,
> I am trying to deploy the distribution file
What do you mean by "the distribution file"?
How are you creating this file?
How are you "deploying" it?
> and getting the attached error.
The server strips out attachments so we cannot
see it, please
On 27/02/18 09:50, Peter Otten wrote:
>> def all_digits(s):
>> return all(c.isdigit() for c in s)
>
> Note that isdigit() already checks all characters in the string:
Ah! I should have known that but forgot.
I think the singular name confused me.
> The only difference to your suggestion is
On 27/02/18 05:13, Cameron Simpson wrote:
> hard to debug when you do. That's not to say you shouldn't use them, but many
> people use them for far too much.
> Finally, you could also consider not using a regexp for this particular task.
>
> Python's "int" class can be called with a string,
On 24/02/18 20:00, James Lundy wrote:
> To whom it may concern. This code is from Dr. John Keyser.
Since you don;t show us the complete program I will have
to make some assumptions...
> gooddata = []
This is degioned as a list by virtue of the []
> for singleday in datalist:
> if
On 23/02/18 03:34, gonzales huerta wrote:
> What would be the best compiler for writing a combined code PYTHON and C?
There are several ways to do this and it depends on your application
which is
most practical. If w assume yyou want to access the C code from Python then:
1) Write a Python
On 16/02/18 22:50, Daniel Bosah wrote:
> Now, I'm totally lost on how to do this. I have never used a API before,
> and I'm not sure how to use the Wikipedia API. Is there any resource anyone
> can point me to to help me do this? To not only use the API but to also
> parse through all the previous
Apologies for the spam, I hit the wrong button on the moderation pane.
Alan G.
On 16/02/18 13:49, Webcompliancepanel wrote:
>[1]A Regulatory Perspective: FDA's[2]OCP_Logo
>New Guidance's Deciding When to Call 510-857-5896
>Submit a 510(k) for Device &
On 15/02/18 01:27, Leo Silver wrote:
> Hello.
>
> I'm trying to create a class to represent products which includes a list of
> volume based pricing and sets the first of these as the unit price:
>
> def __init__(self, RatePlanID):
> self.id = RatePlanID
> self.name =
On 14/02/18 23:22, terrapin-tur...@lycos.com wrote:
>
> Alan,
>
> I know NOTHING of this program.
>
So how did you find it?
What do you hope to do with it?
BTW You sent this to me only,. you need to use Reply-All
or Reply-List to include the tutor list. I've CCd the list in this response.
>
On 14/02/18 19:18, Nathantheweird1 wrote:
> I'm having a problem with my code on an interactive story. All the choices
> work until the end. When the code reaches the end, it will print different
> functions that aren't even set to be called in the code. I'm not sure what
> I've done wrong and
On 13/02/18 13:41, terrapin-tur...@lycos.com wrote:
> Anyone know the pygame pong code and want to assist in a student learn
> where the mistakes in the code reside?
>
> Yes, reply to this mail.
That's not how it works.
You post a question and the code and any error messages
and we
On 12/02/18 15:47, Charlotte Hoff Sonne wrote:
> Hi,
>
> I have created a barplot in Python.
It will help f you tell us which version of Python and which OS.
> This is the code I have written:
> sns.barplot(x='word',y='andelelite',data=plotpanda)
What is sns? It's not part of the standard
On 10/02/18 05:44, boB Stepp wrote:
> I have been reading the interesting web page "Semantic Versioning
Interesting read, it's the first time I've come across the term.
The practice is of course fairly standard and certainly every
major project I've ever worked on has done it but they
were
On 07/02/18 21:34, Frank Dominguez wrote:
> this is my first time using python and i just cannot figure out what I am
> doing wrong im sure the answer is very simple but sadly i do not know what
Please always include full error messages in your mail
- don't assume we will willingly run buggy
On 07/02/18 20:06, Terry Carroll wrote:
> I'm doing a few projects in Java now and would love to find a similar
> resource that covers that language,
I did a deep dive into Java for a new job a couple of years ago
and found the official Oracle tutorials very good combined with
YouTube videos
On 07/02/18 03:22, Dragan Mestrovik wrote:
> please suggest me some good android apps through which i can execute my
> python scripts and practice python.
I don't know if its the best but the one I use is QPython3.
Its free and includes an interactive interpreter.
> I want to download videos
On 07/02/18 11:58, vinod bhaskaran wrote:
> Hi, I am a beginner level programmer and in one assignment the question
> given is:to remove ',' from a list after getting a comma separated input
> from console.
First up I'll say you are doing an awful lot of work
that's not needed. As a result your
On 06/02/18 21:07, Hüseyin Ertuğrul wrote:
> "hMailServer SpamProtection rejected RCPT (Sender:
> valeria0...@mikelsonconstruction.com, IP:187.62.63.218, Reason: Rejected by
> Spamhaus.)"
> "hMailServer SpamProtection rejected RCPT (Sender: veronika07...@etb.net.co,
> IP:190.25.189.74, Reason:
On 06/02/18 10:34, renukesh nk wrote:
> i am facing issue while writing files to a folder, where the files get
> overwrite if they have same file names , so any help me to fix
That's just what happens, what did you expect to happen?
The same would be true id you saved a file from notepad,
if you
On 06/02/18 09:26, Alan Gauld via Tutor wrote:
> Forwarding to list, please always use Reply ALL or Reply LIst to send
> mail to the list.
>
> What input did you use and what output did you get?
>
> Input 239/30 ---> 7 1 29
> Input 415/93 ---> 4 2 6 7
>
Forwarding to list, please always use Reply ALL or Reply LIst to send
mail to the list.
-Original Message-
From: Alan Gauld via Tutor <tutor@python.org>
To: tutor <tutor@python.org>
Sent: Mon, Feb 5, 2018 4:50 am
Subject: Re: [Tutor] fractions from Fractions
On 05/02/1
On 05/02/18 04:11, Rex Florian via Tutor wrote:
> The problem is one of the PyCharm problems and when I
> use the check feature it tells me my answer is incorrect.
What input did you use and what output did you get?
So far as I can tell your algorithm is correct, although
I'm not sure why
On 03/02/18 02:12, JSelby wrote:
>My 8 year old is reading Python for kids and is trying a few programs
>from the book We are working on a Mac OS X ELCapitain. We are looking at
>WHACK THE BOUNCING BALL.
>He has copied the code below and we get the red error message below.
On 15/11/17 17:41, Alan Gauld via Tutor wrote:
Hopefully my last on this topic.
I've just uploaded the new landing page for my web site.
Aside from being more mobile friendly it also has a wider
remit than before, being a gateway to more than just my
programming tutorial.
As ever feedback
On 02/02/18 02:44, Anna Lapre wrote:
> I am having a problem with creating a new line in a return statement for a
> function. It has a mix of a bunch of strings and variables. Everything that
> I want included will print, except for the new lines. I have tried "\n" but
> with no luck. Do you have
On 01/02/18 02:15, Steven D'Aprano wrote:
> You can also run:
>
> sys.executable
I'd forgotten that one...
>
> from Python itself. For example, on my system:
>
> py> sys.executable
> '/usr/local/bin/python3.5'
For the benefit of the OP, you need to import sys first
so it looks like:
>>>
On 31/01/18 17:42, Megan Zirger wrote:
> I am completely new to python and trying to learn how to set up and get
> going.
I'm not a Mac expert but v2.7 is usually installed on a Mac by default
(although its just a basic version its fine for learning)
If you have downloaded v3.6 9the latest
On 29/01/18 16:30, Dragan Mestrovik wrote:
> I need some suggestions/help in showing large amount of data in grid like
> view with first column having checkboxes. Please see the image attached.
> How can i achieve this in Python GUI?
> [image: Inline image 1]http://oi39.tinypic.com/28vq6wn.jpg
On 29/01/18 06:42, vinod bhaskaran wrote:
> newstring = ''
> oldstring = 'Newton'
> for char in oldstring:
>newstring = char + newstring
> print(newstring)
>
> Could someone explain how it is traversing to get the string reversed?
print statements are your friend.
Add print statements
On 29/01/18 00:45, Alan Gauld via Tutor wrote:
> scores = [] # three sets of scores.
Oops, sorry that line shouldn't be there.
It came from my first pass through the code,
before I saw how you were storing the data lower down.
--
Alan G
Author of the Learn to Program web site
http://www.a
On 28/01/18 22:06, Edna Broukhim wrote:
You have tried to give the variables sensible names but
a little bit more work will make your code more readable
and therefore easier to debug. You need to rethink your
data model slightly.
You have a number of users (which you don't explicitly
store at
On 28/01/18 13:36, Geoff Hancock wrote:
> Good day-
> I have been asked to help teach students how to clean up a CSV file in
> Python.
I'm not sure what you mean by "clean up" a CSV file.
If the file is malformed then turning it into a well
formed CSV file is a non trivial text processing task.
On 28/01/18 02:58, Chris Roy-Smith wrote:
> I have been playing around with the following code which I want to
> update the window, but I creates a new window
Yes, you are creating a new window each time.
You really need to have a separate unction create the
window once and store it (or the
On 27/01/18 02:56, boB Stepp wrote:
> So my actual question is: For these types of methods/functions, is
> Python Both versions 2 and 3) consistent throughout and *always*
> returns None?
Mostly, but only for mutable objects.
So the string methods return a new string with the modifications
On 26/01/18 12:31, jimmy connelly wrote:
> Hello I have a very simple Flask app for fetching tweets from twitter...
> ...
> It runs great for a number of hours then crashes.
Caveat, I'm in a hurry and haven't looked at your code.
But when things run fine for a long time then crash my
first
On 15/11/17 17:41, Alan Gauld via Tutor wrote:
> I've been doing some much needed maintenance to my web tutor.
Many thanks for all the feedback received.
I know there are at least a couple of minor glitches still
to fix - especially on iPhones...
However, the rewrite of the material has b
On 20/01/18 18:26, Derek Smith wrote:
> import os
> import sys
> from subprocess import Popen, PIPE
>
> pipe = Popen('lsdev -c tape', shell=True, stdout=PIPE)
>
> for dev in pipe.stdout :
> print ( dev.strip().split()[0].decode() )## A ##
This is OK
> # print (
On 18/01/18 20:51, Devansh Rastogi wrote:
> When do you actually use json or pickle, I understand that with data
> written to .json files can be used by programs written in other languages,
> and pickle is for python specific objects.
Yes, that's correct.
> So are there specific objects
> for
On 16/01/18 04:37, Chris Roy-Smith wrote:
> File "./debugString.py", line 7, in SetFin
> SetStatus[x] = var.get(x)
> AttributeError: 'list' object has no attribute 'get'
> var=[IntVar() for x in range(8)]
Here you create a list of IntVar objects.
The list has no get() method - just as
On 13/01/18 12:05, mamatha n wrote:
> please any one give me the code for
We don't write code for you (unless you want to pay
one of us as a contractor) But we can point you at
some examples:
> username (entryfld)-
> pwrd (entryfld)
> login(button),changepwrd(button)
So far very
On 13/01/18 05:15, Pat Martin wrote:
> I was thinking of turning this into a web app (one that is just run on my
> local machine) something like have a form with text box, checkbox and
> radio buttons for the options/flags.
>
> My question is, is something like that practical? Will I be able to
On 11/01/18 22:52, Roger Lea Scherer wrote:
> Traceback (most recent call last):
> File "C:\Users\Roger\Documents\Roger\Python\xlrd.py", line 1, in
> import xlrd
Look closely at the error message.
What is the name of the file that causes the error?
What is the name of the module you are
On 10/01/18 20:20, eryk sun wrote:
> ... And working with COM via ctypes is also complex, which is why
> comtypes exists.
Or easier still Pythonwin (aka PyWin32).
I far prefer pythonwin over ctypes for any kind of COM work.
--
Alan G
Author of the Learn to Program web site
On 09/01/18 14:20, YU Bo wrote:
> But, i am facing an interesting question.I have no idea to deal with it.
I don;t think you have given us enough context to
be able to help much. WE would need some idea of
the input and output data (both current and desired)
> [PATCH] perf tools: Fix
On 08/01/18 00:17, boB Stepp wrote:
>> The os.path module is mostly a string manipulation toolkit.
>
> This is the critical piece that was eluding me. I assumed that the
> actual file system was being queried, checked and expanded as needed.
To be fair realpath() does do a tiny bit of magic in
On 07/01/18 09:07, boB Stepp wrote:
> clarify this? What is the methodology that os.path.realpath(path) is
> actually following to yield a particular path name? And why does it
> not care if path refers to a real file or not?
The os.path module is mostly a string manipulation toolkit.
It
On 05/01/18 13:49, Alan Gauld via Tutor wrote:
> As before, if anyone can spare the time to take a look at
> the new and updated material and send me feedback (offlist)
> it will be appreciated.
Just realized I forgot to include the test site url!
If it's not a yellow theme then it's
On 15/11/17 17:41, Alan Gauld via Tutor wrote:
> Only just on topic but I'd like some help please...
>
> I've been doing some much needed maintenance to my web tutor.
The latest update is that I think I've got the styling and
structure as I want it and everything should be usable on
al
On 03/01/18 05:31, renukesh nk wrote:
> Is there any way to automatically set the column and row width in a CSV
> file through python script
I'm not sure what you mean. CSV files don't have widths,
they are just sequences of data strings separated by commas.
Each piece of data takes as much
Forwarding to list...
Forwarded Message
Subject:Re: [Tutor] checking connection to internet until success
Date: Wed, 3 Jan 2018 01:35:18 +0100
From: Pi <guest0x...@gmail.com>
To: Alan Gauld <alan.ga...@yahoo.co.uk>
10 months ago i wrote appli
On 01/01/18 21:38, Pi wrote:
> with this code i am getting actual date from internet. I need correct
> date, because i am not sure this set on computer is right.
The first obvious pointto make is that all modern OS come
with an option to read the date/time from an internet time
server so this is
On 30/12/17 15:53, nelson jon kane wrote:
> Thanks. What do you mean when you say "find a written tutorial"?
One that is written as opposed to a video.
In other words a web site or book.
--
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
On 29/12/17 22:21, nelson jon kane wrote:
> ..., he had his own personal name "put in" to his Python,
I have no idea what you mean by that.
Python is an interpreter that executes your code.
It doesn't have a "User Name" in it.
In interactive mode it displays a prompt which
is usually >>>
On 29/12/17 16:43, Jay Kelman wrote:
> I downloaded Python and when I look at IDLE it tells me to update TCL.
Are you using a Mac by any chance? I seem to recall this used to
be a common issue with MacOS. If you google for "IDLE MacOS
Tcl" you should find several links telling you how to fix
On 25/12/17 09:08, Siddharth Sehgal wrote:
physics masters student. I am trying to use the Sellmeier Equation
I originally state them as floats. However such a process apparently > cannot be done
with "floats" like these.
It can be done just with a large error (although as a physics
On 25/12/17 03:46, anish singh wrote:
However, I am stuck. I have below code which is not working.
I don't know how to achieve this programmatically: sorted by the
number of occurrences in a descending order. If two or more words
have the same count, they should be sorted
alphabetically (in an
On 24/12/17 15:36, marcus lütolf wrote:
while working through Alan C. Gould‘s excellent update on‘ Learning to
Program‘ I copied
OK, First I need to point out that the tutorial content has not changed,
it is still the old c2010-12 material. The update is to the structure
and cosmetics to
On 24/12/17 08:12, anish singh wrote:
> However, I am stuck. I have below code which is not working.
Define "not working"
Do you get an error message? (show us)
If the output different to what you expect (show us)
Have you tried printing the intermediate results?
For example the dictionary
On 21/12/17 08:40, Tim Cordsen via Tutor wrote:
> ...doesn't provide his code, so everyone must type on their own.
Thats not necessarily a bad thing. You only really
learn when you type in your own code. Its like muscle
memory for the brain and fingers.
> web frontend with a form and saving the
On 19/12/17 09:47, Antoan Hristov wrote:
> I am using a script which extracts data from internet every Monday, but
> sometimes I have a problem that the script is not finishing properly. In
> terminal I stop it with Ctrl-C and the message it gives me is:
It is very hard to comment on code which
On 18/12/17 22:09, Roger Lea Scherer wrote:
> bill = float(input("What is the price of the bill?: "))
> tip15 = bill*1.15
> tip20 = bill*1.20
>
> print("Bill plus 15% gratuity is " + str(tip15))
> print("Bill plus 20% gratuity is " + str(tip20))
>
> This is the result
> Bill plus 15% gratuity
On 18/12/17 15:42, Juan Mayén wrote:
> learning Linux and completing banditoverthewire exercises. Now though I am
> interested in at least building one small application, I was thinking of
> building a web crawler, or create a bot that will help me place trades in
> crypto currency market.
>
>
On 15/12/17 18:46, Lloyd Walker wrote:
> I'm currently using string formatting to create the json rather than
> creating a dictionary and appending that dictionary to file via the JSON
> lib.
That's probably your mistake. The standard library is there to
help you get difficult things right.
On 14/12/17 20:30, Matthew Ngaha wrote:
> direction on where I can learn about the principles of system design.
> Also why isn't this taught in beginner tutorials, or is it an advanced
> concept?
It's advanced compared to programming, but there are lots of
books on the subject, especially OO
On 12/12/17 19:43, Matthew Ngaha wrote:
> Hi all. I took 2-3 years off in 2012 to teach myself programming. I
> learnt basic Javascript & Python with some Django. I don't have a
> Computer Science (CS) degree
The key issue here is what is true in your locality.
In my part of the world the vast
On 11/12/17 14:04, adil gourinda wrote:
> Hi
> Please I have two questions:
>
> 1) Why restructuredtext's documentation is not included as a part of the
> official Python's documentation?
Because the module is not part of the standard library.
Like most languages Python has a standard library
On 11/12/17 00:40, boB Stepp wrote:
> I own this book, too. I'll insert the portions of the text that I
> believe the OP is referring to.
Thanks for the clarification Bob.
>>> composition is aggregation*
>
> On page 18 the author goes on to use a chess set as an example...
>
> He continues in
On 10/12/17 05:48, Khabbab Zakaria wrote:
> I am working on a program where I found the line:
> x,y,z = np.loadtext('abcabc.txt', unpack= True, skiprows =1)
> What does the x, y, z thing mean?
> What does the unpack= True mean?
They are related. unpacking is a feature of Python whereby a
On 10/12/17 05:07, jia yue Kee wrote:
> in Dusty Philips's Python 3: Object-Oriented
> Programming book.
Caveat: I've not read this book so can only
guess at what the author might be meaning.
> Based on my reading, what I gathered was that Composition implies a
> relationship where the child
On 09/12/17 19:09, Ayanlade Timilehin via Tutor wrote:
> I'm a Windows user and I am interested in developing android applications
By far the easiest way into Android development is the
AppInventor web site.
http://ai2.appinventor.mit.edu
Its a cloud based development tool based on Scratch
but
On 05/12/17 16:02, Alan Gauld via Tutor wrote:
> address the issues raised and the latest incarnation
> should work (although not well with Opera for some reason!)
I think I've now got scrolling to work on iOS/Safari
and Opera almost works... (a slight glitch when the
width is
On 07/12/17 22:12, Milosh Bogdanovic via Tutor wrote:
> Hi,
> I'd like to subscribe to python tutor as a beginner.
> regards,Milos B.
Welcome, you are subscribed.
Now you start asking questions and we will attempt to answer.
It will help if you follow these guidelines:
Tell us the OS and Python
On 06/12/17 09:21, Etienne Robillard wrote:
> Hi
>
> I think my wsgi application is leaking and I would like to debug it.
>
> What is the best way to profile memory usage in a running wsgi app?
This is probably a bit advanced for the tutor list, you might
get a better response on the main
On 05/12/17 16:02, Alan Gauld via Tutor wrote:
> address the issues raised and the latest incarnation
> should work (although not well with Opera for some reason!)
Now better with Opera, although the contents panel is
still not quite right on small screens.
Still looking for feedback fr
Folks,
A couple of weeks ago I asked for testers for my web tutor.
Many thanks to those who helped out. I've now tried to
address the issues raised and the latest incarnation
should work (although not well with Opera for some reason!)
As before I am particularly needful of feedback from
Apple
;.
> But it doesnot.
>
> Please let me know if you find any errors.
>
> Best Regards,
> Achyut Ajmera
>
>
>
> - Original Message -
> Subject: Re: [Tutor] Problem with 'IF' condition
> From: "Alan Gauld via Tutor" <t
On 01/12/17 14:02, a.ajm...@incycleautomation.com wrote:
> - If you see in my code, I'm writing to "test1.txt" and saving that value in
> "nao" as well.
> On the other side, I'm reading from "test3.txt" and saving that value in
> "abb" just like above.
>
> Now, my goal is to compare these two
On 30/11/17 15:37, Shall, Sydney wrote:
> My problem is with constructing a sub-class.
>
> My sub-class is constructed as follows:
>
> import Population_ProductivityV24 as POCWP
Note that POCWP is an alias for the *module* Population_ProductivityV24.
It is not a class.
> line 27 : class
On 30/11/17 08:20, Jeroen van de Ven wrote:
> Hello,
> Can you build these 4 programms for me?
Nice try.
The answer is yes we can, but no we won't.
You wouldn't learn anything if we did and
this list is here to teach.
That means you need to write the code and
we will offer help and suggestions.
On 27/11/17 21:24, Derek Smith wrote:
> I have not found a way into my tape library from the manufacture IBM,
> there's no command-line or api I am aware of nor is google.
I suspect you are asking the wrong questions. Have you tried
contacting IBM directly - if they make/sell it they should
On 27/11/17 20:39, marcus lütolf wrote:
> I could install the newest version of python 3.6 without
> any problems but I need python 2.7 for tutorial purposes.
Please provide the extra information previously requested
and we should be able to help.
What you want to do is easily possible we just
On 27/11/17 20:47, Howard Lawrence wrote:
> import turtle
> # this part draws a square
> def square():
>
> my_turtle = turtle.Turtle()
Note that this creates my_turtle as a local
variable inside the function. It will not
be visible outside the function.
> my_turtle.forward(100)
>
On 27/11/17 01:57, John Cocks wrote:
> The task is broken down into three sections.
What exactly do you want help with?
Do you not understand part of the problem?
Do you not know how to code some part?
Are you getting an error? If so show us the full error text.
WE are not mind readers, you need
On 26/11/17 23:12, Steven D'Aprano wrote:
> Please start by explaining:
>
> ...
Also tell us how you are installing this version.
If it is a binary installer where did you download it from?
And what was it called?
If you are using a package manager say so.
If you are trying to build from
On 20/11/17 11:24, Steven D'Aprano wrote:
On Mon, Nov 20, 2017 at 10:26:50AM +, Alan Gauld via Tutor wrote:
Actually, pasting code etc is safer since the server removes
attachments. And while it is supposed to preserve plain text
attachments it will throw them away if it sees *anything
I'll echo everything Steve says except:
On 20/11/17 00:23, Steven D'Aprano wrote:
- Ensure your code and data are ATTACHED to the email as separate
files, not copy and pasted into the body. We should be able to
save the files directly to our own computers without the risk
of
On 19/11/17 20:14, Stephen P. Molnar wrote:
In all candor, I don't have the faintest idea as to whst the problem
(or problens) might be and would greatly appreciate a pointer towards
the solution.
You really need to post the entire error message not just the summary line.
Especially since
On 18/11/17 18:03, adam ghering wrote:
I have what seems like two responses but there are no text at all in the body
of the messages.
Is there a way I am supposed to see these?
You should see the body but youcan try the list
archive via a browser...
Alan g
On 18/11/17 01:51, adam ghering wrote:
I have seen that pyqt5 supports python 2.7 according to its documentation >
but it needs to be rebuilt to function.
Thats unusual, usually you can find a binary by somebody.
But provided you have the dev tools building from source shoulkd not be
too
501 - 600 of 9336 matches
Mail list logo