Hi,
> 1 2 3 4 5
> 0 7 8 9 10
> 0 0 13 14 15
> 0 0 0 19 20
> 0 0 0 0 25
> Look at the triangle represented by the non-zero
> integers. This triangle is a binary tree if we take 5
> as the root and walk down on both sides.
Are you sure? Is 9 a child of 4 or 10
A half-empty matrix will of course have (n+1)* n * 1/2 elements.
--
http://mail.python.org/mailman/listinfo/python-list
Lawrence Oluyede <[EMAIL PROTECTED]> writes:
> (despite the ongoing Pypi project and Eby's efforts in setuptools)
> you have to do it manually :)
Great, there is progress in this.
> How many modules do you really use? It's a matter of minutes.
Yes, but 60 minutes make an hour. I installed 2.4
import pycurl
c = pycurl.Curl()
c.setopt( pycurl.URL, 'http://www.test.com/test.html' )
import StringIO
b = StringIO.StringIO()
c.setopt( c.WRITEFUNCTION, b.write )
c.setopt( c.FOLLOWLOCATION, 1 )
c.setopt( c.MAXREDIRS, 5 )
c.setopt(c.PROXY,'www.test.com:1080')
#c.setopt(c.PROXYTYPE,'SOCKS5')
c.set
You don't actually *need* a libglade/pyGtk IDE: glade will be more than
enough :-)
By its very nature glade will enable you to design the GUI and define
the signals.
Then you'll load the glade file in python, and use whatever editor you
feel comfortable with.
--
Have fun,
Renato Ramonda
--
ht
[EMAIL PROTECTED] wrote:
>
>Kun> assuming that my date column is 2, how would i parse out the date?
>
> No parsing required. Just get its date:
>
>d = record[2].date()
>
> The str() of a datetime.date object is a string in -MM-DD form.
or, in other words, change:
for col in range
> and so, i guess the main question i have is is there a module or
> program that will parse these classes and duplicate them for a python
> module ? Some kind of code translator ? Or is that just way out there?
No, there isn't.
> i would go thru it line by line, but i just dont know enough a
BartlebyScrivener wrote:
> I'll let somebody jump in and say, "You're crazy!" But it seems to me
> the interest in IronPython on this list is pretty subdued. Maybe
> because most people are running on Linux or Macs?
umm. CPython runs just fine on Windows, and can talk to most Windows-
specific
Hi,
I am making a gui, in which specifiction are taken from user, which are
wriiten to a file. and that file will bw executed.
finalstr is a string
f = open('crossManual.sh','w')
f.write(finalstr)
f.close()
I am getting the error
Exception in Tkinter callback
Traceback (most r
Hi,
I use python quite a bit to couple different programs together.
Doing so has been a _lot_ easier since subprocess came around, but
would really like to be able to use the succinct shell syntax; >, <, |
That really shouldn't be too hard to wrap in a class, but so far I
didn't succeed to do so
> #include
>
> char code[] = "print 'hello moshe'";
>
> void main(...)
> {
> Py_ExecString(code);
> }
I don't get this, with python 2.4 there is no function called
Py_ExecString in any of the header files. I found something that might
do the job PyRun_SimpleString( ) in pythonrun.h, but could
Let's hope this is my last question on the matter. I'm implementing a SimpleXMLRPCServer, and last week I had a problem John helped me solve. The thing is that my server is to be called from a remote machine, so when declaring the instance, the line ("localhost", 8000) wouldn't work because it woul
This article in Guido van Rossum's blog might be interesting for this
thread
http://www.artima.com/weblogs/viewpost.jsp?thread=92662
--
Pablo
--
http://mail.python.org/mailman/listinfo/python-list
In article <[EMAIL PROTECTED]>,
Biggmatt <[EMAIL PROTECTED]> wrote:
>The problem is that i want it to
>get the stdout as the program runs, not hold it all till it's
>finished.
This has been discussed before. If the program you're trying to control
buffers its output and gives no option to disab
[EMAIL PROTECTED] wrote:
> I've traditionally been a Java developer, although I play around with
> LISP. I recently migrated to Linux and I was exploring Mono as an
> option for development on Linux. However, I've had some problems with
> the maturity and support when working with Mono. So I was co
"JyotiC" wrote:
> I am getting the error
>
>Exception in Tkinter callback
> Traceback (most recent call last):
> File "/usr/lib/python2.3/lib-tk/Tkinter.py", line 1345, in __call__
>return self.func(*args)
> File "gui.py", line 248, in writescript
>f = open('crossManual.sh','w')
okay, i got the name wrong. i wasn't trying to provide production-level
code, just a snippet. the function you want is
PyRun_SimpleString( const char *command)
#include
char secret_code[] = "print 'moshe'";
int main()
{
return PyRun_SimpleString(secret_code);
}
and you need to link with py
Thanx a lot, that was the problem
--
http://mail.python.org/mailman/listinfo/python-list
> #include
>
> char secret_code[] = "print 'moshe'";
>
> int main()
> {
> return PyRun_SimpleString(secret_code);
> }
>
> and you need to link with python24.lib or whatever the object file is
> for your platform.
Are you sure? On a linux platform I tried linking with libpython2.4.so
(I assume
Kun wrote:
> Fredrik Lundh wrote:
>> "Kun" wrote:
>>
>>> I have a python-cgi file that pulls data from an sql database, i am
>>> wondering what is the easiest way to remove all instances of
>>> '00:00:00.00' in my date column.
>>>
>>> how would i write a python script to scan the entire page and de
"Daniel Nogradi" wrote:
>> char secret_code[] = "print 'moshe'";
>>
>> int main()
>> {
>> return PyRun_SimpleString(secret_code);
>> }
>>
>> and you need to link with python24.lib or whatever the object file is
>> for your platform.
>
> Are you sure? On a linux platform I tried linking with li
Fredrik Lundh wrote:
> why are you using an IDE that doesn't understand Python syntax ?
>
>
>
Because I don't like using a whole new editor for every new language I'm
using (as you would not use a new hammer for each nail) and jedit just
plain rocks. I guess it could be made to recognize cla
> "Paul McGuire" <[EMAIL PROTECTED]> (PM) wrote:
>PM> "Jonathan Amsterdam" <[EMAIL PROTECTED]> wrote in message
>PM> news:[EMAIL PROTECTED]
>>> If you don't want to call it deadlock, fine, but the program execution
>>> I describe will make no progress to the end of time. Thread 2 can never
>>>
> >> char secret_code[] = "print 'moshe'";
> >>
> >> int main()
> >> {
> >> return PyRun_SimpleString(secret_code);
> >> }
> >>
> >> and you need to link with python24.lib or whatever the object file is
> >> for your platform.
> >
> > Are you sure? On a linux platform I tried linking with libpy
Alle 21:36, lunedì 17 aprile 2006, Ravi Teja ha scritto:
> If you are looking for ways to access C++ code in Python, there are
> several (Boost, SIP, CXX, SWIG, Weave etc).
This way I knew about it.
> People usually convert higher level languages to lower level
> languages for performance
[EMAIL PROTECTED] wrote:
> How can a proprietary software developer protect their Python code?
> People often ask me about obfuscating Python bytecode. They don't want
> people to easily decompile their proprietary Python app.
Do they ask the same thing for Java or .NET apps ?-)
> I suppose anot
"bruno at modulix" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Do they ask the same thing for Java or .NET apps ?-)
If you Google for "bytecode obfuscation", you'll find a large number
of products already exist for Java and .Net
--
http://mail.python.org/mailman/listinfo/p
Since there have been python limmericks, are there any Python lullabies that
I can sing to my newborn son (actually, born yesterday)? I tried to murmur
some select parts from the tutorial, but he somehow wasn't very interested
:)
--
TZOTZIOY, I speak England very best.
"Dear Paul,
please stop spa
In the invaluable 'Dr. Dobb's Python-URL! - weekly Python news and
links' of April 17 Peter Otten writes: "Michele Simionato's little
script lets you search for a name in Python scripts, avoiding false
positives that a standard tool like grep would yield." Can someone
explain why this is so? I have
Richard Brodie wrote:
>> Do they ask the same thing for Java or .NET apps ?-)
>
> If you Google for "bytecode obfuscation", you'll find a large number
> of products already exist for Java and .Net
and if you google for "python obfuscator", you'll find tools for python.
including
tools that use
I've noticed that I replied to individual posters' private addresses
several times now ...
So a quick note to the admin(s): see topic ;)
Hey, maybe I'm just too dumb to use Thunderbird; I haven't figured out a
way to reply comfortably to list posts (take this as a half asses excuse
to why some
On Tue, 18 Apr 2006 14:12:14 +0300,
Christos Georgiou <[EMAIL PROTECTED]> wrote:
> Since there have been python limmericks, are there any Python
> lullabies that I can sing to my newborn son (actually, born
> yesterday)? I tried to murmur some select parts from the tutorial,
> but he somehow wasn
On 18 Apr 2006 01:37:03 -0700, rumours say that "jelle"
<[EMAIL PROTECTED]> might have written:
>Hi,
>
>I use python quite a bit to couple different programs together.
>Doing so has been a _lot_ easier since subprocess came around, but
>would really like to be able to use the succinct shell syntax
I V wrote:
> To use interfaces in python, just what you would do in Java, except
> don't use interfaces.
+1 QOTW
--
http://mail.python.org/mailman/listinfo/python-list
ok, well enough, looked at struct and it does seem to be what i am
after. for that anyway.
thanks, guess i will just have to take the time and pull it apart.
cheers
sk
--
http://mail.python.org/mailman/listinfo/python-list
"BBands" wrote:
> In the invaluable 'Dr. Dobb's Python-URL! - weekly Python news and
> links' of April 17 Peter Otten writes: "Michele Simionato's little
> script lets you search for a name in Python scripts, avoiding false
> positives that a standard tool like grep would yield." Can someone
> exp
On the python3000 mailing list there was some discussion of a "comprehension
syntax" for reduce.
This inspired me the following proof-of-concept in pure python 2.5a1, although
I
don't know if it relies on an intended feature or a(n unintended) bug.
Cheers, BB
--
def ireduce(gen) :
"""
On Apr 18, 2006, at 4:43 AM, [EMAIL PROTECTED] wrote:
> ok, well enough, looked at struct and it does seem to be what i am
> after. for that anyway.
> thanks, guess i will just have to take the time and pull it apart.
>
I recommend you also take a look at http://pyconstruct.sourceforge.net/
I
>> If you are interested in a pure managed-code
>> implementation of the Python language,
>> you should check out the IronPython project
There's the rub. I don't know what "pure managed-code" means. But I'll
definitely look into CPython.
Thanks
rd
--
http://mail.python.org/mailman/listinfo/py
Hi Christos,
Thanks for your pointers there, impressive to see
-that a 12 year old thread still can make an interesting read
-you being able to remember & trace it... impressive...
Thanks for your pointers.
I think the
input > process > output
Syntax is more powerful , since it would let you buil
> Since there have been python limmericks, are there any
> Python lullabies that I can sing to my newborn son
> (actually, born yesterday)? I tried to murmur some
> select parts from the tutorial, but he somehow wasn't
> very interested :)
Well, you might start with "Twinkle, Twinkle, Little
Ast
Wildemar Wildenburger wrote:
> I've noticed that I replied to individual posters' private addresses
> several times now ...
> So a quick note to the admin(s): see topic ;)
(Ab)using Reply-To like that is undeservedly controversial. See the section "The
Great Reply-To Debate" in Karl Fogel's book
[EMAIL PROTECTED] wrote:
> i would go thru it line by line, but i just dont know enough about C++,
> how it pulls off a socket connection, etc.. and some of the things i
> dont know how to do in python. like how to make an unsigned long init.
The networking code in C++ should be at least vaguely s
Tim Chase wrote:
> > Since there have been python limmericks, are there any
> > Python lullabies that I can sing to my newborn son
> > (actually, born yesterday)? I tried to murmur some
> > select parts from the tutorial, but he somehow wasn't
> > very interested :)
>
> Well, you might start with
For testing purposes I'm looking for a simple DAV server - best a python
thing serving a folder tree. Don't want to install/change/setup the
complex apache dav ..
Found PyDav http://www.econetwork.net/~jdavis/Software/PyDAV/readme.html,
but the package is old and (crucial) webdav.ini.template i
> I suspected. I've played with Linux distros, but never a Mac. That
> takes more $$ than M$, and Apple is even more proprietary than MS, if
> you ask me.
Depends. Sure, if you dive into Cocoa programming and stuff. But you have to
keep in mind that under the hood it's BSD - and even runs a X-Ser
>> I can't comment on this in general, but on the CCC (Chaos Communication
>> Congress, a Hacker-con) last year the notebook-distribution was like this:
Now THAT sounds like a fun event for a journalist to cover! I'll have
to look into that one.
Thanks
rick
--
http://mail.python.org/mailman/li
On Tue, 18 Apr 2006 07:07:27 -0500,
Tim Chase <[EMAIL PROTECTED]> wrote:
> >>> [horse for horse in horses if horse.pretty]
I'm familiar with this one as:
all(pony for pony in ponies if pony.pretty).
Never knew there was a version with "horse", not "pony". Jane Siberry
does a nice rendit
Not a lullaby, but appropriate near easter(s)
while 1:
life.side.bright.look()
--
Robin Becker
--
http://mail.python.org/mailman/listinfo/python-list
Zope presents objects/folders via WebDAV. It isn't "simple",
but it works and is a Python "thing".
On Windows you can get a demo of GroupDrive here:
http://www.webdrive.com/products/groupdrive/index.html
-Larry Bates
robert wrote:
> For testing purposes I'm looking for a simple DAV server - b
"Dustan" wrote:
> Howsabout this?
>
> >>> import this
> The Zen of Python, by Tim Peters
>
> Beautiful is better than ugly.
> Explicit is better than implicit.
> Simple is better than complex.
> Complex is better than complicated.
> Flat is better than nested.
> Sparse is better than dense.
> Read
Diez B. Roggisch <[EMAIL PROTECTED]> wrote:
> > I suspected. I've played with Linux distros, but never a Mac. That
> > takes more $$ than M$,
Find me a 2-kg, 5+ battery hours, well-heeled laptop (with wifi, 801b,
etc etc) below the $999 of the iBook G4... it's hard today, it was just
imposible b
BartlebyScrivener <[EMAIL PROTECTED]> wrote:
> >> If you are interested in a pure managed-code
> >> implementation of the Python language,
> >> you should check out the IronPython project
>
> There's the rub. I don't know what "pure managed-code" means. But I'll
You can find much material about
Dustan <[EMAIL PROTECTED]> wrote:
...
> Howsabout this?
>
>
> >>> import this
> The Zen of Python, by Tim Peters
>
> Beautiful is better than ugly.
...
Anna and I used it as one of our wedding's readings back in 2004
(together with other texts from Dickinson, Petrarca, Lucretius...) and I
--- bayerj <[EMAIL PROTECTED]> wrote:
> Hi,
>
> > 1 2 3 4 5
> > 0 7 8 9 10
> > 0 0 13 14 15
> > 0 0 0 19 20
> > 0 0 0 0 25
> > Look at the triangle represented by the non-zero
> > integers. This triangle is a binary tree if we
> take 5
> > as the root and w
On Windows the task scheduler tool can program (the BIOS?) to weak up
the machine from standby/hibernate at certain pre-configured times. Can
this be done directly through the (py)win32 API?
robert
--
http://mail.python.org/mailman/listinfo/python-list
> ...which is hardly "more proprietary than MS", anyway, since OpenStep
> does live, btw;-).
But certainly not PyObjc bindings for that :)
> For me, just like for most people I've discussed it with, the reasoning
> is similar. For example, Chip Turner (once of RedHat, and a major
> contributor
I am currently working in C# after I spent about 3 years almost only in
python, The way I see thinks is that for me we need interfaces in C# to
allow for flexibility in using OOP because we must only pass defined
and known types at all times so for us to have the flexibility of
passing either a Car
(OT) I don't have the same issue with Syntax highlighting, and I use
jEdit as my main Python editor (Though some of the dedicated Python
IDE's have some nice refactoring/code completion stuff, none has the
raw editing power of jEdit).
I'm using jEdit 4.3 pre3 - though I don't recall any problems w
Ive read a few comments, the usual about it being slower,sometimes vastly
slower than a C++ written item but I was wondering if its 'slow'
incomparison with what I need. I'm looking at taking two arrays of 12 bytes
over an ethernet connection, comparing them, recieving correction data
(single b
[EMAIL PROTECTED] wrote:
> Hey guys.
>
> I should warn you, first off, that I'm relatively new to Python.
> Basically, what I'm trying to do is create a word-wrapping function
> with the added complication that it add a character at the beginning
> and end of each line, so that it encloses the tex
> Here the error message:
Exception in thread Thread-1:
> Traceback (most recent call last):
> File "C:\Program Files\Python\lib\threading.py", line 442, in
> __bootstrap
> self.run()
> File "G:\Robot teleskop\VRT\test\test2.py", line 25, in run
> Document.OpenFile('F:/Images/VRT
How can i stop winpdb at a special point in a file?
I know that there is set_trace() in pdb which stops execution in the
debugger, but how to do this in winpdb?
Thanks for hints,
Uwe
--
http://mail.python.org/mailman/listinfo/python-list
Its the Java developer again...
I'm working on an application framework that I would like to implement
in Python. Part of the application framework is a plug-in model that is
similar to the one used in Eclipse.
Is it possible to load and use "modules" containing plug-in code
written by third part
In article <[EMAIL PROTECTED]>,
Roy Smith <[EMAIL PROTECTED]> wrote:
>In article <[EMAIL PROTECTED]>,
> [EMAIL PROTECTED] (Alex Martelli) wrote:
>>
>> Consider for example that one of the additions to Python 2.5 (currently
>> in alpha stage) is the inclusion in the Python standard library of
>>
[EMAIL PROTECTED] wrote:
>Its the Java developer again...
>
>I'm working on an application framework that I would like to implement
>in Python. Part of the application framework is a plug-in model that is
>similar to the one used in Eclipse.
>
>Is it possible to load and use "modules" containing p
I've updated PEP 359 with a bunch of the recent suggestions. The
patch is available at:
http://bugs.python.org/1472459
and I've pasted the full text below.
I've tried to be more explicit about the goals -- the make statement
is mostly syntactic sugar for::
class :
__metaclass__
Aahz wrote:
> In article <[EMAIL PROTECTED]>,
> Roy Smith <[EMAIL PROTECTED]> wrote:
>>Indeed, I think the inclusion of ctypes is far and away the most exciting
>>thing in 2.5.
>
> Really? More than pysqlite?
To me much more. After all, why would I need pysqlite if I use
PostgreSQL? ;-)
/me
[EMAIL PROTECTED] wrote:
> I'm coming from a Java background, so please don't stone me...
>
> I see that Python is missing "interfaces". The concept of an interface
> is a key to good programming design in Java, but I've read that they
> aren't really necessary in Python. I am wondering what techni
In article <[EMAIL PROTECTED]>,
Jorge Godoy <[EMAIL PROTECTED]> wrote:
>Aahz wrote:
>> In article <[EMAIL PROTECTED]>,
>> Roy Smith <[EMAIL PROTECTED]> wrote:
>>>
>>>Indeed, I think the inclusion of ctypes is far and away the most exciting
>>>thing in 2.5.
>>
>> Really? More than pysqlite?
>
>T
Aahz wrote:
> Heh. Since we're just finally turning in our 100% first draft of Python
> for Dummies, I tend to think more in terms of what a Python newbie will
> find useful. On that front, I think that pysqlite is much more
> important because it finally gets rid of the excuse for using Berkele
On Apr 18, 2006, at 9:58 AM, [EMAIL PROTECTED] wrote:
> Its the Java developer again...
>
> I'm working on an application framework that I would like to implement
> in Python. Part of the application framework is a plug-in model that is
> similar to the one used in Eclipse.
>
> Is it possible to
Christos Georgiou wrote:
> Since there have been python limmericks, are there any Python lullabies that
> I can sing to my newborn son (actually, born yesterday)? I tried to murmur
> some select parts from the tutorial, but he somehow wasn't very interested
> :)
There is something near the end of
In Chinese, we say "cutting Tofu". Cheese is really much harder to cut than
Tofu. :)
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of
Anthony Liu
Sent: Monday, April 17, 2006 8:44 PM
To: python-list@python.org
Subject: Re: Slicing matrix
Hi, James,
I just
[EMAIL PROTECTED] wrote:
> Is it possible to load and use "modules" containing plug-in code
> written by third party developers into a running instance of the
> framework? How would I do this? Do I need to "dynamically load" the
> module at runtime? (I will scan a folder in the application direcot
[EMAIL PROTECTED]:
>If it looks like a duck, and quacks like a duck, then for all practical
>purposes it supports the 'duck' interface.
The problem with that of course, is that there's much more to being a duck
than being called 'duck'.
public interface JarFile {
void explode();
}
public inte
Carl> class some_attribute:
Carl> __metaclass__ = PropertyMaker
Carl> def get(self):
Carl> whatever
Carl> def set(self,value):
Carl> whatever
Carl> But the thing is, if I did that, I'd be lying bastard With
Carl> the make statement,
I know this must have been answered a hundred times, but I must be
searching on the wrong terminology.
Let's say I have a module foo.py that imports os.
I make another script called bar.py that imports foo.py and now I want
to use, say, os.walk in bar.py.
Which is faster or more correct or whate
In article <[EMAIL PROTECTED]>, Aahz wrote:
> On that front, I think that pysqlite is much more important because
> it finally gets rid of the excuse for using Berkeley for simple
> database purposes.
Apologies if I'm being obtuse, but how does including the pysqlite
wrapper module change anything
Jon Ribbens wrote:
> Apologies if I'm being obtuse, but how does including the pysqlite
> wrapper module change anything? You still need to download and install
> SQLite
I'm pretty sure the distributors will do this for you, just as they've included
zlib, dbm, tcl/tk, openssl, and many other stan
This is quite possibly one of the funniest examples of how Duck Typing can break down that I have ever seen!On 4/18/06, Rene Pijlman <
[EMAIL PROTECTED]> wrote:
[EMAIL PROTECTED]:>If it looks like a duck, and quacks like a duck, then for all practical>purposes it supports the 'duck' interface.The p
Hi,
I need to get the date and time under Windows and Linux but need the
information visible to the user (cannot find my words) not the sytem
information (ex: a PC setup on greenwich but the date/time displayed are
relative to some other place.
Regards,
Philippe
--
http://mail.python.org/mailm
I've been reading up on them, but I don't quite understand how they
differ in practice. I know how each is implemented, and from C# I
already know what a static method is. But I won't assume that it's the
same in Python. And on top of that, both the class and static methods of
Python seem to do
Fredrik Lundh schrieb:
> Jonathan Daugherty wrote_
>
>> # In Python, you would simply call the functions you need. No need to
>> # make things that rigidly defined.
>>
>> Except when you need to handle exceptions when those methods don't
>> exist. I think interfaces can definitely be useful.
>
>
I've re-built an extension module (as a .dll) using the 2.5a1 release.
Unexpectedly, I'm not able to simply import it (not the way I can when
building it for 2.3). Using imp.load_dynamic() the import succeeds.
>>> import minx # Implemented in a .dll - fails
Traceback (most recent call last):
Roy Smith schrieb:
> Python is a very dynamic language. Java is a very static language.
What is the difference between "static" and "very static"? Is Java
more static than Fortran I? ;)
Peter Maas, Aachen
--
http://mail.python.org/mailman/listinfo/python-list
Philippe Martin wrote:
> Hi,
>
> I need to get the date and time under Windows and Linux but need the
> information visible to the user (cannot find my words) not the sytem
> information (ex: a PC setup on greenwich but the date/time displayed are
> relative to some other place.
Something like t
Rene Pijlman wrote:
> [EMAIL PROTECTED]:
> >If it looks like a duck, and quacks like a duck, then for all practical
> >purposes it supports the 'duck' interface.
>
> The problem with that of course, is that there's much more to being a duck
> than being called 'duck'.
>
> public interface JarFile
[EMAIL PROTECTED] wrote:
> I've re-built an extension module (as a .dll) using the 2.5a1 release.
> Unexpectedly, I'm not able to simply import it (not the way I can when
> building it for 2.3). Using imp.load_dynamic() the import succeeds.
>
import minx # Implemented in a .dll - fails
>
Christos Georgiou napisał(a):
> Since there have been python limmericks, are there any Python lullabies that
> I can sing to my newborn son (actually, born yesterday)? I tried to murmur
> some select parts from the tutorial, but he somehow wasn't very interested
> :)
Your son is too small to und
No redesign necessary. I simply make M be the Queue's mutex, via the
LQueue class I posted. I am making the modest suggestion that this
feature be documented and exposed in the Queue class.
--
http://mail.python.org/mailman/listinfo/python-list
Is there a list of all of the Python commands and modules that tell when
(what version) they were added to Python? I was hoping the new Essential
Reference would have it, but it doesn't.
Thanks!
Bob
--
http://mail.python.org/mailman/listinfo/python-list
Peter Maas <[EMAIL PROTECTED]> wrote:
> He probably means that with interfaces one could test compliance
> with the interface as a whole instead of testing each member and
> each signature as a single piece.
All interfaces (as implemented by Java) prove is that your class has a
bunch of methods w
[EMAIL PROTECTED] napisał(a):
> Is Python actively developed and supported on Linux? Would it be a
> viable option for cross-platform application development?
Yeas and yeas. Yeas. (That's how we pronounce "yes" here, in Poland,
East Europe).
> Can anyone recommend an open source IDE for Python t
Hi,
I'd like to be able to use python to control the mouse cursor in OS X.
( i.e. programmatically move it around, click things, etc...) Anyone
know the best way to do it on a Mac?
Thanks.
--
http://mail.python.org/mailman/listinfo/python-list
Jarek Zgoda wrote:
> [EMAIL PROTECTED] napisał(a):
>
>
>> Is Python actively developed and supported on Linux? Would it be a
>> viable option for cross-platform application development?
>>
>
> Yeas and yeas. Yeas. (That's how we pronounce "yes" here, in Poland,
> East Europe).
>
>
>> Can
In article <[EMAIL PROTECTED]>,
Jon Ribbens <[EMAIL PROTECTED]> wrote:
>In article <[EMAIL PROTECTED]>, Aahz wrote:
>>
>> On that front, I think that pysqlite is much more important because
>> it finally gets rid of the excuse for using Berkeley for simple
>> database purposes.
>
>Apologies if I'm
"Coyoteboy" <[EMAIL PROTECTED]> writes:
> Ive read a few comments, the usual about it being slower,sometimes vastly
> slower than a C++ written item but I was wondering if its 'slow'
> incomparison with what I need. I'm looking at taking two arrays of 12 bytes
> over an ethernet connection, com
I'm trying to hide my IP with the following code:
import urllib2
proxy=[urllib2.ProxyHandler({'http':'24.232.167.22:80'})]
opener=urllib2.build_opener(proxy)
f=opener.open('http://www.whatismyipaddress.com')
print f.read()
But that didn't work - my real IP showed up.
Then I made the following re
I am working on a script that splits a URL into a page and a url. The
examples below are the conditions I expect a user to pass to the
script. In all cases, "http://www.example.org/test/"; is the URL, and
the page comprises parts that have upper case letters (note, 5 & 6 are
the same as earlier exa
1 - 100 of 179 matches
Mail list logo