Just a quick note to let everyone know that there are still a few slots
available for this PyCON'2010 tutorial in Chicago. Come find out why you
might want to start using Python 3.1.
-- Dave
Mastering Python 3 I/O
** PyCON'2010 Tutorial Preview in Chicago
hi,
I'm not sure how I can use exec within a function correctly
here is the code i'm using:
def a():
exec('b=1')
print(b)
a()
this will raise an error, but I would like to see it outputting 1
thanks
smk
--
http://mail.python.org/mailman/listinfo/python-list
Hi,
I wondered what IPC library might be best simplest for following task?
I'm having a few python scripts all running on the same host (linux or
win), which are started manually in random order. (no common parent process)
Each process might be identified by an integer (1,2,3) or by a symbolic
On 2 Feb 2010, at 17:52 , Jean-Michel Pichavant wrote:
Masklinn wrote:
Jean-Michel Pichavant wrote:
To add a custom level, I would proceed that way:
logging.ALERT = 45
logging.addLevelName(logging.ALERT, 'ALERT !!')
logging.getLogger().log(logging.ALERT, 'test')
Passing a string to
On Jan 28, 2:29 am, Jonathan Gardner jgard...@jonathangardner.net
wrote:
On Jan 27, 5:47 am, Simon Brunning si...@brunningonline.net wrote:
I think Python is a little cleaner, but I'm sure you'd find Ruby fans
who'd argue the complete opposite.
Are you sure about that?
There's a lot of
En Wed, 03 Feb 2010 05:32:58 -0300, News123 news...@free.fr escribió:
I'm having a few python scripts all running on the same host (linux or
win), which are started manually in random order. (no common parent
process)
Each process might be identified by an integer (1,2,3) or by a symbolic
On Feb 3, 8:32 am, News123 news...@free.fr wrote:
Hi,
I wondered what IPC library might be best simplest for following task?
I'm having a few python scripts all running on the same host (linux or
win), which are started manually in random order. (no common parent process)
Each process might
I have just installed pyfltk version 1.1.4 on my xubuntu 9.10 system,
it's working OK and a fairly trivial little program I have written is
able to pop up a GUI window.
However I'm now a bit stuck as the documentation seems a little
sparse. For example I'm using FL_Multiline_Output and can't
On 3 feb, 09:34, Vinay Sajip vinay_sa...@yahoo.co.uk wrote:
On Feb 3, 8:32 am, News123 news...@free.fr wrote:
Hi,
I wondered what IPC library might be best simplest for following task?
I'm having a few python scripts all running on the same host (linux or
win), which are started
Hi Gabriel,
I'll look at it.
I wasn't aware about named pipes for windows.
bye
N
Gabriel Genellina wrote:
En Wed, 03 Feb 2010 05:32:58 -0300, News123 news...@free.fr escribió:
I'm having a few python scripts all running on the same host (linux or
win), which are started manually in
The reason is that log takes an *int* as first argument that defines the
logging level. You gave a string. So There is definitely a reason for it to be
incorrect.
That's not a reason, that's just what currently happens. I know it doesn't
work, and I know why, I went and checked the
[News123news...@free.fr]
I wondered what IPC library might be best simplest for following task?
...
xmlrpc seems to be a little heavy for such tasks.
signals don't allow to exchange data
a shared memory message queue would probably a good solution, but
python's Multiprocessing.Queue
I like seeing them in the same place as the source file, because when I
start developing a module, I often end up renaming it multiple times
before it settles on a final name. When I rename or move it, I delete
the .pyc file, and that ensures that if I miss changing an import, and
try to
On 03.02.2010 09:32, News123 wrote:
Hi,
I wondered what IPC library might be best simplest for following task?
Consider using Thrift (http://incubator.apache.org/thrift/). It is
multiplatform multilanguage RPC and IPC solution. I implemented it in
couple of my projects and it works
Hello,
I am sitting here for quite some time, but usually keep silent ;-) I
use Python since 2003 both professionally and for my hobby projects
and love it a much.
I notice however, that maintaining existing/older python code is may
be not so enjoyable task. It may be even harder than supporting
On 3 feb, 10:54, Tim Golden m...@timgolden.me.uk wrote:
[News123news...@free.fr]
I wondered what IPC library might be best simplest for following task?
...
xmlrpc seems to be a little heavy for such tasks.
signals don't allow to exchange data
a shared memory message queue would
On 3 Feb 2010, at 11:50 , Jean-Michel Pichavant wrote:
The reason is that log takes an *int* as first argument that defines the
logging level. You gave a string. So There is definitely a reason for it to
be incorrect.
That's not a reason, that's just what currently happens. I know
Xah Lee xah...@gmail.com writes:
(12:12:30 PM) You have been kicked by dash: (No.)
Oh noes, someone is harrassing poor Xah the Usenet spammer. You have
been and still are a major pain in the ass to a lot of Usenet users, and
still surprised that you're not making friends. I mean, what did you
kj no.em...@please.post writes:
(my replies in a different comp.lang.python thread are getting
rejected by the server; i have no problem posting to alt.test; and
i'm trying to toubleshoot the problem further.)
Thank you for this explanation. It is important to know that you've
tried the less
(my replies in a different comp.lang.python thread are getting
rejected by the server; i have no problem posting to alt.test; and
i'm trying to toubleshoot the problem further.)
--
http://mail.python.org/mailman/listinfo/python-list
News123 news...@free.fr writes:
I'm having a few python scripts all running on the same host (linux or
win), which are started manually in random order. (no common parent process)
Each process might be identified by an integer (1,2,3) or by a symbolic
name ( 'dad' , 'mom' , 'dog' )
If they
Vladimir Ignatov kmis...@gmail.com writes:
I notice however, that maintaining existing/older python code is may
be not so enjoyable task. It may be even harder than supporting old
code written in some type of static languages (like Java or C++).
Surely dynamic nature of python comes with
On Wed, 2010-02-03 at 14:10 +0300, Vladimir Ignatov wrote:
Hello,
I am sitting here for quite some time, but usually keep silent ;-) I
use Python since 2003 both professionally and for my hobby projects
and love it a much.
I notice however, that maintaining existing/older python code is may
Paul Rubin, 03.02.2010 14:07:
Instead of current text-oriented IDEs, it
should be a database-centric and resemble current CAD systems
I've never used a current CAD system, so I can't make any sense of this.
I don't see how databases would help.
Just like they help in current IDEs to
Masklinn wrote:
On 3 Feb 2010, at 11:50 , Jean-Michel Pichavant wrote:
You don't neeed to check the code for that ! It is written in the
documentation. The logging module designer choose to ask for a level, not a
level name, possibly because 2 different levels can have the same name.
Adam Tauno Williams, 03.02.2010 14:18:
This is obvious even in the Python documentation itself where one
frequently asks oneself Uhh... so what is parameter X supposed to be...
a string... a list... ?
Not knocking Python; Python is great. I maintain a rapidly growing
Python code base.
Adam Tauno Williams wrote:
Yes, it certainly does. Not that you'll get many Pythonistas to confess
to that fact. Somehow those who brag about the readability and
expressiveness of source code just cannot admit that:
class.method(sting name, int count)
- is *obviously* more expressive than
This is obvious even in the Python documentation itself where one
frequently asks oneself Uhh... so what is parameter X supposed to be...
a string... a list... ?
Exactly. Often I don't need to know the exact type, but to figure out
that kind of type it is.
should be a database-centric and
Steve, I apologize for the snarkiness of my previous reply to you.
After all, I started the thread by asking the forum for advice on
how to avoid a certain kind of bugs, you were among those who gave
me advice. So nothing other than thanking you for it was in order.
I just let myself get
On Feb 3, 12:10 pm, Vladimir Ignatov kmis...@gmail.com wrote:
Hello,
I am sitting here for quite some time, but usually keep silent ;-) I
use Python since 2003 both professionally and for my hobby projects
and love it a much.
I notice however, that maintaining existing/older python code is
Jean-Michel Pichavant jeanmic...@sequans.com writes:
class.method(string name, int count):
Return the cap'tain's age.
name: a string giving the name of the cap'tain daughter
count: an int giving the number of fingers left in the cap'tain
right hand
In python, attributes/parameters
The maintenance thing may be true but for me that doesn't outweigh the
clear benefits I get from using Python i.s.o. e.g. C++: the fact that
I have much less code that is more compact and for me more directly
readable is a clear advantage when doing maintance on code I didnt
touch for a
On Tue, 02 Feb 2010 15:07:05 -0800, Aahz wrote:
If you have a problem and you think that regular expressions are the
solution then now you have two problems. Regex is really overkill for
the OP's problem and it certainly doesn't improve readability.
If you're going to use a quote, it works
Yes, it certainly does. Not that you'll get many Pythonistas to confess
to that fact. Somehow those who brag about the readability and
expressiveness of source code just cannot admit that:
class.method(sting name, int count)
- is *obviously* more expressive than -
class.method(name,
On Wed, Feb 3, 2010 at 10:18 PM, Adam Tauno Williams
awill...@opengroupware.us wrote:
On Wed, 2010-02-03 at 14:10 +0300, Vladimir Ignatov wrote:
Hello,
I am sitting here for quite some time, but usually keep silent ;-) I
use Python since 2003 both professionally and for my hobby projects
and
Finally I develop a feeling that strong instrumentation / tools can
bring us the best of two worlds. That I am dreaming on is an absolute
new type/class of IDE suitable for Python and potentially for other
dynamic-type languages. Instead of current text-oriented IDEs, it
should be a
On Wed, 2010-02-03 at 16:23 +0100, Stef Mientki wrote:
Yes, it certainly does. Not that you'll get many Pythonistas
to confess
to that fact. Somehow those who brag about the readability
and
expressiveness of source code just cannot admit that:
I don't see what the advantage of the use of a database is in a fairly
linear hierarchical structure like python objects and modules.
Imagine simple operation like method renaming in a simple dumb
environment like text editor + grep. Now imagine how simple it can be
if system knows all your
I would like to add background zones in pylab plots. Colored sections
of the background that the curves pass through. Is this possible? My
google searches don't turn up anything but maybe my search terms
aren't the right ones.
Thanks
--
http://mail.python.org/mailman/listinfo/python-list
On 03-02-2010 16:48, Vladimir Ignatov wrote:
I don't see what the advantage of the use of a database is in a fairly
linear hierarchical structure like python objects and modules.
Imagine simple operation like method renaming in a simple dumb
environment like text editor + grep. Now
On Wed, 03 Feb 2010 08:07:50 +1100, Astan Chee wrote:
Sorry for being vague but here my question about converting an xml into
a dict. I found some examples online but none gives the dict/result I
want.
Which is kinda wrong. I expect the dict to have the Space usage
summary, but it
-Original Message-
From: Vladimir Ignatov
Sent: 03/02/2010 7:24:26 pm
Subject: Re: Dreaming of new generation IDE
This is obvious even in the Python documentation itself where one
frequently asks oneself Uhh... so what is parameter X supposed to be...
a string... a list... ?
In hkbv23$c0...@reader2.panix.com kj no.em...@please.post writes:
Steve, I apologize for the snarkiness of my previous reply to you.
After all, I started the thread by asking the forum for advice on
how to avoid a certain kind of bugs, you were among those who gave
me advice. So nothing other
On Feb 2, 10:03 pm, Mensanator mensana...@aol.com wrote:
On Feb 2, 12:45 am, casevh cas...@gmail.com wrote:
Everyone,
I'm pleased to annouce the final release of GMPY 1.11.
GMPY is a wrapper for the MPIR or GMP multiple-precision
arithmetic library. GMPY 1.11 is available for download
In article mailman.1585.1264743912.28905.python-l...@python.org,
Dennis Lee Bieber wlfr...@ix.netcom.com wrote:
I shall blaspheme, and suggest that maybe the language you want to
use is REXX (ooREXX or Regina).
By default, ANY statement that can not be confused for a REXX
language
In article hkc7uu$j...@reader2.panix.com, kj no.em...@please.post wrote:
I figured out the immediate reason for the failure: when replying
to *certain posts*, my newsreader omits the Newsgroups header from
the response. Why it does this is still a mystery to me, but at
least now I know what to
On Tue, 02 Feb 2010 10:38:53 -0800, Carl Banks wrote:
I don't know if that's necessary. Only supporting the foo.h case would
work fine if Python behaved like gcc, i.e. if the current directory
referred to the directory contain the file performing the import rather
than in the process' CWD.
Imagine simple operation like method renaming in a simple dumb
environment like text editor + grep. Now imagine how simple it can be
if system knows all your identifiers and just regenerates relevant
portions of text from internal database-alike representation.
I think every IDE (not older
Hi there,
I'm having some trouble with os.system on Fedora 12.
I have a bunch of .tex files in tmp/ and I want to compile them.
In my shell, the following commands work perfectly : 'for file in tmp/
*.tex; do pdflatex $file; done'.
But if I use the same command using os.system(), it will compile
Can you post your code?
On Wed, Feb 3, 2010 at 12:47 PM, Cpa cp.asto...@gmail.com wrote:
Hi there,
I'm having some trouble with os.system on Fedora 12.
I have a bunch of .tex files in tmp/ and I want to compile them.
In my shell, the following commands work perfectly : 'for file in tmp/
Sure.
import sys,re,os
files2create = sys.argv[1:]
os.system('mkdir tmp')
# Some code to create the .tex
# Compile tex files
os.system('for file in tmp/*; do pdflatex $file; done')
Pretty simple, alas.
--
Cpa
On 3 fév, 18:54, Gerald Britton gerald.brit...@gmail.com wrote:
Can you post your
I have a web-page where each row in a grid has edit/delete buttons to
enable the user to maintain a selected record on another page. The
buttons are in the form of a link with href='/item_edit?id=123', but
this string appears in the URL and gives clues as to how to bypass the
correct sequence
It kinda worked for me but I had to change it a little:
os.system('for file in /tmp/*.tex; do pdflatex $file; done')
Maybe you're picking up other files in /tmp that are not .tex files?
On Wed, Feb 3, 2010 at 12:58 PM, Cpa cp.asto...@gmail.com wrote:
Sure.
import sys,re,os
files2create =
On Feb 3, 3:10 am, Vladimir Ignatov kmis...@gmail.com wrote:
Finally I develop a feeling that strong instrumentation / tools can
bring us the best of two worlds. That I am dreaming on is an absolute
new type/class of IDE suitable for Python and potentially for other
dynamic-type languages.
On Feb 3, 10:37 am, casevh cas...@gmail.com wrote:
On Feb 2, 10:03 pm, Mensanator mensana...@aol.com wrote:
On Feb 2, 12:45 am, casevh cas...@gmail.com wrote:
Everyone,
I'm pleased to annouce the final release of GMPY 1.11.
GMPY is a wrapper for the MPIR or GMP
Vladimir Ignatov kmis...@gmail.com writes:
Finally I develop a feeling that strong instrumentation / tools can
bring us the best of two worlds. That I am dreaming on is an absolute
new type/class of IDE suitable for Python and potentially for other
dynamic-type languages. Instead of current
On Feb 3, 10:22 am, Mensanator mensana...@aol.com wrote:
On Feb 3, 10:37 am, casevh cas...@gmail.com wrote:
On Feb 2, 10:03 pm, Mensanator mensana...@aol.com wrote:
On Feb 2, 12:45 am, casevh cas...@gmail.com wrote:
Everyone,
I'm pleased to annouce the final release of GMPY
No, the tmp folder only contains files, and your modification still
won't work for me.
By the way I have the same error if I do:
files2compile = os.listdir('./tmp/')
for f in files2compile:
os.system('pdflatex '+f)
--
Cp
On 3 fév, 19:08, Gerald Britton gerald.brit...@gmail.com wrote:
It
For those who are interested, the Sauce Labs team,
http://saucelabs.com/about/team,
is hosting two free tutorial open space sessions at Pycon in Atlanta.
In the short session, people bringing their laptops should be able to
record a web session in their browser, convert the recorded activity
to
On 03-02-2010 18:21, Vladimir Ignatov wrote:
Imagine simple operation like method renaming in a simple dumb
environment like text editor + grep. Now imagine how simple it can be
if system knows all your identifiers and just regenerates relevant
portions of text from internal database-alike
On Wed, 2010-02-03 at 10:05 -0800, Phlip wrote:
On Feb 3, 3:10 am, Vladimir Ignatov kmis...@gmail.com wrote:
Finally I develop a feeling that strong instrumentation / tools can
bring us the best of two worlds. That I am dreaming on is an absolute
new type/class of IDE suitable for Python
QOTW: I think, in the spirit of the topic, they should hold it at both
places at the same time. - Brian Blais, on whether the Python Concurrency
Workshop, v2.0, should be in Chicago or Denver (in January!)
The fastest way to consume an iterable until exhaustion:
Nobody wrote:
The code you're using expects the XML to follow a particular format, and
yours doesn't.
You might want to start with a fairly direct translation, e.g.:
def xmldict(e):
d = {}
d['tag'] = e.tag
d.update(e.attrib)
children = map(xmldict, e)
if children:
On Wed, Feb 3, 2010 at 12:58 PM, Cpa cp.asto...@gmail.com wrote:
Sure.
import sys,re,os
files2create = sys.argv[1:]
os.system('mkdir tmp')
# Some code to create the .tex
# Compile tex files
os.system('for file in tmp/*; do pdflatex $file; done')
Pretty simple, alas.
I think your bug
That was it ! What a stupid error...
Thank you !
--
Cp
On Wed, Feb 3, 2010 at 20:13, Jerry Hill malaclyp...@gmail.com wrote:
On Wed, Feb 3, 2010 at 12:58 PM, Cpa cp.asto...@gmail.com wrote:
Sure.
import sys,re,os
files2create = sys.argv[1:]
os.system('mkdir tmp')
# Some code to create
Don't give it another thought. I'd much rather you cared than you didn't ...
regards
Steve
kj wrote:
Steve, I apologize for the snarkiness of my previous reply to you.
After all, I started the thread by asking the forum for advice on
how to avoid a certain kind of bugs, you were among
kj wrote:
In hkbv23$c0...@reader2.panix.com kj no.em...@please.post writes:
Steve, I apologize for the snarkiness of my previous reply to you.
After all, I started the thread by asking the forum for advice on
how to avoid a certain kind of bugs, you were among those who gave
me advice.
The application will display (elaborate) financial charts.
Pygame? Smth else?
duckdotnet?
Regards,
mk
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 3, 10:57 am, Adam Tauno Williams awill...@opengroupware.us
wrote:
Current editors suck because they can't see into the code and browse
it - unless it's so statically typed it's painful.
? I edit Python in MonoDevelop 2.2; and I can browse my file,
classes, etc... So I don't know
mk wrote:
The application will display (elaborate) financial charts.
Pygame? Smth else?
Back in the day it was Python BLT.
Are you on the Web or the Desktop?
--
Phlip
http://www.oreillynet.com/onlamp/blog/2008/05/dynamic_languages_vs_editors.html
--
Phlip wrote:
mk wrote:
The application will display (elaborate) financial charts.
Pygame? Smth else?
Back in the day it was Python BLT.
Are you on the Web or the Desktop?
Desktop, really (there should be some nominal web interface but the main
application will be desktop)
Regards,
mk
On 2/3/2010 3:30 AM, Simon zack wrote:
hi,
I'm not sure how I can use exec within a function correctly
here is the code i'm using:
def a():
exec('b=1')
print(b)
a()
this will raise an error, but I would like to see it outputting 1
Always **copy and paste** **complete error
On 2/3/2010 6:31 AM, Joan Miller wrote:
I've read that Pyro is not safe.
That's a fairly broad thing to say. I've read lots
of things. What does is not safe mean, in any case?
I assume you've got a valid concern in mind which is
worth passing on to a would-be user, but what exactly
is it?
Phlip phlip2...@gmail.com writes:
On Feb 3, 10:57 am, Adam Tauno Williams awill...@opengroupware.us
wrote:
Current editors suck because they can't see into the code and browse
it - unless it's so statically typed it's painful.
? I edit Python in MonoDevelop 2.2; and I can browse my
mk mrk...@gmail.com writes:
The application will display (elaborate) financial charts.
Pygame? Smth else?
You might want to check out the book Beginning Python
Visualisation.
--
John Bokma j3b
Hacking Hiking in Mexico -
On 2/3/2010 1:43 AM, Yingjie Lan wrote:
Hi,
expy is an expressway to extend python.
in release 0.5.2, expy now supports custom exceptions, besides all built-in
ones, and exception handling is made easy.
for more info, see
http://expy.sourceforge.net/
What Python versions does it work
I get no error:
def a():
... exec('b=1')
... print(b)
...
a()
1
On Wed, Feb 3, 2010 at 2:59 PM, Terry Reedy tjre...@udel.edu wrote:
On 2/3/2010 3:30 AM, Simon zack wrote:
hi,
I'm not sure how I can use exec within a function correctly
here is the code i'm using:
def a():
Joan Miller wrote:
On 28 ene, 21:40, Jonathan Gardner jgard...@jonathangardner.net
wrote:
On Jan 28, 10:20 am, Joan Miller pelok...@gmail.com wrote:
I've to call to many functions with the format:
run(cmd)
were cmd is a command with its arguments to pass them
On 2/3/2010 1:38 AM, sWrath swrath wrote:
Hi ,
I am pretty new to python , and reading up on it.
Basically I am trying to compare xml files . I know difflib have it
but it does not work out as expected. I was looking at xmldiff ,
unfortunately I am not able to find documentation how to call it
On Feb 3, 12:36 pm, casevh cas...@gmail.com wrote:
On Feb 3, 10:22 am, Mensanator mensana...@aol.com wrote:
Historically, gmpy really didn't have alpha/beta/rc versions and
gmpy.version() just had the version number and didn't indicate the
status. If I change it, I'd rather go to 1.1.1rc1 or
Ben Finney wrote:
Dennis Lee Bieber wlfr...@ix.netcom.com writes:
On Thu, 28 Jan 2010 11:24:28 -0800 (PST), Joan Miller:
On 28 ene, 19:16, Josh Holland j...@joshh.co.uk wrote:
Check the docs on os.system().
No. I've a function that uses subprocess to run commands on
Vladimir Ignatov wrote:
dynamic-type languages. Instead of current text-oriented IDEs, it
should be a database-centric and resemble current CAD systems instead
of being just fancy text editor. Source text should be an output
product of that CAD and not a source material itself.
can you sketch
John Bokma wrote:
my $x = ( 5, hello, sub {}, [], {} )[ int rand 5 ];
what's $x? The answer is: it depends.
That's why my blog post advocated (as usual for me) developer tests.
Then you either mock the rand, like all developers should, or you get
what you pay for, and Principle of Least
On Feb 3, 11:36 am, Masklinn maskl...@masklinn.net wrote:
Well, Xavier,
I would be the first to agree that the existing logging configuration
API is not ideal. There are a number of reasons for the current
ConfigParser schema used (e.g. an old GUI for configuring logging,
which was there before
Gerald Britton wrote:
On Wed, Feb 3, 2010 at 2:59 PM, Terry Reedy tjre...@udel.edu wrote:
On 2/3/2010 3:30 AM, Simon zack wrote:
hi,
I'm not sure how I can use exec within a function correctly
here is the code i'm using:
def a():
exec('b=1')
print(b)
a()
this will raise an error,
Phlip phlip2...@gmail.com writes:
John Bokma wrote:
my $x = ( 5, hello, sub {}, [], {} )[ int rand 5 ];
what's $x? The answer is: it depends.
That's why my blog post advocated (as usual for me) developer tests.
Then you either mock the rand, like all developers should, or you get
what
kj wrote:
I just spent about 1-1/2 hours tracking down a bug.
An innocuous little script, let's call it buggy.py, only 10 lines
long, and whose output should have been, at most two lines, was
quickly dumping tens of megabytes of non-printable characters to
my screen (aka gobbledygook), and in
Robert no-s...@non-existing.invalid writes:
Vladimir Ignatov wrote:
dynamic-type languages. Instead of current text-oriented IDEs, it
should be a database-centric and resemble current CAD systems instead
of being just fancy text editor. Source text should be an output
product of that CAD and
On Wed, 03 Feb 2010 11:55:57 +0100, Daniel Fetchinson wrote:
[...]
Python does most of that for you: it automatically recompiles the
source whenever the source code's last modified date stamp is newer
than that of the byte code. So to a first approximation you can forget
all about the .pyc
can you sketch an example/use case more concretely?
Sorry, I don't have anything written down. I just have some rough idea
of implementation and some concrete features I would like to see in
such system. For example:
1) Instant refactoring. No more needs for manual
search/inspect/rename. Since
On 2010-02-03 14:40 PM, Robert wrote:
Vladimir Ignatov wrote:
dynamic-type languages. Instead of current text-oriented IDEs, it
should be a database-centric and resemble current CAD systems instead
of being just fancy text editor. Source text should be an output
product of that CAD and not a
On Feb 2, 9:11 pm, John Bokma j...@castleamber.com wrote:
Jonathan Gardner jgard...@jonathangardner.net writes:
I can explain, in an hour, every single feature of the Python language
to an experienced programmer, all the way up to metaclasses,
Either you're a hell of a talker, or I am far,
I guess Vladimir means what's called a structure editor. The (by me)
aforementioned Synthesizer Generator is an example of such an editor
(environment).
Maybe. Yes, it kind of generator. It has (entered somehow) internal
representation of target program. Then it generates code out of this
On Wed, 03 Feb 2010 08:18:40 -0500, Adam Tauno Williams wrote:
On Wed, 2010-02-03 at 14:10 +0300, Vladimir Ignatov wrote:
Hello,
I am sitting here for quite some time, but usually keep silent ;-) I
use Python since 2003 both professionally and for my hobby projects
and love it a much.
I
On Wed, 03 Feb 2010 06:42:52 -0800, Paul Rubin wrote:
One nice trick with static types is if you change
what the method does (even if its type signature doesn't change), you
can rename the method:
class.method2(string name, int count): # change 'method' to
'method2'
and recompile
On Wed, 03 Feb 2010 18:48:12 +0300, Vladimir Ignatov wrote:
Imagine simple operation like method renaming in a simple dumb
environment like text editor + grep. Now imagine how simple it can be if
system knows all your identifiers and just regenerates relevant
portions of text from internal
On Wed, 03 Feb 2010 10:39:53 -0500, Adam Tauno Williams wrote:
On Wed, 2010-02-03 at 16:23 +0100, Stef Mientki wrote:
Yes, it certainly does. Not that you'll get many Pythonistas
to confess
to that fact. Somehow those who brag about the readability and
Tim Golden wrote:
Anyway, you have in mind that respect to speed:
shared memory named pipes Unix domain socket TCP socket
True, but the OP didn't mention speed; rather simplicity. Not
saying it isn't a consideration but premature optimisation and
all that...
Yes true. I'm looking
Hi Everybody,
I've been doing some test on pythons' virtualenv and recently I've
decided to run PyChecker. But I'm having some difficulties with importing
modules available only on virtualenv by pychecker. As if it was
trying to use systemwide python.
I've googled about it, and found nothing in
On 2010-02-03 15:32 PM, Jonathan Gardner wrote:
I can explain all of Python in an hour; I doubt anyone will understand
all of Python in an hour.
With all respect, talking about a subject without a reasonable chance of your
audience understanding the subject afterwards is not explaining. It's
1 - 100 of 210 matches
Mail list logo