I wrote an app that uses some Tix widgets and wanted to make an exe
using py2exe .i used the setup script as given in
http://www.py2exe.org/index.cgi/TixSetup
and it copies the dlls into the dist directory created by py2exe.
But then the application works only if i create a directory named
'DLLs '
On 11 jan, 17:23, Ed Jensen <[EMAIL PROTECTED]> wrote:
> Bruno Desthuilliers <[EMAIL PROTECTED]> wrote:
> > fact 1: CPython compiles source code to byte-code.
> > fact 2: CPython executes this byte-code.
> > fact 3: Sun's JDK compiles source code to byte-cod
On 10 jan, 21:47, Ed Jensen <[EMAIL PROTECTED]> wrote:
> Bruno Desthuilliers <[EMAIL PROTECTED]> wrote:
> > I fail to see how the existence of JIT compilers in some Java VM changes
> > anything to the fact that both Java (by language specification) and
> > CP
On 10 jan, 03:10, Steven D'Aprano
<[EMAIL PROTECTED]> wrote:
> On Wed, 09 Jan 2008 21:26:05 +0100, Bruno Desthuilliers wrote:
> > hint: how can a compiler safely optimize anything in a language so
> > dynamic that even the class of an object can be changed at runtime ?
&g
Oh.. it seems my naiveness has stirred quite a discussion >_<...
I must admit though, I've learned a bit about Python reading through
this topic. Thanks to everyone who pointed out the flaws in the
code. I'll see if I can come up with my own color tracking solution
in a few weeks and post back h
On Jan 12, 12:37 pm, marcstuart <[EMAIL PROTECTED]> wrote:
> How do I divide a list into a set group of sublist's- if the list is
> not evenly dividable ?
> consider this example:
>
> x = [1,2,3,4,5,6,7,8,9,10]
> y = 3 # number of lists I want to break x into
&g
On 12 jan, 21:04, Landon <[EMAIL PROTECTED]> wrote:
> One thing I wonder about is the examples these books use to teach the
> concepts. I found myself really attached to K&R because the end of
> section projects were utilities that I would find be able to find
> useful in day
Hi all,
DND has just about got me going bonkers.
I want to process the dnd drop to main window and then process the
dnd_list to ship to open_arg. Resulting in individual editor panes
opening the files.
The problem:
TypeError: dnd_drop() takes exactly 6 arguments (8 given) or
TypeError: dnd_dro
On Jan 13, 3:03 pm, "bill.wu" <[EMAIL PROTECTED]> wrote:
> i am new guy to learn python,also for this discussion group, i am
> chinese.
> nice to meet you, everyone.
Hi and welcome onboard.
If you're new to programming in general, you may want to joi
I'd like to inform the Python community that the powerful and popular
Template Toolkit system, previously available only in its original
Perl implementation, is now also available in a beta Python
implementation:
http://tt2.org/python/index.html
I created this port both as a fun programming proje
On Jan 15, 6:18 pm, Paul Rubin <http://[EMAIL PROTECTED]> wrote:
> Helmut Jarausch <[EMAIL PROTECTED]> writes:
> > def del_by_key(L,key) :
> >for pos, (k,d) in enumerate(L):
> > if k == key :
> >del L[pos]
> >break
>
> Th
Hi!
I made a string parser program, it has a main function and a working
thread class. When it is running in 24h non-stop, the memory run out.
I dont Know why. Do anybody know somekind of debugger that can i see
what is eating the memory? Maybe there is a list or value or
dictionary that is growin
On Jan 15, 1:45 pm, George Sakkis <[EMAIL PROTECTED]> wrote:
> > [EMAIL PROTECTED] wrote:
> > > I'd like to inform the Python community that the powerful and popular
> > > Template Toolkit system, previously available only in its original
> > > Perl imp
>
> for a in range(5):
...
>for z in range(5):
means the inner loop runs 5**26 times so perhaps it's not only
unpythonic but also uncomputable...
--
http://mail.python.org/mailman/listinfo/python-list
Hi!
I have some questions.I'm evaluating berkeley db as a embeddable
storage engine for a project I'm working on.
My questions:
1. Now that Berkeley DB is part of Oracle, is it still being
maintained? Is it free?
2. Are there good python libraries for bdb available, that are being
maintain
visit this link
http://dcaic.com
--
http://mail.python.org/mailman/listinfo/python-list
I am looking for a function to resolve 'F:/foo/bar' into '/cygdrive/f/
foo/bar'. I get the original dirpath from tkFileDialog.askdirectory in
a Windows form and none of os.path.* functions seem to resolve it to a
cygwin form. Rather they _append_ it to the current directory,
resulting at best in a
On Jan 16, 12:01 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> On Jan 15, 1:45 pm, George Sakkis <[EMAIL PROTECTED]> wrote:
> > Unless I missed it, the documentation
> > covers the Perl version only.
>
> The online documentation, yes. All source-l
On Jan 18, 2:01 pm, Thomas Dybdahl Ahle <[EMAIL PROTECTED]> wrote:
> Hi, I'm writing an app in python, and I'm storing some a lot of data in
> bitmaps.
> I need a way to find the first or latest set bit in a 64bit number, and
> for that I've implemented a smal
Well yes, I was hoping for a library function, but none provides it.
Thanks for the code. Works nicely.
On Jan 18, 12:12 pm, apatheticagnostic <[EMAIL PROTECTED]>
wrote:
> Here we go then (are forward slashes valid in a filename in windows?)
> def path_into_cygpath(path):
> dri
On Jan 19, 7:46�am, [EMAIL PROTECTED] wrote:
> Hi all,
>
> I was just curious if there was a �built-in or a more efficient way to
> do take multiple rows of information and write them into excel using
> pyExcelerator. �This is how I resolved the problem:
>
> from pyExcelera
Hi, guys
I'm trying to use cookies in Quixote.
This is the code:
env = copy(os.environ)
req = HTTPRequest(sys.stdin, env)
req.response.set_cookie("xxx","666")
cc = req.get_cookie("xxx");
For some reason it cc is always None. What am I doing wrong?
--
http://mail.python.org/mailman/listinfo/pyth
On Jan 21, 5:36 pm, Gary Herron <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > How can I figure out the largest long available? I was hoping for
> > something like sys.maxint, but I didn't see it. Also, can someone
> > point me to where I can (concisel
On Jan 21, 7:42 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
> En Mon, 21 Jan 2008 22:02:34 -0200, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> escribió:
>
>
>
>
>
> > On Jan 21, 5:36 pm, Gary Herron <[EMAIL PROTECTED]> wrote:
> &
Howdy, I've been using rpy (1.0.1) and python (2.5.1) on my office
computer with great success. When I went to put rpy on my laptop,
however, I get an error trying to load rpy.
"Unable to determine R version from the registry. Trying another
method."
followed by a few lines of the usual error me
On Jan 22, 7:29 pm, "Gabriel Genellina" <[EMAIL PROTECTED]>
wrote:
>
> > I was asking this community if there was a simple way to use only the
> > tools included with Python to parse a bit of html.
>
> If you *know* that your document is valid HTML, you c
print "foo"
print "bar"
has a newline in between "foo" and "bar"
print "foo",
print "bar"
has a space in between "foo" and "bar"
How prevent ANYTHING from going in between "foo" and "bar" ??
(Without defining a string variable.)
Chris
--
http://mail.python.org/mailman/listinfo/python-list
Hello! I am currently working on writing a simulation engine for
special relativity physics. I'm writing it in Python, of course. I'm
doing fine with the engine, but I want a GUI framework in which I
could use it conveniently, and test different setups on it. I'm not so
strong with GUI programming.
On Jan 23, 5:12 pm, Stef Mientki <[EMAIL PROTECTED]>
wrote:
> [EMAIL PROTECTED] wrote:
> > Hello! I am currently working on writing a simulation engine for
> > special relativity physics. I'm writing it in Python, of course. I'm
> > doing fine with the engine,
On Jan 23, 6:12 am, "Diez B. Roggisch" <[EMAIL PROTECTED]> wrote:
> sys.stdout.write("foo")
> sys.stdout.write("bar")
Diez
Thanks. Beautiful! I <3 Python!
Chris
--
http://mail.python.org/mailman/listinfo/python-list
I have run into a bit of a subtle problem. How do I go about
duplicating a variable (particularly a list of lists) in python. I
was surprised when simple assignment didn't work. For example, let y =
[1,2,3]
>>> x = y
>>> x[2] = 5
>>> y
[1,2,5]
It seems that simply assigning x to y allows furthe
On Jan 24, 9:36 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I have run into a bit of a subtle problem. How do I go about
> duplicating a variable (particularly a list of lists) in python. I
> was surprised when simple assignment didn't work. For example, l
On Jan 24, 9:55 am, [EMAIL PROTECTED] wrote:
>
> If your variable contains a list, then you can copy it like this:
>
> >>> l1 = [1, 2, 3]
> >>> l2 = l1[:]
> >>> l2[1] = 4
>
> As you can see now they are two distinct lists:
>
> >>>
I have a goal function that returns the fitness of a given solution. I
need to wrap that function with a class or a function to keep track of
the best solution I encounter. Which of the following would best serve
my purpose and be the most pythonic?
class Goal:
def __init__(self, goal):
Hello all,
I have two thing I wish to accomplish, First, put an icon in a gtk.Entry as in
many search boxes. Second put a gtk.Checkbox in a gtk.ComboboxEntry. On the
later I thought I could get a handle to the Combobox tree and then add a column
and then column span column 1 back into column
e website at:
http://www.eurosis.org/cms/index.php?q=node/461
We are looking forward to see you in Porto next April.
Kind regards,
João Manuel R. S. Tavares
University of Porto
[EMAIL PROTECTED]
www.fe.up.pt/~tavares
--
http://mail.python.org/mailman/listinfo/python-list
On 25 jan, 12:50, [EMAIL PROTECTED] wrote:
> Can someone tell me the minimum requitements for Python as I can't
> find it anwhere on the site. I have 3 PC's which are only 256mb RAM,
> wanted to know if this was sufficenent.
The first machine I installed Python on was a penti
Hello -
I'm still using Python 2.4. In my code, I want to encrypt a password
and at another point decrypt it. What is the standard way of doing
encryption in python? Is it the Pycrypto module?
Roger
--
http://mail.python.org/mailman/listinfo/python-list
Thanks for that! i found the variable in "ALL_HTTP" and it's working
now.
Thanks again..
--
http://mail.python.org/mailman/listinfo/python-list
sorry for creating a new post but this is totally different from the
previous one.
Here is the problem (which is very hard to explain, so i will use a
paradigm): i submit a form and the post variable is being sent to the
page test.py. then the test.py retrieves the POST and print it to the
page. n
Hello all!
I was wondering, if there is a way to retrieve the referer url with
python (web-based).
I tried this:
import os
print os.getenv('HTTP_REFERER')
but it's not working, even thought other http variables do function,
this one is always a None.
Thanks in advance.
--
http://mail.python.or
On 28 jan, 22:32, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> 1. yes i've tried that technique but its annoying, the user can easily
> stop the redirection and not "elegant".
It's a very canonical technique with HTTP (at least after a successful
PO
On 28 jan, 22:28, Yansky <[EMAIL PROTECTED]> wrote:
> I asked my hosting company if they would upgrade Python on my server
> to the latest version. They responded with:
>
> "Sorry no. We tend to stick with what comes packaged with the unix
> distribution to ease mainte
1. yes i've tried that technique but its annoying, the user can easily
stop the redirection and not "elegant".
2. yes i'm aware of that, however what i've mentioned above is just an
example, it's actually way more serious.
guess i'll have to bare with it.
--
http://mail.python.org/mailman/listin
Thanks for the reply.
1) CGI so i'm doing it right.
2) this is impossible as i'm doing the exact same thing with another
language and it utterly works.
3) the same as above
4) no..
this gets nerve breaking!
--
http://mail.python.org/mailman/listinfo/python-list
hello,
i have problem manipulating mySQL data. When i add values in a Table,
i can recieve them instantly but when i check the table from another
script, the new values dont exist.
i'm not experienced in sql dbses so the problem might be something
outside python.
example (i do this to add values,
On Jan 29, 8:34 am, William McBrine <[EMAIL PROTECTED]> wrote:
> Look at this -- from Python 2.5.1:
>
> >>> a = [1, 2, 3, 4, 5]
> >>> for x in a:
>
> ... if x == 3:
> ... a.remove(x)
> ... print x
> ...
> 1
> 2
> 3
I am having some issues writing a telnet program, using telnetlib. I
am not sure if it is the telnet on the connections end or it is my
program.
A little background, when I log in straight from the Linux Command
prompt. The only thing I get is a blinking cursor. Then I type in my
command 'FOO' ent
On 29 jan, 21:23, epsilon <[EMAIL PROTECTED]> wrote:
> All:
>
> I'm running into trouble figuring this one out. It seems that my
> decision routine is not working as intended. Does anyone know why my
> output continues to utilize the "else" portion of the
On 28 jan, 11:21, "Russ P." <[EMAIL PROTECTED]> wrote:
> On Jan 28, 1:53 am, Bruno Desthuilliers
>
>
> [EMAIL PROTECTED]> wrote:
> > Russ P. a écrit :
>
> > > On Jan 27, 5:03 pm, Paddy
>
> > >> If static typing is optional then a
On Jan 29, 12:27 pm, Rob Wolfe <[EMAIL PROTECTED]> wrote:
> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> > I am having some issues writing a telnet program, using telnetlib. I
> > am not sure if it is the telnet on the connections end or it is my
> >
I supposed the below code will print seven 2 and generate the list li
without 2.
Strangely it only print four 2. If you change the number of 2 in the
list, the results are all beyond expectation.
I know the other way to achieve the expected goal, but why this is
happening? Could somebody enlight m
Thank you very much for the great anwsers. You guys save my sleep
today.
--
http://mail.python.org/mailman/listinfo/python-list
Hello,
Is there any chance that i could compile python programs to java (.jar
[java bytecode]) so that i could run them with full support (no
interpreter) in a wireless device (talking about mobiles eg. nokia,
ericsson).
I am aware of jython, however i am not elegible of finding a proper
article c
On Jan 31, 8:12 am, erikcw <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have a list of numbers each with a +/- margin of error. I need to
> identify which ones overlab each other.
>
> For example:
> 55 +/- 3
> 20 +/- 2
> 17 +/- 4
> 60 +/- 3
>
> #base, max, mi
On Jan 31, 2:48 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> On Jan 31, 8:12 am, erikcw <[EMAIL PROTECTED]> wrote:
>
> One way would be to use sets and check for intersection:
>
> for idx, s in enumerate(mysets):
> for next_idx, next_s in
On Jan 31, 3:09 pm, Paul Rubin <http://[EMAIL PROTECTED]> wrote:
> "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> writes:
> > mysets = [set(range(x[2],x[1])) for x in mylist]
>
> This is pretty horrible, each set can be arbitrarily large,
> i.e. if x[2] and x[1] a
On 31 jan, 02:57, "Guilherme Polo" <[EMAIL PROTECTED]> wrote:
> 2008/1/30, J. Peng <[EMAIL PROTECTED]>:
>
> > Hello,
>
> > Is there a site for python,which collects most kinds of python modules?
> > like CPAN for Perl.
> > Sometime I wan
Hi David
I am not familiar with ImpulseC.
I think it may be unlikely for Python to replace MATLAB - maybe Python
has less specialized libraries than MATLAB but Python has the width of
applications. I will be hardpressed to think of a convincing argument
to teach MATLAB as a replacement of Python/
hi all
I'm now meeting some problem when using threading to test whether or
not a proxy is good or not
and the total number of proxies is just 60
but each time my programme stopped just at approaching the end,
say,
for each proxy I made a proxy
but it just stopped working at maybe 58 or 59 or some
Hi all,
I apologize if this question was already answered before but I was
unable to find a proper solution to my problem. Anyways, I am trying
to run shaderobjects.py on Windows (Python 2.5.1) by just double-
clicking, and I got the following error:
[...]
File "/usr/lib/python2.5/site-packages/O
On 4 Feb, 18:45, USCode <[EMAIL PROTECTED]> wrote:
> Wouldn't it be handy if there was a web framework that allowed you to
> create pages and control the interface like you would using a
> client-side GUI framework such as Tkinter?
>
> The framework would need a small,
I can understand that. But look at the bright side, you don't have to
rely on windows authentication, you just need an open port. Now i
don't know what you are building, but with a client/server setup you
can also get to other data that you might need, like mouse movement to
detect for activity, us
Well, i guess you will need a process on each machine you need to
monitor, and then you do have a client server setup.
This can be easily accomplished with fx Pyro (http://
pyro.sourceforge.net/) for communication, and the Win32 Python library
(https://sourceforge.net/projects/pywin32/) for creati
On 4 fév, 18:26, Kay Schluehr <[EMAIL PROTECTED]> wrote:
> On Feb 3, 7:17 pm, [EMAIL PROTECTED] wrote:
>
>
>
> > I'm considering writing a little interpreter for a python-like
> > language and I'm looking for name suggestions. :-)
>
> > Basically
> Why not a Python COMPILER?
What about a Python JIT hardware chip, so the CPU doesn't have to
translate. Although it seems to me that with today's dual and quad
core processors that this might be a mute point because you could just
use one of the cores.
--
http://mail.python.org/mailman/listi
Hi,
This isn't a strictly Python question but I wonder if someone could
give me some clues here. I've been writing a number of stand-alone
apps that use CherryPy as an embedded web server for displaying
processed data and interacting with the application. To go along with
this I've also been usi
On Feb 5, 11:44 am, Steve Holden <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> >> Why not a Python COMPILER?
>
> > What about a Python JIT hardware chip, so the CPU doesn't have to
> > translate. Although it seems to me that with today's dual a
On Feb 5, 3:56 pm, Arnaud Delobelle <[EMAIL PROTECTED]> wrote:
> On Feb 5, 8:01 pm, Istvan Albert <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > On Feb 5, 12:31 pm, dmitrey <[EMAIL PROTECTED]> wrote:
>
> > > Hi all,
> > > the urlhttp://torq
On Feb 5, 4:54 pm, Steven D'Aprano <[EMAIL PROTECTED]
cybersource.com.au> wrote:
> Okay, you know how hard it is to create a software JIT compiler for a
> language as dynamic as Python? It's REALLY HARD, which is why it hasn't
> already been done[1]. Now you want tha
On Feb 5, 10:04 pm, xkenneth <[EMAIL PROTECTED]> wrote:
> All,
>
> I'm trying to build a simple web application, but i still need
> things like sessions and Ajax. I tried to create a Zope product, but I
> honestly can't think of anything more cryptic. I reall
Use full info and intelligent games and etc. just click
www.freeonlinegames.c-o.in
--
http://mail.python.org/mailman/listinfo/python-list
Are there any Python libraries implementing measurement of similarity
of two strings of Latin characters?
I'm writing a script to guess-merge two tables based on people's
names, which are not necessarily spelled the same way in both tables
(especially the given names). I would like some function
On 6 fév, 21:06, [EMAIL PROTECTED] wrote:
> Hi all,
>
> So I understand that properties belong to a class not an instance, but
> nonetheless I want to add properties to an instance.
While this is technically possible (I tried a couple years ago), it
requires hacking the __getattrib
On Feb 5, 9:14 pm, Bernard <[EMAIL PROTECTED]> wrote:
> On 5 fév, 10:09, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> wrote:
>
> > Are there any good approaches of doing this kind of thing that I've
> > missed, or am I resigned to having HTML and Pyt
On Feb 7, 11:38 am, [EMAIL PROTECTED] wrote:
> Hallo,
>
> I'm after
>
> [[[],[],[],[],[]],[[],[],[],[],[]],[[],[],[],[],[]],[[],[],[],[],[]],[[],[],[],[],[]]]
>
> (NxN 'grid', 5x5 in that example, and while typing this up i figured out
> how to get it, but
On Feb 7, 9:06 am, Steve Holden <[EMAIL PROTECTED]> wrote:
> Ryszard Szopa wrote:
> > On Feb 5, 9:30 am, [EMAIL PROTECTED] wrote:
>
> >> I don't know the exact details but I think the issue is the dynamic
> >> nature of Python makes it impossible to c
On Feb 7, 2:37 am, "Daniel Fetchinson" <[EMAIL PROTECTED]>
wrote:
> Hi folks, just went through this thread and a related one from 2006
> and I was wondering what the best solution is for using these string
> metrics in a database search. If I want to query the database fo
I'm developing a program that runs using an asyncore loop. Right now
I can adequately terminate it using Control-C, but as things get
refined I need a better way to stop it. I've developed another
program that executes it as a child process using popen2.Popen4(). I
was attempting to use signals
On 7 fév, 22:16, Steve Holden <[EMAIL PROTECTED]> wrote:
> Diez B. Roggisch wrote:
> >> self.tasks[:] = tasks
>
> >> What I do not fully understand is the line "self.tasks[:] = tasks". Why
> >> does
> >> the guy who coded this d
Hi, All:
Many thanks for the excellent leads. I've also found several
functions to find phonetic similarity between English names: the
mentioned above soundex, then, also, one called metaphone. I'm now
thinking of the best way to use some combination of these functions.
--
http://mail.python.or
On Feb 7, 3:13 pm, "Gabriel Genellina" <[EMAIL PROTECTED]> wrote:
> En Thu, 07 Feb 2008 16:16:11 -0200, [EMAIL PROTECTED]
> <[EMAIL PROTECTED]> escribió:
>
> > On Feb 7, 11:38 am, [EMAIL PROTECTED] wrote:
> > I don't see why you should get eit
On Feb 8, 7:04 am, Larry Bates <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> > I'm developing a program that runs using an asyncore loop. Right now
> > I can adequately terminate it using Control-C, but as things get
> > refined I need a better way to
On Feb 8, 4:03 pm, Larry Bates <[EMAIL PROTECTED]> wrote:
> When signal is caught handle_shutdown_signal is called. At that point
> SHUTDOWN_PERFORMED will ALWAYS be False. Normally all you do in this function
> is to set SHUTDOWN_PERFORMED to True and have a test somewhe
On Feb 8, 2:53�pm, Lou Pecora <[EMAIL PROTECTED]> wrote:
> In article <[EMAIL PROTECTED]>,
> �Grant Edwards <[EMAIL PROTECTED]> wrote:
>
> > On 2008-02-08, Dennis Lee Bieber <[EMAIL PROTECTED]> wrote:
>
> > > � � � A Parsec is a fixed value (whic
Hi, I'm trying to write a for loop in place of the string
method .replace() to replace a character within a string if it's
found.
So far, I've got
s = raw_input("please enter a string: ")
c = raw_input("please enter a character: ")
b_s = s[::-1] #string backwards
found = False #character's exist
On Feb 10, 12:06 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> Hi, I'm trying to write a for loop in place of the string
> method .replace() to replace a character within a string if it's
> found.
>
> So far, I've got
>
> s = raw_inpu
I'm replacing all occurrences of the character in the string with '!',
which in turn is the new string, s2.
I'm also not allowed to use rfind or rindex or replace() because we
are supposed to be learning about for loops.
Thanks for the advices so far, I will try some more on my own.
--
http://ma
Would a wrapper function be out of the question here?
def MyDivision(num, denom):
if denom==0:
return "NaN"
else
return num / denom
--
http://mail.python.org/mailman/listinfo/python-list
I want to make a little Python utility where a user can enter the
unicode numerical code and get the actual symbol back in utf-8.
For example, a user could enter something like u221E
And get back ∞
Now, this does seem to work:
>>> print u"\u221E"
∞
However how can I change it so it works with a
On Feb 11, 9:34 am, ibloom <[EMAIL PROTECTED]> wrote:
> I've been trying for a couple days to build a program using pyObjC on
> a mac, I'm stuck on this error:
>
> : inconsistent use of tabs and spaces in indentation
> Traceback (most recent call last):
&
On Feb 11, 11:15�pm, "W. Watson" <[EMAIL PROTECTED]> wrote:
> I thought I try to step through some simple Python code I wrote with IDLE
> using Debug. I'm at the early stages of learning Python. I used the shell to
> Run, then clicked on Debug->Debugger. That bro
On Feb 10, 4:30 pm, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote:
> > I want to make a little Python utility where a user can enter the
> > unicode numerical code and get the actual symbol back in utf-8.
>
> > For example, a user could enter something like u22
On 12 fév, 21:35, Dennis Kempin <[EMAIL PROTECTED]> wrote:
> Santiago Romero schrieb:
(snip - others already answered)
> > PS: I need it for a concrete case in a game scripting language I'm
> > writing, so that I can call functions like "CHANGE_PLAYER_VALUES( "
On Feb 12, 1:52 am, Michael Robertson <[EMAIL PROTECTED]> wrote:
> Where is the python equivalent of:
>
> http://search.cpan.org/~fxn/Algorithm-Combinatorics-0.16/Combinatoric...
>
> combinations (with and without repetition)
> variations (with and without repetition)
>
Hey!
I installed a few python modules through the freebsd ports, but
when I try to import them in the interpreter it says "module xxx not
found". This seems to happen for some modules and not for the others.
ex:- I installed psyco and parallel python which seem to be found but
then scipy, PIL a
On Feb 13, 9:48 am, Carsten Haese <[EMAIL PROTECTED]> wrote:
> On Wed, 2008-02-13 at 07:31 -0800, [EMAIL PROTECTED] wrote:
> > return re.match("^1?$|^(11+?)\1+$", convert)
>
> That needs to be either
>
> return re.match(r"^1?$|^(11+?)\1+$", conve
On Feb 13, 12:53 pm, Carsten Haese <[EMAIL PROTECTED]> wrote:
> On Wed, 2008-02-13 at 10:40 -0800, [EMAIL PROTECTED] wrote:
> > But why doesn't it work when you make that change?
>
> I can't answer that question, because it *does* work when you make that
> chang
On Feb 13, 10:50 pm, Lalit <[EMAIL PROTECTED]> wrote:
> I need to write a program which would transfer files under one folder
> structure (there are sub folders) to single folder.
find /fromdir -exec mv {} /todir \; -print
Pete
--
http://mail.python.org/mailman/listinfo/python-list
> See Subject. It's a simple txt file, each line is a Python stmt, but I need
> up to four digits added to each line with a space between the number field
> and the text. Perhaps someone has already done this or there's a source on
> the web for it. I'm not yet into files with Python. A sudden need
4001 - 4100 of 4916 matches
Mail list logo