linuxfreak enlightened us with:
> How about sending an ICMP echo packet to your broadcast address and
> checking which hosts send a reply
Won't work on all boxes. Windows boxes ignore broadcast pings, for
example.
I'd go for a call to "nmap -sP" instead, and filter it's output.
Sybren
--
The pr
linuxfreak enlightened us with:
> Has anyone installed wxPython on Fedora Core 4. Apparently it need
> the libstdc++.so.5 file while Fedora installs the newer
> libstdc++.so.6 [...] Fedora does not allow multiple versions of the
> same file.
Try Ubuntu Linux, which does allow having libstdc++.so.5
Peter Tillotson enlightened us with:
> You could use a sniffer in promiscuous mode. pypcap -- or something
> like. This will record every packet seen by your network card.
> Whether is will work depends on whether you are on a true braodcast
> network.
That's not going to work on a switched networ
Christophe Lambin enlightened us with:
> However, since your wxPython package wasn't built for FC4, you may
> run into other problems.
That should be solved by recompiling the wxPython RPMs.
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for st
Rob Cowie enlightened us with:
> I need to create a planner/calendar system using python cgi scripts.
> It is my first CGI app (beyond a few tutorial examples).
Are you sure you want to use CGI? I'd go for mod_python instead if at
all possible, since that'll give you a much better performance.
>
rock69 enlightened us with:
> I was wondering if there's some neat and easy way to get the entire
> contents of a directory at a specific web url address. [...] Is it
> possible to retrieve this list (not the physical files) and have it
> stored in a variable of type list or something?
Check out t
Anton Vredegoor enlightened us with:
> Some time ago I started a thread about it.(Google won't let me reply
> to older topics so I'm starting a new topic with the same title)
Why not use a proper Usenet client?
> A few days ago I found a Jython console applet that can be run from
> a webpage:
Ni
Robert Kern enlightened us with:
> Because he's on a public computer without one installed?
Guess it's time someone wrote a good Usenet client in a Jython applet
;-)
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we
Paul D.Smith enlightened us with:
> The background is that I've inherited some historical Python scripts
> that need to be configured from a bash shell script [...] instead of
> the existing Pything config script. [...] The problem is that this
> config file is almost certainly not complete [...] a
phil hunt enlightened us with:
> I thought it was the whole point of XMLRPC that the server can be
> written in one language and the client in another. Am I wrong?
It is, but not all SOAP libs really support the standard.
Sybren
--
The problem with the world is stupidity. Not saying there should
Dragonfly enlightened us with:
> Do you have a python lesson book in dutch version on your site?
I'd suggest learning English. The programming language is based on
English anyway. Besides, everybody in The Netherlands learns English
at school.
Sybren
--
The problem with the world is stupidity. N
Sybren Stuvel enlightened us with:
> I'd suggest learning English. The programming language is based on
> English anyway. Besides, everybody in The Netherlands learns English
> at school.
Sorry, not a really helpful answer. There is plenty of docs in Dutch,
which is of no surprise
Will McGugan enlightened us with:
> Because I can create software many times faster. And its more fun.
Same here. And because it's very easy to write unittests, for
instance.
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why
Antoon Pardon enlightened us with:
> The problem with interpreting empty as false is that empty just
> means no data now. But no data now can mean no data yet or it can
> mean no more data. The problem is not so much as having empty
> interpreted as false but that people don't seem to think about w
Layin'_Low enlightened us with:
> count = 0
> while count != 1000:
> count = count + 1
> print "Admin forceclass " , count , gclas
I think you want:
output = file('out', 'w')
gclas = raw_input("What is the class:")
for count in range(1000):
output.write("Admin forceclass %4i %s\n"
Randy Bush enlightened us with:
> hold = self.next
> self.next = DaClass(value)
> self.next.next = hold
shouldn't that last line be this?
self.next.prev = hold
> but i suspect (from print statement insertions) that the result is
> not as i expect.
What did you expect, and wha
Eli Stevens (WG.c) enlightened us with:
> I've bumped into some snags with pyperl (can't import perl2.so? But
> it's right there in site-packages/ !), and I'm wondering if it's bitrot
> or a config error on my end.
If the .so file is as old as you described, it's probably linked to an
old versi
Mohammed Altaj enlightened us with:
> I managed to do all these things , but i did it in the way that i am
> reading my data as strings ( no space between numbers)
Keep the spaces, and use thestring.split()
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital p
Mohammed Altaj enlightened us with:
> Thanks a lot for your valuable answer, i like the way you code , but
> i would like to use my own,
You don't learn to code properly if you always stick to your own
stuff...
> so if it is possible for you and if you have time, please could you
> fix my code, s
max(01)* enlightened us with:
> but i need to check the success/failure of the external command
> *before* closing the file!
You can't, unless you have a more intimite knowledge of the command
involved. If you know, for instance, that any output on stderr means
an error, you can check for just tha
nicolas_riesch enlightened us with:
> I notice that variables outside functions keep their value across
> queries. I don't know if it is normal.
I think it's normal.
> To be sure, I tried a similar asp script written in VB script, and I
> can see that in VBscript, variables at this same level AR
McBooCzech enlightened us with:
> This (according to your suggestions) is my code which works for me
>
> import serial
> s = serial.Serial(port=0,baudrate=4800, timeout=20)
> while 1:
> line = s.readline()
> words = line.split(',')
> if words[0]=="$GPRMC":
> print wo
Martin P. Hellwig enlightened us with:
> Personal transportation sucks in the Netherlands, if you live in the
> Randstad (the area of the above mentioned cities) and you have to
> travel across the Randstad, you go with the bike and/or
> bus/tram/metro/train because that is the fastest way of
> tra
Adriaan Renting enlightened us with:
> A lot of my foreign collegues commplain about how rude the dutch can
> be. Countries like sweden or japan seem to have much better
> manners.
I also think the Dutch aren't all that communicative. I was queueing
in a store when they announced to have the new
James enlightened us with:
> One does not compare speed when they use Perl/Python/Ruby/Tcl. They
> are all more or less in the same performance ball park.
I don't want to offend you or anything, but doesn't the second
sentence mean that someone DID do a speed comparison?
Sybren
--
The problem wi
Yoav enlightened us with:
> I am trying the following:
>
> re.search(r'\\[^"\\]+(?=("?$))', "c:\ret_files")
>
> and I get a return of NoneType, and I have no idea why.
Because you don't match a carriage return "\r".
> I know that I missing something here, but I really can't figure out
> why (I be
Nx enlightened us with:
> I am unpacking a list into variables, for some reason they need to
> be unpacked into variable names like a0,a1,a2upto aN whatever is
> in the list.
You're probably doing things the wrong way. What is your ultimate goal
with this? There is probably a better way of doi
Peter Hansen enlightened us with:
> Yes, and has shown that they are in the same ballpark, and therefore
> one does not _need_ to compare speed any more.
Ok. I'd worded it as "there have been tests already, so there is no
need to do your own", instead of "one does not test".
Sybren
--
The proble
Wouter van Ooijen (www.voti.nl) enlightened us with:
>>True. Unless you have two proper locks. In that case your bike will
>>last a very long time.
>
> Nope. You will probably retrieve your two locks from the fencing you
> attached them to (if you did!), with your bike gone.
That's not my experien
Martin P. Hellwig enlightened us with:
> Yes it is, and it sucks too
In Amsterdam, it's the best way to go.
> or do you find it amusing to ride 15 clicks through rain and wind to
> get to your clients?
Makes a man out of you ;-) Of course, rain sucks, but as long as it's
not raining too hard it'
Jon Hewer enlightened us with:
> Areas of interested include AI, distributed systems. Most of all i
> want something that is interesting, and actually useful (thats
> probably stating the obvious!)
You could help developing Dynamite (contact Dick van Albada from the
University of Amsterdam for th
Bryan Olson enlightened us with:
> I recently wrote a module supporting value-shared slicing.
Maybe I'm dumb, but could you explain this concept? Why would someone
whant this?
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but wh
chris patton enlightened us with:
> I need to convert a python file to an '.exe'. I've tried py2exe, and
> I don't like it because you have to include that huge dll and
> libraries.
Then what would you expect? The whole Python interpreter is needed if
you want to run Python programs. It's more a s
APCass enlightened us with:
> How do you execute a .py in Linux with KDE? If I double click on my
> program it opens Kwrite, for editing.
Make it executable (properties, permissions, executable). Make sure it
has #!/usr/bin/python as the first line.
Sybren
--
The problem with the world is stupi
praba kar enlightened us with:
> This code will build plain email message properly.
It's not a plain email message. It's an html email without a plain
text part. Highly annoying to many people.
> But after building the message. If a email user download this mail
> through out look express then t
Steve Holden enlightened us with:
> It's obvious you aren't using that EXACT code, because it doesn't
> formulate a three-paragraph message. So the bit we really need to
> see is how you capture and formulate the argument to set_payload().
I'd rather see what I asked for, which is the output of
ms
Rex Eastbourne enlightened us with:
> Are there any Bicycle Repair Man users here?
I am.
> I recently got PyDev for Eclipse, which comes with BRM.
I use it from VIM.
> I am disappointed with what I've seen, although I'm not sure if I'm
> using its full functionality.
Why would it need more fun
Bryan Olson enlightened us with:
> I don't see any need to look beyond Python for a good example of
> poor documentation. Are there serious Python programmers who don't
> constantly struggle with errors and omissions in the doc?
I don't have any problems with the documentation. It just works for
Xah Lee enlightened us with:
> but after a minute of scanning, please someone tell me what the fuck
> is it talking about?
How difficult is it? The first line of the Gzip class explains it all
to me: "Constructor for the GzipFile class, which simulates most of
the methods of a file object"
Sybren
Bryan Olson enlightened us with:
> > Why don't you help us by improving the documentation?
>
> Workin' on it.
That's all I needed to know ;-)
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety la
DENG enlightened us with:
> i use SGMLParser to process HTML files, in order to do some
> optimizations,
>
> something like this:
>
>TEXT1TEXT2
>
> optimise to
>
>TEXT1TEXT2
Why not optimize it to:
TEXT1
TEXT2?
> [ snipped stuff about tags ]
If you're serious about using HTML, I suggest you re
Steve Holden enlightened us with:
> [about Americans]
> Personally I find that most individuals, no matter how misguided,
> have their hearts in the right place.
Same here. Then again, I might have just met the smart ones who were
visiting Europe.
Just kidding!
Sybren
--
The problem with th
Lad enlightened us with:
> I would like to make in my web application a similar navigation like
> Google uses, I mean at the bottom of each page there are numbers of
> returned pages after you search query. Has anyone tried that? Is
> there an algorithm for that? I do not want to re-invent the wh
Rick Wotnaz enlightened us with:
> That is, a reference to xxx.func(), without a previous import of xxx
> *could* be resolvable automatically, at least for those modules that
> can be found in a standard location.
-1 on that one. If I want to use a module, I'll write an import
statement for it. Th
Laszlo Zsolt Nagy enlightened us with:
> I wrote a small program that lists all of my modules after the
> cli. Something like this:
>
> cli.py --html --inheritance=grouped module1.py module2.py module3.py
> ..
>
> The problem is that now I have so many modules that the shell
> (cmd.exe) can
talin at acm dot org enlightened us with:
> I'd be sad to see the notion of "anonymous functions" go
Same here. I think it's a beautyful concept, and very powerful. It
also allows for dynamic function creation in cases where a name would
not be available.
> What about passing an anonymous functio
Leif K-Brooks enlightened us with:
>> It also allows for dynamic function creation in cases where a name
>> would not be available.
>
> What cases are those?
An example:
def generate_randomizer(n, m):
randomizer = def(x):
return x ** n % m
return randomizer
Sybren
--
The proble
Paul Rubin enlightened us with:
> You're a little bit confused; "name" doesn't necessarily mean
> "persistent name".
Wonderful. Another feature added to Python (that is: the Python
version in my mind ;-) without the need to add any features to Python
(that is: the real Python)
Thanks!
Sybren
--
Terry Reedy enlightened us with:
> Are you claiming that including a reference to the more humanly readable
> representation of a function (its source code) somehow detracts from the
> beauty of the function concept?
Nope.
> Or are you claiming that binding a function to a name rather than
> so
Hi people,
I'm creating a program that can solve and create Sudoku puzzles. My
creation function needs to make a lot of copies of a puzzle. Until
now, I used copy.deepcopy(), but that's too slow. I want to implement
such a copying function in C and use that instead. My idea about this
is:
- Get t
djw enlightened us with:
> Personally, I would try Psyco first, and consider Pyrex next.
Ok, I'll take a look at those.
> Are you sure your algorithm can't be optimized first, before you
> start trying to write this in C?
I'm sure there will be optimizations, but profiling showed that the
copyin
phil hunt enlightened us with:
> Why do you need to maske lots of copies?
The puzzles are stored in a NxN list of strings. The strings contain
all the numerals that that block can contain. So a 9x9 puzzle contains
81 strings "123456789" when it's "empty".
My creation function picks a block that i
Ken Seehart enlightened us with:
> Hello. Where might I find python binaries for ARM7 (Linux 2.4)?
Check http://www.vanille.de/projects/python.spy
> If I absolutely have to build my own python, I would probably use a
> cygwin (or maybe linux) cross-compiler for ARM7, but that seems like a
> daun
Ken Seehart enlightened us with:
> 1. How do I know whether to use sharprom or modern?
If it works, use it.
> 2. What do I do with ipk files? I surfed around and found that in
> one example, the command is "ipkg install foo.ipk", but ipkg doesn't
> seem to exist on my hardware.
ipkg doesn't hav
Ken Seehart enlightened us with:
> I could try to unpack them on another (non-ARM7) linux box and then
> move the files over to the ARM7 device.
Yep, that should work.
> Better yet, can I unpack them on windows XP somehow?
Don't know.
> If for some reason that is not possible, i suppose my next
le dahut enlightened us with:
> Is there a way to get network parameters (number of network
> interfaces, ip address(es), DNS, gateway) on a linux station using
> python 2.3 ?
Sure.
- number of network interfaces, ip address(es), gateway: read from /proc
- DNS: read /etc/resolv.conf
Sybren
--
T
Johnny Lee enlightened us with:
> Why the prompt followed after the output? Maybe it's not as
> expected.
Because it did what you ask of it: write "012" to stdout, and nothing
else. Hence, no newline at the end, hence the prompt is on the same
line.
Sybren
--
The problem with the world is stupid
Terry Hancock enlightened us with:
> This is ludicrous sophistry. The technical reason for having ANY high
> level languages is "psychological". Computers are happier with binary
> code, over ANY language that must be interpreted.
Computers aren't happy. They couldn't care less about the programm
Ernesto enlightened us with:
> What's the best resource for finding out how to write a wrapper
> module for a shared library file *.so* in Linux?
The extension documentation on the python website.
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment
Hi all,
I'm trying to make a float-like class (preferably a subclass of
'float') that wraps around. The background: I'm modeling a
multi-dimensional space, and some of those dimensions are circular.
Here is my code so far:
class WrapFloat(float):
def __init__(self, value, wrap = None):
phil hunt enlightened us with:
> If a program is too slow to respond isn't that about "system time"?
Not by definition. Could be anything. If it's slow to respond due to a
slow harddisk, then you're right. If it's slow to respond due to not
putting the I/O and the GUI main loop in different thread
Maurice LING enlightened us with:
> So, at the end of run(), what happens to the thread? Just die?
Yep.
> While I am on it, can threading.Thread.run() accept any parameters?
Nope. Pass them to the constructor and remember them.
> class myThread(threading.Thread):
> def __init__(self, func)
Bas enlightened us with:
> I came across some of these online sudoku games and thought after
> playing a game or two that I'd better waste my time writing a solver
> than play the game itself any longer. I managed to write a pretty
> dumb brute force solver that can at least solve the easy cases
>
Bengt Richter enlightened us with:
> Float is an immutable, so you need to override __new__
Thanks, that works!
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let
keithlackey enlightened us with:
> def __init__(self, folders = []):
> self.folders = folders
Read all about this very common mistake at
http://docs.python.org/tut/node6.html#SECTION00671
> def add_folder(self, folder):
> self.folders.append
Efrat Regev enlightened us with:
>My question is, therefore, if I can build ctypes locally. I tried
>
> rpm -i python-ctypes-0.9.1-1.rf.src.rpm
That _installs_ the source package, not build it as you intended. Read
the RPM manual:
rpm --rebuild python-ctypes-0.9.1-1.rf.src.rpm
Sybren
--
The
Rob Cowie enlightened us with:
> Ok, I know see that os.spawnl() will suffice. However, how do I
> retrieve the output of the command.
Apparently, os.spawnl() didn't suffice. Check out the popen2 module
and Popen* classes.
Sybren
--
The problem with the world is stupidity. Not saying there shoul
vinjvinj enlightened us with:
> I haven't used an IDE in a long time but gave wing ide a try because
> I wanted the same development platform on Linux and Windows.
I use gvim for that :)
> - Ability to double click on the project plan and it hides and you
> double click on it and it becomes visab
Claudio Grondi enlightened us with:
> With [Strg]-[End] I went to the end of the file where I wanted to
> continue editing, but the syntax highlighting told me there is no
> code but only a comment. I checked it and found out, that Vim is
> apparently not able to do proper highlighting when jumping
Claudio Grondi enlightened us with:
> The file I was editing was just 22 KByte large having 450 lines, so
> you try here to explain to me, that for speed reasons Vim has to cut
> it into pieces?
Yep.
> Stani SPE based on Scintilla does it right, UltraEdit does it right,
> Wing does it right, so w
Sybren Stuvel enlightened us with:
> SPE is already annoying because of all the new windows it opens...
> Not a good start. I remember using it before, to check out the
> Blender integration. Unfortunately, that didn't work. I'll give it
> another go.
I downloaded it, tr
ninhenzo64 enlightened us with:
> The variable PYTHONPATH doesn't seem to exist.
Yet it is the one you should use. It's got the same syntax as the
regular PATH variable.
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don'
[EMAIL PROTECTED] enlightened us with:
> Found an earlier thread that answered my question:
Good for you.
I often want only one or two levels of indentation at maximum. This
ensures not all if/while/for etc. blocks are indented. Most of my
python files either contain classes (max indent 2) or onl
[EMAIL PROTECTED] enlightened us with:
> The aim of the project is to create a web application framework. The
> API of PyHtmlGUI wants to be close to Trolltechs famous Qt API but
> incooperates the idea of a text based renderengine instead of the
> pixel based one. The obviouse target is html/css b
[EMAIL PROTECTED] enlightened us with:
> the idea of pyhtmlgui is that you can develop a web application the
> same way like a standard gui application. So what you get is a
> widget tree (buttons, forms, title bars, etc.) on the server side
> and a gui on the client side.
Ah, okay - it's the othe
[EMAIL PROTECTED] enlightened us with:
> At the moment we don't work with javascript. But it should not be to
> hard to create a JavaScript Renderer similar to the css one we already
> have.
Isn't CSS for rendering, and JavaScript for client-side scripting?
Sybren
--
The problem with the world i
[EMAIL PROTECTED] enlightened us with:
> I'm one of those people who, for better or worse, is a good speller.
> Words just look right or wrong to me and it bothers me when they
> look wrong.
Same here. I have to use code that has "childs" instead of
"children"... I also can't stand "then" vs "than
[EMAIL PROTECTED] enlightened us with:
> Terry> But not faster than use a dict server! Why not just use (e.g.)
> Terry> kdict?
>
> Maybe because not everybody has it?
Lame excuse. If you don't have something but you do want to use it,
you get it. If everybody just used what they had at one point
Walter S. Leipold enlightened us with:
> [Gee, I hope their were no spelling misteaks inn that paragraph...]
It should be "where"
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but wh
beza1e1 enlightened us with:
> Is there a library which can parse strings and output a datetime
> object?
If you're happy with a mx.DateTime object, take a look at its parser.
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but wh
Xavier Morel enlightened us with:
> 1- The unit test will obviously fail in this case, telling you in
> which code unit the issue is
Given the assumption the same mistake hasn't been made in the test as
well.
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capital
Darren Dale enlightened us with:
> I would like to test that latex is installed on a windows, mac or linux
> machine. What is the best way to do this? This should work:
>
> if os.system('latex -v'):
> print 'please install latex'
The downside is that you can only use this to test by executing.
Mike Meyer enlightened us with:
>> I think type 'object' has only one value, so that's it.
>
> In that case, they should all be equal, right?
>
object() == object()
> False
You compare instances of the type 'object'. They both have one value:
>>> object()
>>> object()
So the claim "type '
DarkBlue enlightened us with:
> I want connect to another linux machine via ssl ,
> after password entry execute :
It seems like you've already got something running. Do you really mean
SSL? Or do you mean SSH?
Sybren
--
The problem with the world is stupidity. Not saying there should be a
capi
Tim Chase enlightened us with:
> In both Mozilla-suite (1.7) and FireFox (1.5), the links on the left
> (the grey-backgrounded all-caps with the ">>" at the right) all
> intrude into the body text.
Looks fine here on Firefox 1.5 and Konqueror 3.4.3.
The site looks really nice! I think this is goi
SPE - Stani's Python Editor enlightened us with:
> This is a misinterpretation, SPE failed because of something else.
> (As would have become clear if you would have run SPE in the
> debugging mode 'python SPE.py --debug'.)
IMO displayed messages should be clear without having to resort to a
debug
SPE - Stani's Python Editor enlightened us with:
> If you would have read the blog (http://pythonide.stani.be/blog),
> you could clearly read this:
I haven't.
>2. download and unpack the archive
>SPE-0.8.1.d-wx2.6.1.0-no_setup.zip
>
> If you follow these three steps nothing more, nothing
Terry Carroll enlightened us with:
> It looks like ConfigParser will accept a list to be writing to the
> *.ini file; but when reading it back in, it treats it as a string.
It doesn't say so explicitly in the manual, but I did find this:
"""The values in defaults must be appropriate for the "%(
aum enlightened us with:
> I've built a module called SimpleJSONRPCServer, which is essentially
> the same as the familiar python library module SimpleXMLRPCServer,
> except that it uses the JSON-RPC protocol.
Thanks a lot! I've used XML-RPC on a low-speed device, and it was way
too slow.
Sybren
SpreadTooThin enlightened us with:
> Can these operators be overloaded?
Yes.
> If so. How?
Implement __add__, __sub__ etc. in the class that you want to be able
to add, subtract, etc.
Sybren
--
Sybren Stüvel
Stüvel IT - http://www.stuvel.eu/
--
http://mail.python.org/mailman/listinfo/pytho
Tim Chase enlightened us with:
> With the caveat of the "=" mentioned in the subject-line (being
> different from "==")...I haven't found any way to override
> assignment in the general case.
Why would you want to do that?
Sybren
--
Sybren Stüvel
Stüvel IT - http://www.stuvel.eu/
--
http://ma
Gregory Piñero enlightened us with:
> So I keep hearing more and more about this WSGI stuff, and honestly I
> still don't understand what it is exactly
AFAIK it's a standard for web frameworks. In such a framework, you
receive a 'request' object, and return a 'response' object. If I'm
correct, the
Theerasak Photha enlightened us with:
>> > 3. Using IIS [...]
>>
>> Why would you want to use that monstrosity?
>
> Two words: "contractual obligation"
That doesn't answer the question. It only makes me ask it to someone
else, namely the parties involved in creating the contract.
Sybren
--
Sybre
[EMAIL PROTECTED] enlightened us with:
> is it possible to convert MSword docs into PDF format?
Yes, it is. check out http://www.stuvel.eu/ooo-python#header3. It's
about converting Excel to PDF, but it equally applies to MSWord.
Sybren
--
Sybren Stüvel
Stüvel IT - http://www.stuvel.eu/
--
htt
Russell Warren enlightened us with:
> On first pass I would think that both of those calls are single step
> operations (removing/changing an entry in the FAT, or FAT-like
> thing, on the HDD) and wouldn't result in an intermediate,
> null-populated, step, but the evidence seems to indicate I'm
> w
à°¶à±à°°à±à°¨à°¿à°µà°¾à°¸ enlightened us with:
> Can any one tell me how can i remove a character from a unocode
> text. à°à°²à±<200c>&హార is a Telugu word in Unicode. Here i want to
> remove '&' but not replace with a zero width char. And one more
> thing, if any whitespaces are there b
[EMAIL PROTECTED] enlightened us with:
> Yes, I want to find a way to send email without an external smtp server.
You can't. Use a DNS server to find the MX record of the destination
domain, connect to that SMTP server, then deliver the mail.
Sybren
--
Sybren Stüvel
Stüvel IT - http://www.stuv
[EMAIL PROTECTED] enlightened us with:
> is it possible in python (with/without matplotlib, numpy etc) to
> store a whole class with its data into a file
Check out the pickle module.
Sybren
--
Sybren Stüvel
Stüvel IT - http://www.stuvel.eu/
--
http://mail.python.org/mailman/listinfo/python-li
JW enlightened us with:
> Thanks to Michael and Nick, I can now cross-compile my Pyrex
> extensions for bog-standard Python 2.5 [...] I can now use Linux to
> cross-build my extension for Windows, and my preliminary testing
> (under WINE -- See the original post. I must adhere to my
> employment c
Dave enlightened us with:
> How can I translate this:
>
> gi
>
> to this:
>
> "gi"
>
> I've tried urllib.unencode and it doesn't work.
As you put so nicely in the subject: it is HTML encoding, not URL
encoding. Those are two very different things! Try a HTML decoder,
you'll have more luck with tha
101 - 200 of 446 matches
Mail list logo