Ken Tilton ha escrito:
> You missed it? Google fight:
>
>http://www.googlefight.com/index.php?lang=en_GB&word1=Python&word2=Ruby
>
> Python wins, 74 to 69.3. And there is no Monty Ruby to help.
>
> ken
Nice animation!
http://www.googlefight.com/index.php?lang=en_GB&word1=Ken+Tilton&word2=Mon
Rob Thorpe ha escrito:
> Juan R. wrote:
> > Ken Tilton ha escrito:
> > > You missed it? Google fight:
> > >
> > >http://www.googlefight.com/index.php?lang=en_GB&word1=Python&word2=Ruby
> > >
> > > Python wins, 74 to 69.3. An
Kay Schluehr ha escrito:
> Juan R. wrote:
>
> > Kay Schluehr ha escrito:
> > > Note also that a homogenous syntax is not that important when
> > > analyzing parse trees ( on the contrary, the more different structures
> > > the better ) but when syn
Kaz Kylheku ha escrito:
> Kay Schluehr wrote:
> > Juan R. wrote:
> > > A bit ambiguous my reading. What is not feasible in general? Achieving
> > > compositionality?
> >
> > Given two languages L1 = (G1,T1), L2 = (G2, T2 ) where G1, G2 are
> > gr
greg ha escrito:
> From another angle, think about what a hypothetical
> Python-to-Lisp translator would have to do. It couldn't
> just translate "a + b" into "(+ a b)". It would have
> to be something like "(*python-add* a b)" where
> *python-add* is some support function doing all the
> dynami
Kay Schluehr wrote:
>
> You mean a universal language adapter? I guess this is always possible
> using alpha conversion but I don't believe this leads to theoretical or
> practical interesting solutions but is just a limit concept.
Not familiarized with you terminology. I think that i would call t
greg ha escrito:
> Juan R. wrote:
>
> > I see no dinamism on your example, just static overloading.
>
> There's nothing static about it:
>
>q = raw_input()
>if q == "A":
> a = 1
> b = 2
>else:
> a = "x&
[EMAIL PROTECTED] ha escrito:
> FWIW, Python documentation consistently uses the jargon:
>
> () parentheses
> {} braces
> [] brackets
>
> That matches North American conventions, but occasionally confuses an
> international audience (for example, the English call parentheses
> "bracke
greg ha escrito:
> I don't know about the other Pythonistas in this
> discussion, but personally I do have experience with
> Lisp, and I understand what you're saying. I have
> nothing against Lisp parentheses, I just don't agree
> that the Lisp way is superior to the Python way in
> all respects,
Raffael Cavallaro ha escrito:
> This lock-in to
> a particular paradigm, however powerful, is what makes any such
> language strictly less expressive than one with syntactic abstraction
> over a uniform syntax.
Right, but it would be also remarked that there is not reason to
ignoring the developme
Using LISP-like syntax for everything would be so stupid as using
quantum mechanics for billiards.
Claiming that LISP parens are Stupid, Superfluous, or Silly just
because you do not need them in your limited field of discourse, would
be so stupid as those people thinking that just because they us
Fuzzyman ha escrito:
> Perhaps only with the addendum that although 'Lisp roolz', no-one uses
> for anything of relevance anymore and it is continuing it's geriatric
> decline into obscurity. ;-)
I do not think that i cannot agree with the contrary of this but i do
not think the contrary neither.
Hi, all
I have some questions to ask:
1. How can I add a standard module named "datetime" in
Jython when the error happens :"Traceback (innermost
last):
File "C:\python\test.py", line 3, in ?
ImportError: no module named datetime "
The line 3 is writen: "from datetime import datetime,
tzinfo
Hi,
Anyone tries to use BeautifulSoup (
http://www.crummy.com/software/BeautifulSoup/ ) in
Jython? I can not run that ,the error that Jython
gives me is: unpack sequence too long.
Sincerely,
Erica
__
赶快注册雅虎超大容量免费邮箱?
http://cn.mail.yahoo.com
--
slayer wrote:
> Hi all,
> I am a python newbie. I need some help to loop up about API, or
reference.
> If any web that Java API Document, I will try it. Is there some one
like it
> or other ways?
> --
Go to http://www.python.org, there is a complete module reference
there. If you installed Python
I am working on a script that utilizes tk in order to connect users to an
online account. It must be done on their personal machines and I would like
to have them use a gui. Is there a method that can take text and make it
unreadable (like password form in html)?
thanks -J
--
http://mail.python.o
picture the best
approach?
Any help or references to resources that point me in the right direction
would be greatly appreciated. Thanks in Advance.
-Juan
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 13, 2008 11:58 AM, James Matthews <[EMAIL PROTECTED]> wrote:
> What do you mean possible?
>
It is possible to use the library win32com.client in linux?
I thought that was only for windows
?¿
--
http://mail.python.org/mailman/listinfo/python-list
I need to implement a traceroute inside my script but I can't escalate
privileges. Unix uses UDP for traceroute, but I didn't find any material
regarding UDP traceroute in Python.
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, Feb 23, 2017 at 7:42 PM, Irmen de Jong wrote:
>
> import os
> os.system("traceroute www.google.com")
Indeed, that would work, but it isn't a great approach in my opinion
because I would rely on a system command, in this case Windows uses
tracert while UNIX uses traceroute, one could fix t
I need to run some Python 3.6.0 scripts on the users' machines (W7 and
W10) in an enterprise environment, but I can't install Python on those
machines. I tried looking for those "py to exe", but sadly they don't
support Python 3.6.0. Then I found out about "Windows x86/x86-64
embeddable zip file" t
Hello,
this is my first mail. I resorted to the list after some prior struggling.
Im facing the need to distribute a python installation folder and
interpreter in a shared network drive.
Im also distributing the application's source code that would lie also in
another network drive.
For this, my
this is not the case :(
What is happening here?
Nevertheless, this code does work
fs = [ eval("lambda x: f(x,%d)" % o) for o in [0,1,2,3]]
Thanks.
Juan Pablo
--
http://mail.python.org/mailman/listinfo/python-list
Thanks to all
I settled with this:
def partial1(f,b):
return lambda a:f(a,b)
def partial2(f,a):
return lambda b:f(a,b)
Juan Pablo
2005/10/20, Mike Meyer <[EMAIL PROTECTED]>:
> Robert Kern <[EMAIL PROTECTED]> writes:
> > Juan Pablo Romero wrote:
> >&
Hello everybody!
We (Glade Developers) are conducting a user survey which will help us take
informed decisions to improve the overall developer experience.
So please take a few minutes to complete the survey, we appreciate it!
https://glade.gnome.org/registration.html
Cheers
Juan
On Mon, 2013-11-18 at 16:04 -0500, Gene Heskett wrote:
> On Monday 18 November 2013 16:04:14 Juan Pablo Ugarte did opine:
>
> > Hello everybody!
> >
> > We (Glade Developers) are conducting a user survey which will help us
> > take informed decisions to improve th
On Mon, 2013-11-18 at 21:12 -0500, Gene Heskett wrote:
[...]
> > Invalid in what way? It looks fine to me. Or is it that you don't
> > trust its signer?
> >
> > ChrisA
>
> Firefox barked at me. So I backed away. And now it works. Phase of moon
> sensitive? Chew in wrong side of mouth? Or y
thousands of
dirs/subdirs, it crashes the DOS session and also the Python shell (when I run
it from the shell). This makes it difficult to figure out if the allocated
memory or heap space for the DOS/shell session have overflown, or why it is
crashing.
Juan Declet-Barreto [cid:image001.png
ating
standard library Python code (e.g., os.walk()) from the arcgisscripting module
to evaluate in which module the environment crash is occurring.
-Original Message-
From: Dave Angel [mailto:da...@dejaviewphoto.com]
Sent: Monday, November 07, 2011 1:20 PM
To: Juan Declet-Barreto
Cc: p
ption?
-juan
-Original Message-
From: Dave Angel [mailto:d...@davea.name]
Sent: Monday, November 07, 2011 1:50 PM
To: Juan Declet-Barreto
Cc: python-list@python.org
Subject: Re: memory management
On 11/07/2011 03:33 PM, Juan Declet-Barreto wrote:
> Well, I am using Python 2.5 (and the ID
mailto:dbi...@codeaurora.org]
Sent: Wednesday, November 09, 2011 9:31 AM
To: Juan Declet-Barreto
Subject: Re: memory management
On 11/9/2011 6:53 AM, Juan Declet-Barreto wrote:
> After some exception catching, I have found that my program is throwing a
> MemoryError exception numerous time
z@python.org
[mailto:python-list-bounces+juan.declet-barreto=mesaaz@python.org] On
Behalf Of Christian Heimes
Sent: Wednesday, November 09, 2011 12:21 PM
To: python-list@python.org
Subject: Re: guppy
Am 09.11.2011 20:08, schrieb Juan Declet-Barreto:
> I am trying to build guppy on Pytho
2. Is it possible to do a string.replace
to substitute all instances of '\' for '\\'? I tried this but it did not give
me the desired result.
Juan Declet-Barreto [cid:image004.png@01CCBE5F.46845530]
GIS Specialist, Information Technology Dept.
City
The "rebase" process worked. Thanks, Jason. The other previously posted solution of uninstalling and reinstalling Python did not.
On 8/8/06, Jason Tishler <[EMAIL PROTECTED]> wrote:
Juan C.,On Mon, Aug 07, 2006 at 11:47:33AM -0700, jcmendez wrote:> Hello everyone. Trying
re:
!>>>Top posting
!>> Did not. I replied to the message at the bottom of the thread.
!> Congratulations, you've now made a fool of yourself in public.
OK, cut it out.
Top or bottom posting is a user choice.
No need to flame someone for using either.
Juan T. Llibre,
Hello together,
I wrote a script for the engineering software abaqus/CAE. It worked
well until I implemented a selection in order to variate the variable
"lGwU" through an if elif, else statement. I am going to post the
first 82 lines of the script, since the error message points at line
80:
from
I configured apache to execute python scripts using mod_python
handler. I followed below mentioned steps to configure apache.
1. In http.conf I added
AddHandler mod_python .py
PythonHandler mptest
PythonDebug On
2. Then I added the line "LoadModule python_module modules/
mod_python.s
Dear all,
I am trying implement a text from mod_python.
I have a apahce service 2.2.4, python 2.5 and mod_python 3.3.1
I have this mistake:
MOD_PYTHON ERROR
ProcessId: 5956
Interpreter:'192.168.5.32'
ServerName: '192.168.5.32'
DocumentRoot: 'D:/aplicaciones/web'
URI:
Dear all,
I am trying implement a text from mod_python.
I have a apahce service 2.2.4, python 2.5 and mod_python 3.3.1
I have this mistake:
MOD_PYTHON ERROR
ProcessId: 5956
Interpreter:'192.168.5.32'
ServerName: '192.168.5.32'
DocumentRoot: 'D:/aplicaciones/web'
URI:
-
> Descubrí un nuevo Hotmail: con más herramientas para una vida más práctica.
> Muy pronto. Ver más <http://www.nuevohotmail.com>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>
--
Juan Andres Knebel
--
http://mail.python.org/mailman/listinfo/python-list
han above rm1()?
> Is there any nicer inline statement rhan my method 1' ?
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Juan Andres Knebel
--
http://mail.python.org/mailman/listinfo/python-list
ead/562189578285211
>
> Cheers, Roald
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
Juan Andres Knebel
--
http://mail.python.org/mailman/listinfo/python-list
*Buenas tardes, le escribo breve y puntualmente para reportar este el
siguiente error al cual no le pude dar solución.*
*Instalé Python 3.9.1 (64 bits), todo había funcionado bien hasta que
necesité usar la librería seaborn. Al ejecutar mi algoritmo obtenía el
siguiente error: *
(...\Python\Pytho
s you like that addresses the following issue:
What is the best way to use the dynamic features of Python to avoid having
to write a poor's man type system?
Thanks!
Juan Pablo
--
https://mail.python.org/mailman/listinfo/python-list
2016-08-09 12:06 GMT-07:00 Paul Rubin :
> Juan Pablo Romero Méndez writes:
> > In online forums sometimes people complain that they end up having to
> > test constantly for None
>
> That's something of a style issue. You can code in a way that avoids a
> lot of
What static checking can actually guarantee varies depending on the
specific type system at hand (C# vs Haskell vs Idris for example). But most
of them can guarantee simple stuff like: "I'm I allowed to invoke this
function at this point?"
If you don't have that, well you can rely on tests to show
2016-08-09 13:18 GMT-07:00 Rob Gaddi :
> Juan Pablo Romero Méndez wrote:
>
> > 2016-08-09 12:06 GMT-07:00 Paul Rubin :
> >
> >> Juan Pablo Romero Méndez writes:
> >> > In online forums sometimes people complain that they end up having to
> >> >
2016-08-09 14:01 GMT-07:00 Michael Selik :
> On Tue, Aug 9, 2016 at 3:22 PM Juan Pablo Romero Méndez <
> jpablo.rom...@gmail.com> wrote:
>
>> I'm actually looking for ways to minimize run time errors, so that would
>> include TypeError and AttributeError.
>>
2016-08-09 18:28 GMT-07:00 Steven D'Aprano :
> On Wed, 10 Aug 2016 04:29 am, Juan Pablo Romero Méndez wrote:
>
> > Hello,
> >
> > In online forums sometimes people complain that they end up having to
> test
> > constantly for None,
>
> Then don'
2016-08-09 23:47 GMT-07:00 Steven D'Aprano <
steve+comp.lang.pyt...@pearwood.info>:
> On Wednesday 10 August 2016 15:20, Juan Pablo Romero Méndez wrote:
>
> > Ok, so you suggested 1) catching exceptions at the point where you care,
> 2)
> > preemptively check f
2016-08-09 23:16 GMT-07:00 Gregory Ewing :
> Juan Pablo Romero Méndez wrote:
>
> This is interesting. You are Ok having runtime errors?
>>
>
> You're going to have runtime errors in any case, whether
> they come from code you've put there yourself to check
>
2016-08-09 18:28 GMT-07:00 Steven D'Aprano :
> On Wed, 10 Aug 2016 04:29 am, Juan Pablo Romero Méndez wrote:
>
> > Hello,
> >
> > In online forums sometimes people complain that they end up having to
> test
> > constantly for None,
>
> Then don'
atures of some language are a better solution than static typing. This is
of course more useful in languages that support both paradigms.
Juan Pablo
2016-08-10 13:50 GMT-07:00 Michael Selik :
>
>
> On Wed, Aug 10, 2016, 4:34 PM Juan Pablo Romero Méndez <
> jpablo.rom...@gmail.com>
2016-08-12 1:10 GMT-07:00 Lawrence D’Oliveiro :
> On Thursday, August 11, 2016 at 8:33:41 AM UTC+12, Juan Pablo Romero
> Méndez wrote:
>
> > I've been trying to find (without success so far) an example of a
> situation
> > where the dynamic features of a language
2016-08-14 7:29 GMT-07:00 Steven D'Aprano :
> On Thu, 11 Aug 2016 06:33 am, Juan Pablo Romero Méndez wrote:
>
> > I've been trying to find (without success so far) an example of a
> > situation where the dynamic features of a language like Python provides a
> > c
2016-08-27 21:30 GMT-07:00 Steve D'Aprano :
> On Sun, 28 Aug 2016 12:31 pm, Juan Pablo Romero Méndez wrote:
>
> > 2016-08-14 7:29 GMT-07:00 Steven D'Aprano :
> >
> >> On Thu, 11 Aug 2016 06:33 am, Juan Pablo Romero Méndez wrote:
> >>
> >>
2016-08-27 21:30 GMT-07:00 Steve D'Aprano :
> On Sun, 28 Aug 2016 12:31 pm, Juan Pablo Romero Méndez wrote:
>
> > 2016-08-14 7:29 GMT-07:00 Steven D'Aprano :
> >
> >> On Thu, 11 Aug 2016 06:33 am, Juan Pablo Romero Méndez wrote:
> >>
> >>
2016-08-28 0:04 GMT-07:00 Steven D'Aprano <
steve+comp.lang.pyt...@pearwood.info>:
> On Sunday 28 August 2016 15:56, Juan Pablo Romero Méndez wrote:
>
> > 2016-08-27 21:30 GMT-07:00 Steve D'Aprano :
> [...]
> >> Now it is true that speaking in full
Hello,
What do you guys think about adding a method "to_json" to dictionaries
and sequence types? Perhaps through a module import?
Regards,
Juan Pablo
--
http://mail.python.org/mailman/listinfo/python-list
mistakes?? where?? do i have
to pass the column number someway to the visible_cb function??? how??
can any of you suggest a code example to follow and find out how the
treeview must be coded in order to allow "multicolumn filtering"???
thanks in advance for your support..
Juan
by the way, iam using pygtk to develop the GUI
Regards.-
--
http://mail.python.org/mailman/listinfo/python-list
Thanks a lot!
it did work!!
:)
--
http://mail.python.org/mailman/listinfo/python-list
Hello all,
I need to compile python myself because of a module (pivy). So I
downloaded MS Visual C++ 2008 express edition. It apparently compiled
fine but I don't know how to install it to recreate the standard
distribution. In linux i'd take "make install", but on window
I've been compiling everything needed by pivy (Coin, Qt,
SoQt, PyQt) with visual c++ 8, I decided to recompile python itself.
Juan Pablo
2008/12/9 Gabriel Genellina <[EMAIL PROTECTED]>:
> En Tue, 09 Dec 2008 11:32:46 -0200, Juan Pablo Romero Méndez
> <[EMAIL PROTECTED]&
In R:
norm = function(v) v/sqrt(sum(v^2))
:)
Juan Pablo
2008/12/10 Arnaud Delobelle <[EMAIL PROTECTED]>:
> "Dotan Cohen" <[EMAIL PROTECTED]> writes:
>
>> 2008/12/10 <[EMAIL PROTECTED]>:
>>> On Dec 5, 9:51 am, Xah Lee <[EMAIL PROTECTE
Finally installed Python 2.6, which is compiled with visual C++ 2008,
and all my problems went away.
Thanks to all,
Juan Pablo
2008/12/10 "Martin v. Löwis" <[EMAIL PROTECTED]>:
>> -
>> ...
>> error: P
f g(k):
return f
g(1)(1,1) ==> 3
Regards,
Juan Pablo
--
http://mail.python.org/mailman/listinfo/python-list
* x**2 - v * y**2 ) )
...
and have the code automatically figure out that w and v are free
variables and generate the right code.
Right now I can catch w and v (using NameError), but can't figure out
how to get python to assign values to w and v (other than declaring
them globals).
My code nee
t;", line 1, in
File "", line 4, in
TypeError: arg 5 (closure) must be tuple
>>>
Strange...
2008/12/17 Peter Otten <__pete...@web.de>:
> Juan Pablo Romero Méndez wrote:
>
>> Suppose this function is given:
>>
>> def f(x,y):
>
On 04/03/10 16:21, ccc31807 wrote:
> On Mar 3, 4:55 pm, toby wrote:
>>> where you have to store data and
>>
>> "relational data"
>
> Data is neither relational nor unrelational. Data is data.
> Relationships are an artifact, something we impose on the data.
> Relations are for human convenience,
On 04/03/10 19:52, ccc31807 wrote:
> On Mar 4, 11:51 am, Juan Pedro Bolivar Puente
> wrote:
>> No, relations are data.
>
> This depends on your definition of 'data.' I would say that
> relationships is information gleaned from the data.
>
>> "Data
PyQt: http://www.riverbankcomputing.co.uk/software/pyqt/intro
All the benefits of Qt: multiplataform, excellent documentation, great
API, visual widget designer, etc, etc.
For the coding itself, I use netbeans + python plugin.
Regards,
Juan Pablo
2009/6/21 Chris Rebert :
> On Sat, Jun
I use OpenInventor (Coin3d) which have a python binding called "pivy".
It works great.
http://pivy.coin3d.org/
Juan Pablo
2009/7/8 Helvin :
> Hi experts!
>
> I'm developing a GUI for a software using PyQT, and need 3D
> visualization. Should I use PyOpenGL or VTK?
&
101 - 173 of 173 matches
Mail list logo