Robert D. Young wrote:
> I've probably asked this before, but how can I tell within the program I'm
> running if the .py files was involved by "run module" in IDLE or by using
> the .py assoication with the python.exe program? I'd like to prevent running
> under certain circumstances, or pop-up war
By 'not needing TK' I meant 2 things:
1. Is there a one liner/no brainer as I'm short on time and, yes,
didn't want to start fiddling with anything new (normally I'd leap at
the opportunity ;-)
2. I couldn't remember if TK is installed by default on a vanilla OS X
install. My script is going to h
I'm trying to get a page from a slow server. and i'm timing out.
I've tried
socket.setdefaulttimeout9300), and
urllib2.socket.setdefaulttimeout(300), and
urllib2.socket.setdefauttimeout(300.0),
but all seem to give up after 20 seconds.
What's the best (or a good) way to increase the t
Poi-fect - thanks!
import sys
if sys.modules.has_key("idlelib"):
print "Running under idle"
else:
print "Not running under idle"
- Robert
"Michael Hoffman" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Robert D. Young wrote:
> > I've probably asked this before, but how can I t
darren kirby wrote:
> quoth the Ganesan Rajagopal:
>> I am stuck on level 3. I've tried every re that I can think of. Some body
>> give me a clue.
>>
>> Ganesan
>>
>> --
>> Ganesan Rajagopal
>
t = /text of page source.../
re.findall('[a-z][A-Z]{3}[a-z]{1}[A-Z]{3}[a-z]', t)
>
> You shoul
pinky wrote:
> download, doc, forum ; http://tinyerp.org
Why not downloadable and printable PDF documentation instead of
online-HTML.
HTML is _extremely_ inconvenient, both for offline use and for
printing. Why printing? Because reading siginficant amounts of text
on-screen is simply impossible,
Ben Champion wrote:
> Thanks for the link! I think it has the information I want in it (the
> numerical method eg Runge-Kutta). However I am not sure which of the
> solvers listed within that file is used by odeint.
LSODA
--
Robert Kern
[EMAIL PROTECTED]
"In the fields of hell where the grass g
Hi All,
I wonder could someone help me with this?
What I want to do is search through a list of letters and look for
adjacent groups of letters that form sequences, not in the usual way of
matching say abc to another appearance later on in the list but to look
for transposed patterns.
The groups
Hello,
today I've read the following on the Europython WWW site:
http://www.europython.org/sections/registration_issues/registration_info
rma
"Early bird payment ends 15 May."
"Last day for reserving accomodations is 15 May."
http://www.europython.org/sections/tracks_and_talks/schedule_day_1
"
Hi,
I'm curious if theres a way in python to write stdout text to the
screen (ie top right) the way they do in some FPS games, so that its
always on top, in an invisible window of some set dimensions. No matter
what program is on top.
Is there a way to make it cross platform?
I've looked but not
Steve Holden wrote:
> [EMAIL PROTECTED] wrote:
> > Hello,
> > I following an example on how to zip files from the www.devshed.com
> > site.
> > I can create a zip package, however I am not getting any
compression.
> > 120M file stays 120M within the zip package.
> > I need to know how to set or ac
Benji York wrote:
> Terje Johan Abrahamsen wrote:
> > I have been trying desperately for a while to make Python push the
> > left mousebutton.
>
> Here's some code I've used to simulate a *right* click, but it should
> be obvious how to make it do what you want:
>
> void sendRightClick(void)
> {
Benji York wrote:
> Terje Johan Abrahamsen wrote:
> > I have been trying desperately for a while to make Python push the
> > left mousebutton.
>
> Here's some code I've used to simulate a *right* click, but it should
> be obvious how to make it do what you want:
>
> void sendRightClick(void)
> {
On Mon, 02 May 2005 13:58:07 -0500, phil wrote:
> You didn't indicate how deep you want to get into the code yourself.
>
> I am gonna step way out of my mathematical depth here
I mean no disrespect, but this is the last accurate statement you made.
I wouldn't say this, except that if the origin
M.E.Farmer wrote:
> I saw compression=0 and assumed that 1 would mean true, but no!
> zipfile.ZIP_DEFLATED = 8, defies logic, it is the only compression type
> why not accept any non zero as compression.
"is the only compression type" ? quoting from the ZIP specification:
compression metho
http://www.blackbirdblog.it/programmazione/progetti/28
--
Michele Ferretti
ICQ#: 14491159
Skype: m.ferretti79
black DOT bird AT tiscali DOT it
www.blackbirdblog.it
--
http://mail.python.org/mailman/listinfo/python-list
I tried adding the comma at the end
print 'hello',
It still added that extra character.
--
http://mail.python.org/mailman/listinfo/python-list
Harlin Seritt wrote:
> I actually tried mapping the PID to an integer value and it still
> didn't work. At any rate, I found another way to do it. Thanks anyways.
For those who might follow in your footsteps, it might be nice to
describe your solution... (and to reduce the likelihood somebody wi
Thank you!
"""ZIP_DEFLATED
The numeric constant for the usual ZIP compression method. This
requires the zlib module. No other compression methods are currently
supported."""
That is where I got the 'only compression type'.
It all makes sense now.
Thanks again,
M.E.Farmer
--
http://mail.python
[Michele Ferretti]
> http://www.blackbirdblog.it/programmazione/progetti/28
Quoted above, the full content of your article. Is it a message? It
surely does not look like an English sentence.
Should we start a browser each time we see an URL? Many of us are not
in such an Internet starvation.
Larry Bates wrote:
> You have two choices:
>
> 1) You can use Windows Scheduler to run the script in the
> background. I have lots of scripts that I do this with.
>
> 2) You can convert the script into a Windows Service, which
> will run in the background continuously.
>
> I know of no way to m
François Pinard wrote:
> [Michele Ferretti]
>
>>http://www.blackbirdblog.it/programmazione/progetti/28
>
>
> Quoted above, the full content of your article. Is it a message? It
> surely does not look like an English sentence.
>
> Should we start a browser each time we see an URL? Many of us
* Reinhold Birkenfeld <[EMAIL PROTECTED]> [2005-05-02 06:19]:
> John Hazen wrote:
> > Have you found the zip file yet?
> >
> > (I did, and I still can't figure it out)
>
> It's best when you use the zipfile module.
Cool. I had just unzipped the zipfile, and was looking at the files
directl
[EMAIL PROTECTED] wrote:
> Hi All,
>
> I wonder could someone help me with this?
>
> What I want to do is search through a list of letters and look for
> adjacent groups of letters that form sequences, not in the usual way of
> matching say abc to another appearance later on in the list but to lo
Florian Lindner wrote:
> Hello,
> I've read the chapter in the Python documentation, but I'm interested in a a
> more in-depth comparision. Especially regarding how pythonic it is and how
> well it performs and looks under Windows.
> I've some C++ experiences with Qt, so I'm very interested to have
Hello,
I'm looking for libraries to create graphs. I'm not talking about plotting a
function like f(x)=x^2 just plotting a couple of values into a short, maybe
interpolating them. Output should be something like JPEG.
Thx,
Florian
--
http://mail.python.org/mailman/listinfo/python-list
Michael Spencer wrote:
>
> def compare_forms(sequence):
> """test whether all groups of a sequence have the same form"""
> for length in range(4,2,-1): # look for longest match first
oops, make that range(4,1,-1) or, simply (4,3,2)
Michael
--
http://mail.python.org/mailman/listinfo/
Stopped being lazy and found the TK answer myself. (it needs some extra
stuff installed. see the macpython site's faq for info). Still be
interested to know if there is a sem-cross-platform solution to simple
dialogs that doesn't need TK...
--
http://mail.python.org/mailman/listinfo/python-list
Save your script and run that from a commandline or import it with your
python shell.
['this is a string.', ' ', 'This is another string.']
You are seeing a side effect of the interactive shell.
['this is a string.', '\n', 'This is another string.','\n']
It would be hard to get to the next prompt
chris patton wrote:
> I tried adding the comma at the end
> print 'hello',
> It still added that extra character.
http://mail.python.org/pipermail/python-list/2003-September/184181.html
Peter
--
In diesen Kreisen kreiselt sich der Kreisler
--
http://mail.python.org/mailman/listinfo/python-li
>>I am gonna step way out of my mathematical depth here
>>
>
> I mean no disrespect, but this is the last accurate statement you made.
>
You are probably correct, I am certainly out of my field and hope
that noone would embark on a hopeless project based on my few words.
However, the school di
Michele Ferretti wrote:
> ok, sorry, but subject is very explicit!
Still, it's insufficient for those of us who doesn't know what WordPress
is, and it's a waste of time for those of us who don't speak Italian.
C'mon, pal, you can do much better than that!
--
Klaus Alexander Seistrup
Magnetic
"Michele Simionato" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> BTW, what it your use case? I have yet to see a single compelling use
> case for multiple inheritance, so I am
> curious of what your design is.
Before I start, I should mention that my workaround I listed previousl
Michele Ferretti wrote:
> ok, sorry, but subject is very explicit!
Still, it's insufficient for those of us who don't know what WordPress
is, and it's a waste of time for those of us who don't speak Italian.
C'mon, pal, you can do much better than that!
--
Klaus Alexander Seistrup
Magnetic I
On Mon, 02 May 2005 16:37:19 -0500, phil wrote:
> I will defend one statement though. I have yet to see anything which
> Python would not make a good wrapper for. Some of the OpenGL pygame stuff
> is very cool.
Alright, you got me :-) I got excessively broad.
--
http://mail.python.org/mailman/l
Try EasyDialog:
http://www.talkaboutprogramming.com/group/comp.lang.python/messages/314003.html
It should also be on Vaults of Parnassus.
--
http://mail.python.org/mailman/listinfo/python-list
George that is what I'm looking for. Thanks, Harlin
--
http://mail.python.org/mailman/listinfo/python-list
Fredrik Lundh wrote:
> M.E.Farmer wrote:
>
>>I saw compression=0 and assumed that 1 would mean true, but no!
>>zipfile.ZIP_DEFLATED = 8, defies logic, it is the only compression type
>>why not accept any non zero as compression.
>
> "is the only compression type" ? quoting from the ZIP specifica
> Is there some interoperability requirement with non-Python apps? If not,
> why not just use pickle or marshal?
I would imagine that much of the existing, current and useful
triple-based data out there is serialized (or serializable) in
RDF/XML. I wouldn't choose it as a serialization format arb
"Tian" <[EMAIL PROTECTED]> ha scritto nel messaggio
news:[EMAIL PROTECTED]
> I have made a program in wxpython, but how could i exit the program? I
> am using wxFrame for my window, what is the function to close the
> program?
>
> Thanks!!
>
Wich version of wx? You cannot exit the program clickin
"Florian Lindner" <[EMAIL PROTECTED]> ha scritto nel messaggio
news:[EMAIL PROTECTED]
> Hello,
> I'm looking for libraries to create graphs. I'm not talking about plotting
a
> function like f(x)=x^2 just plotting a couple of values into a short,
maybe
> interpolating them. Output should be somethi
On Mon, 02 May 2005 21:14:29 GMT, Michele Ferretti <[EMAIL PROTECTED]> wrote:
>François Pinard wrote:
>> [Michele Ferretti]
>>
>>>http://www.blackbirdblog.it/programmazione/progetti/28
>>
>>
>> Quoted above, the full content of your article. Is it a message? It
>> surely does not look like an
The Great 'Tian' uttered these words on 5/2/2005 2:00 PM:
> I have made a program in wxpython, but how could i exit the program? I
> am using wxFrame for my window, what is the function to close the
> program?
>
> Thanks!!
>
Tian,
See below:
--- CloseDemo.pyw
import wx
class MainFrame(w
quoth the Reinhold Birkenfeld:
>
> Somehow writing '[a-z]{1}' is strange...
>
> Reinhold
>>> t = /text of page source.../
>>> re.findall('[a-z][A-Z]{3}[a-z][A-Z]{3}[a-z]', t)
Sorry dude! When it comes to logic puzzles I am easily frustrated, and that
leads to unclear thinking...
-d
--
darren
I did this a little while ago, there's some setup stuff in here for
sending keyboard commands as well. Coercing the structs into python was
the hardest part. Basically Click(x,y) moves the mouse to the specified
spot on the screen (not window) sends a mouse down followed by mouse up
event then retu
Yea I get it now. I didn't realize that there where other possible
un-implemented compression methods. Fredrik's post enlightened me.
The problem was a false assumption that compression=0 in the arguments
was == False seemed logical that compression=1 was True.
Sometimes things aren't logical till
Thanks for the tip on strace. I will look into it.
I only have a tempfile object:
tmp = tempfile.mkstemp(dir="/var/tmp/")
I will try to explicitly call a close() or whatever the syntax is to
finalize the object to deletion by garbage collection.
Thanks,
Kenny
--
http://mail.python.org/mailma
I'm using using generators and iterators more and more intead of
passing lists around, and prefer them. However, I'm not clear on the
best way to detect an empty generator (one that will return no items)
when some sort of special case handling is required.
Typical code for handling an empty list:
This could be fun!
# random clicks
# play with values to maximize annoyance
if __name__ == "__main__":
import random
for i in range(1000):
x = random.randint(0,800)
y = random.randint(0,600)
Click(x,y)
time.sleep(random.randint(0,20))
--
http://mail.python.
Anthony wrote:
> I only have a tempfile object:
>
> tmp = tempfile.mkstemp(dir="/var/tmp/")
Why aren't you using NamedTemporaryFile instead? Using mkstemp adds a
lot of complications that are usually unnecessary.
> I will try to explicitly call a close() or whatever the syntax is to
> finalize
Glauco Silva wrote:
> when i creat a RadioButton and put a command = self.Function , this
> function is called in the creation of RadioButton. It´s right this or
> it´s wrong ?
http://www.catb.org/~esr/faqs/smart-questions.html
I'm pretty sure I can guess exactly what the problem is. I suspect
Brian Roberts wrote:
> I'm using using generators and iterators more and more intead of
> passing lists around, and prefer them. However, I'm not clear on the
> best way to detect an empty generator (one that will return no items)
> when some sort of special case handling is required.
>
Usually
Bengt Richter wrote:
> On Mon, 02 May 2005 21:14:29 GMT, Michele Ferretti <[EMAIL PROTECTED]> wrote:
>>ok, sorry, but subject is very explicit!
>
> Should we expect your "WordPress Python Library 1.0" to do to words
> what the dry cleaners do to suits and shirts then? ;-)
Lose buttons and stain t
On Apr 29, 2005, at 9:48 PM, CYBER wrote:
> Is this possible to create 1 wxFrame and
> register more than 1 wxPanel in it.
> And select the one you want to show at the moment ?
>
> I'm trying to implement a multistep wizard under wxPython.
> I need to be able to hide and show windows inside my
> f
I'm not very familiar with sql server or adodb. I'm writing a python
script that uses adodb as described at http://www.ecp.cc/pyado.html,
but I can't figure out how to get the id of my last insert.
--
http://mail.python.org/mailman/listinfo/python-list
How can i use cgi'like print statement in a multitreaded web framework?
each thread has its own Servlet instance with request/response objects,
sys.stdout = self.response(which is a file like object) wont work because
all threads will set the same file object and it will be a concurrence
mess.
I
vegetax wrote:
> How can i use cgi'like print statement in a multitreaded web framework?
> each thread has its own Servlet instance with request/response objects,
> sys.stdout = self.response(which is a file like object) wont work because
> all threads will set the same file object and it will be a
In article <[EMAIL PROTECTED]>,
[EMAIL PROTECTED] (Brian Roberts) wrote:
> I'm using using generators and iterators more and more intead of
> passing lists around, and prefer them. However, I'm not clear on the
> best way to detect an empty generator (one that will return no items)
> when some s
This is the box and the variables.
ewitkop $ uname -a
SunOS remnssdtoolsp01 5.9 Generic_118558-03 sun4u sparc SUNW,UltraAX-i2
LD_LIBRARY_PATH=:/usr/lib:/usr/local/lib:/opt/sfw/lib:/usr/sfw/lib:/usr/local/lib/python2.3/site-packages/roundup:/usr/lib/lwp:/usr/local/lib/python2.3:/usr/local/lib/pyth
Irmen de Jong wrote:
> vegetax wrote:
>> How can i use cgi'like print statement in a multitreaded web framework?
>> each thread has its own Servlet instance with request/response objects,
>> sys.stdout = self.response(which is a file like object) wont work because
>> all threads will set the same
Hello
I want to creat a program that can inspect a set of classes that i have
made and spit out a savable version of these classes. To do this I need
to be able to inspect each class and get all of its instance data as
well as information about a particular meathod. This is what i want it
to do:
vegetax <[EMAIL PROTECTED]> writes:
> But i want to use "print" as a commodity feature, print >>
> self.response,'html..' is longer to type than
> self.response.write('html..')
w = self.response.write
w('html...')
w('more html...')
w('still more html')
--
http://mail.python.org/mailman/listinfo
On Mon, 02 May 2005 22:30:55 GMT, [EMAIL PROTECTED] (Bengt Richter) wrote:
>On Mon, 02 May 2005 21:14:29 GMT, Michele Ferretti <[EMAIL PROTECTED]> wrote:
>
>>François Pinard wrote:
>>> [Michele Ferretti]
>>>
http://www.blackbirdblog.it/programmazione/progetti/28
>>>
>>>
>>> Quoted above, th
Wow - deciding to program in python sure requires a lot of decisions!
So far:
I've decided on python for the programming language.
I've decided on wxpython for the GUI
I've decided on DrPython for the Editor
I still need to decide on a database I've really only used Access,
and
Its not obvious what you are asking here. Try inheriting from object:
>>> class song(object):
... def __init__(self, name, artist, album, published):
... self.name = name
... self.artist = artist
... self.album = album
... self.published = published
... def
"Tim Henderson" <[EMAIL PROTECTED]> wrote:
> Hello
>
> I want to creat a program that can inspect a set of classes that i
have
> made and spit out a savable version of these classes. To do this I
need
> to be able to inspect each class and get all of its instance data as
> well as information about
John Machin wrote:
> On Mon, 02 May 2005 22:30:55 GMT, [EMAIL PROTECTED] (Bengt Richter) wrote:
>>Should we expect your "WordPress Python Library 1.0" to do to words
>>what the dry cleaners do to suits and shirts then? ;-)
>
> or perhaps what feet do to grapes?
Provide a source of yeast to begin
> > I have no idea how to do the inspection part of this little
> > problem. I could just have each class define its own meathod to
> > convert to this format, but that would be a lot of work when i
> > could just make one class that solves the problem for all classes.
> > Is there a way to do this
Heather Stovold wrote:
> Wow - deciding to program in python sure requires a lot of decisions!
>
> So far:
>
> I've decided on python for the programming language.
> I've decided on wxpython for the GUI
> I've decided on DrPython for the Editor
>
> I still need to decide on a database...
On Mon, 02 May 2005 16:14:57 -0700, Brian Roberts wrote:
> Q1: Is there a better or alternate way to handle this? Q2: Is there a way
> that handles both lists and generators, so I don't have to worry about
> which one I've got?
Are you in control of your generators? You could put a method on them
You could write something like
class ThreadSpecificFile:
def set_stdout(f):
self.files[thread_id] = f
def write(data):
self.files[thread_id].write(data)
sys.stdout = ThreadSpecificFile()
where you'll have to fill out a few more things like thread_id,
On 2 May 2005 16:14:57 -0700, [EMAIL PROTECTED] (Brian Roberts) wrote:
>I'm using using generators and iterators more and more intead of
>passing lists around, and prefer them. However, I'm not clear on the
>best way to detect an empty generator (one that will return no items)
>when some sort of
"Heather Stovold" <[EMAIL PROTECTED]> writes:
> Wow - deciding to program in python sure requires a lot of decisions!
It wasn't for me.
> So far:
>
> I've decided on python for the programming language.
> I've decided on wxpython for the GUI
Hmm. I started writing CGI apps, so I didn't need
Wolfgang Keller wrote:
> Hello,
>
> today I've read the following on the Europython WWW site:
>
> http://www.europython.org/sections/registration_issues/registration_info
> rma
>
> "Early bird payment ends 15 May."
> "Last day for reserving accomodations is 15 May."
>
> http://www.europython.or
jdonnell wrote:
> I'm not very familiar with sql server or adodb. I'm writing a python
> script that uses adodb as described at http://www.ecp.cc/pyado.html,
> but I can't figure out how to get the id of my last insert.
>
The classic method, IIRC, is as follows for SQL Server and recent
versions
Jeff Epler wrote:
> You could write something like
> class ThreadSpecificFile:
> def set_stdout(f):
> self.files[thread_id] = f
> def write(data):
> self.files[thread_id].write(data)
> sys.stdout = ThreadSpecificFile()
> where you'll have to fill out
On Mon, 02 May 2005 20:24:02 -0400, vegetax <[EMAIL PROTECTED]> wrote:
>Irmen de Jong wrote:
>
>> vegetax wrote:
>>> How can i use cgi'like print statement in a multitreaded web framework?
>>> each thread has its own Servlet instance with request/response objects,
>>> sys.stdout = self.response(wh
If you wan't explain what WordPress is, can you at least supply a link
for a page that's in English?
--
http://mail.python.org/mailman/listinfo/python-list
Terje Johan Abrahamsen wrote:
> Hello.
>
> I have been trying desperately for a while to make Python push the
> left mousebutton. I have been able to let Python push a button in a
> box:
>
> def click(hwnd):
> win32gui.SendMessage(hwnd, win32con.WM_LBUTTONDOWN, 0, 0)
> win32gui.SendMessage
vegetax wrote:
> Jeff Epler wrote:
>
>> You could write something like
>> class ThreadSpecificFile:
>> def set_stdout(f):
>> self.files[thread_id] = f
>> def write(data):
>> self.files[thread_id].write(data)
>> sys.stdout = ThreadSpecificFile()
>> w
dcrespo wrote:
>>But I personally recommend DrPython. (Not only, I'm a member of the
>>project).
>
>
> I saw this message and downloaded DrPython. It's very good: I like the
> class/functions browser while I'm coding... but I can't find the
> autocompletion feature you talk, and I think this feat
Hi,
It seems that you are just starting on Python, same as my situation a
year ago. After almost going down the same route as you do, I tell
myself just start on something. You can decide on everything but by
the time you've decided, everything changes again.
Initially, I started on Java t
Thanks for the replies. I have a Queue object in the main GUI thread,
this gets passed to all the worker threads and they add items to it.
This is all well and good, but what is a good way to get the GUI thread
to send items back to the worker threads?
--
http://mail.python.org/mailman/listinfo/p
Bengt Richter wrote:
> On Mon, 02 May 2005 20:24:02 -0400, vegetax <[EMAIL PROTECTED]> wrote:
>
>>Irmen de Jong wrote:
>>
>>> vegetax wrote:
How can i use cgi'like print statement in a multitreaded web framework?
each thread has its own Servlet instance with request/response objects,
>>
GMane Python wrote:
> So, I forgot the last part of my example that might gel in your mind why
> Objects are useful in certain situations. Ok so you maybe followed my
> example of the shopping cart. Let's just forget for a moment the use for
> shopping carts is for websites. Let's just say you
Heather Stovold wrote:
> Wow - deciding to program in python sure requires a lot of decisions!
>
> So far:
>
> I've decided on python for the programming language.
> I've decided on wxpython for the GUI
> I've decided on DrPython for the Editor
>
> I still need to decide on a database...
Thanks to both of you. Now that I know the correct terminology for what
I want to do, I can detirmine the best way to do it. I am not sure if
meta-classing is the simplist solution to this problem, however it can
be the most elegant. When I have a final implimintation of this project
it will be pos
Gerard> Code below:
Order might be important (though hopefully not). Can you give this a try?
import time
import socket
socket.setdefaulttimeout(300)
import urllib2
...
Skip
--
http://mail.python.org/mailman/listinfo/python-list
"fo" <[EMAIL PROTECTED]> writes:
> Thanks for the replies. I have a Queue object in the main GUI thread,
> this gets passed to all the worker threads and they add items to it.
> This is all well and good, but what is a good way to get the GUI thread
> to send items back to the worker threads?
I will be out of the office starting Wednesday 04/13 and will return Tuesday
04/26.
If you need anything, please contact Scott Carver at 662-890-0901 ext 5512.
He can direct you to the right person.
Thanks.
Ashley L. Doak
Knight Transportation
--
http://mail.python.org/mailman/listinfo/python-
Reinhold Birkenfeld <[EMAIL PROTECTED]> writes:
> Dan Christensen wrote:
>> Roel Schroeven <[EMAIL PROTECTED]> writes:
>>
>>> There's no level 12 yet though.
>>
>> Now there's a 12 and a 13 (at least!).
>
> Anyone solved 12? Hints?
**hint below**
*
*
*
*
*
*
*
Look at the filena
Dan Christensen <[EMAIL PROTECTED]> writes:
> Roel Schroeven <[EMAIL PROTECTED]> writes:
>
>> There's no level 12 yet though.
>
> Now there's a 12 and a 13 (at least!).
Any hints for level 13? I know how to make a call, but don't know "who"
to call.
Dan
--
http://mail.python.org/mailman/listin
If you used PayPal and are not satisifed with their service there is a
new and better service opening. They will be starting up during the
early summer this year. The best of all - signup is FREE.
Check out their benefits:
www.greenzap.com/benefits
--
http://mail.python.org/mailman/listinfo/pyt
> "darren" == darren kirby <[EMAIL PROTECTED]> writes:
> quoth the Ganesan Rajagopal:
>> I am stuck on level 3. I've tried every re that I can think of. Some body
>> give me a clue.
>>
>> Ganesan
>>
>> --
>> Ganesan Rajagopal
t = /text of page source.../
re.findall('[a-z][A-Z]{3}[
infidel wrote:
> I think perhaps you are asking for something that the OCI doesn't
> provide.
But it doesn't need to be supported by the OCI.
> And really, it all boils down to the list comprehension:
>
> in_clause = ', '.join([':id%d' % x for x in xrange(len(ids))])
And why can't the equivalen
Dan Christensen wrote:
> Reinhold Birkenfeld <[EMAIL PROTECTED]> writes:
>
> > Dan Christensen wrote:
> >> Roel Schroeven <[EMAIL PROTECTED]> writes:
> >>
> >>> There's no level 12 yet though.
> >>
> >> Now there's a 12 and a 13 (at least!).
> >
> > Anyone solved 12? Hints?
>
> **hint below**
>
> L
Patch / Bug Summary
___
Patches : 322 open ( +6) / 2832 closed ( +1) / 3154 total ( +7)
Bugs: 920 open (+12) / 4952 closed (+11) / 5872 total (+23)
RFE : 186 open ( +8) / 156 closed ( +3) / 342 total (+11)
New / Reopened Patches
__
Info Asso
is it possible instead of py2exe putting all library's in a zip file, to
just put them in a sub dir?
--
http://mail.python.org/mailman/listinfo/python-list
Starting from Python 2.4 we have tee in the itertools
module, so you can define the following:
from itertools import tee
def is_empty(it):
it_copy = tee(it)[1]
try:
it_copy.next()
except StopIteration:
return True
else:
return False
It works with generic i
Andrew Dalke wrote:
> infidel wrote:
>
>>I think perhaps you are asking for something that the OCI doesn't
>>provide.
>
>
> But it doesn't need to be supported by the OCI.
>
>
>>And really, it all boils down to the list comprehension:
>>
>>in_clause = ', '.join([':id%d' % x for x in xrange(len
101 - 200 of 211 matches
Mail list logo