On 03/28/2014 02:17 AM, Alan Gauld wrote:
On 27/03/14 21:01, Chris “Kwpolska” Warrick wrote:
On Mar 27, 2014 8:58 PM, "Alan Gauld" mailto:alan.ga...@btinternet.com>> wrote:
>
> On 27/03/14 06:43, Leo Nardo wrote:
>>
>> Im on windows 8 and i need to open a file called string1.py that is on
>
Hello!
Here is something that surprised me and I still didn't get it.
If we want to store a matrix in pure python (no numpy), the first thing
that comes to (my) mind is to use a list of lists, like the list l below:
In [1]: l=[
...:[11,12,13],
...:[21,22,23]
...: ]
We can ac
On 28/03/2014 01:17, Alan Gauld wrote:
On 27/03/14 21:01, Chris “Kwpolska” Warrick wrote:
On Mar 27, 2014 8:58 PM, "Alan Gauld" mailto:alan.ga...@btinternet.com>> wrote:
>
> On 27/03/14 06:43, Leo Nardo wrote:
>>
>> Im on windows 8 and i need to open a file called string1.py that
is on
>> m
On 28/03/14 09:42, Jose Amoreira wrote:
> Hello!
> Here is something that surprised me and I still didn't get it.
>
> If we want to store a matrix in pure python (no numpy), the first thing
> that comes to (my) mind is to use a list of lists, like the list l below:
> In [1]: l=[
>...:[11,1
Jose,
Just for clarity, are you trying to access a particular *column* in your
last example?
Bob
Yes, that's it! I wanted to say "column", not "row" in my last example.
Sorry about that! Thanks
Jose
___
Tutor maillist - Tutor@python.org
To unsu
On 28/03/14 09:28, spir wrote:
On 03/28/2014 02:17 AM, Alan Gauld wrote:
you have to remember where it is. There is no ~ shortcut in Windows.
On my system that means typing something like:
C:\Documents and Settings\alang\Desktop
Can't you make a symlink pointing to Desktop? (in C:\ or anywh
On 28/03/14 09:42, Jose Amoreira wrote:
Hello!
Here is something that surprised me and I still didn't get it.
If we want to store a matrix in pure python (no numpy), the first thing
that comes to (my) mind is to use a list of lists, like the list l below:
In [1]: l=[
...:[11,12,13],
On 03/28/2014 10:32 AM, Alan Gauld wrote:
No, standard slices on the first element will give you sublists of the
first row. Python doesn't have any concept of that second dimension, it
only sees a list of items. The fact those items are themselves lists is
purely incidental to the interpreter.
On Fri, Mar 28, 2014 at 2:17 AM, Alan Gauld wrote:
> On 27/03/14 21:01, Chris “Kwpolska” Warrick wrote:
>> Painful? How painful can `cd Desktop` be? Certainly less than `D:`
>> followed by `cd PythonProjects`…
>
>
> Because the desktop is hardly ever anywhere near where the cmd prompt lands
> you.
Hi Leo,
On 27 March 2014 08:43, Leo Nardo wrote:
> Im on windows 8 and i need to open a file called string1.py that is on my
> desktop, in both the interpreter and notepad++, so that i can work on it. I
> already have it open in notepad, but for the life of me cannot figure out
> how to open it i
On 03/28/2014 10:42 AM, Jose Amoreira wrote:
[...] If we want to access individual rows of this matrix like
object, the standard slice notation (on the second index) works as expected
also:
In [3]: l[0][:]
Out[3]: [11, 12, 13]
In [4]: l[1][:]
Out[4]: [21, 22, 23]
Again, fine!
No! You *made
* Chris “Kwpolska” Warrick [2014-03-28 16:27]:
>
> Create a folder on the desktop, or even in the home directory. A much
> nicer place than the drive root — and a much modern way to store it
> (drive root sounds DOS-y)
I'll have to disagree with this statement. Dropping all your files in
you De
HU. HU. HU.
___
Tutor maillist - Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor
On 28/03/14 15:27, Chris “Kwpolska” Warrick wrote:
On Fri, Mar 28, 2014 at 2:17 AM, Alan Gauld wrote:
Because the desktop is hardly ever anywhere near where the cmd prompt lands
you.
I just tested on my Windows 7 box. It got me to C:\Users\Kwpolska.
`cd Desktop` is enough.
I also tested on
"Nathan Curnow (Year 10)" <13...@budehaven.cornwall.sch.uk> writes:
> HU. HU. HU.
Here's hoping you improve your communication skills during Year 10,
Nathan.
--
\ “What we usually pray to God is not that His will be done, but |
`\ that He approve ours.” —Helga Berg
On Mar 28, 2014, at 9:54 PM, Scott W Dunning wrote:
> Hello, I’m working on some practice exercises from my homework and I’m having
> some issues figuring out what is wanted.
>
> We’re working with the while loop and this is what the question states;
>
> Write a function print_n that prints
Scott W Dunning writes:
> On Mar 28, 2014, at 9:54 PM, Scott W Dunning wrote:
>
> > We’re working with the while loop and this is what the question states;
> >
> > Write a function print_n that prints a string n times using iteration.
> This is what I have so far but I’m not really sure it’s wh
Hello, I’m working on some practice exercises from my homework and I’m having
some issues figuring out what is wanted.
We’re working with the while loop and this is what the question states;
Write a function print_n that prints a string n times using iteration.
"""Print the string `s`
On 03/29/2014 01:18 AM, Scott W Dunning wrote:
On Mar 28, 2014, at 9:54 PM, Scott W Dunning wrote:
Hello, I’m working on some practice exercises from my homework and I’m having
some issues figuring out what is wanted.
We’re working with the while loop and this is what the question states;
19 matches
Mail list logo