Jive wrote:
Why won't extensions compiled to run with 2.3 also work with 2.4?
I believe nobody has answered *this* question, yet:
Python extensions built for 2.3 link with python23.dll, Python
extensions build for 2.4 link with python24.dll.
pythonxy.dll has global variables, e.g. the pointers to
27;__module__', '__weakref__', '__doc__'] ) is copied
from the dict in to the wrapper class dict, which is initialized as
a clone of the object's class dict.
< wrapo.py >-
# wrapo.py -- wrapperclass factory and usage
Mike Meyer wrote:
> I don't know about wxPython, but PyQt includes it's own threading
> facility, plus hooks to talk to databases.
That would of course be a great argument if Python didn't already have
a threading facility, and a standard API for talking to databases with
implementations for all
"flamesrock" <[EMAIL PROTECTED]> wrote:
> As a newbie to the language, I have no idea where to start..please bare
> with me..
>
> The simcity 4 savegame file has a png image stored at the hex location
> 0x80. What I want to extract it and create a file with the .png
> extension in that directory.
Jive wrote:
The other
issue is that the interpreter and the extensions may be linked to
different versions of the Microsoft runtime.
Doesn't Microsoft have an answer for that?
Microsoft's answer to this question is: don't do that. Never
mix different versions of the CRT in a single application.
Th
Fredrik Lundh wrote:
I don't know about wxPython, but PyQt includes it's own threading
facility, plus hooks to talk to databases.
That would of course be a great argument if Python didn't already have
a threading facility, and a standard API for talking to databases with
implementations for all maj
"Martin v. Löwis" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> OTOH, people who only have VC6 just need to buy VS.NET 2003,
> which is still available.
I don't even know how to do that! :-) What's the difference between VC++
.net Standard and Visual Studio .net Pro? (Besides $3
Mentre io pensavo ad una intro simpatica "Phillip Bowden" scriveva:
> I feel that I've learned the language pretty well, but I'm having
> trouble thinking of a medium to large project to start. What are some
> projects that you have written in the past with Python?
Hmm I wrote this:
1) Interne
Grumman wrote:
I got this insane message, how did you solve this "problem" ?
running install
running build
running build_py
running build_ext
error: The .NET Framework SDK needs to be installed before building
extensions for Python.
-
Or does anyone know why i get this me
Nick Craig-Wood <[EMAIL PROTECTED]> wrote:
> Robert Kern <[EMAIL PROTECTED]> wrote:
> > Personally, I loathe writing at any length inside a Web browser and
> > prefer to use a real editor at all times.
>
> Me too! You need mozex...
>
>http://mozex.mozdev.org/
Here is a good page about
Hi,
I'm new to Python (1 week), but I'm writing an out-of-process debugger
for a Python ide. I tried execFile first, but stuff leaked over from
the wx libraries we are using. And, anyway, the next code set is PHP so
this has to be tackled anyway.
So, the question: How to communicate between two i
> This is probably so easy that I'll be embarrassed by the answer. While
> enhancing and refactoring some old code, I was just changing some map()s to
> list comprehensions, but I couldn't see any easy way to change a zip() to a
> list comprehension.Should I just let those sleeping dogs lie?
It's me wrote:
"It's me" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I am playing around with SWING building a Python module using the no
brainer
example in http://www.swig.org/tutorial.html. With that first example,
Oops! Soapy fingers. "SWIG" - not "SWING".
--
It's me.
I hav
Richie Hindle <[EMAIL PROTECTED]> writes:
> I'd be interested to know how many of these manuals you sell...? This is
> only idle curiosity, and if you don't want to say then that's no problem.
> (I'd briefly considered doing this myself, until I found your site.)
I sell about 10 python manuals p
In article <[EMAIL PROTECTED]>,
"Carl Banks" <[EMAIL PROTECTED]> wrote:
>
> Advancement: PYTHON
> Requires: Computers, Mythology
> Effect:
> * Increases revenue generated by capitalization by 300%
> * Makes two unhappy citizens happy
> * Renders all Wonders of the World in all other countries co
houbahop wrote:
def RAZVarAnimesDuJour(self,oSortiesAnimeTitreLabel):
for i in xrange(len(oSortiesAnimeTitreLabel)):
del oSortiesAnimeTitreLabel[i]
it doesn't emty my var (i don't want to destroy the var, just make it like
if it just have been created
Other posts are miss
Thank you everyone, but I still not understand why such a comon feature like
passing parameters byref that is present in most serious programming
languages is not possible in a clean way,here in python.
I have the habit to never use globals as far as possible and this involve
that my main functi
Jive wrote:
> "Martin v. Löwis" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > OTOH, people who only have VC6 just need to buy VS.NET 2003,
> > which is still available.
>
> I don't even know how to do that! :-) What's the difference between
VC++
> .net Standard and Visual Studi
houbahop wrote:
Thank you everyone, but I still not understand why such a comon feature like
passing parameters byref that is present in most serious programming
languages is not possible in a clean way,here in python.
I understand from this statement that Java is not a serious programming
langua
In article <[EMAIL PROTECTED]>,
"houbahop" wrote:
>Thank you everyone, but I still not understand why such a comon feature like
>passing parameters byref that is present in most serious programming
>languages is not possible in a clean way,here in python.
>
>I have the habit to never use globals a
"Matt" wrote:
> So, the question: How to communicate between two instances of the
> python interpreter? Specifically, I need to pass the api and objects
> from bdb, the base class for the debugger. One interpreter runs the
> ide, the other the debugger and client code. We were talking and just
> o
Check out the following link. It helped me achieve the same thing
(access a HTTPS site via a proxy).
http://groups.yahoo.com/group/linux-bangalore-programming/message/4208
Cheers,
Sandeep
http://sandeep.weblogs.us/
--
http://mail.python.org/mailman/listinfo/python-list
What you are looking for are 2 apps:
1) Something to freeze your application into something
that resembles an installation like what comes on commercial
applications. On Windows a popular choice is py2exe. All
dependent .py, .pyd, etc. files can be included in the
distribution. It also includes
Istvan Albert wrote:
[EMAIL PROTECTED] wrote:
it seems to be invalid syntax if I give "/a/b[0]" to the findall()
method. Does anyone know the correct syntax?
I think the proper mindset going in should be that
elementtree does not support xpath but that
there are some handy constructs that resemble
Gerhard Häring wrote:
MarcoL wrote:
I am a VB6 programmer and I would like to learn a new high level
language (instead of restarting from scratch with .NET), wich is
opensource and cross-platform, in order to develop cross-platform
business applications
Good for you! And Python is a good cho
phil wrote:
Well its an anomaly. I sent to bug list.
Probably never see it again.
I think some sort of semaphore thingy, which I know
nothing about, is sneaking in under unreproducible
conditions. I'm moving on.
If you want to try one more thing, try mucking with
a call to sys.setcheckinterval().
Daniel Bernhardt wrote:
> my thread calls a program with os.system().
>> os.system("/usr/bin/wine /path/to/ultima/online.exe")
in the example you included, you use execv. which one is it?
> Ultima Online is starting and i can enter commands and navigate through the
> game with my keyboard. If I
Fredrik Lundh wrote:
> in the example you included, you use execv. which one is it?
it should be system(). I just played a bit and forgot to change it back.
>
> just curious: do you really have to use a thread? why not just do
>
>os.system(command + "&")
>
No, i don't need to use a th
At the risk of beating a dead horse, but you really should consider
using SMTP instead if you are really going to be sending a lot
of messages. I think you will find it more reliable and much faster.
It also eliminates the need for ANY email client to be on the machine
that is sending the messages
Interesting.
I couldn't get the demo to work either by the way. A 404 error on the
tba file.
This is *similar* t oa project I'm about to release, Jalopy. Jalopy is
a collaborative website tool - allowing a team of people to work on a
website together. It uses Kupu as an online WYSIWYG HTML editor
Hi,
I am just starting to use Python. Does Python have all the regular
expression features of Perl?
Is Python missing any features available in Perl?
Thanks,
Michael
--
http://mail.python.org/mailman/listinfo/python-list
Michael McGarry <[EMAIL PROTECTED]> wrote:
> I am just starting to use Python. Does Python have all the regular
> expression features of Perl?
I can't vouch for "all", but the Python reference manual for the "re"
module (http://docs.python.org/lib/module-re.html) says, "This module
provides reg
O'Reilly has CD bookshelves http://cdbookshelves.oreilly.com/ ,
combining their books on a topic into a CD, for various subjects,
including Perl, but not yet for Python. I own the paper copies of
several of their Python books. A single CD containing their books
Jython Essentials
Learning Python, 2
David Fraser wrote:
So using MinGW seems like the better option ... is it working for Python
2.4?
Yes it does. :) I haven't tried it, but probably.
The problem with the toolkit is that mscvccompiler.py in distutils is
expecting VisualStudio to be installed, not the toolkit. So when it goes
to l
Fuzzyman wrote:
> Interesting.
>
> I couldn't get the demo to work either by the way. A 404 error on the
> tba file.
Bah. You must've looked after I switched fom .tba to .py
Try http://www.aminus.org/rbre/tibia/demo/tibia.py
> This is *similar* t oa project I'm about to release, Jalopy. Jalopy i
On the other hand, it can be annoying.
I can't use Python 2.4 right now because NumPy won't run. So, I need to
wait for NumPy to get updated.
Of course, one would say: but NumPy is open source, go build it yourself.
My answer is simple: If there are more then 24 hours to a day, I definitely
wou
Jarek Zgoda wrote:
Fredrik Lundh wrote:
I don't know about wxPython, but PyQt includes it's own threading
facility, plus hooks to talk to databases.
That would of course be a great argument if Python didn't already have
a threading facility, and a standard API for talking to databases with
implemen
Hi,
"Steven Bethard" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> houbahop wrote:
>> Thank you everyone, but I still not understand why such a comon feature
>> like passing parameters byref that is present in most serious programming
>> languages is not possible in a
Grumman wrote:
David Fraser wrote:
So using MinGW seems like the better option ... is it working for
Python 2.4?
...
Of course it'd be nice if msvccompiler.py just fell back to looking
for the toolkit/sdk default dirs (or looked them up via environment
vars, since the toolkit does include a vcv
houbahop wrote:
Passing a pointer by value appears to me as passing a var by reference.
Well, at least in the PL literature, there's a subtle difference. If
Python supported pass-by-reference, you could do something like:
>>> def clear(byref lst):
... lst = []
...
>>> x = [pow(x, 11, 17) for
"JanC" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Dmitry Borisov schreef:
>
> > It has something to deal with the VBR tags( XING header ).
>
> *If* there is a VBR tag (it's a custom extension) and *if* that VBR tag
> contains a correct value.
>
>
> --
> JanC
>
> "Be strict when
It's me wrote:
My answer is simple: If there are more then 24 hours to a day, I definitely
would...
Can we get a patch in for this?
>>> datetime.timedelta(hours=24) + datetime.timedelta(hours=1)
datetime.timedelta(1)
would be much preferable to the current:
>>> datetime.timedelta(hours=24) + dateti
houbahop wrote:
Hello again everyone ,
var2[:]=[] has solved my problem, and I don't understand why it is
programming by side effect.
I don't think it's bad, look at this, it's what I've done :
def Clear(lvar)
lvar[:]=[]
def main (starting class)
var1=[]
var1.append('a')
Clear(var1)
On Fri, 10 Dec 2004 16:18:51 -0600, phil <[EMAIL PROTECTED]> wrote:
>And sorry I got ticked, frustrating week
>
threading problems can do that ;-)
You are obviusly deeper into this than I can get from a cursory scan,
but I'll make some general debugging comments ;-)
> >And I could help more, bei
On Sat, 11 Dec 2004 01:28:45 -0600, Mike Meyer wrote:
> Actually, there's a problem on Unix that may not exist on
> Windows. Python is installed in /lib/python/. This
> lets us have multiple versions of Python installed at the same time,
> which is a good thing.
> ...
> The real solution is...
Int
Thank you Steven,
The funny thing is that I have taken a look at wikipedia just before to be
sure that I wasn't wrong :D
I agree with you about not making a clear function to just put what I've put
in my sample, but
this sample was more simple that what I really need for explaining purpose.
In r
Peter wrote:
Linux kernel 2.6.9
Slackware 10
Python version 2.3.4
wxPython version 2.4.2.4
I compiled and installed wxPython.
There is no uninstall script that I can find for the py components. The
library component has a make uninstall.
What is the proper way to uninstall packages? I searched ever
Hi,
The Python Software Foundation (PSF) board recently wrote up a licensing
FAQ that we hope will help to clear up some of the confusion that has
surrounded the PSF License. There are quite a few projects out there (on
Source Forge and otherwise) that misuse this license in ways potentially
detr
On Sat, 11 Dec 2004 20:32:30 +0100, Ivo Woltring <[EMAIL PROTECTED]>
wrote:
mmpython will help but not always.
Lets put it this way. I will ALWAYS read through the whole file. In that
order I don't mind evaluating each frame. The thing I don't seem to be
able
to find is the timelength-constants
Steven Bethard wrote:
>
> Of course, in this simple case, I wouldn't be likely to write the
clear
> function since the inline code is simpler and has less overhead:
>
> def main()
> var1 = []
> var1.append('a')
> var1[:] = []
Even less overhead: del var1[:]
--
http://mail.python.
Hi,
Is there a way to display how long a Win XP system has been up?
Somewhat analogous to the *nix uptime command.
Thanks,
Esmail
--
http://mail.python.org/mailman/listinfo/python-list
"Chris" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> My only problem is that when I call Resolve() and Send(), I get confirmation
> dialogs. I will be sending out quite a few e-mails
> at a time, and would rather not have the user have to click yes for every
> single one.
He
[EMAIL PROTECTED] wrote:
Christopher De Vries wrote:
Roy Smith already touched on regular expressions, but as far as
features go, I would say that the real difference between python and
perl is not in the features, but in the philosophy.
To help aid in this discussion, the following Python and Per
Esmail Bonakdarian wrote:
Hi,
Is there a way to display how long a Win XP system has been up?
Somewhat analogous to the *nix uptime command.
Thanks,
Esmail
I believe that "uptime" works from the console, but don't have a machine
to check it with...
--
http://mail.python.org/mailman/listinfo/python
The xsdbXML framework provides a flexible and well defined infrastructure to allow tabular data to be published, retrieved, and combined over the Internet.
It's a little bit like the daughter of the Gadfly SQL engine in the buff, on steroids. This is a major departure from the previous releases
phil wrote:
> And sorry I got ticked, frustrating week
>
> >And I could help more, being fairly experienced with
> >threading issues and race conditions and such, but
> >as I tried to indicate in the first place, you've
> >provided next to no useful (IMHO) information to
> >let anyone help y
"Larry Bates" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> At the risk of beating a dead horse, but you really should consider
> using SMTP instead if you are really going to be sending a lot
> of messages.
The problem is that doesn't work in more complicated configurations
such
Thank you. That's exactly what I needed.
--
http://mail.python.org/mailman/listinfo/python-list
Robert Brewer wrote:
> Fuzzyman wrote:
> > Interesting.
> >
> > I couldn't get the demo to work either by the way. A 404 error on
the
> > tba file.
>
> Bah. You must've looked after I switched fom .tba to .py
> Try http://www.aminus.org/rbre/tibia/demo/tibia.py
>
Yup - after the change and before
Tom Wesley wrote:
Esmail Bonakdarian wrote:
Hi,
Is there a way to display how long a Win XP system has been up?
Somewhat analogous to the *nix uptime command.
Thanks,
Esmail
I believe that "uptime" works from the console, but don't have a machine
to check it with...
Doesn't work for me, but if yo
"Dennis Lee Bieber" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> On Sat, 11 Dec 2004 12:43:01 GMT, "houbahop" me)@chello.fr> declaimed the following in comp.lang.python:
>
>> Thank you everyone, but I still not understand why such a comon feature
>> like
>> passing p
Hi,
I have used VB6 a lot too and Python appears to me as a good alternative to
.net too, but
the thing that will do the difference is the GUI... I hope the ones for
Python are beautifull enough as appearence is an important thing to me in
softwares.
D.
"MarcoL" <[EMAIL PROTECTED]> a écrit dans
Mike C. Fletcher wrote:
Which is what the patch here:
http://www.vrplumber.com/programming/mstoolkit/
does.
Has that patch been posted to Python's SourceForge patch tracker? I think the
distutils folks will be interested.
Cheers,
Nick.
--
Nick Coghlan | [EMAIL PROTECTED] | Brisbane, Au
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
[Peter Otten]
> What I believe to be a minimal example:
>
>
> import Queue
> import threading
> import time
>
> q = Queue.Queue(4)
>
> def proc():
>while True:
>q.get(1)
>Queue.Queue()
>print "YADDA"
>
> threading.Thread(target=proc).start()
>
> while True:
>pri
Nick Patavalis wrote:
Why does the following print "0 0" instead of "0 1"? What is the
canonical way to rewrite it in order to get what I obviously expect?
class C(object):
value = property(get_value, set_value)
class CC(C):
def set_value(self, val):
c.value = -1
cc.value =
Here's what I'm trying to do:
- scrape some html content from various sources
The issue I'm running to:
- some of the sources have incorrectly encoded characters... for
example, cp1252 curly quotes that were likely the result of the author
copying and pasting content from Word
I've searched an
Hi,
Are there hashes in Python?
Michael
--
http://mail.python.org/mailman/listinfo/python-list
Tom Wesley wrote:
Esmail Bonakdarian wrote:
Is there a way to display how long a Win XP system has been up?
Somewhat analogous to the *nix uptime command.
I believe that "uptime" works from the console, but don't have a machine
to check it with...
Microsoft Windows XP [Version 5.1.2600]
(C) Copyri
Michael McGarry wrote:
Are there hashes in Python?
Define hash. Or look at Python's 'dict' type, or the hash()
function and decide for yourself if that's what you meant.
-Peter
--
http://mail.python.org/mailman/listinfo/python-list
Mike C. Fletcher wrote:
Grumman wrote:
Of course it'd be nice if msvccompiler.py just fell back to looking
for the toolkit/sdk default dirs (or looked them up via environment
vars, since the toolkit does include a vcvars32.bat that sets
appropriate ones) if the VS lookup failed.
Which is what t
Peter Hansen wrote:
Michael McGarry wrote:
Are there hashes in Python?
Define hash. Or look at Python's 'dict' type, or the hash()
function and decide for yourself if that's what you meant.
-Peter
Yes, I guess the dict type is what I am looking for.
Thank you,
Michael
--
http://mail.python.org/ma
Jive wrote:
> 4) Buy a copy of the VC++ 7.1 and port Numeric myself. (I still don't
> know what to buy from Mr. Gates -- VC++ .net Standard?)
VC++ 7.1, the compiler/linker, is a free download. Google for "VC toolkit". You
won't get the fancy IDE and stuff, but you have everything you need to bui
Giovanni Bajo wrote:
Jive wrote:
4) Buy a copy of the VC++ 7.1 and port Numeric myself. (I still don't
know what to buy from Mr. Gates -- VC++ .net Standard?)
The cheapest version should be fine (Python doesn't rely on anything fancy - the
command line tools are the main things it needs).
VC++ 7
JanC <[EMAIL PROTECTED]> wrote:
>Fuzzyman schreef:
>
>> On the other hand the microsoft
>> compiler is *better* than gcc anyway :-)
>
>It's better at optimising, but it doesn't support standard C & C++. ;-)
I don't think that's fair. Visual C++ 7.1 is signficantly better at
compliance than thei
Jive wrote:
> Here's my sitch:
>
> I use gnuplot.py at work, platform Win32. I want to upgrade to
Python 2.4.
> Gnuplot.py uses extension module Numeric. Numeric is now
"unsupported."
> The documentation says "If you are new to Numerical Python, please
use
> Numarray.". It's not that easy, dang
IIRC, i think it's part of the powertools or IT Toolkit
Peter Hansen said:
> Tom Wesley wrote:
>> Esmail Bonakdarian wrote:
>>
>>> Is there a way to display how long a Win XP system has been up?
>>> Somewhat analogous to the *nix uptime command.
>>
>> I believe that "uptime" works from the console
"Fredrik Lundh" <[EMAIL PROTECTED]> writes:
> Mike Meyer wrote:
>> It also has a widget for creating Windows "wizards" for walking
>> through a set of options.
> Besides the fact that wizards isn't really that great (read Cooper), if your
> toolkit doesn't let you create a dialogue with a couple o
"John Machin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Why do you want to "upgrade to 2.4"? What do you mean by "upgrade to 2.4"?
Well, for one thing, when I previously installed and then uninstalled 2.4,
pythonwin broke, and neither I nor the win32 gurus can figure out what
Jive wrote:
Here's my sitch:
I use gnuplot.py at work, platform Win32. I want to upgrade to Python 2.4.
Gnuplot.py uses extension module Numeric. Numeric is now "unsupported."
The documentation says "If you are new to Numerical Python, please use
Numarray.". It's not that easy, dangit. The down
Here's my sitch:
I use gnuplot.py at work, platform Win32. I want to upgrade to Python 2.4.
Gnuplot.py uses extension module Numeric. Numeric is now "unsupported."
The documentation says "If you are new to Numerical Python, please use
Numarray.". It's not that easy, dangit. The download page f
Hello!!
how can i remove a child in DOM ?
for example, i have thi xml below:
juliano
and i want to remove the element:
how can i do this??
Juliano Freitas
--
http://mail.python.org/mailman/listinfo/python-list
Esmail Bonakdarian wrote:
Hi,
Is there a way to display how long a Win XP system has been up?
Somewhat analogous to the *nix uptime command.
Thanks,
Esmail
It's included in the output of the 'systeminfo' command. That command is fairly
slow, though (since it displays a lot more than just the up ti
Jive wrote:
"John Machin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Why do you want to "upgrade to 2.4"? What do you mean by "upgrade to 2.4"?
Well, for one thing, when I previously installed and then uninstalled 2.4,
pythonwin broke, and neither I nor the win32 gurus can figure
Jive wrote:
> "John Machin" <[EMAIL PROTECTED]> wrote in message
> news:[EMAIL PROTECTED]
> > Why do you want to "upgrade to 2.4"? What do you mean by "upgrade
to 2.4"?
>
> Well, for one thing, when I previously installed and then uninstalled
2.4,
> pythonwin broke, and neither I nor the win32 gur
Error in msvc in building inheritance.obj to build hello.pyd
Hello,
I am trying to build the boost 1.31.0 sample extension hello.cpp.
I can not compile the file inheritance.cpp because the two
files containing some templates: adjacency_list.hpp and mem_fn.hpp can
not compile.
Does anyone have an
A useful feature that is a logical extension of current '-m' behaviour.
(I'm actually surprised it was left out in the first place)
This will definitely allow me and other python programmers to package
our scripts better
Sounds Good to me. (-;
Thank you for the PEP
AK
--
http://mail.python.or
I use msvc 6.0 too, but my boost.python version is 1.32.0 , and i
didn't get error to compile the hello.pyd with the msvc6 IDE, the
hello demo from boost.python is compile with jam.
would you try to use boost.python 1.32.0 if no compatible problem
--
http://mail.python.org/mailman/listinfo/pyt
Donne Leen,
Thanks, thats a very good solution. I am glad to hear that the later
solution works for you.
I will try to get the 1.32.0 source Monday. I will try to compile
again next week.
Andre Mikulec
AIM
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
A useful feature that is a logical extension of current '-m' behaviour.
(I'm actually surprised it was left out in the first place)
That seems to be a common reaction :)
It was dropped for 2.4 because I wasn't sure exactly how it should work, and 2.4
was already in beta at
Hi,
As a newbie to the language, I have no idea where to start..please bare
with me..
The simcity 4 savegame file has a png image stored at the hex location
0x80. What I want to extract it and create a file with the .png
extension in that directory.
Can somebody explain with a snippet of code ho
Jeremy Sanders wrote:
Hi -
I'd like to write a program which basically does a few snmpgets. I haven't
been able to find a python package which gives you a nice high-level and
simple way of doing this (like PHP has). Everything appears to be
extremely low level. All I need is SNMPv1.
Does anyone kno
> So, the question: How to communicate between two instances of the
> python interpreter? Specifically, I need to pass the api and objects
> from bdb, the base class for the debugger. One interpreter runs the
> ide, the other the debugger and client code. We were talking and just
> opening a socke
Linux kernel 2.6.9
Slackware 10
Python version 2.3.4
wxPython version 2.4.2.4
I compiled and installed wxPython.
There is no uninstall script that I can find for the py components. The
library component has a make uninstall.
What is the proper way to uninstall packages? I searched everywhere, bu
somewhat related .. is there a good quick reference for python?
o'reilly has a quick ref guide 2nd ed is a few years old, and
the ones i have found on-line seem a bit big. I am looking for
something relatively concise that I can carry with me ... not
sure such a thing exists?
thanks.
--
http://mail
Hello,
my thread calls a program with os.system().
> os.system("/usr/bin/wine /path/to/ultima/online.exe")
Ultima Online is starting and i can enter commands and navigate through the
game with my keyboard. If I move the mouse over the Ultima Online window
Ultima Online crashes. (the mouse just ne
Hello Fred,
I just ran across your question. I think that the following
code will work:
- SERVER CODE --
import SocketServer
import time
class GreetingHandler(SocketServer.BaseRequestHandler):
'''Class to handle sending a greeting to a client
'''
def handle(self):
Roy Smith already touched on regular expressions, but as far as
features go, I would say that the real difference between python and
perl is not in the features, but in the philosophy. It seems to me that
any program you can write in python could also be written in perl. What
it comes down to for m
Whether SWIG will work in a "no brainer" way or not depends on the original
code, I think. If the original code uses a very convoluted design, of
course things will get hairy. If the package uses a very clean structure,
I think you will find SWIG works out very nicely.
The intriguing things is,
> Thanks I will try all of that, but what does really means mutating in
> python? It's the first time I hear this word in programming :))
An object is called mutable if you can alter it - immutable otherwise. In
java and python e.g. strings are immutable. In python, tuples are
immutable:
>>> a =
1 - 100 of 109 matches
Mail list logo