Hi, pythoners,
I am planning a face-to-face meetup on RAD with python:
http://python.meetup.com/190/
Depends on the time commitment frame of python developers, we meet
monthly, weekly, or even daily, at convenient place like coffee
society, library, bookstore, ..., etc.
I will also be trying to
[EMAIL PROTECTED] wrote:
Hi everyone,
After having used Python on Linux for some time, I now have to do
Python coding on Windows. I am big fan of the interactive Python shell
to test, eg, regexps.
Is there an interactive Python shell on Windows that supports:
- easy copy-pasting to/from an edi
On Oct 1, 6:53 pm, Lie Ryan <[EMAIL PROTECTED]> wrote:
> In fact, MVC and event-driven is two entirely different concept. You can
> have both, or none. It is, in the end, your choice which one to use or
> whether you want to use both or none.
>
> Event-driven programming is a concept that your prog
Phillip B Oldham <[EMAIL PROTECTED]> said :
> On Oct 1, 10:29 am, Michele Simionato <[EMAIL PROTECTED]>
> wrote:
>> How about wsgiref in the standard library? It is as small as you can
>> get without resorting to CGI.
>
> Interesting... I'll be sure to check that out also.
>
> Someone also menti
On Oct 1, 9:46 am, Luis Zarrabeitia <[EMAIL PROTECTED]> wrote:
> Hi there.
>
> For most use cases I think about, the iterator protocol is more than enough.
> However, on a few cases, I've needed some ugly hacks.
>
> Ex 1:
>
> a = iter([1,2,3,4,5]) # assume you got the iterator from a function and
>
On Oct 1, 9:53 am, [EMAIL PROTECTED] wrote:
> Hi everyone,
>
> After having used Python on Linux for some time, I now have to do
> Python coding on Windows. I am big fan of the interactive Python shell
> to test, eg, regexps.
>
> Is there an interactive Python shell on Windows that supports:
>
> -
> But what are we doing here? Can you convince me that we are emitting UTF-8?
Most definitely not. We are emitting cp1251.
> I need UTF-8 because I need to experiment with some OS function calls that
> give me UTF-16 and I need to emit UTF-16 or UTF-8.
Try setting the code page to 65001, and e
On Oct 1, 3:10 pm, Jason Scheirer <[EMAIL PROTECTED]> wrote:
> On Oct 1, 9:53 am, [EMAIL PROTECTED] wrote:
>
>
>
> > Hi everyone,
>
> > After having used Python on Linux for some time, I now have to do
> > Python coding on Windows. I am big fan of the interactive Python shell
> > to test, eg, regex
Jason Scheirer wrote:
On Oct 1, 9:53 am, [EMAIL PROTECTED] wrote:
Hi everyone,
After having used Python on Linux for some time, I now have to do
Python coding on Windows. I am big fan of the interactive Python shell
to test, eg, regexps.
Is there an interactive Python shell on Windows that
>>> import md5
>>> a=md5.md5()
>>> import pickle
>>> pickle.dumps(a)
Traceback (most recent call last):
File "", line 1, in
File "C:\Python25\lib\pickle.py", line 1366, in dumps
Pickler(file, protocol).dump(obj)
File "C:\Python25\lib\pickle.py", line 224, in dump
self.save(obj)
Fil
Luis Zarrabeitia wrote:
Hi there.
For most use cases I think about, the iterator protocol is more than enough.
However, on a few cases, I've needed some ugly hacks.
Ex 1:
a = iter([1,2,3,4,5]) # assume you got the iterator from a function and
b = iter([1,2,3]) # these two are just exampl
Kurda Yon wrote:
Hi,
I would like to declare a global variable, which is seen to a
particular function. If I do as the following it works:
x = 1
def test():
global x
print x
return 1
If you are just reading x, the global statement does nothing and is not
needed.
However, it does not
sandric ionut wrote:
I have the following situation:
nameAll = []
for i in range(1,10,1):
n = "name" + str([i])
nameAll += n
print nameAll
nameAll = []
for i in range(1,11):
n = "name" + str(i)
nameAll.append(n)
print(' '.join(nameAll)) #3.0
#prints
name1 na
Hello All :
A socket question from a networking newbie. I need to create
a server that:
1) receive a message from client.
2) check that message and response to it.
3) the client get the server message and send another message.
4) finally, the server receive the message and close the connection.
I want to use eval to evaluate wx.TextCtrl inputs. How can I keep python
from adding the __builtins__ key to mydict when I use it with eval? Other
wise I have to __delitem__('__builtins__') everytime I use eval?
>>> mydict = {'a':2,'b':3}
>>> eval('a*b',mydict)
6
>>> mydict
{'a': 2, '__builtins__'
Ezra Taylor wrote:
Is there something similar to /dev/null on Windows?
NUL:
TJG
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I m using Tkinter and Tix to create a GUI on Windows XP. So far I've created
the GUI and it just works.
But the problem is as soon as I double click on the script it besides
opening the GUI also opens a shell ( a blank screen) with it. Pleas suggest
how can I get rid of this blank screen.
42, for instance.
Proof :
>>> 42 is not object
True
QED
--
http://mail.python.org/mailman/listinfo/python-list
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:python-
> [EMAIL PROTECTED] On Behalf Of
> [EMAIL PROTECTED]
> Sent: Wednesday, October 01, 2008 12:54 PM
> To: [email protected]
> Subject: decent interactive python shell on MS Windows?
> Is there an interactive Python shell
On Oct 1, 3:50 pm, est <[EMAIL PROTECTED]> wrote:
> >>> import md5
> >>> a=md5.md5()
> >>> import pickle
> >>> pickle.dumps(a)
>
> Traceback (most recent call last):
> File "", line 1, in
> File "C:\Python25\lib\pickle.py", line 1366, in dumps
> Pickler(file, protocol).dump(obj)
> File "
Maybe you need to close the socket somewhere else, rather than to close it
when you receive the your response.
On Tue, Sep 30, 2008 at 7:01 AM, Ali Hamad <[EMAIL PROTECTED]> wrote:
> Hello All :
>
> A socket question from a networking newbie. I need to create
> a server that:
>
> 1) receive a me
Run your script using pythonw.exe instead of python.exe ; it doesn't
open a console window and exists for this exact purpose.
Cheers,
Chris Rebert
On Sep 30, 2008, at 1:28 PM, [EMAIL PROTECTED] wrote:
Hi,
I m using Tkinter and Tix to create a GUI on Windows XP. So far I've
created the GU
Maybe you need to close the socket somewhere else, rather than to
close it when you receive the your response.
On 9月30日, 上午7时01分, Ali Hamad <[EMAIL PROTECTED]> wrote:
> Hello All :
>
> A socket question from a networking newbie. I need to create
> a server that:
>
> 1) receive a message from clien
Hi All,
I apologize in advance if my question sounds dumb. I googled back
and forth but my google-fu today is not working very well...
I have seen the new style Python html documentation, which is
extremely nice, and by reading here and there I have seen that it has
been generated using Georg
Hi,
Does Python have a free source community for the numerical problems
coding? I mean, are there some web-sites where I could find a free
code for such problems like calculation of eigenvectors and
eigenvalues of matrices?
Thank you!
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, Oct 1, 2008 at 5:02 PM, Chris Rebert <[EMAIL PROTECTED]> wrote:
> Run your script using pythonw.exe instead of python.exe ; it doesn't open a
> console window and exists for this exact purpose.
In particular, you can just rename your script from "myscript.py" to
"myscript.pyw". Then when
Kurda Yon wrote:
Hi,
Does Python have a free source community for the numerical problems
coding? I mean, are there some web-sites where I could find a free
code for such problems like calculation of eigenvectors and
eigenvalues of matrices?
Did you try searching, say with Google?
"Python numer
Kurda Yon wrote:
> Hi,
>
> Does Python have a free source community for the numerical problems
> coding? I mean, are there some web-sites where I could find a free
> code for such problems like calculation of eigenvectors and
> eigenvalues of matrices?
>
> Thank you!
Try here:
http://numpy.scip
megarotic
.
.
.
***CLICK HERE
http://vids365.cn/megarotic
*
.
.
.
.
.
.
.
.
.
.
.
.
megarotic
--
http://mail.python.org/mailman/listinfo/python-list
megarotic ip
.
.
.
***CLICK HERE
http://vids365.cn/megarotic-ip
*
.
.
.
.
.
.
.
.
.
.
.
.
megarotic ip
--
http://mail.python.org/mailman/listinfo/python-list
megarotic rar
.
.
.
***CLICK HERE
http://vids365.cn/megarotic-rar
*
.
.
.
.
.
.
.
.
.
.
.
.
megarotic rar
--
http://mail.python.org/mailman/listinfo/python-list
megarotic hot
.
.
.
***CLICK HERE
http://vids365.cn/megarotic-hot
*
.
.
.
.
.
.
.
.
.
.
.
.
megarotic hot
--
http://mail.python.org/mailman/listinfo/python-list
www megarotic
.
.
.
***CLICK HERE
http://vids365.cn/www-megarotic
*
.
.
.
.
.
.
.
.
.
.
.
.
www megarotic
--
http://mail.python.org/mailman/listinfo/python-list
www megarotic
.
.
.
***CLICK HERE
http://vids365.cn/www-megarotic
*
.
.
.
.
.
.
.
.
.
.
.
.
www megarotic
--
http://mail.python.org/mailman/listinfo/python-list
megarotic pass
.
.
.
***CLICK HERE
http://vids365.cn/megarotic-pass
*
.
.
.
.
.
.
.
.
.
.
.
.
megarotic pass
--
http://mail.python.org/mailman/listinfo/python-list
megarotic login
.
.
.
***CLICK HERE
http://vids365.cn/megarotic-login
*
.
.
.
.
.
.
.
.
.
.
.
.
megarotic login
--
http://mail.python.org/mailman/listinfo/python-list
megarotic asian
.
.
.
***CLICK HERE
http://vids365.cn/megarotic-asian
*
.
.
.
.
.
.
.
.
.
.
.
.
megarotic asian
--
http://mail.python.org/mailman/listinfo/python-list
Excuse me!!
Would you stop for a moment?!
O...man...Haven't you thought-one day- about yourself ?
Who has made it?
Have you seen a design which hasn't a designer ?!
Have you seen a wonderful,delicate work without a worker ?!
It's you and the whole universe!..
Who has made them all ?!!
You know who
Sorry if this is misplaced, but I could have sworn I saw a link on
this list to a package that would auto-generate data entry type forms
from a database schema, similar to django's auto-admin interface.
Does anyone recall a package like that? I did some searching, but
I've only found documentatio
> I need UTF-8 because I need to experiment with some OS function calls that
> give me UTF-16 and I need to emit UTF-16 or UTF-8.
<[EMAIL PROTECTED]> wrote:
>Try setting the code page to 65001, and emit the UTF-8 explicitly.
Hmm... apparently that's not allowed on Windows XP:
C:\> chcp 65001
Ac
megarotic
.
.
.
***CLICK HERE
http://vids365.cn/megarotic
*
.
.
.
.
.
.
.
.
.
.
.
.
megarotic
--
http://mail.python.org/mailman/listinfo/python-list
On Wed, Oct 1, 2008 at 6:01 PM, Phillip B Oldham
<[EMAIL PROTECTED]> wrote:
> Are there any python event driven frameworks other than twisted?
Phillip, I have been developing a rather unique
event-driven and component architecture library
for quite some time that is (not twisted). Actually
it's no
On Wed, Oct 1, 2008 at 6:55 PM, Phillip B Oldham
<[EMAIL PROTECTED]> wrote:
> I've noticed that. I'm thinking more for a web environment (instead of
> MVC) or as a HTTP server. I know Twisted has TwistedWeb, but I'm
> looking for alternatives.
Again with pymills, here's an alternative:
http://hg.
On Thu, Oct 2, 2008 at 2:09 AM, Bruno Desthuilliers
<[EMAIL PROTECTED]> wrote:
> "view" doesn't imply (x)html - any valid HTTP response is ok. The whole
> point of decoupling controler from view (in web MVC) is to allow the same
> controler to return different views.
There is an alternative to the
On Wednesday 01 October 2008 01:14:14 pm Peter Otten wrote:
> Luis Zarrabeitia wrote:
> > a = iter([1,2,3,4,5]) # assume you got the iterator from a function and
> > b = iter([1,2,3]) # these two are just examples.
>
> Can you provide a concrete use case?
I'd like to... but I've refactored awa
Grant Edwards wrote:
> On 2008-09-30, Peter Pearson <[EMAIL PROTECTED]> wrote:
>> On Tue, 30 Sep 2008 00:04:18 +0200, Ivan Rebori wrote:
>>> 1. Multi dimensional arrays - how do you load them in python
>>> For example, if I had:
>>> ---
>>> 1 2 3
>>> 4 5 6
>>> 7 8 9
>>>
>>> 10 11 12
>>> 13 14 1
"Ross Ridge" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
I need UTF-8 because I need to experiment with some OS function calls
that
give me UTF-16 and I need to emit UTF-16 or UTF-8.
<[EMAIL PROTECTED]> wrote:
Try setting the code page to 65001, and emit the UTF-8 explicitly
On Oct 1, 4:10 pm, Infinity77 <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I apologize in advance if my question sounds dumb. I googled back
> and forth but my google-fu today is not working very well...
> I have seen the new style Python html documentation, which is
> extremely nice, and by readin
"Siegfried Heintze" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Make sure you are using the Lucida Console font for the cmd.exe window and
type the commands:
chcp 1251
python -c "print ''.join(unichr(i) for i in range(0x410,0x431))"
Output:
?
"Ali Hamad" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
Hello All :
A socket question from a networking newbie. I need to create
a server that:
1) receive a message from client.
2) check that message and response to it.
3) the client get the server message and send another me
On Oct 1, 3:14 pm, Terry Reedy <[EMAIL PROTECTED]> wrote:
> Luis Zarrabeitia wrote:
> > Hi there.
>
> > For most use cases I think about, the iterator protocol is more than enough.
> > However, on a few cases, I've needed some ugly hacks.
>
> > Ex 1:
>
> > a = iter([1,2,3,4,5]) # assume you got the
On Oct 1, 2:50 pm, est <[EMAIL PROTECTED]> wrote:
> >>> import md5
> >>> a=md5.md5()
> >>> import pickle
> >>> pickle.dumps(a)
>
> Traceback (most recent call last):
> File "", line 1, in
> File "C:\Python25\lib\pickle.py", line 1366, in dumps
> Pickler(file, protocol).dump(obj)
> File "
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On behalf of the Python development team and the Python community, I
am happy to announce the release of Python 2.6 final. This is the
production-ready version of the latest in the Python 2 series.
There are many new features and modules, impro
On Oct 2, 5:46 am, Barry Warsaw <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On behalf of the Python development team and the Python community, I
> am happy to announce the release of Python 2.6 final.
Cool! I have just downloaded the Mac installer and did
the
Hi all,
I'm a python beginner, and I have a problem with no solution I can
see:
I want to index all instances of an object by an internal id (not the
hash) and be able to retrieve them later.
I created a class-level dictionary (Item._itemById) where I add every
new instance. My problem is:
How
On Oct 2, 7:54 am, Dan Barbus <[EMAIL PROTECTED]> wrote:
>
> def getItemById(id):
> return _itemsById[id]
I just saw that this won't compile. Still, ignoring this, I thing the
purpose of the code is pretty clear.
Thanks for any feedback.
--
http://mail.python.org/mailman/listinfo/pyt
Also, the docs currently seem broken.
Example: http://docs.python.org/library/weakref.html#module-weakref ,
which is linked to from the new module index page, gives a 404 error.
Cheers,
Chris Rebert
On Wed, Oct 1, 2008 at 8:46 PM, Barry Warsaw <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED ME
En Wed, 01 Oct 2008 08:11:29 -0300, Igor Kaplan
<[EMAIL PROTECTED]> escribió:
I got quite unusual problem and all my searches to find the answer on
my
own were not successful.
Here is the scenario:
I have the python program, let's call it script1.py, this program
needs to
execute an
Barry Warsaw <[EMAIL PROTECTED]> writes:
> http://docs.python.org/dev/whatsnew/2.6.html
Wow! This is a very major upgrade with lots of welcome extensions.
I hadn't been following the 2.6 efforts that closely so I am awed.
Congrats!
--
http://mail.python.org/mailman/listinfo/python-list
On Oct 2, 11:27 am, "Aaron \"Castironpi\" Brady"
<[EMAIL PROTECTED]> wrote:
> On Oct 1, 2:50 pm, est <[EMAIL PROTECTED]> wrote:
>
>
>
>
>
> > >>> import md5
> > >>> a=md5.md5()
> > >>> import pickle
> > >>> pickle.dumps(a)
>
> > Traceback (most recent call last):
> > File "", line 1, in
> > Fi
On Oct 1, 10:01 pm, Dan Barbus <[EMAIL PROTECTED]> wrote:
> On Oct 2, 7:54 am, Dan Barbus <[EMAIL PROTECTED]> wrote:
>
>
>
> > def getItemById(id):
> > return _itemsById[id]
>
> I just saw that this won't compile. Still, ignoring this, I thing the
> purpose of the code is pretty clear.
En Wed, 01 Oct 2008 14:48:52 -0300, Almar Klein <[EMAIL PROTECTED]>
escribió:
I wanted to give your solution a try, but got stuck.
The file that I want to replace the "standard input" with is a pseudo
file
object with a custom read method. I have a hard time finding out how
to have a file d
On Wed, 01 Oct 2008 21:54:26 -0700, Dan Barbus wrote:
> def __del__(self):
> Item._count -= 1
> # Should I do something here to delete the instance?
> # Will this ever be called if the instance is in a static
> dictionary?
Don't use the `__del__()` method. It is not r
On Thu, Oct 2, 2008 at 3:34 PM, est <[EMAIL PROTECTED]> wrote:
> wow. It's giga-size file. I need stream reading it, md5 it. It may
> break for a while.
So use generators and consume the stream ?
--JamesMills
--
--
-- "Problems are solved by method"
--
http://mail.python.org/mailman/listinfo/py
In message <[EMAIL PROTECTED]>, Steven
D'Aprano wrote:
> On Wed, 01 Oct 2008 22:14:49 +1300, Lawrence D'Oliveiro wrote:
>
>> In message
>> <[EMAIL PROTECTED]>,
>> Aaron "Castironpi" Brady wrote:
>>
>>> Do you ever want to scream from the rooftops, "'append' operates by
>>> side-effect!"?
>>
>>
James Mills wrote:
> On Thu, Oct 2, 2008 at 3:34 PM, est <[EMAIL PROTECTED]> wrote:
>
>> wow. It's giga-size file. I need stream reading it, md5 it. It may
>> break for a while.
>>
>
> So use generators and consume the stream ?
>
> --JamesMills
>
>
it's not the stream's problem. it the m
101 - 166 of 166 matches
Mail list logo