like these desperately.
I've also seen ICE from ZeroC (www.zeroc.com) and OSE
(http://ose.sourceforge.net/browse.php?group=python-manual&entry=modules.htm)
I haven't tried any of them yet, will have to do that a bit later.
Andreas
--
http://mail.python.org/mailman/listinfo/python-list
me=dir)
But you should consider if you really really want to do this.
What happens when " " in dir?
What happens when dir == "; rm -Rf /"
Andreas
--
http://mail.python.org/mailman/listinfo/python-list
n you really remove the reference, or else you get dangling pointers
which will lead to a corrupted heap and/or segfault somewhere in the future of
your program.
Andreas
--
http://mail.python.org/mailman/listinfo/python-list
What's wrong with
(os.path.join(d, x) for x in os.listdir(d))
It's short, and easier to understand then some obscure option ;)
Andreas
On Thu, Jun 23, 2005 at 11:05:57AM +0200, Riccardo Galli wrote:
> On Wed, 22 Jun 2005 11:27:06 -0500, Jeff Epler wrote:
>
> > Why not ju
Just out of curiosity, does the filesystem support seperate a/m/c times?
Andreas
On Fri, Jun 24, 2005 at 02:49:01PM +0300, Eser Çetinkaya wrote:
>
>
> In your documentation, it is written :
> "
> os.path.getatime(path)
> Return the time of last acc
Hi !
I am trying to build python 2.4.1 from source on a Linux system.
Everything seems fine, but tkinter seems not to work.
The file _tkinter.pyd is missing.
How can tell configure to build all necessary components ?
Thanks
Andreas
--
http://mail.python.org/mailman/listinfo/python-list
John Abel wrote:
> Andreas Heiss wrote:
>
>>Hi !
>>I am trying to build python 2.4.1 from source on a Linux system.
>>Everything seems fine, but tkinter seems not to work.
>>The file _tkinter.pyd is missing.
>>How can tell configure to build all necessar
Just a guess, but setting "__X__" special methods won't work in most cases
because these are usually optimized when the class is created.
It might work if a.__call__ did exist before (because class a: contained
a __call__ definition).
Andreas
On Wed, Jun 29, 2005 at 09:15:45AM
How so?
>>> import cPickle as cp
>>> f=open("/tmp/test.pck", "wb")
>>> cp.dump(dict(a=1), f)
>>> cp.dump(dict(b=1), f)
>>> f.close()
>>> f=open("/tmp/test.pck", "rb")
>>> cp.load(f)
{'a': 1}
>>> cp.load(f)
{'b': 1}
>>> cp.load(f)
Traceback (most recent call last):
File "", line 1, in ?
EOFError
import os as realos
Names are nothing magic in Python, and quite easily manipulated:
import os
os.write(1, "Hello World!")
class os:
pass
o = os()
import os
os.write(1, "\n")
So basically this kind of name clashes usually do not happen in Python.
Or another usage:
os = SomeObject()
ies and the __getattr__ (and friends) special methods. So yeah,
even if takes some violence to explain it to C++/Java developers, good
python code doesn't have getters and setters ;)
Andreas
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
--
http://mail.python.org/mailman/listinfo/python-list
after one month, another month I've spent
interfacing with the existing C++ app, and afterwards I've optimized for
4 months. And actually did a number of feature requests the C++ team
never ever contemplated to do.)
To put it bluntly for most cases where today C/C++ is used, it's used
unneccessarily and causes pain and costs for all involved. You know this
projects, where even with a strong dislike for Perl, one prays "Couldn't
they do it in Perl, anything, not C?". *g*
Andreas
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
--
http://mail.python.org/mailman/listinfo/python-list
sion and/or a key
prefix (which would allow multiple dictionaries or at least key spaces
in one file)
Andreas
>
> --Scott David Daniels
> [EMAIL PROTECTED]
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
--
http://mail.python.org/mailman/listinfo/python-list
ctually, using a library "directly" is mostly a nonbrainer in Python.
What sometimes takes some work is to write a binding that is Pythonic
and safe. Because many C/C++ libraries aren't safe.
>
> As for "advanced development tools"... That's a flameware waiting to happen.
Well, my C/C++/Python is all basically at the same level. emacs
(sometimes vi *g*). Using anything "higher" just suggests that there are
defecits in the language. And I guess no editor will tell me, that I
call free twice for the same pointer ;)
Andreas
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
--
http://mail.python.org/mailman/listinfo/python-list
Am Samstag, den 02.07.2005, 15:11 +0100 schrieb Tom Anderson:
> On Fri, 1 Jul 2005, Andreas Kostyrka wrote:
>
> > Am Freitag, den 01.07.2005, 08:25 -0700 schrieb George Sakkis:
> >
> >>> Again, how? Is there a way to force that an external user of my lib can
> >
Aloha,
Charlie wrote:
> Hi, I'm looking for a way to obtain the width of a string, either in actual
> inches/centimeters, or pixels will also work. Unfortunately this seems
> difficult as I'd like to keep things as close to the stock Python install as
> possible, and I'm not working with Graphics
for writing.
[This bit of wisdom comes Advanced Programming in the UNIX Environment by
W.R. Stevens p. 400: 'If we encounter the end of file on a descriptor, that
descriptor is considered readbale by select.']
closing the old descriptor must be done after opening a new one, or else
is not enough, but playing and living to
maintain the code afterwards is very educative ;)
OTOH, perhaps for me it was teaching more, because I have been forced to
maintain by first bigger python application almost for a decade. One
learns quite a bit about software engineering this way ;
g is if the sleep will pause the t
> thread as well as the main function or is the thread independat of the
> main function sleep?
Well, your program seems to be non-functional (missing if expression?),
but as I said above, the main thread waits via select, so the child
process sho
ithreading well. At least not at the moment.
But this is basically there isn't currently a theoretical way to provide
the environment that Python does safely in a multithreaded app without
an incredible performance hit.
Andreas
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
--
http://mail.python.org/mailman/listinfo/python-list
y does. But it will probably not show as a Python thread.
Without some special interfacing with the Python/C API any thread
created in C will not show up in Python.
> that thread probably wouldn't be running a Python interpreter.
Andreas
signature.asc
Description: Dies ist ein digital signiert
ust one
thread is the additional locking overhead. OTOH it's only done for
operatations that will probably take a long time anyway. (And long is a
relative term here *g*).
Andreas
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
--
http://mail.python.org/mailman/listinfo/python-list
Am Mittwoch, den 06.07.2005, 14:38 + schrieb Grant Edwards:
>
> Unfortunately that means you've got to debug a number cruncher
> that's written in C.
If one is careful, one can use Pyrex :)
Andreas
signature.asc
Description: Dies ist ein digital signierter Nachr
for a number of
problems in this segment. (Be it Twisted, forking, threads + GIL, etc.)
Andreas
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil
--
http://mail.python.org/mailman/listinfo/python-list
Aloha,
Thomas Lotze wrote:
> I think I need an iterator over a string of characters pulling them out
> one by one, like a usual iterator over a str does. At the same time the
> thing should allow seeking and telling like a file-like object:
f = frankenstring("0123456789")
for c in f:
> ...
Aloha,
Thomas Lotze wrote:
>>A string, and a pointer on that string. If you give up the boundary
>>condition to tell backwards, you can start to eat up the string via f =
>>f[p:]. There was a performance difference with that, in fact it was faster
>>~4% on a python2.2.
> When I tried it just now,
Aloha,
hotshot.Profile has flags for recording timing per line and line
events. Even if i had both set to 1 i still get only the
standard data (time per call).
Is there any document available that has examples how to use
the hotshot for converage analysis and to display timing
per line?
Hoping f
http & https using curl the data is recieved by the
> web server with no problems.
Just a curious guess: Are you behind a proxy? If so, it's a known and
never fixed bug from Python 1.5 times ;)
You might also try to use PyCurl.
Andreas
>
> When I post using my python client
the person who asks doesn't have a clue
what they are asking about ;)
(These are the people look for Pearl and Pyhton programmers ;) )
Andreas
>
> --
> http://mail.python.org/mailman/listinfo/python-list
--
http://mail.python.org/mailman/listinfo/python-list
I've just noticed that you didn't mention any details like OS, versions,
network infrastructure. You do not mention either how large the difference
is.
Andreas
--
http://mail.python.org/mailman/listinfo/python-list
Define nothing :)
None is the representation of nothing in Python ;)
Andreas
--
http://mail.python.org/mailman/listinfo/python-list
w you motivate that
person is another question.
b) try to hack some solution yourself. Start with doing the python
tutorial?
Andreas
> I am looking for a way to parse a simple log file to get the
> information in a format that I can use. I would like to use python,
> but I am just beginnin
endtime = timestamp
sql = "insert into data (start, end, user) value (%r, %r, %r);"
print sql % (starttime, endtime, user)
else:
raise AssertationError("%r is not a valid line" % l)
Am Sonntag, den 14.08.2005, 07:31 -0700 schrieb CG:
> Thanks
endtime = timestamp
sql = "insert into data (start, end, user) value (%r, %r, %r);"
print sql % (starttime, endtime, user)
else:
raise AssertationError("%r is not a valid line" % l)
Am Sonntag, den 14.08.2005, 07:31 -0700 schrieb CG:
> Thanks
> Hi,
>
> I have Moinmoin 1.3.4 installed and working on Linux RHEL3.0. However,
> all screen elements are lined up on the left hand side. How can I get
> it displayed like the wiki at:
>
> http://moinmoin.wikiwikiweb.de/HelpOnConfiguration
>
Hi Mark,
It seems that your MoinMoin installatio
prices are somehow laughable: I'm currently paying
EUR39 for a dedicated host (with at least 200GB traffic, I'd had to look it up
60GB "storage", 256MB RAM and a 2.4GHz P4 CPU all alone to me).
That makes the 79.95 dollars for "Linode 256" somehow a bit expensive.
generates a complex number instead of raising an exception? Lisp has
> something like this, and it makes number crunching much more convenient.
Yes and no. There isn't general solution. But for example you want to
allow complex number, just use cmath.
Andreas
signature.asc
Description:
Aloha,
[EMAIL PROTECTED] wrote:
> I was wondering if someone can recommend a good encryption algorithm
> written in python.
> It would be great if there exists a library already written to do this,
> and if there is, can somebody please point me to it??
M2Crypto, interface to OpenSSL
http://sand
Aloha,
is a pure _python_ implementation of the zlib available?
I have broken zlib streams and need to patch the deocder to
get them back.
Wishing a happy day
LOBI
--
http://mail.python.org/mailman/listinfo/python-list
hon ODBC wrapper: mxOdbc (www.egenix.com)
3) ODBC driver: either a commercial one or the freetds driver
(www.freetds.org)
HTH,
aa
--
Andreas Ames | Programmer | Comergo GmbH |
Voice: +49 69 7505 3213 | andreas . ames AT comergo . com
--
http://mail.python.org/mailman/listinfo/python-list
Aloha,
rbt wrote:
Not really a Python question... but here goes: Is there a way to read
the content of a PDF file and decode it with Python? I'd like to read
PDF's, decode them, and then search the data for certain strings.
First of all,
http://groups.google.de/groups?selm=400CF2E3.29506EAE%40net
Aloha,
rbt wrote:
Thanks guys... what if I convert it to PS via printing it to a file or
something? Would that make it easier to work with?
Not really...
The classical PS Drivers (f.e. Acroread4-Unix print-> ps) simply
define the pdf graphics and text operators as PS commands and
copy the pdf cont
of Zope would
work, were I can assign certain functionality/permissions to a role, and
then assign each user a role.
I'd prefer not to fully jump into Zope just yet, because although it has
just about all the features you can think of, it is also fairly complex
(for me at least).
Regar
Hi
I tried to have python call an external 'Word'-file,
and the read the whole text into a single string with
the following code:
[CODE]
source = raw_input('file path')
File = open('source', 'r')
S = input.read()
print S
[/CODE]
But when I try to run it, it raises the following
error:
File = op
On Mon, 28 Feb 2005, Andreas Pauley wrote:
Hi all,
I'm starting with a Point of Sale system (QT gui, MySQL db) and I'm wondering
if there are any user management/user security modules available that can be
reused independently of the specific system that you write.
I think something
Aloha,
Jose Benito Gonzalez Lopez wrote:
Does anyone know how I could do in order
to get/count the number of pages of a PDF file?
Like this ?
Python 2.2.2 (#3, Apr 10 2003, 17:06:52)
[GCC 2.95.2 19991024 (release)] on sunos5
Type "help", "copyright", "credits" or "license" for more information.
>>
rhaps you've some tips how to solve this problems?
regards
Andreas
--
http://mail.python.org/mailman/listinfo/python-list
x27;m a really newbie to python and not able to
create a minimum example. Could you please give me a very small example
how to use urlparse? Or point me to an example in the web?
regards
Andreas
--
http://mail.python.org/mailman/listinfo/python-list
ein ".jpg" vorkommt
oder nicht und dann eine Entscheidung treffen. Ich hab mir schon
überlegt einfach die letzten viel Stellen des strings "per Hand" auf die
Zeichenfolge zu vergleichen und so regex zu umgehen. Aber ich muss es
irgendwann ja doch mal nutzen ;-)
Gruß
Andreas
--
Am Tue, 07 Dec 2004 00:40:02 GMT schrieb Paul McGuire:
> Is this in the ballpark of where you are trying to go?
Yes, thanks. You helped me a lot.
Andreas
--
http://mail.python.org/mailman/listinfo/python-list
Am Mon, 6 Dec 2004 17:24:35 -0800 (PST) schrieb [EMAIL PROTECTED]:
> Ich kann nicht spricht Deutch, aber:
Ahh! Sorry for this! It was a mistake :-(
regards
Andreas
--
http://mail.python.org/mailman/listinfo/python-list
Am 6 Dec 2004 17:43:21 -0800 schrieb [EMAIL PROTECTED]:
> viel besser als das vergleichbare Regexp:
>
> >>> re.match('.*\.jpg$', filename)
Ok,now I've choosen this regex:
> '.*\.(?i)jpe?g'
to get .jpg .JPG .jpeg .JPEG
seems to wo
rl2
> http://www.example.org/example.html¶m=1
I played with regex to find one that matches also second case with
multible parameters. I think it's easy, but I don't know how to do. Can
you help me?
regards
Andreas
--
http://mail.python.org/mailman/listinfo/python-list
Aloha,
[EMAIL PROTECTED] wrote:
Andreas Lobinger wrote:
>>> import pdffile
I browsed the code in CVS and it looks like a pretty comprehensive
implementation. Maybe we should join forces.
I have problems contacting you via the given e-mail adress.
Wishing a happy day
LOB
thon1.5/test/pystone.py
Pystone(1.1) time for 1 passes = 0.66
This machine benchmarks at 15151.5 pystones/second
Run on a Knoppix/Debian based Duron 700 (Sony PCG-FX201 laptop).
I guess there must be differences in how your pythons got compiled, even
if you didn't specifies explicitly opti
In article <[EMAIL PROTECTED]>,
Michael McGarry <[EMAIL PROTECTED]> wrote:
> One problem is my Window created in Qt appears underneath all others on
> the screen and focus never goes completely onto this window. Kind of weird.
>
> Any ideas?
>
If the application is not properly bundled you wi
Hi,
does anyone know of a high-level solution to produce RTF from Python
(something similar to
Reportlab for producing PDF)?
Thanks,
Andreas
pgptlX6o8zD33.pgp
Description: PGP signature
--
http://mail.python.org/mailman/listinfo/python-list
nstead?
I am sure there has been lots of discussion on whether or not to remove
the string module. Maybe you can just direct me to the right place.
Thanks for help!
Andreas
--
http://mail.python.org/mailman/listinfo/python-list
Yeeh, I was expecting something like that. The only reason to use map()
at all is for improving the performance.
That is lost when using list comprehensions (as far as I know). So, this
is *no* option for larger jobs.
Andreas
Skip Montanaro wrote:
>>> upper_list = map(str
hope this is not the case.) So, what is the purpose of
map()? Should it too be deprecated?
Andreas
Skip Montanaro wrote:
Andreas> Yeeh, I was expecting something like that. The only reason to
Andreas> use map() at all is for improving the performance. That is
Andreas> lost w
was answered within one hour (you asked at 2013-11-14 17:27:33Z,
"yoonix" answered at 2013-11-14 18:19:54Z). But since he didn't spoonfed
you, no wonder that you ignore that answer.
Bye, Andreas
--
https://mail.python.org/mailman/listinfo/python-list
bprocess.py", line 820, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.3/subprocess.py", line 1380, in _execute_child
restore_signals, start_new_session, preexec_fn)
TypeError: Can't convert '_io.BufferedRandom' object to str implicitly
"fp" is a file object, but subprocess expects a list of strings as
its first argument.
Bye, Andreas
--
https://mail.python.org/mailman/listinfo/python-list
... fp.write(b"foo\nbar\nbaz\n")
... fp.flush()
... subprocess.call(["cat", fp.name])
...
12
foo
bar
baz
0
Bye, Andreas
--
https://mail.python.org/mailman/listinfo/python-list
?
http://www.vpython.org/contents/bounce_example.html
There is also a forum for VPython:
https://groups.google.com/forum/?fromgroups&hl=en#!forum/vpython-users
Bye, Andreas
--
https://mail.python.org/mailman/listinfo/python-list
tag['style'] = 'REPLACE'
tag.string=ii.string
print(ii.replace_with(tag))
And please read
https://wiki.python.org/moin/GoogleGroupsPython
if you want to continue using Google Groups for accessing this list.
Bye, Andreas
--
https://mail.python.org/mailman/listinfo/python-list
ple code in the docs was obviously not updated.
https://github.com/euske/pdfminer/blob/master/pdfminer/pdfpage.py
So just leave out that line and if you need that exception use
"PDFPage.PDFTextExtractionNotAllowed" instead of
"PDFTextExtractionNotAllowed".
Bye, Andreas
--
https://mail.python.org/mailman/listinfo/python-list
do something like
sql_stmt = """INSERT ...
VALUES (..., STR_TO_DATE(%s, "%m/%d/%Y %H:%M:%S.{%f}"),
...)"""
cursor.execute(sql_stmt, (..., mydate_from_csv, ...))
(BTW: Do you mean microseconds instead of milliseconds?
ugh, because not all
combinations of two digits are valid hours, minutes or seconds.
Bye, Andreas
--
https://mail.python.org/mailman/listinfo/python-list
.
Its possible that something I'm doing it causing it, but I have no idea
what. I can start emacs with no init file, load python mode, hit enter
and I get the error.
Has anyone else experienced this? I am sure that Andreas Roehler (the
maintainer of python-mode.el) fixed it, but am thinking th
On Wednesday, August 28, 2013 11:08:52 PM UTC+2, Joel Goldstick wrote:
> On Wed, Aug 28, 2013 at 4:14 PM, wrote:
>
> > So, I have been working in PHP for several years but I want to learn
> > something new. That something new is Python. But since I'm a web developer
> > I want to build stuff f
On Wednesday, August 28, 2013 11:25:44 PM UTC+2, Andreas Ecaz wrote:
> I've looked at Flask, Bottle and Web.py. I quite like the look of Bottle.
> I'll keep looking for some other microframeworks, maybe I can find something
> else that interests me.
>
>
>
>
I've decided to go with Flask! It's now running on UWSGI with NGINX. Hopefully
I can get some stuff done :)
@Chris “Kwpolska” Warrick
I just don't like the big frameworks, for me there is too much magic going on.
--
http://mail.python.org/mailman/listinfo/python-list
On Thursday, August 29, 2013 3:10:03 PM UTC+2, Chris “Kwpolska” Warrick wrote:
> On Thu, Aug 29, 2013 at 2:45 PM, Andreas Ecaz wrote:
>
> > I've decided to go with Flask! It's now running on UWSGI with NGINX.
> > Hopefully I can get some stuff done :)
>
>
&
On 31.08.2013 10:17, candide wrote:
What is the equivalent in Python 3 to the following Python 2 code:
# -
for i in range(5):
print i,
# -
?
How about
>>> print(" ".join(str(i) for i in range(5)))
0 1
t;> lexer.wordchar += '.,'
>>> print lexer.get_token()
foo.bar,
>>> print lexer.get_token()
baz
There is also a "debug" attribute (with three different levels: 1, 2, 3;
default value 0 means no debug output):
>>> lexer = shlex.shlex("foo, ba
Denis told you about 24 hours ago:
https://mail.python.org/pipermail/python-list/2013-September/656318.html
So either do it like that (which is the reasonable way) or look for
another programming language.
Bye, Andreas
--
https://mail.python.org/mailman/listinfo/python-list
On 05.10.2013 17:31, Νίκος Αλεξόπουλος wrote:
Now i have it like this:
# connect to database
con = pymysql.connect( db = 'nikos_metrites', user = 'nikos_root',
passwd = 't1abhp2r!', charset = 'utf8', host = 'localhost' )
Just to be sure: T
lue
'42'
Explanation:
http://docs.python.org/3/library/http.cookies.html#http.cookies.BaseCookie.load
>>> c = cookies.SimpleCookie('ID=42')
>>> isinstance(c, dict)
True
>>> c.items()
dict_items([('ID', )])
Bye, Andreas
--
https://mail.python.org/mailman/listinfo/python-list
r(i) + '\n')
time.sleep(1)
which should work with "tail -f".
Bye, Andreas
--
https://mail.python.org/mailman/listinfo/python-list
nt right after it looks at the , instead of moving onto
and so on.
I'm not sure if I understand your problem, but your regex pattern only
matches up to the size. When you look for the referrer, the pattern
expects two quotes but in your string you have "-" (quote, dash, quote).
Thus there is no match (i.e. "match" is None) and the if-statement will
print "not found".
Bye, Andreas
--
https://mail.python.org/mailman/listinfo/python-list
_file
sys.stdin = sys.stdin.detach()
msg = message_from_file(sys.stdin)
Looking at the docs, I've found there is also "message_from_binary_file"
which works for me with your code.
http://docs.python.org/3/library/email.parser.html#email.message_from_binary_file
Bye, Andreas
--
htt
On 08.10.2013 17:25, Antoon Pardon wrote:
Op 08-10-13 16:24, Andreas Perstinger schreef:
Looking at the docs, I've found there is also "message_from_binary_file"
which works for me with your code.
http://docs.python.org/3/library/email.parser.html#email.message_from_binary_file
I've been looking at TkInter and GTK to do some GUI programming, they're both
cross-platform compatible.
This might seem like a stupid question, but, how do people run the application?
I get that I have to compile it and make it an executable. But how do I make it
an executable? For Windows and
nd find the final redirect link and append
>"#q=python" to that link and produce an output that is
>"www.google.com/#q=python".
For bitly links you need to use their API:
http://dev.bitly.com/links.html#v3_expand
There is a python module for interacting with i
hat your MySQL problems have nothing to do
with Python?
Everything inside the triple quotes is MySQL specific, so it's a MySQL
problem whether you can use + to "add an extra string to an already
existing array of strings(list)".
This list is not a MySQL support forum.
Bye, Andreas
--
https://mail.python.org/mailman/listinfo/python-list
[WinError 5] Access is denied:
'C:\\Users\\Andreas\\AppData\\Local\\Temp\\pip-xf9kwi7g-uninstall\\apps\\python35\\scripts\\pip.exe'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Apps\Python35\lib\site-packages\pi
g the
return value from A.log() to the attribute "module" and in A.log() there
is no output either.
Bye, Andreas
--
http://mail.python.org/mailman/listinfo/python-list
[1001, 1002, ...], [2001,
2002, ...], ...])? At least I get this impression from your samples.
Bye, Andreas
--
http://mail.python.org/mailman/listinfo/python-list
east make it a viable alternative to JS)
Can the Python community do this without involvment in browser development?
Regards
Andreas
--
http://mail.python.org/mailman/listinfo/python-list
ing should work (assuming you are using version 9.2):
shpList = gp.ListFeatureClasses("*.shp")
shp = shpList.Next()
while shp:
print shp
shp = shpList.Next()
Bye, Andreas
--
http://mail.python.org/mailman/listinfo/python-list
Not the answers I expected:
;-)
>>> b = True
>>> 2*b or not 2*b
2
>>> b = False
>>> 2*b or not 2*b
True
It all becomes clear when you look at:
>>> b = False
>>> 2*b
0
>>> b = True
>>> 2*b
2
No surprise there really. But fun anyway.
Any more philsophical Python code out there?
--
http://ma
http://blog.stuttgarter-zeitung.de/fundstucke/2011/10/27/genehmigt-vom-ministerium-fur-alberne-gangarten/
--
http://mail.python.org/mailman/listinfo/python-list
pulled it again, using the 'raw' link, saved it, no extra tabs.
But it still doesn't work for linux. My python is 2.6.6
Go to the directory where you've downloaded the file and type:
python DuquDriverPatterns.py .
What output do you get?
Bye, Andreas
--
http://mail.python.
>>> soup = BeautifulSoup(html)
>>> type(soup)
To write the modified document into a file, you have to convert this
structur back into a string:
>>> new_html = str(soup)
>>> type(new_html)
>>> new_html
'\n \n Demo\n \n'
HTH, Andreas
--
http://mail.python.org/mailman/listinfo/python-list
rong with any of the
distribution systems. So what answers are you expecting from such a post?
Bye, Andreas
--
http://mail.python.org/mailman/listinfo/python-list
et/thinkcs/python/english3e/preface3-rle.html
Bye, Andreas
--
http://mail.python.org/mailman/listinfo/python-list
elper functions I wrote in my previous message.
>
>Why do you dislike that solution?
Ferrous Cranus has proven in previous discussions (search the archives)
that he doesn't like common-sense solutions and insists on doing it his
own way (although his methods are either wrong or impossible
subhabangal...@gmail.com wrote:
>I was trying to draw in Matplotlib but did not find much help.
Have you looked already at the homepape for "maptlotlib"?:
http://matplotlib.org/index.html
There you'll find a tutorial:
http://matplotlib.org/users/pyplot_tutorial.html
Bye
et. Their idea of "paradigm" is vague
and ill-defined.
Cheers,
Uday Reddy
--
Andreas Abel <>< Du bist der geliebte Mensch.
Theoretical Computer Science, University of Munich
Oettingenstr. 67, D-80538 Munich, GERMANY
andreas.a...@ifi.lmu.de
http://www2.tcs.ifi.lmu.d
missing "graphviz" or you need to adapt your paths:
https://code.google.com/p/python-graph/issues/detail?id=15
Bye, Andreas
--
http://mail.python.org/mailman/listinfo/python-list
101 - 200 of 692 matches
Mail list logo