Sorry for typos in response: on cell phone at the moment. ;p
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
Okay, in the context of a function, the error you're seeing makes more
sense.
You need to ensure that the return value of the function is of the right
type. In SingleView, the intended return value appears to be a structured
response value.
Given that, then any other return statements in the bo
On Tue, Apr 19, 2016 at 10:05 AM, Malcolm Boone wrote:
> So you are saying the right side should be a string, how do I do that?
See:
https://docs.python.org/3/tutorial/introduction.html#strings
> When I put quotes around the token it creates a dozen or so new errors.
> Unless
> I'm not e
On Tue, Apr 19, 2016 at 1:56 PM, isaac tetteh wrote:
> I have a list like this
> [
> ("name",2344,34, "boy"),("another",345,47,"boy", "last")
> ]
> How do u get each value from it like
> Output
> name
> 2344
> 34
> ...
>
> What i did was
> for row in list_tuple:
> for row2 in row:
> re
I have a list like this
[
("name",2344,34, "boy"),("another",345,47,"boy", "last")
]
How do u get each value from it like
Output
name
2344
34
...
What i did was
for row in list_tuple:
for row2 in row:
return row
But i get error too many value to unpack
Please help
Sent from my
So you are saying the right side should be a string, how do I do that? When
I put quotes around the token it creates a dozen or so new errors. Unless
I'm not even putting the quotes on correctly.
On Sat, Apr 16, 2016 at 5:18 PM, Alan Gauld
wrote:
> On 14/04/16 01:22, Malcolm Boone wrote:
>
> > a
Apologies for top posting I blame the tablet!
Malcolm, don't make us guess, show us how you put the quotes in and the
error messages (in full).
Alan g.
Sent from my Fonepad
Malcolm Boone wrote:
So you are saying the right side should be a string, how do I do that?
On 19/04/16 10:13, Tim Golden wrote:
> In any recent version of Windows (ie Vista & later) the most common way
> to find a program is to press the "Start" button or the "Windows" key
> and just start typing its name
Interesting, I've been using Windows 10 since it came out and didn't
know about
On 19/04/2016 10:03, Alan Gauld wrote:
However, for now, you probably want to use IDLE which should
come with Python. (It is sometimes called Python GUI on
Windows too.)
You should find it under Python in your All Programs view.
In any recent version of Windows (ie Vista & later) the most comm
On 19/04/16 02:20, Bereke via Tutor wrote:
> Hello there:
>
> i am facing some problem with my python programming language which is
> already installed in My laptop lenovo, 8.1 OS.
I'm assuming that means Windows 8.1?
> The existing language says "python 27 ". when i click on it,
> it turns
Hello there:
i am facing some problem with my python programming language which is already
installed in My laptop lenovo, 8.1 OS. The existing language says "python 27 ".
when i click on it, it turns to "python or pythonw". I can write on its dark
surface, but it does not have tools like file
11 matches
Mail list logo