malv wrote:
> Being a fan of linux and python and granting money doesn't make your OS
> better or worse.
> I believe that shipping a linux with a compiler DIFFERENT from the one
> that was used to build the kernel is not very bright. It may never
> bother some users, but few software developpers w
r distros count with them as well..
Luis
--
http://mail.python.org/mailman/listinfo/python-list
worzel wrote:
> Wth respect to coldfusion, is there much doubt about the fact that
Python is
> a more prominent and important technology?
>
> How is colfusion percieved by the Python community? Many people
belive
> coldfusion is becomeing irrelavant and is on its death bed - do
Python folk
> gener
> by the way, does anybody want to buy any coldfusion books :)
I have Sam's Teach Yourself Coldfusion by Charles Mohnike, which I
bought in 2001.
By this time I used to think that I was learning rocket science the
easy way, and thinking about learning php or asp was really scary...
these codes loo
You can do it easier now without any black magic:
class c:
def __init__(s):
s.x = 1
s.y = 2
s.hi = "Hi there!"
The word "self" is not mandatory. You can type anything you want
instead of self, as long as you supply a keyword in its place (it can
be "self", "s" or whatever you want).
--
http://m
Hi there,
I'd like to know if there is a way to add and else condition into a
list comprehension. I'm sure that I read somewhere an easy way to do
it, but I forgot it and now I can't find it...
for example:
z=[i+2 for i in range(10) if i%2==0]
what if I want i to be "i-2" if i%2 is not equal to 0
Thank you guys!
--
http://mail.python.org/mailman/listinfo/python-list
It's me wrote:
> > z = [i + (2, -2)[i % 2] for i in range(10)]
>
> But then why would you want to use such feature? Wouldn't that make
the
> code much harder to understand then simply:
>
> z=[]
> for i in range(10):
> if i%2:
> z.append(i-2)
> else:
> z.append(i+2)
>
> Or
[EMAIL PROTECTED] wrote:
> python.org = 194.109.137.226
>
> 194 + 109 + 137 + 226 = 666
>
> What is this website with such a demonic name and IP address? What
> evils are the programmers who use this language up to?
You dared to unveil our secret.
Now we'll have to kill you...
--
http://mail.pyt
#x27;t know) how to convert it back to xml object.
How can I solve this? Please, explain it having in mind that I'm just
beggining with Xml and I'm not very experienced in Python, too.
Luis
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbir
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
this is the xml document:
http://www..";>
~
~ 439
(... others ...)
~
When I do:
print xmldoc.toxml()
it prints:
http://www...";>
~
~439
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I would like to thank everyone for your answers, but I'm not seeing the
light yet!
When I access the url via the Firefox browser and look into the source
code, I also get:
~
~439
~
should
tags?
I'd like to thank everyone for taking the time to answer me.
Luis
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFB8UIOHn4UHCY8rB8RAgK4AKCiHjPdkCKnirX4gEIawT9hBp3HmQCdGoFK
3IEMLLXwMZKvNoqA4tISVnI
tags?
I'd like to thank everyone for taking the time to answer me.
Luis
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFB8UIOHn4UHCY8rB8RAgK4AKCiHjPdkCKnirX4gEIawT9hBp3HmQCdGoFK
3IEMLLXwMZKvNoqA4tISVnI
Peter Hansen wrote:
> Arthur wrote:
> > Steve Holden <[EMAIL PROTECTED]> wrote:
> >>Would there, I wonder, be any enthusiasm for a "Best Xah Lee
impression"
> >>prize at PyCon?
> >
> > And the rules of the game, if he shows?
>
> Arthur, if Xah Lee shows up at Pycon, he most definitely will
> not b
alex23 wrote:
> Luis M. Gonzalez wrote:
> > I kind of like this guy... it's like he has a few bugs in his
brain,
> > but other parts are surprisingly interesting.
>
> Which bits especially impress you, the rampant misogyny or the
> unwarranted intellectual arrog
Peter Hansen wrote:
> Yes.
Man of few words...
--
http://mail.python.org/mailman/listinfo/python-list
Jamey,
Really, you should try to steer clear from your computer from time to
time...
Your mental health is more important than python or ruby, don't lose
it!
--
http://mail.python.org/mailman/listinfo/python-list
Grant Edwards wrote:
> That depends on the accent. I believe that's probably true for
> the educated south of England, BBC, received pronunciation. I
> don't think that's true for some of the other dialects from
> northern areas (e.g. Liverpool) or the "cockney" accent.
What's exactly the "cockn
erent accents within London
when I visited the city in 2001.
Some people seemed to speak very clear to me, and others seemed to be
speaking german!
And as far as I know, all these people were british, not immigrants (and
very hard to find indeed...).
Cheers,
Luis
- Original Message -
ot; which aims
to create a high performance python implementation, and it is being
developed very succesfully.
They say that the secret goal is being faster than c... and I'm not
sure but I think that there's a tentative hard line set to december of
2006. Check it out: http://codespeak.net/p
Chun
Regards,
Luis
--
http://mail.python.org/mailman/listinfo/python-list
I'm sorry for you, nobody deserves to program in Java ...
I'm glad you decided to stand up for your human rights. Go learn
python!
--
http://mail.python.org/mailman/listinfo/python-list
Try Karrigell ( http://karrigell.sourceforge.net ).
And let me know what you think...
Cheers,
Luis
--
http://mail.python.org/mailman/listinfo/python-list
I really like Karrigell ( http://karrigell.sourceforge.net ).
It is, IMHO, the most pythonic framework because all you need to know
is the python language.
You don't need to learn any template or special language, you only use
plain and regular python.
It also gives you a lot of freedom when choosi
es, and i guess it
has some reminiscence from medieval times and the cavalry stories.
It meaning is something like the "unknown that could be the new champ",
someone intriguing and mysterious who doesn't unveil its skills untill
showtime. Am I right?
Cheers,
Luis
--
http://mail.python.org/mailman/listinfo/python-list
I'd suggest you take another path:
Since we're in a python mailing list, I assume you like python, so
instead of Kylix (or Object Pascal), you could try Boo
(boo.codehaus.org) .
Boo is not python, but it is very similar.
It could be described as a statically typed version of python for the
.NET fra
Luis M. Gonzalez wrote:
> As I said, "it is not python" (Peter Hansen, please don't jump to my
> jugular...)
Hey Pete, I was joking on that one!
Here's the missing smiley ;-)
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> i want to get a small certificate or diploma in python.
> it should be online cuz i live in pakistan and wont have teast centers
> near me.
> it should be low cost as i am not rich.
> and hopefully it would be something like a a begginer certification cuz
> i am new to py
linuxfreak wrote:
> Hi guys,
>Got going with python...and i must say its a pretty cool language.
> Been using Xemacs to write me programs. But I want an IDE that would
> give me auto-completion, online help and the like... Tried SPE and
> Dr.Pyhton but the former crashes regulary and the latt
install many programs that you are
probably not interested in... but you might like it.
Cheers,
Luis
--
http://mail.python.org/mailman/listinfo/python-list
install many programs that you are
probably not interested in... but you might like it.
Cheers,
Luis
--
http://mail.python.org/mailman/listinfo/python-list
(possibly from outside, too).
Is Python more used on the client side and PHP on the server side?
I now Python, although I'm far from being an expert.
Luis
--
http://mail.python.org/mailman/listinfo/python-list
nest, googline "Python vs. PHP" raises lots of hits
> http://wiki.w4py.org/pythonvsphp.html
nice link :-)
Thank you,
Luis
--
http://mail.python.org/mailman/listinfo/python-list
ed easy web interface for mouse
clicks only.
Thank you for your support and excuse me for my ignorance, but I'm starting
the project and would like to start it in the right direction.
Luis
--
http://mail.python.org/mailman/listinfo/python-list
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I would like to thank all of you.
For what I've read, I'll be using python instead of Php.
Luis
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.
[EMAIL PROTECTED] wrote:
> hi everyone
> can someone suggest me where find a lot programming tricks for
> achieving the top speed in python?
> thanks everyone for patience
Check this out:
http://wiki.python.org/moin/PythonSpeed/PerformanceTips
--
http://mail.python.org/mailman/listinfo/python-li
IronPython 0.9 Released(8/2/2005 10:28:41 AM)
http://www.microsoft.com/downloads/details.aspx?familyid=cf5ae627-5df1-4f8a-ba8b-d64f0676f43f&displaylang=en
--
http://mail.python.org/mailman/listinfo/python-list
linuxfreak wrote:
> Look at Karrigell. Its a web framework for Python
>
> http://karrigell.sourceforge.net
I second this suggestion.
Karrigell is a pleasure to work with and I'm sure it will appeal any
python fun who dare to play with it.
I also hope Pierre (its developer) lose some of his modest
Well, I have no problems going to bed.
The problem is that while sleeping, I keep on coding in my head...
Sometimes I reach the "A ha!" state, then I wake up, turn on the my pc
and type the solution.
I'm a little bit worried though... I don't even have erotic dreams
anymore!
--
http://mail.python
This is great!
It's absolutely useless, like a real therapist, but it's free!
--
http://mail.python.org/mailman/listinfo/python-list
could ildg wrote:
> Why is iron python runs so fast but jython runs so slow while C# and
> java seem very much the same?
I've been playing with Ironpython since its first release and, in my
experience, it is not faster than Cpython, although this is what they
claim.
Anyway, it is in alpha stage s
http://karrigell.sourceforge.net ).
It is a pleasure to work with, minimalistic, simple and to the point.
No template language needed, just regular python and html and, as far
as I know, mod_python integration is uderway.
Hope it helps...
Luis
--
http://mail.python.org/mailman/listinfo/python-list
Karrigell has new tutorial here:
http://karrigell.sourceforge.net/en/tutorial.html
For those who don't know what Karrigell is, I'd just say that it is the
most pythonic, simple, fun, straightforward and full-featured web
framework available today.
Check it out! http://karrigell.sourceforge.net/
Very good and complete introduction to
python.
Online resources:
A byte of Python (google this)
Dive into Python (for more experienced programmers)
Hope this helps...
Luis
--
http://mail.python.org/mailman/listinfo/python-list
Very good and complete introduction to
python.
Online resources:
A byte of Python (google this)
Dive into Python (for more experienced programmers)
Hope this helps...
Luis
--
http://mail.python.org/mailman/listinfo/python-list
Karrigell is a very good option. Easy to learn and easy to use.
In words of his author:
"Karrigell is a simple web programming solution, written in Python. It
has been designed to be really simple to use : integrated web server
and data base ( gadfly), easy access to environement data and form
fie
I guess we all say foolishness when we're in love...
--
http://mail.python.org/mailman/listinfo/python-list
ue1, row2value2, row2value3),..., (rowNvalue1,
rowNvalue2, rowNvalue3)]
Then, I get what I want with tuple(a).
Luis P. Mendes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enig
was a way to do it using exclusively tuples.
Regards,
Luis Mendes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDIqgSHn4UHCY8rB8RAps/AJ905JXc5naxJYWLA0JLd0ZaJfQQWACeLXHJ
pLE9nmMH+k81ybbB1Otj0hg=
=2/
This is great news. Congratulations!
By the way, I read in your blog that you would be releasing a windows
intaller soon.
Have you, or anyone else, managed to do it?
Cheers,
Luis
--
http://mail.python.org/mailman/listinfo/python-list
Try PythonCard.
Very simple, very easy and based on wxPython.
--
http://mail.python.org/mailman/listinfo/python-list
Also you can browse the Pypy-Dev archives here:
http://codespeak.net/pipermail/pypy-dev/
and post messages here: [email protected]
regards,
Luis
--
http://mail.python.org/mailman/listinfo/python-list
rogrammers (google this).
I learned the basics with it.
Then you can try any of the other resources listed in www.python.org.
If you're willing to buy a book, try "Learning Python 2nd.Ed" by Mark
Lutz or "Core Python" by Wesley Chun.
Regards,
Luis
--
http://mail.python.org/mailman/listinfo/python-list
At this time, Ironpython is in pre-alpha state, not suitable for
production work.
However, we will have news about it in the next Pycon 2005, which will
be held by the end of March.
--
http://mail.python.org/mailman/listinfo/python-list
Well, I'm not sure if this is what you want, but you could use a
dictionary:
>>> d={}
>>> for i,e in L:
if d.has_key(i):
d[i] += e
else:
d[i] = e
>>> d
{'A': 500, 'B': 200}
>>>
--
http://mail.python.org/mailman/listinfo/python-lis
Mike,
I've got a very good news for you which, to my surprise, nobody
mentioned in this thread:
Right now, Micrsoft is developing a .NET version of Python (
http://www.ironpython.com ).
It has been started as an open source project by Jim Hugunin, which was
later hired by Microsoft to keep on wor
I'm confussed...
Python 2.4 (final) hs been released a few days ago, but now I see that
Python 2.3.5 is being worked on.
Why? What does it mean?
--
http://mail.python.org/mailman/listinfo/python-list
I'm confussed...
Python 2.4 (final) hs been released a few days ago, but now I see that
Python 2.3.5 is being worked on.
Why? What does it mean?
--
http://mail.python.org/mailman/listinfo/python-list
MarcoL wrote:
> Hello,
> I am a VB6 programmer and I would like to learn a new high level
> language (instead of restarting from scratch with .NET...
I'd like to add that by going with Python, you'll also be able to
develop for .NET. Check this out: www.ironpython.com .
Since the developmen
Martijn Faassen wrote:
> Unfortunately this is currently not near production use, and whether
> Microsoft is funding IronPython development is up in the air:
It's true that he Ironpython's mailing list is a little bit innactive,
but this is just because there's only one person in charge of
Ironpy
Hey Dimitri,
I completely agree with you in that Python needs once for all a cool
logo.
I like your design very much, but I have a few thoughts about it:
1) I think that Python's logo should reflect its power.
If we use a mascot as its image, we would be giving the wrong idea:
that Python is a "t
I guess the simplest way to do it is like this:
>>> data = [['foo','bar','baz'],['my','your'],['holy','grail']]
>>> result=[w for d in data for w in d]
>>> result
['foo', 'bar', 'baz', 'my', 'your', 'holy', 'grail']
>>>
--
http://mail.python.org/mailman/listinfo/python-list
I guess the simplest to do it is like this:
>>> data = [['foo','bar','baz'],['my','your'],['holy','grail']]
>>> result=[w for d in data for w in d]
>>> result
['foo', 'bar', 'baz', 'my', 'your', 'holy', 'grail']
>>>
--
http://mail.python.org/mailman/listinfo/python-list
> > But before pushing forward any particular design, maybe it will
make
> > sense to make some sort of official logo contest on Python's main
> > website and post it on /. ?
>
I was waiting for someone to propose that :-)
I'm new to this list and Python in general, but I think that this sort
of t
This is a very good introduction online:
www.g2swaroop.net/byte-of-python
I also suggest:
- Learning Python 2nd Ed.
- Core Python
You can also try these online resources:
- Dive into Python
- Thinking in Python
--
http://mail.python.org/mailman/listinfo/python-list
Stephan,
Since you're one of the directors of the Python Software Foundation,
could you let them know about this discussion in order to get their
approval?
If they agree, maybe you can tell us where and how to held the contest.
Just one thought:
I think that it would be good to not determine a de
> Why? If it's virtually identical, why would anyone bother even
> visiting that site? ;-)
>
> But I suspect you mean that the syntax of the language is virtually
> identical, while probably there are some significant differences.
> Maybe in the richness of its standard library? Or the size of
Peter Hansen wrote:
> And given that Boo is *not* virtually identical to Python*,
> pointing it out to a self-proclaimed newbie with a question
> about enums seems like nothing more than an ill-chosen
> moment to do a little proselytizing. Why not just start
> a thread about Boo and point it out
ace, but I think it's time to point out some limits to those who act
as self-entitled moderators.
Being a moderator is ok, but not being a bouncer.
Regards,
Luis
--
http://mail.python.org/mailman/listinfo/python-list
ded someone, please accept my most sincere apologies.
Regards,
Luis
--
http://mail.python.org/mailman/listinfo/python-list
ith a python-like
syntax.
As for the first ones, there's no reason to bash this project
gratuitelly. It is as important and "python related" as other projects
such as PyPy, Stackless, Prothon, etc...
I encourage everyone to give it a try, and if still you're not
convinced,
Terry Reedy wrote:
>
> [gratuitously] I agree with this...
>
well, my english is bad. I know!
>
> but I think this is silly. PyPy is an alternate implementation of
Python,
> not a different language. Stackless is a compiled extension, like
many
> others, that works with the standard implementat
I agree with you, and I don't understand why so many people insist in
"banning" the word "Boo" in this list.
What's the problem guys? Is this a taboo or something?
Isn't this list open for discussion of all things related to Python?
Isn't Boo related to Python?
And if you think it is not "related e
Fredrik Lundh wrote:
> it's the new Boo marketing motto: "have you harrassed a Pythoneer
today?"
Fredrik, I think you're being a little bit injust.
As far as I could see, everythime the word "boo" is typed, some sort of
censorship or plain bashing comes up, and I think this is not fair.
In my ca
to use this list to talk about Boo, because I
think that the best place to do it is comp.lang.boo.
However, since I think it is definetely python related (I know you
disagree, but others don't) I see no harm in mentioning it here
occasionally.
regards,
Luis
--
http://mail.python.org/mailman/listinfo/python-list
Don't worry..
Now we'll make a big group hug therapy and friends again!
Cheers,
Luis
Philippe C. Martin wrote:
> Sorry but I really feel this incredible waste of energy is polluting
an,
> otherwise, excellent and helpful mailing list.
>
>
> Best regards
Hi folks,
This is an interesting new article (published today Dec. 23).
Guido discusses the possibility of adding optional static typing to
Python:
http://www.artima.com/weblogs/viewpost.jsp?thread=85551
--
http://mail.python.org/mailman/listinfo/python-list
Sorry... I just realized that somebody else already had started a
thread on this...
--
http://mail.python.org/mailman/listinfo/python-list
I don't understand why this discussion on optional static typing came
up right at this moment.
As far as I know, it has been discussed many times in the past, and
there even was a SIG that simply died... but it seems that it never was
something of much interest to python developers (that's my impre
> > I don't understand why this discussion on optional static typing
came
> > up right at this moment.
>
> Because Guido made some notes on it.
>
> http://www.artima.com/weblogs/viewpost.jsp?thread=85551
>
> merry christmas.
> Stephen.
Yes, I know Guido did it.
But I wonder why at this moment, jus
Robert Kern wrote:
> Automatic type inferencing is great, but sometimes the inference is
> "object". Being able to supply more information about types helps
> Starkiller keep the inferences tight and specific.
Hmm... I'm not an expert in this subject at all, but I think that when
the inference is
Robert Kern wrote:
> Starkiller, at least, can deal with cases where a variable might be
one
> of a set of types and generates code for each of this set. Explicit
type
> declarations can help keep these sets small and reduces the number of
> times that Starkiller needs to fall back to PyObject_*
James wrote:
>
http://www.gotdotnet.com/workspaces/workspace.aspx?id=ad7acff7-ab1e-4bcb-99c0-57ac5a3a9742
This is what I get when I follow this link:
"Operational Troubleshooting in Progress"
I've been visiting ironpython's site all day long searching for news
but nothing...
Has anyone managed t
Another alternative:
d1 = {'a':4,'b':5,'c':1,'d':2,'e':3}
il=[(v,k) for k,v in d1.items()]
il.sort()
--
http://mail.python.org/mailman/listinfo/python-list
Check this out: http://pythoncard.sourceforge.net/
--
http://mail.python.org/mailman/listinfo/python-list
th some app?
Thanks
--
------
Luis R. Romano
PS: here is my code:
http://pastebin.com/g6fqHsxS
--
https://mail.python.org/mailman/listinfo/python-list
Hi all
I wrote this script that can read the Python Calendars and shows the
geolocated info on a map and on a timeline.
http://lmorillas.github.io/python_events/
Enjoy
Saludos,
-- luismiguel (@lmorillas)
2015-01-13 22:18 GMT+01:00 M.-A. Lemburg :
> [Please help spread the word by forwardin
Hi All,
Hope you're doing great. One quick question. I am defining an array of sets
using numpy as:
a=array([set([])]*3)
Now, if I want to add an element to the set in, lets say, a[0], and I use the
.add(4) operation, which results in:
array([set([4]), set([4]), set([4])], dtype=object)
whi
Hi All. I am trying to create an executable file containing an optimization
code using the pyomo package for optimization modeling along with ither
packages like Numpy. When using py2exe to perform the task it generates the
executable file, but when I try to run it it reports: Import Error: No m
You are not the first lisper who fell inlove with Python...
Check this out:
http://www.paulgraham.com/articles.html
--
http://mail.python.org/mailman/listinfo/python-list
The IDEs you've been looking at have no visual GUI designers.
For that, you can check Boa Constructor or PythonCard. These two are
based on the wxPython toolkits. There are other commercial IDEs based
on QT but I cannot comment on these cause I've never used them.
Visual Python is a plug-in for Vi
much more than other free
IDEs, but I'm not one of those who rely on IDEs 40 hours a week...
Luis
--
http://mail.python.org/mailman/listinfo/python-list
I just wanted to mention that, according to the latest news from
Ironpython's mailing list, an Ironpython plug-in for Visual Studio is
on the works. Read on:
Aaron Marten wrote:
> Hi Giles,
> I'm on the Visual Studio SDK team here at Microsoft. In
> co-operation with the IronPython team, we'
As fas as I know, TurboGears is not very different.
But it is a project that unifies many different third party components
into one integrated package.
Its main component is CherryPy, which is a known python web framework.
--
http://mail.python.org/mailman/listinfo/python-list
very clear, easy to write and easy to read.
You don't need to compile before running your code, and its
interactivity lets you experiment and try different approaches faster
and better when writing algorithms. This leads to better results and
much faster than with any other traditional
Sorry for the interruption, but...
Has anyone tried KARRIGELL??
I find hard to believe there is any easier python framework than this
one.
It's incredibly flexible, very fun, very powerful and with an almost
flat learning curve.
Go check it out (NOW!)
http://karrigell.sourceforge.net/
--
http:/
feel that other frameworks are getting a lot
of the attention that Karrigells deserve...
Luis
--
http://mail.python.org/mailman/listinfo/python-list
I don't think Pierre (Karrigell's creator) is awared of licenses and
legal issues.
Perhaps you can tell us what's the problem with GPL and, if possible,
propose an alternative...
--
http://mail.python.org/mailman/listinfo/python-list
> From my point of view the biggest problem with Karrigell is that it is
> released under the
> GPL. Most of my projects at least have the potential of being distributed to
> customers and
>GPL is not an option.
I don't think Pierre (Karrigell's creator) is awared of licenses and
legal issues.
201 - 300 of 581 matches
Mail list logo