cancelled...
So it was back to the internet - and this one seems pretty
comprehensive and understandable:
http://www.diveintopython3.net/
It doesn't cover the latest point version of Python (it's still Python
3), but I hope it doesn't matter much?
Regards,
Martin S
--
https://
to an idiot proof instruction on how to deploy a
simple bottle application to a live server.
/Martin S
--
https://mail.python.org/mailman/listinfo/python-list
d by the application).
>
> Similar to other answers here, I do not know why your application
> stops serving, but I have had success using waitress
> (https://pypi.python.org/pypi/waitress) with bottle
> (http://bottlepy.org/docs/dev/deployment.html#switching-the-server-backend).
e: hi
Traceback (most recent call last):
File "", line 1, in
person = input('Enter your name: ')
File "", line 1, in
NameError: name 'hi' is not defined
>>>
I have no idea what I am doing wrong with this - it look correct to me.
I'm
Ah, that was actually correct.
Thanks ...
/Martin S
2014-06-26 20:58 GMT+02:00 alister :
> On Thu, 26 Jun 2014 20:53:35 +0200, Martin S wrote:
>
> > Hi,
> >
> > I've been following the tutorial here
> > http://anh.cs.luc.edu/python/hands-on/3.1/handsonHtml/
/y,x%y)
print(equations2)
And obviously this works.
But the question is: if I want to keep the results of {2} and {3} between
the first instance (formatStr) and the second (formatStr2) how would I go
about it? Apprently using {4} and {5} instead results in a index sequence
error as in
In
Thanks for the input. The main thing was that
On 29 Jun 2014, Terry Reedy wrote:
>On 6/29/2014 3:06 AM, Martin S wrote:
>
>A couple of additional notes:
>
>> x=int(input('Enter an integer '))
>> y=int(input('Enter another integer '))
>> z
Thanks for the input. The main thing was that the replacement fields were only
valid for their local environment.
/martin
On 29 Jun 2014, Terry Reedy wrote:
>On 6/29/2014 3:06 AM, Martin S wrote:
>
>A couple of additional notes:
>
>> x=int(input('Enter an integer
diff >=500:
for
[do stuff]
elif rdiff >=410:
for ... <== unexpected indent
[do other stuff]
What the...? What am I doing wrong?
(hopefully the indents translate; else def, if/elif, for and [dostuff]
are indented)
/Martin S
--
Thanks, the problem was apparently a mix of way to indent the code.
It's confused the H out of the editor. Using standard indentation
solved the error.
2014-07-13 9:28 GMT+02:00 Gary Herron :
> On 07/13/2014 12:01 AM, Martin S wrote:
>>
>> While coding a rating calculator I
Yes, we all know that Abu Ghraib, Guantanamo, school shootings and the lack of
proper health care for all are the pinnacle of US culture. Or figments of the
imagination of Baghdad Bob.
Now, maybe return to Python?
/martin
On 15 Jul 2014, Rick Johnson wrote:
>On Monday, July 14, 2014 9:11:4
y
CLI based. The tutorial I was following doesn't cover GUI or error
correction so that will naturally be the next steps in completing the
thing.
Anyway, thanks for explaining the confusing points so far.
Regards,
Martin S
--
https://mail.python.org/mailman/listinfo/python-list
quot;asdf"
instead of a rating (like 2014) pretty much kills the little tool
horribly.
Again, pointers to relevant info appreciated. Maybe I've already seen
it but didn't really understand the content ... =/
Regards,
Martin S
--
https://mail.python.org/mailman/listinfo/python-list
Is there a point to still use Usenet? Last time I checked noise overwhelmed
signal by a factor of something close to 542.
(Just curiou)
/martin s
On 18 Jul 2014, memilanuk wrote:
>On 07/18/2014 02:45 PM, Sturla Molden wrote:
>> memilanuk wrote:
>>
>>> Used leafnode
>From what I've seen so far it's more like your limited standard mail filtering
>tool.
IIRC when I used Usenet much gnus on Emacs had much more powerful capabilities.
/martin s
On 20 Jul 2014, Mark Lawrence wrote:
On 19/07/2014 23:38, Sturla Molden wrote:
<
c...@isb
>From what I've seen so far it's more like your limited standard mail filtering
>tool.
IIRC when I used Usenet much gnus on Emacs had much more powerful capabilities.
/martin s
On 20 Jul 2014, Mark Lawrence wrote:
>On 19/07/2014 23:38, Sturla Molden wrote:
>> w
hile all records in the remaining list now are valid, all also still
have "\n" at the end. What did I miss here?
Regards,
Martin S
--
https://mail.python.org/mailman/listinfo/python-list
Craps should have guessed that was the problem. Must have
misunderstood the examples.
But thanks =)
And yes, definately should be able to build a better parser ... I want
it to work first.
/Martin S
2014-07-20 11:57 GMT+02:00 Chris Angelico :
> On Sun, Jul 20, 2014 at 7:40 PM, Martin S wr
I'm trying gnus again, and immediately see the beauty of it. Actually Usenet is
fast and commercial free, and easier to secure from prying NSA etc al (?) so
maybe it will receive a general revival eventually.
/martin s
On 21 Jul 2014, Paul Rudin wrote:
>Sturla Molden writes:
>
s bleed and/or
>> eyes pop out.
>
> In the versions of IDLE that I have here (2.7.3 and 3.2.3), both
> prevent me from repeating step #3 multiple times.
Not on 2.7.6 and 3.4 on Linux Mint either
--
Regards,
Martin S
--
https://mail.python.org/mailman/listinfo/python-list
Aye I found a couple of groups that are still active. Most of it seems to be a
digital ghost town though. A bit sad, I was once actively involved in setting
up the se. * hierarchy.
/martin s
On 22 Jul 2014, Anssi Saari wrote:
>Marko Rauhamaa writes:
>
>> Martin S :
>>
&g
this data is passed as needed? Or is it a
symptom of bad code?
(* it's too hot (30 C + all week, and also this:
https://imagizer.imageshack.us/v2/415x311q90/673/a9d1a5.jpg)
--
Regards,
Martin S
--
https://mail.python.org/mailman/listinfo/python-list
Function A collects data and then calls function B with some, but also has data
that should be passed to function C.
But ofc if nested functions are allowed then that might solve the issue. I
don't think I've seen nested functions mentioned in a tutorial I've been
looking at.
basic and sometimes confused
questions =).
A long time ago, I did " a lot" of PHP hacking, working on a helpdesk
system. (hmm, looking at the old project site now shows it has been
forked -so apparently we did something right at one point)
Anyway - thanks all so far!
/Martin S
--
Regards,
>From the newbie point of view, VS is the perfect tool to get people coding.
>All the way back to Visual Basic, Microsoft has consistently pushed the ease
>of creating applications for Windows as a point of adoption.
Hence Borland Delphi, and the now abandoned Kylix. Pascal has the Lazarus
pro
>From the newbie point of view, VS is the perfect tool to get people coding.
>All the way back to Visual Basic, Microsoft has consistently pushed the ease
>of creating applications for Windows as a point of adoption.
Hence Borland Delphi, and the now abandoned Kylix. Pascal has the Lazarus
pro
On 26 Jul 2014 12:16, "Dietmar Schwertberger"
wrote:
>
> Am 26.07.2014 11:05, schrieb Chris Angelico:
>
>> IMO it's an attractive nuisance at best. Make it easy to build
>> something simple and flawed, and people will build things that aren't
>> simple but are still flawed. Microsoft has done this
if res == '1':
verbalres='win'
elif res== '=':
verbalres='draw'
else:
verbalres='loss'
return "Long line with games"
counter=counter+1
--
Regards,
Martin S
--
https://mail.python.org/mailman/listinfo/python-list
Ah, thanks. Explains it all :)
/martin
On 27 Jul 2014, Peter Otten <__pete...@web.de> wrote:
>Chris Angelico wrote:
>
>> On Mon, Jul 28, 2014 at 3:53 AM, Martin S
>wrote:
>>> I have this snippet in my web application. Question is why doesn't
>the
>
I'm using Bottle as suggested earlier.
And yes, I'm collecting results from a html table passed to the server for
processing.
/martin
On 27 Jul 2014, Chris Angelico wrote:
>On Mon, Jul 28, 2014 at 4:07 AM, Peter Otten <__pete...@web.de> wrote:
>> By the way, Python has something similar to a
That's neat. I was only aware of the return version.
Anyway, got it working now, simplifying the code in the process. So
all was not lost.
/Martin S
2014-07-28 9:09 GMT+02:00 Peter Otten <__pete...@web.de>:
> Chris Angelico wrote:
>
>> On Mon, Jul 28, 2014 at 4:07
chemy tutorials I've been looking at all produce
various errors when following them (and pretty early on). Anyone got a
suggestion for SQLAlchemy and Python 3.4 they can recommend?
/Martin S
--
Regards,
Martin S
--
https://mail.python.org/mailman/listinfo/python-list
+ '@sd') is 'asd@sd'
> False
>>>> ('asd' + '@sd') == 'asd@sd'
> True
Now you have managed to confuse this newbie: What would a valid
"is-example" look like?
Regards,
Martin S
--
https://mail.python.org/mailman/listinfo/python-list
33 matches
Mail list logo