Your win 10,000$ in my groups
Pls register your name and address
in below of the website
http://www.geocities.com/cathrina39
--
http://mail.python.org/mailman/listinfo/python-list
I'm running python 2.5.1 and it seems that SimpleXmlRpcServer is not
setup to support the base datetime module in the same way xmlrpclib
has been with "use_datetime". I see that someone (Virgil Dupras) has
recently submitted a fix to address this, but I don't want to patch my
python distro. I wan
On Jul 19, 12:04 pm, Andrew Freeman <[EMAIL PROTECTED]> wrote:
> To show if valid:
>
> if re.search(r'^[LRM]*$', 'LM'):
> print 'Valid'
>
A couple of points:
(1) Instead of search(r'^blahblah', ...) use match(r'blahblah', ...)
(2) You need to choose your end-anchor correctly; your pattern is
p
On Fri, Jul 18, 2008 at 4:32 PM, "Martin v. Löwis" <[EMAIL PROTECTED]>
wrote:
> > Calling Windows PC seems to be something that Apple did so they would
> > not have to directly mention Windows. Could all the places that say PC
> > that are not referring to Personal Computers in general be changed
hi this is very romantic actress photes
http://lovegroup341.blogspot.com/
***
use this and enjoy each moments
--
http://mail.python.org/mailman/l
Yes, I will put the demo up on my web site (www.steveasleep.com) with
fully commented source code and will probably spend a couple more
months on it making it into a proper game.
-Steve Johnson
On Jul 18, 2008, at 10:51 PM, Michael Lubker wrote:
PyOhio sounds fun... I've been wanting to ge
On 2008-07-18, Martin v. Löwis <[EMAIL PROTECTED]> wrote:
>> Calling Windows PC seems to be something that Apple did so
>> they would not have to directly mention Windows. Could all the
>> places that say PC that are not referring to Personal
>> Computers in general be changed to Win or Windows.
>
On Fri, Jul 18, 2008 at 10:12 PM, Terry Reedy <[EMAIL PROTECTED]> wrote:
> If answers here do not satisfy, the pydev list would be the place to
> request that this change be put off until 3.0, when changes that break are
> more permissible. I do not remember any discussion of this issue. You can
PyOhio sounds fun... I've been wanting to get some sort of Barcamp or
GameJam running where I live (in Austin, so you'd think there would be
people interested) but no-one will bite. :/
Escort Wing was a fun project... I did a few mods for EW1.
Will you release this demo anywhere? Just curious.
T
I also know about Panda. ~Michael
On Jul 18, 6:05 pm, "Michael Lubker" <[EMAIL PROTECTED]> wrote:
> I'm interested in general... I know about PyGame and Pyglet, and have
> used both. We're currently using Python-Ogre. In the end, I am looking
> to find people interested in my project (
> seehttp:
Karen Tracey wrote:
I noticed when trying out Python's 2.6b2 release that the repr of
Decimal has changed since 2.5. On 2.5:
Python 2.5.1 (r251:54863, Mar 7 2008, 04:10:12)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license"
oj wrote:
Why not just use * instead of + like:
if re.search(r'^[^LRM]*$', var): # note: ^ outside [] is start of
string; $ means end of string
print "Invalid"
This will *only* print invalid when there is a character other than L,
R, or M or a empty string.
Sorry, forge
On Jul 17, 9:04 pm, Paddy <[EMAIL PROTECTED]> wrote:
> On Jul 16, 11:20 pm, Craig Allen <[EMAIL PROTECTED]> wrote:
>
> > Hey, forgive me for just diving in, but I have a question I was
> > thinking of asking on another list but it really is a general question
> > so let me ask it here. It's about
On Jul 16, 5:05 am, Mark Dickinson <[EMAIL PROTECTED]> wrote:
> On Jul 16, 7:20 am, Mensanator <[EMAIL PROTECTED]> wrote:
>
> > > > ## Combinations with replacement
> > > > ## -
> > > > ## aaa aab aac aad aae abb abc abd abe acc acd ace
> > > > ## add ade aee bbb bbc
Yes, I wrote the music, the GUI, and bits of code here and there..
Will Hogben is working on EW 2 for Freeverse right now. But that was
in BlitzMax, and I'm in greener pastures now, working on my demo for
PyOhio.
-Steve Johnson
On Jul 18, 2008, at 7:05 PM, Michael Lubker wrote:
I'm inter
Thanks norseman for the reply.
You're right that I didn't like it though. :-)
Also note that my original question has to do with importing modules from
different locations. If all I had to do was use different paths within the
script (e.g. for sending to os.path.join or whatever), then I could
[EMAIL PROTECTED] writes:
> Basically, I'm trying to implement a setUp() and TearDown() for a
> python TestSuite (as opposed to an individual test within the suite).
>
> Sort of.
I think your described requirements are well met by the 'nose'
extension http://somethingaboutorange.com/mrl/projects
paypal wholesale evisu shirt (paypal accept)(www power-saler cn )
paypal wholesale evisu hat (paypal accept)(www power-saler cn )
paypal wholesale evisu hoody (paypal accept)(www power-saler cn )
paypal wholesale evisu jeans(paypal accept)(www power-saler cn )
paypal wholesale evisu sunn
On Fri, Jul 18, 2008 at 2:31 PM, Jason Baker <[EMAIL PROTECTED]> wrote:
> I have a class that I need to do some finalization on when it dies. I
> know I can use the __del__ method, but I seem to recall that it
> impedes garbage collection. Is this the case?
Yes.
"Objects that have __del__() met
paypal wholesale 5ive jungle shirt (paypal accept)(www power-saler
cn )
paypal wholesale 5ive jungle hat (paypal accept)(www power-saler
cn )
paypal wholesale 5ive jungle hoody (paypal accept)(www power-saler
cn )
paypal wholesale 5ive jungle jeans(paypal accept)(www power-saler
cn )
payp
On Jul 18, 11:31 am, Jason Baker <[EMAIL PROTECTED]> wrote:
> I have a class that I need to do some finalization on when it dies. I
> know I can use the __del__ method, but I seem to recall that it
> impedes garbage collection. Is this the case?
FWIW, I know a good number of top notch Python pro
> Calling Windows PC seems to be something that Apple did so they would
> not have to directly mention Windows. Could all the places that say PC
> that are not referring to Personal Computers in general be changed to
> Win or Windows.
That's bikeshedding. If the name stops you from building you
On Jul 18, 11:42 pm, ptn <[EMAIL PROTECTED]> wrote:
[snip]
> Remember C, where i, j,
> k are indices, p, q, r are pointers, s, t are strings and x, y, z are
> integers.
Only by convention (even-K&R-v1 C required explicit declarations
almost everywhere), and x etc being used for integers is news t
On Jul 19, 8:05 am, Mark Dickinson <[EMAIL PROTECTED]> wrote:
> On Jul 18, 10:17 pm, Anthony <[EMAIL PROTECTED]> wrote:
>
> > Isn't this a mistake???
>
> Which 'this'? That is, what were you expecting?
>
> If you're objecting to the fact that the second result
> produces 3499.34999 instead
Alexnb wrote:
Okay, what I want to do with this code is to got to thesaurus.reference.com
and then search for a word and get the syns for it. Now, I can get the syns,
but they are still in html form and some are hyperlinks. But I can't get the
contents out. I am not that familiar with BeautifulSo
On Fri, Jul 18, 2008 at 03:46:13PM -0700, Joel Teichroeb wrote:
> Calling Windows PC seems to be something that Apple did so they would
> not have to directly mention Windows.
Actually it's something IBM did when they created the IBM PC. Of
course, all IBM PCs ran MS-DOS, since that's how IBM s
I'm interested in general... I know about PyGame and Pyglet, and have
used both. We're currently using Python-Ogre. In the end, I am looking
to find people interested in my project ( see
http://youtube.com/watch?v=E0QQ9JuclxE ), but I also want to find
people experienced with Python in general, not
On Jul 18, 2:38 pm, Michael Lubker <[EMAIL PROTECTED]> wrote:
> Any people that use Python as the predominant language for their game
> development here?
>
> ~Michael
The Panda3d engine supports the development of 3d simulations in
python. Disney uses the engine in two of their MMO games (toontown
In trunk of the svn there is a folder called PCbuild. Now lets say that
I am running linux on my Personal Computer and want to build python. I
go into the PCbuild directory, but wait. This is for windows not for any
personal computer.
Calling Windows PC seems to be something that Apple did so
On Jul 18, 11:15 pm, Terry Reedy <[EMAIL PROTECTED]> wrote:
> No, round() return binary floats that, in general, cannot represent
> decimal floats exactly. Formatted printing gives what you expect.
> >>> '%8.2f' % x
> ' 3499.35'
Sure. But it's still true that the second printed value
(printed a
Anthony wrote:
Isn't this a mistake???
round(3499.349439034,44)
3499.3494390340002
round(_,2)
3499.34999
round(_,1)
3499.40001
My Python 2.5.1 spat that out..
No, round() return binary floats that, in general, cannot represent
decimal floats exactly. Formatted printi
Michael Lubker wrote:
Any people that use Python as the predominant language for their game
development here?
You can find several whole (and reasonably large) communities of
Python/Game developers associated with some Open Source projects:
These two come to mind immediately. (Both have
I use the Pyglet library to make games. You want to look at the pyglet
and pygame mailing lists, not this one. Use Google.
In my opinion, PyGame is clunky and Pyglet is elegant, simple, and
comprehensive. PyGame has more examples available, but Pyglet has
great documentation and enough exam
On Jul 18, 10:17 pm, Anthony <[EMAIL PROTECTED]> wrote:
> Isn't this a mistake???
Which 'this'? That is, what were you expecting?
If you're objecting to the fact that the second result
produces 3499.34999 instead of 3499.35, then
no, that's not a mistake; see
http://www.python.org/doc/
[EMAIL PROTECTED] wrote:
Hi - I am very new to python. I get this random core dump and am
looking for a good way to catch the error. I know the function my core
dump occurs. Is there any error catching/handling that I could use in
python?
When posting such questions, please supply Python vers
mercado mercado wrote:
I have two versions of a script on my machine. One version is for new
development and the other version is a production version. This script
imports a module from a different directory, and this module again has two
versions (a development version and a production version)
Hello Michael,
Any people that use Python as the predominant language for their game
development here?
~Michael
Well, I make little CLI games that are extremely basic and have no actual
graphics, but i'm sure a few people actually use them in video games.
David
--
http://mail.python.org
On Fri, Jul 18, 2008 at 05:28:32PM -0400, Derek Martin wrote:
> def control(i, j):
> print i,j
> if not (i < 5 or j < 10):
Rather, if not (i < 5 and j < 10):
> return
> else:
> control(some_increment_function(i), other_increment_function(j))
--
Derek D. M
Any people that use Python as the predominant language for their game
development here?
~Michael
--
http://mail.python.org/mailman/listinfo/python-list
I noticed when trying out Python's 2.6b2 release that the repr of Decimal
has changed since 2.5. On 2.5:
Python 2.5.1 (r251:54863, Mar 7 2008, 04:10:12)
[GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>>
In article
<[EMAIL PROTECTED]>,
Mike Driscoll <[EMAIL PROTECTED]> wrote:
> On Jul 13, 10:18 am, teh_sAbEr <[EMAIL PROTECTED]> wrote:
> > I'm busy trying to learn wxPython, and i'm trying to run the following
> > piece of code (its from the wxPyWiki tutorial):
> >
> > import wx
> >
[...]
> >
> >
On Fri, Jul 18, 2008 at 12:21:49PM -0700, mark floyd wrote:
> I'm new to Python and have been doing work converting a few apps
> from Perl to Python. I can not figure out the comparable Python
> structures for multi-variable for loop control.
[...]
> I spent a good part of yesterday looking for a
On Fri, 18 Jul 2008 12:26:35 -0700, Jason Baker wrote:
> I don't necessarily need deterministic cleanup. And I plan on doing
> something like a close() method as well. But I'd just like to make
> sure nothing slips between the cracks. :)
`__del__()` isn't guaranteed to be called *at all*, so c
Isn't this a mistake???
>>> round(3499.349439034,44)
3499.3494390340002
>>> round(_,2)
3499.34999
>>> round(_,1)
3499.40001
My Python 2.5.1 spat that out..
--
http://mail.python.org/mailman/listinfo/python-list
On Fri, 18 Jul 2008 23:04:06 +0200, TP wrote:
> All my problem is in the title.
> If I try:
>
> $ python -c 'print "foo",'
>
> It does not change anything, surely because the line return is added
> by "python -c".
It is added by the interpreter at exit time. The interpreter tries to be
smart h
Hi everybody,
All my problem is in the title.
If I try:
$ python -c 'print "foo",'
It does not change anything, surely because the line return is added
by "python -c".
Thanks in advance
Julien
--
TP (Tribulations Parallèles)
"Allez, Monsieur, allez, et la foi vous viendra." (D'Alembert).
--
On Jul 18, 3:26 pm, Levi Campbell <[EMAIL PROTECTED]> wrote:
> Hi, I'm trying to write a program for a friend of mine who uses
> windows but I use GNU/Linux. I know you can use mingw and link to the
> python dll, but is there a way to create a win32 service under Linux?
Technically, you can probab
Peter Otten wrote:
So, precisely, you mean that if hash(a) != hash(b), a and b are
considered distinct, and else [ie. if hash(a) == hash(b)], a and b are
the same if and only if a == b ?
Correct for set, dict. For lists etc. the hash doesn't matter:
Since CPython saves strings hashes as pa
SUBHABRATA wrote:
Sorry if I didn't say that.
The input is a string "Petrol Helium Heaven Sky"
Now, in a3 it is "God Goddess Heaven Sky" is there,
> ...I was looking for an output of "H S Petrol Helium"
Meaningful names, splitting the target string, and using 'in' makes the
code much easier
If you're just writing Python code then it will run unmodified on his
Windows machine.
Are you planning on using other languages too?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Levi Campbell
Sent: Friday, July 18, 2008 4:27 PM
To: python-list@python.
Hi, I'm trying to write a program for a friend of mine who uses
windows but I use GNU/Linux. I know you can use mingw and link to the
python dll, but is there a way to create a win32 service under Linux?
--
http://mail.python.org/mailman/listinfo/python-list
On Jul 18, 2:35 pm, KDawg44 <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am very new to Python but find it very interesting (from what I know
> of it) and am considering writing an application. However, I have a
> question regarding distribution of the app once it is done. Is there
> a way to package e
On Fri, Jul 18, 2008 at 3:43 PM, Stephen Johnson <[EMAIL PROTECTED]> wrote:
> Look up py2app and py2exe, for OS X and Windows, respectively. They are
> extensively documented and easy to use.
> On Jul 18, 2008, at 3:35 PM, KDawg44 wrote:
>
> Hi,
>
> I am very new to Python but find it very interes
I built and installed Python 2.4 on 12/12/2007. Recently, I tried
installing python-ldap-2.3.4. The error I received was:
error: invalid Python installation: unable to open
/usr/local/openSource/architectureIndependent:/usr/local/openSource/IRIX
6/lib/python2.4/config/Makefile (No such file or di
[EMAIL PROTECTED] wrote:
> Basically, I'm trying to implement a setUp() and TearDown() for a
> python TestSuite (as opposed to an individual test within the suite).
>
> Sort of.
>
> I have a few different test suites (call them SuiteA, SuiteB,...). For
> one of the test suites (SuiteA), I need t
Look up py2app and py2exe, for OS X and Windows, respectively. They
are extensively documented and easy to use.
On Jul 18, 2008, at 3:35 PM, KDawg44 wrote:
Hi,
I am very new to Python but find it very interesting (from what I know
of it) and am considering writing an application. However, I
Hi,
I am very new to Python but find it very interesting (from what I know
of it) and am considering writing an application. However, I have a
question regarding distribution of the app once it is done. Is there
a way to package everything a user needs to run the app or will they
have to install
On Fri, Jul 18, 2008 at 4:21 PM, mark floyd <[EMAIL PROTECTED]> wrote:
> I'm new to Python and have been doing work converting a few apps from Perl
> to Python. I can not figure out the comparable Python structures for
> multi-variable for loop control.
>
> Examples:
>
> # In Perl
> for($i = 0, j
On Jul 18, 2:10 pm, Marc 'BlackJack' Rintsch <[EMAIL PROTECTED]> wrote:
> On Fri, 18 Jul 2008 11:31:20 -0700, Jason Baker wrote:
> > I have a class that I need to do some finalization on when it dies. I
> > know I can use the __del__ method, but I seem to recall that it
> > impedes garbage collect
I'm new to Python and have been doing work converting a few apps from Perl
to Python. I can not figure out the comparable Python structures for
multi-variable for loop control.
Examples:
# In Perl
for($i = 0, j = 0; $i < I_MAX && $j < J_MAX; $i+=5, $j += 10)
{
. do something
}
// In Java
Basically, I'm trying to implement a setUp() and TearDown() for a
python TestSuite (as opposed to an individual test within the suite).
Sort of.
I have a few different test suites (call them SuiteA, SuiteB,...). For
one of the test suites (SuiteA), I need to execute a bit of code (say
startFoo())
import bsddb
bsddb.btopen(file, flag='c', mode=438, btflags=0, cachesize=None,
maxkeypage=None, minkeypage=None, pgsize=None, lorder=None)
Can anyone help me with the values to use for btflags? I'd like to
tell the database manager that I want to allow duplicate values. The
ORACLE Berkeley docu
On Jul 18, 2:17 pm, castironpi <[EMAIL PROTECTED]> wrote:
> On Jul 17, 11:39 pm, Kay Schluehr <[EMAIL PROTECTED]> wrote:
>
>
>
> > On 18 Jul., 01:15, castironpi <[EMAIL PROTECTED]> wrote:
>
> > > On Jul 17, 5:37 pm, I V <[EMAIL PROTECTED]> wrote:
>
> > > > On Thu, 17 Jul 2008 15:08:17 -0700, castir
On Fri, 18 Jul 2008 11:31:20 -0700, Jason Baker wrote:
> I have a class that I need to do some finalization on when it dies. I
> know I can use the __del__ method, but I seem to recall that it
> impedes garbage collection. Is this the case?
`__del__()` is not a deterministic destructor. So for
Thank you so much for the reply, but alas: I get the same results.
(urllib2 makes the initial request, Squid replies "Error 407: Proxy
Authentication Required", which urllib2 dutifully fails on/raises said
error...)
I do appreciate your time, though! :)
-Larry
On Jul 18, 3:08 am, Chris <[EMAIL
Thank you so much for the reply, but alas: I get the same results.
(urllib2 makes the initial request, Squid replies "Error 407: Proxy
Authentication Required", which urllib2 dutifully fails on/raises said
error...)
I do appreciate your time, though! :)
-Larry
On Jul 18, 3:08 am, Chris <[EMAIL
Thank you so much for the reply, but alas: I get the same results.
(urllib2 makes the initial request, Squid replies "Error 407: Proxy
Authentication Required", which urllib2 dutifully fails on/raises said
error...)
I do appreciate your time, though! :)
-Larry
On Jul 18, 3:08 am, Chris <[EMAIL
I'm experiencing some strange behavior when starting up python on a
Debian-based PowerPC platform. Normally, I operate from this platform
with a root file system on an IDE flash drive (/dev/hda1). However,
I'm trying to get my system to run with root on a mechanical SATA
drive (/dev/sda1). Both
I have a class that I need to do some finalization on when it dies. I
know I can use the __del__ method, but I seem to recall that it
impedes garbage collection. Is this the case?
(keep in mind that my code aims to be compatible with python 2.3 to
python 2.5)
--
http://mail.python.org/mailman/li
On Jul 17, 11:39 pm, Kay Schluehr <[EMAIL PROTECTED]> wrote:
> On 18 Jul., 01:15, castironpi <[EMAIL PROTECTED]> wrote:
>
>
>
> > On Jul 17, 5:37 pm, I V <[EMAIL PROTECTED]> wrote:
>
> > > On Thu, 17 Jul 2008 15:08:17 -0700, castironpi wrote:
> > > > The Python disassembly is baffling though.
>
> >
On Jul 18, 1:32 am, John Machin <[EMAIL PROTECTED]> wrote:
> On Jul 18, 4:26 pm, castironpi <[EMAIL PROTECTED]> wrote:
>
> > I delicately ask for an example in natural language and daily life in
> > which we change what object a name refers to,
>
> her, him, it, ... i.e. any pronoun
In that case,
well, I'm in the beginings of making a random sentence generator for a mod my
friend makes, but I want the nouns, verbs pastverbs, etc. to be easily
customizable by editing a file, but, last night file() worked fine and today
it's saying " line 1: `read_who = file('who.ini', 'r')'"
here's what
We are manufacturer/wholesaler for branded sport shoes and clothings,
supplying 3A quality product with reasonable price, such as series
of :
Jordan 1-22
Air force one (AF1),Dunks,
air max 95,97,2003,2004,2005,tn
shox TL/TL2/TL3, R4/R5, monster, turbo, NZ
bape shoes,adidas ,Timberlands etc.
t-shirt
Today, i took sometime to list some major or talked-about langs that
arose in recent years.
Here's the result:
http://xahlee.org/UnixResource_dir/writ/new_langs.html
Plain text version follows.
-
There is a proliferation of computer languages today like never
Hi,
In my first message in the list I'm going to ask you to solve this problem
or at least help me to solve it by myself:
We have a list a couples created this way:
*parejas = [(1, 'a'), (1, 'b'), (1, 'c'), (1, 'd'),
(2, 'a'), (2, 'b'), (2, 'c'),
(3, 'a'), (3, 'b'),
>
> > Why not just use * instead of + like:
>
> > if re.search(r'^[^LRM]*$', var): # note: ^ outside [] is start of
> > string; $ means end of string
> > print "Invalid"
>
> > This will *only* print invalid when there is a character other than L,
> > R, or M or a empty string.
>
> Sorry, forget
On Jul 18, 7:51 am, Andrew Freeman <[EMAIL PROTECTED]> wrote:
> Andrew Freeman wrote:
> > oj wrote:
> >> On Jul 18, 12:10 pm, John Machin <[EMAIL PROTECTED]> wrote:
>
> >>> On Jul 18, 9:05 pm, oj <[EMAIL PROTECTED]> wrote:
>
> On Jul 18, 11:33 am, [EMAIL PROTECTED] wrote:
>
> > Hi,
> >
[EMAIL PROTECTED] wrote:
>> What is your (concrete) use case, by the way?
>
>
>
> I try to make it simple (there is almost 25000 lines of code...)
> I have a sheet with geometrical objects (points, lines, polygons,
> etc.)
> The sheet have an object manager.
>
> So, to simplify :
>
sheet
> The logging configuration functionality provided by fileConfig is all-
> or-nothing, i.e. it does not support incremental configuration.
>
> Do you know if any libraries you depend on use fileConfig?
>
> If you use programmatic configuration only, and don't use fileConfig
> at all, does everythin
On Fri, 18 Jul 2008 07:39:38 -0700, nicolas.pourcelot wrote:
> So, I use something like this in 'sheet.objects.__setattr__(self,
> name, value)':
> if type(value) == Polygon:
> for edge in value.edges:
> if edge is_in sheet.objects.__dict__.itervalues():
> object.__setattr_
In <[EMAIL PROTECTED]> Matthew Woodcraft <[EMAIL PROTECTED]> writes:
>kj wrote:
>> I still don't get it. If we write
>>
>> y = 'Y'
>> x, = y
>>
>> what's the difference now between x and y? And if there's no
>> difference, what's the point of performing such "unpacking"?
>If y really is is
On Jul 17, 5:18 pm, "Guilherme Polo" <[EMAIL PROTECTED]> wrote:
[snip]
> And.. for tkpng specifically, you won't need tk.call to use it, you
> just need to create your images using Tkinter.PhotoImage with a "png"
> type.
Thank you Guilherme, that's all great info.
> Thomas Troeger <[EMAIL PROTECT
On 2008-07-18 05:28, Dennis Lee Bieber wrote:
On Thu, 17 Jul 2008 20:26:11 -0300, "Gabriel Genellina"
<[EMAIL PROTECTED]> declaimed the following in comp.lang.python:
Note that I used %s everywhere (it's just a placeholder, not a format) and
Unfortunately, in the case of M
On Fri, 18 Jul 2008 10:04:29 -0400, Russell Blau wrote:
> values = {}
> for expression in line.split(" "):
> if "=" in expression:
> name, val = expression.split("=")
> values[name] = val
> […]
>
> And when you get to be a really hard-core Pythonista, you could write
> the whol
Doug Morse wrote:
> Well, I must be missing something re: why Stefan states that you are using
> Windows. I don't see that stated in your original post
It's stated in the mail headers of his post, though. That's the problem with
newbies - you never know where that stops being right.
Stefan
--
ht
I am learning about python but I would like to attend and evening class at
college as I find it hard to study at home. Does anyone know of such a class
in London UK?
--
http://mail.python.org/mailman/listinfo/python-list
kj wrote:
I just came across an assignment of the form
x, = y
where y is a string (in case it matters).
1. What's the meaning of the comma in the LHS of the assignment?
2. How could I have found this out on my own?
(Regarding (2) above, I consulted the index of several Python
reference boo
On Jul 18, 12:03 pm, "Robert Rawlins"
<[EMAIL PROTECTED]> wrote:
>
> Yeah it's got me a little bemused to be honest, I've tried playing around
> with configuration options this morning and not been able to achieve
> anything that works properly.
>
The logging configuration functionality provided b
Hi,
in an extension module i'd like to create a very large PyString.
As the string is very large i'd first like to create the string
and let Python allocate the space for it and then fill it from
my code.
But the only interface that i can find in Python/stringobject.h
is:
PyAPI_FUNC(PyObject *)
On Jul 18, 7:51 pm, Andrew Freeman <[EMAIL PROTECTED]> wrote:
> Andrew Freeman wrote:
> > oj wrote:
> >> On Jul 18, 12:10 pm, John Machin <[EMAIL PROTECTED]> wrote:
>
> >>> On Jul 18, 9:05 pm, oj <[EMAIL PROTECTED]> wrote:
>
> On Jul 18, 11:33 am, [EMAIL PROTECTED] wrote:
>
> > Hi,
> >
Andrew Freeman wrote:
oj wrote:
On Jul 18, 12:10 pm, John Machin <[EMAIL PROTECTED]> wrote:
On Jul 18, 9:05 pm, oj <[EMAIL PROTECTED]> wrote:
On Jul 18, 11:33 am, [EMAIL PROTECTED] wrote:
Hi,
Hi,
I am taking a string as an input from the user and it
should only
oj wrote:
On Jul 18, 12:10 pm, John Machin <[EMAIL PROTECTED]> wrote:
On Jul 18, 9:05 pm, oj <[EMAIL PROTECTED]> wrote:
On Jul 18, 11:33 am, [EMAIL PROTECTED] wrote:
Hi,
Hi,
I am taking a string as an input from the user and it should only
contain the chars
Announcing PyStar, a python module implementing the A* graph search
algorithm. Available under the GPL, you can find it at
http://fluffybunny.memebot.com/pystar.html
I tried to find a decent Python version of this on the Interweb, but the
only one I found (http://arainyday.se/projects/python
On Jul 18, 3:35 pm, Nick Dumas <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> I think you're over-complicating this. I'm assuming that you're going to
> do a line graph of some sorta, and each new line of the file contains a
> new set of data.
>
> The problem you m
> What is your (concrete) use case, by the way?
I try to make it simple (there is almost 25000 lines of code...)
I have a sheet with geometrical objects (points, lines, polygons,
etc.)
The sheet have an object manager.
So, to simplify :
>>> sheet.objects.A = Point(0, 0)
>>> sheet.objects.B = P
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I think you're over-complicating this. I'm assuming that you're going to
do a line graph of some sorta, and each new line of the file contains a
new set of data.
The problem you mentioned with your regex returning a match object
rather than a string i
Hi,
I'm using decos for the first time.I want to check the input and then call a
function in a class.
I'm pasting the code:
def check_input_sanity(self,rover_input):
'''Check the input from client'''
def _check(fn):
def _inner(rover_input):
if
ro
[EMAIL PROTECTED] wrote:
Hello,
I am new to Python, with a background in scientific computing. I'm
trying to write a script that will take a file with lines like
c afrac=.7 mmom=0 sev=-9.56646 erep=0 etot=-11.020107 emad=-3.597647
3pv=0
extract the values of afrac and etot and plot them. I'm r
On 18 juil, 14:33, antar2 <[EMAIL PROTECTED]> wrote:
> I want to replace each first element in list 5 that is equal to the
> first element of the list of lists4 by the fourth element. I wrote
> following code that does not work:
>
> list4 = [['1', 'a', 'b', 'c'], ['2', 'd', 't', 'e'], ['8', 'g', 'q
[EMAIL PROTECTED] wrote:
Hello,
I am new to Python, with a background in scientific computing. I'm
trying to write a script that will take a file with lines like
c afrac=.7 mmom=0 sev=-9.56646 erep=0 etot=-11.020107 emad=-3.597647
3pv=0
extract the values of afrac and etot...
Why not just sp
1 - 100 of 175 matches
Mail list logo