On Sat, Dec 4, 2010 at 5:42 PM, Jorge Biquez wrote:
> Newbie question. Sorry.
If it isn't you're on the wrong list :)
> training so no pressure on performance). One application will run as a
> desktop one,under Windows, Linux, Macintosh, being able to update data, not
> much, not complex, not ma
Hello all.
Newbie question. Sorry.
As part of my process to learn python I am working on two personal
applications. Both will do it fine with a simple structure of data
stored in files. I now there are lot of databases around I can use
but I would like to know yoor advice on what other option
On Sat, Dec 4, 2010 at 12:44 PM, Brett Ritter wrote:
> On Sat, Dec 4, 2010 at 2:27 PM, Kirk Bailey wrote:
>> and continue in html. What a BLOODY shame we can't do that in python,
>> which is otherwise awesome and superior in every way i can thus far
>> evaluate.
>
> As someone mentioned, you CAN
Alan,
Perhaps this is a silly question (and possibly not strictly
python-related) but I was under the impression that controlling exactly
layout via html was kind of difficult and somewhat fragile. The latter
perhaps less so as one could make some fairly concrete assumptions about
the paper
On Sat, Dec 4, 2010 at 2:27 PM, Kirk Bailey wrote:
> and continue in html. What a BLOODY shame we can't do that in python,
> which is otherwise awesome and superior in every way i can thus far
> evaluate.
As someone mentioned, you CAN do that in Python. However, you'll find
that mixing content a
> Straightaway, i was impressed by one powerful property; the ability to
> imbed php into a html webpage, and switch into and out of php as needed,
> and let normal ssi and html and css work the rest of the time, outside
> of php. all I have to do is start the php block with
> write code;
> ?> # e
On 12/4/2010 2:27 PM, Kirk Bailey wrote:
For reasons of my work, of recent I have started aquiring php.
Straightaway, i was impressed by one powerful property; the ability to
imbed php into a html webpage, and switch into and out of php as needed,
and let normal ssi and html and css work the res
Hi Steven,
Awesome, I've got it working now! Here's the code:
http://pastebin.com/BQhW8piD (I also pasted it below this message).
I tried your approach before but I abandoned it because I made a mistake in
lines 16 (pass None for event) and 22 (I didn't use the parameters of the outer
functio
For reasons of my work, of recent I have started aquiring php.
Straightaway, i was impressed by one powerful property; the ability to
imbed php into a html webpage, and switch into and out of php as
needed,
and let normal ssi and html and css work the rest of the time, outside
of php. all I have
On 12/4/10, Steven D'Aprano wrote:
> Alex Hall wrote:
>> On 12/4/10, Alan Gauld wrote:
>>> "Steven D'Aprano" wrote
>>>
>>> for i in (1, 2, 3):
... print(i, "spam", end="\n" if i==3 else "***")
>>> Ooooh! A new trick.
>>> I hadn't thought of using the conditional expression there but
> >> ... print(i, "spam", end="\n" if i==3 else "***")
> >
> > I hadn't thought of using the conditional expression there but it
> > makes a lot of sense.
> So is this a python3.x feature only? Is there an equivallent in 2.x? I
The end parameter of print is a Python 3 feature - only poss
Alex Hall wrote:
On 12/4/10, Alan Gauld wrote:
"Steven D'Aprano" wrote
for i in (1, 2, 3):
... print(i, "spam", end="\n" if i==3 else "***")
Ooooh! A new trick.
I hadn't thought of using the conditional expression there but it
makes a lot of sense.
Definitely more fun and flexible than
Next time you email tutor, start a new email msg instead of clearing out the
contents of a reply to a different e-mail. When you do it like that it breaks
threading, so all these emails are in the same thread as the "need help" one
even though they aren't related to that e-mail.
---
On 12/4/10, Alan Gauld wrote:
>
> "Steven D'Aprano" wrote
>
>> >>> for i in (1, 2, 3):
>> ... print(i, "spam", end="\n" if i==3 else "***")
>
> Ooooh! A new trick.
> I hadn't thought of using the conditional expression there but it
> makes a lot of sense.
> Definitely more fun and flexible th
Albert-Jan Roskam wrote:
Meanwhile, I tinkered a bit more with the code. I used exec() to isolate the
event handler function. It works and it's better, but I think it could be still
better. I'm not so fond of eval() and exec().
They have their uses, but yes, it's best to avoid them unless you
Evert Rol wrote:
I actually find it a bit weird that a (programming?) company has a coding
convention for non-English names; makes it harder if you want to hire non-Dutch
speaking employees, distribute software (& code) internationally etc.
I can't put my hands on the reference right now, bu
Hi Evert,
I actually wanted the var names to be in English, but apparently the people who
came up with the coding convention did not agree with me on this. Then again,
the Zen of Python states that (1) readability counts and that (2) practicality
beats purity. Most of the time, I'm 120% sure th
"Joel Schwartz" wrote
My question: Is there a general Python help list that is open for
all to
see, in the same way that the Python Tutor list is open?
There are many Python mailing lists and usenet newsgroups.
They are all available to browse on gmane. (just short of 200
of them by my esti
"Steven D'Aprano" wrote
>>> for i in (1, 2, 3):
... print(i, "spam", end="\n" if i==3 else "***")
Ooooh! A new trick.
I hadn't thought of using the conditional expression there but it
makes a lot of sense.
Definitely more fun and flexible than the old comma at the end of a
print in v2
> Hi Patty,
>
> As far as books are concerned, I actually prefer (programming) books in the
> English language. Although the Dutch don't do it as much as e.g. the French
> or the Germans, I hate it when technical terms are translated into Dutch in a
> somewhat artificial way ("Computer" is "Or
Hi Patty,
As far as books are concerned, I actually prefer (programming) books in the
English language. Although the Dutch don't do it as much as e.g. the French or
the Germans, I hate it when technical terms are translated into Dutch in a
somewhat artificial way ("Computer" is "Ordinateur" in
On 01/-10/-28163 02:59 PM, Joel Schwartz wrote:
I meant the Python-Help mailing list
(http://mail.python.org/mailman/listinfo/python-help), which is described on
the Python mailing list page (http://mail.python.org/mailman/listinfo) as
"Expert volunteers answer Python-related questions."
I guess
Joel Schwartz, 04.12.2010 09:07:
I meant the Python-Help mailing list
(http://mail.python.org/mailman/listinfo/python-help), which is described on
the Python mailing list page (http://mail.python.org/mailman/listinfo) as
"Expert volunteers answer Python-related questions."
I guess I should have
I meant the Python-Help mailing list
(http://mail.python.org/mailman/listinfo/python-help), which is described on
the Python mailing list page (http://mail.python.org/mailman/listinfo) as
"Expert volunteers answer Python-related questions."
I guess I should have stated specifically what list I was
24 matches
Mail list logo