Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Why doesn't this work in the Python Shell?
Post: RE: Why doesn't this work in the Python Shell?
(Oct-26-2016, 03:44 AM)Larz60+ Wrote: the 2nd print statement will simply print a end of line.
since the loop is not doing this, the effect is to finish the line of the loop,
not and extra line.
if... |
|
diemildefreude |
General Coding Help |
10 |
10,812 |
Oct-26-2016, 06:23 AM |
|
|
Thread: Why doesn't this work in the Python Shell?
Post: RE: Why doesn't this work in the Python Shell?
(Oct-24-2016, 01:53 PM)snippsat Wrote: (Oct-24-2016, 06:52 AM)diemildefreude Wrote: but not if I enter it directly into the Python Shell (via Cmder on Windows). Is that normal?From cmder,just the ... |
|
diemildefreude |
General Coding Help |
10 |
10,812 |
Oct-26-2016, 03:00 AM |
|
|
Thread: Why doesn't this work in the Python Shell?
Post: Why doesn't this work in the Python Shell?
Hey, this simple code works as a script, but not if I enter it directly into the Python Shell (via Cmder on Windows). Is that normal?
i = 1
while i <= 6:
print 2 * i, ' ',
i += 1
print |
|
diemildefreude |
General Coding Help |
10 |
10,812 |
Oct-24-2016, 06:52 AM |
|
|
Thread: Unwanted random generation of scripted Shapes in GASP
Post: RE: Unwanted random generation of scripted Shapes ...
from gasp import *
def draw_house(x, y):
Box((x, y), 100, 100, True, color.BLUE) #house
Box((x + 35, y), 30, 50, True, color.GREEN) #door
Box((x + 20, y + 60), 20, 20, True, c... |
|
diemildefreude |
General Coding Help |
3 |
5,181 |
Oct-23-2016, 03:01 PM |
|
|
Thread: Unwanted random generation of scripted Shapes in GASP
Post: Unwanted random generation of scripted Shapes in G...
Hello,
I'm currently learning Python 2.7 with the help of this tutorial: http://openbookproject.net/thinkcs/pytho.../ch04.html If you look at the bottom of that page, in exercise 10, I am to produce ... |
|
diemildefreude |
General Coding Help |
3 |
5,181 |
Oct-23-2016, 07:34 AM |
|
|
Thread: Learning python with LPTHW
Post: RE: Learning python with LPTHW
(Oct-18-2016, 11:23 AM)Kebap Wrote: (Oct-18-2016, 05:27 AM)diemildefreude Wrote: Yikes, I've gotten to lesson 16 of LPTHW and the confusion of terminology really is starting to annoy me. He briefl... |
|
diemildefreude |
News and Discussions |
30 |
28,561 |
Oct-20-2016, 05:09 AM |
|
|
Thread: Learning python with LPTHW
Post: RE: Learning python with LPTHW
Yikes, I've gotten to lesson 16 of LPTHW and the confusion of terminology really is starting to annoy me. He briefly tells you that "features" are actually "modules", "commands" are actually "function... |
|
diemildefreude |
News and Discussions |
30 |
28,561 |
Oct-18-2016, 05:27 AM |
|
|
Thread: Learning python with LPTHW
Post: RE: Learning python with LPTHW
(Oct-12-2016, 07:35 PM)sparkz_alot Wrote: (Oct-12-2016, 04:53 PM)diemildefreude Wrote: (Oct-12-2016, 02:50 PM)micseydel Wrote: I haven't used Windows for years, and the tutorial has been updated... |
|
diemildefreude |
News and Discussions |
30 |
28,561 |
Oct-12-2016, 10:43 PM |
|
|
Thread: Learning python with LPTHW
Post: RE: Learning python with LPTHW
(Oct-12-2016, 02:50 PM)micseydel Wrote: I haven't used Windows for years, and the tutorial has been updated since I used it. I think the updates have been mostly bad. When I have time, I plan to do ... |
|
diemildefreude |
News and Discussions |
30 |
28,561 |
Oct-12-2016, 04:53 PM |
|
|
Thread: Learning python with LPTHW
Post: RE: Learning python with LPTHW
(Oct-10-2016, 07:04 AM)micseydel Wrote: @[snippsat]
I recommend Thinks CS, personally, and (non-free) Beginning Python by Magnus Lie Hetland (Apress). The former is good because it has exercises fo... |
|
diemildefreude |
News and Discussions |
30 |
28,561 |
Oct-12-2016, 12:08 PM |
|
|
Thread: Learning python with LPTHW
Post: RE: What's wrong with LPTHW? What's better?
(Oct-10-2016, 04:29 PM)Larz60+ Wrote: As far as 'Learn python the hard way' is concerned. I no longer even try to include a python 2.7 version in any of my code.
It still works fine for many applica... |
|
diemildefreude |
News and Discussions |
30 |
28,561 |
Oct-10-2016, 04:48 PM |
|
|
Thread: Learning python with LPTHW
Post: RE: What's wrong with LPTHW? What's better?
Hey, thanks a lot for your replies. Just to be clear: I'm mostly learning Python as a way to get into Programming in general because I've been told Python is a great beginner language. I'm ultimately ... |
|
diemildefreude |
News and Discussions |
30 |
28,561 |
Oct-10-2016, 03:08 PM |
|
|
Thread: Windows/Power Shell: Differences from the tutorial...
Post: RE: Windows/Power Shell: Differences from the tuto...
(Oct-09-2016, 07:10 PM)snippsat Wrote: Yep more about learning basic command line stuff,
and Powershell(not fan of it) only comes up because "Learn Python the Hard Way" use it.
There is many thing i... |
|
diemildefreude |
News and Discussions |
22 |
19,306 |
Oct-10-2016, 03:36 AM |
|
|
Thread: Learning python with LPTHW
Post: Learning python with LPTHW
(Oct-09-2016, 07:10 PM)snippsat Wrote: Yep more about learning basic command line stuff,
and Powershell(not fan of it) only comes up because "Learn Python the Hard Way" use it.
There is many thing i... |
|
diemildefreude |
News and Discussions |
30 |
28,561 |
Oct-10-2016, 03:35 AM |
|
|
Thread: Windows/Power Shell: Differences from the tutorial...
Post: RE: Windows/Power Shell: Differences from the tuto...
(Oct-08-2016, 01:37 PM)sparkz_alot Wrote: (Oct-08-2016, 12:13 PM)wavic Wrote: Why don't you run mkdir --help or mkdir -h and see which is the proper command
In windows cmd, it would be "help mkdir... |
|
diemildefreude |
News and Discussions |
22 |
19,306 |
Oct-09-2016, 05:06 PM |
|
|
Thread: Windows/Power Shell: Differences from the tutorial...
Post: RE: Windows/Power Shell: Differences from the tuto...
(Oct-07-2016, 08:26 PM)sparkz_alot Wrote: (Oct-07-2016, 02:54 PM)wavic Wrote: I am not sure if this is PowerShell or just cmd.
Actually it's both, kind of. mkdir (or md) when used in powershell ca... |
|
diemildefreude |
News and Discussions |
22 |
19,306 |
Oct-08-2016, 09:49 AM |
|
|
Thread: Windows/Power Shell: Differences from the tutorial...
Post: Windows/Power Shell: Differences from the tutorial...
I've switched to using the "Learn Python the Hard Way" method, which includes an appendix on learning to use the Powershell/other commandinput methods.
There are a few incongruities between the tutor... |
|
diemildefreude |
News and Discussions |
22 |
19,306 |
Oct-07-2016, 11:05 AM |
|
|
Thread: for n in range(2, 10)
Post: for n in range(2, 10)
xHey, I just started learning python (my first programming language) and I apologize if this question comes up often. I didn't find anything with the forum search.
I'm at this part of a tutorial: ht... |
|
diemildefreude |
General Coding Help |
1 |
21,500 |
Oct-03-2016, 07:29 AM |