On Feb 3, 6:40 am, Xah Lee wrote:
> This is a short complaint on adminabuseon #pythonircchannel on
> freenode.net.
>
> Here's a log:
>
> 2010-02-02
>
> (12:11:57 PM) The topic for #pythonis: NO LOL |http://pound-python.org/
> | It's too early to usePython3.x | Pasting > 3 lines?
> Pastebin:http:/
I write little script run python via netcat
http://www2s.biglobe.ne.jp/~niitsuma/jsonrpcdirect.html
Usage
$ netcat localhost 31415
{"method": "numpy.linalg.norm", "params": [[2,2]], "id": 0}
then get response
{"result": 2.8284271247461903, "error": null, "id": 0}
--
http://mail.python.org/m
On Thu, Feb 4, 2010 at 1:13 PM, Vladimir Ignatov wrote:
>>> > […] system "knows" all your identifiers and just regenerates
>>> > relevant portions of text from internal database-alike
>>> > representation.
>>
>> You will probably want to learn about “refactoring” to see if that's
>> related to wha
En Thu, 04 Feb 2010 02:46:45 -0300, Alf P. Steinbach
escribió:
Oh sorry, now I see what you mean. I read it too literally. You mean
that at script startup __file__ is a valid relative or absolute path to
the script.
But anyways, Windows Explorer doesn't change the current directory to
En Thu, 04 Feb 2010 01:00:56 -0300, Hidura escribió:
Good evening list, I have a really big trouble with the imports in the
3.1
version(Notes: In the older 2.64 theres no problems), I have two
packages,
the first package Utilities who contains Writer the second package,
Writers
contain th
En Thu, 04 Feb 2010 00:33:08 -0300, Michael Gruenstaeudl
escribió:
I am fairly new to Python and need advice on the urllib.urlopen()
function. The website I am trying to open automatically refreshes after
5 seconds and remains stable thereafter. With urllib.urlopen().read() I
can only re
Steve Holden wrote:
John Nagle wrote:
Paul Rubin wrote:
John Nagle writes:
Analysis of each domain is
performed in a separate process, but each process uses multiple
threads to read process several web pages simultaneously.
Some of the threads go compute-bound for a second or two at a tim
* Alf P. Steinbach:
* Benjamin Kaplan:
On Wed, Feb 3, 2010 at 11:18 PM, Alf P. Steinbach wrote:
* Benjamin Kaplan:
The easiest way to solve this permanently, by the way, is to not use
relative paths. All it takes is one script to call os.chdir and the
script breaks. You can use __file__ and t
* Benjamin Kaplan:
On Wed, Feb 3, 2010 at 11:18 PM, Alf P. Steinbach wrote:
* Benjamin Kaplan:
On Wed, Feb 3, 2010 at 9:56 PM, Alf P. Steinbach wrote:
* David Monaghan:
I have a small program which reads files from the directory in which it
resides. It's written in Python 3 and when run thr
On Wed, Feb 3, 2010 at 11:18 PM, Alf P. Steinbach wrote:
> * Benjamin Kaplan:
>>
>> On Wed, Feb 3, 2010 at 9:56 PM, Alf P. Steinbach wrote:
>>>
>>> * David Monaghan:
I have a small program which reads files from the directory in which it
resides. It's written in Python 3 and when r
* Benjamin Kaplan:
On Wed, Feb 3, 2010 at 9:56 PM, Alf P. Steinbach wrote:
* David Monaghan:
I have a small program which reads files from the directory in which it
resides. It's written in Python 3 and when run through IDLE or PythonWin
works fine. If I double-click the file, it works fine in
>> > […] system "knows" all your identifiers and just regenerates
>> > relevant portions of text from internal database-alike
>> > representation.
>
> You will probably want to learn about “refactoring” to see if that's
> related to what you mean http://www.refactoring.com/>.
I mean if system actu
Michael Gruenstaeudl wrote:
> Hi,
> I am fairly new to Python and need advice on the urllib.urlopen()
> function. The website I am trying to open automatically refreshes after
> 5 seconds and remains stable thereafter. With urllib.urlopen().read() I
> can only read the initial but not the refreshed
Good evening list, I have a really big trouble with the imports in the 3.1
version(Notes: In the older 2.64 theres no problems), I have two packages,
the first package Utilities who contains Writer the second package, Writers
contain the module tagmanip(What is imported in the best way inside the
_
John Nagle wrote:
> Paul Rubin wrote:
>> John Nagle writes:
>>> Analysis of each domain is
>>> performed in a separate process, but each process uses multiple
>>> threads to read process several web pages simultaneously.
>>>
>>>Some of the threads go compute-bound for a second or two at a time
On Feb 3, 10:49 am, Wanderer wrote:
> 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
If you look at
* MRAB:
Alf P. Steinbach wrote:
* mf:
I'm translating a db from english to spanish with the Google
translator API. The problem is when a TranslationError occurs(usually
because of connection problems). I can
except the first one, but I don't know how to except again. I "solved"
the problem by s
Hi,
I am fairly new to Python and need advice on the urllib.urlopen()
function. The website I am trying to open automatically refreshes
after 5 seconds and remains stable thereafter. With
urllib.urlopen().read() I can only read the initial but not the
refreshed page. How can I access the r
Paul Rubin wrote:
John Nagle writes:
Analysis of each domain is
performed in a separate process, but each process uses multiple
threads to read process several web pages simultaneously.
Some of the threads go compute-bound for a second or two at a time as
they parse web pages.
You're pr
Alf P. Steinbach wrote:
* mf:
I'm translating a db from english to spanish with the Google
translator API. The problem is when a TranslationError occurs(usually
because of connection problems). I can
except the first one, but I don't know how to except again. I "solved"
the problem by saving tem
On Wed, Feb 3, 2010 at 9:56 PM, Alf P. Steinbach wrote:
> * David Monaghan:
>>
>> I have a small program which reads files from the directory in which it
>> resides. It's written in Python 3 and when run through IDLE or PythonWin
>> works fine. If I double-click the file, it works fine in Python 2
En Sat, 30 Jan 2010 03:06:18 -0300, Steven D'Aprano
escribió:
class dualmethod(object):
"""Descriptor implementing dualmethods (combination
class/instance method).
Returns a method which takes either an instance or a class as
the first argument. When called on an instance, the
* mf:
I'm translating a db from english to spanish with the Google
translator API. The problem is when a TranslationError occurs(usually
because of connection problems). I can
except the first one, but I don't know how to except again. I "solved"
the problem by saving temp db's and then joining t
* David Monaghan:
I have a small program which reads files from the directory in which it
resides. It's written in Python 3 and when run through IDLE or PythonWin
works fine. If I double-click the file, it works fine in Python 2.6, but in
3 it fails because it looks for the files to load in the P
"Timothy N. Tsvetkov" wrote:
> Jonathan Gardner
> > Python is much, much cleaner. I don't know how anyone can honestly say
> > Ruby is cleaner than Python.
>
> I developed on both (Python was first) and I think that ruby I
> very clean and maybe cleaner than Python.
>
> And you're wrong with bloc
On Feb 4, 8:47 am, Phlip wrote:
> Yes, calling os.path.walk() and os.path.join() all the time on raw
> strings is fun, but I seem to recall from my Ruby days a class called
> Pathname, which presented an object that behaved like a string at
> need, and like a filesystem path at need. path + 'folde
Robert Kern writes:
> It is perfectly reasonable (and often necessary) for the unit test of
> class B to use a mock object instead of a real A() instance. The unit
> test for class B will fail to catch the renaming of A.foo() to A.bar()
> because it never tries to call .foo() on a real A instance
Steven D'Aprano writes:
> On Wed, 03 Feb 2010 18:48:12 +0300, Vladimir Ignatov wrote:
> > […] system "knows" all your identifiers and just regenerates
> > relevant portions of text from internal database-alike
> > representation.
You will probably want to learn about “refactoring” to see if that
On Feb 3, 3:32 am, News123 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 be ident
In article ,
Raymond Hettinger wrote:
>
>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.
Congrats on the new job!
--
Aahz (a...@pythoncraft.com) <*> http://www.pythoncra
Adam Tauno Williams wrote:
> 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... ?"
Could you provide an actual example to support this?
The only places I tend to see 'x' as a paramet
Vladimir Ignatov wrote:
>> 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 fo
Lou Pecora writes:
> That's a pretty accurate description of how I transitioned to Python
> from C and Fortran.
Not C, but C++ (but there are also C implementations): YAML, see:
http://code.google.com/p/yaml-cpp/wiki/HowToParseADocument
I use YAML now and then with Perl for both reading/writin
Diez B. Roggisch wrote:
> Am 03.02.10 22:46, schrieb soltys:
>> 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
>> tryi
On 2010-02-03 18:01 PM, Steven D'Aprano wrote:
On Wed, 03 Feb 2010 16:38:21 -0600, Robert Kern wrote:
class.method(name, count)
Obviously? I don't know about that. Being told that "count" is an int
doesn't really help me -- it's obvious just from the name. In a well-
written API, what else co
I have a small program which reads files from the directory in which it
resides. It's written in Python 3 and when run through IDLE or PythonWin
works fine. If I double-click the file, it works fine in Python 2.6, but in
3 it fails because it looks for the files to load in the Python31 folder,
not
Hi,
I'm not really used to structuring modules withn directories, but I
started playing
#
# the commands to reproduce my setup:
#
mkdir -p my/special
touch my/__init__.py my/special/__init__.py
echo 'print "myspecialmod"' >
On Wed, 03 Feb 2010 16:38:21 -0600, Robert Kern wrote:
>>> class.method(name, count)
>>
>> Obviously? I don't know about that. Being told that "count" is an int
>> doesn't really help me -- it's obvious just from the name. In a well-
>> written API, what else could it be?
>
> A bool. As in tellin
> >
> > 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 with?
> There is
"Diez B. Roggisch" writes:
> Of course only information not gathered is really safe
> information. But every operation that has side-effects is reproducable
> anyway, and if e.g. your chat-app has a history, you can as well log
> the parameters.
No I can't. The chat-app history would be on the c
Robert Kern wrote:
> 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 afte
On 2/3/2010 1:42 PM, Raymond Hettinger wrote:
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 t
Am 03.02.10 23:35, schrieb Paul Rubin:
"Diez B. Roggisch" writes:
If somebody happens to have access to a proxy& it's logs, he can as
well log the request body.
I'm not talking about a malicious server operator. In this situation, I
was the server operator and I didn't want to be recording
Lou Pecora writes:
> after much noodling around and reading it hit me that I could just put
> all that output of different types of variables into a list, hit it
> with a repr() function to get a string version, and write the string
> to a file -- no formatting necessary-- three lines of code. Lat
Jonathan Gardner writes:
> On Feb 2, 9:11 pm, John Bokma wrote:
>> Jonathan Gardner 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, far away
Hello,
I would like to find a way to pause, and get mouse input in the
turtle module. Since it is built on tk, I thought perhaps there
would be an easy way, but I am stumped. Specifically, I'd like
something like:
x,y,button=mouse_input() # pause in here until the mouse is clicked
in
In article
<1944d953-25ad-440b-9317-a7a4b4de6...@f17g2000prh.googlegroups.com>,
Jonathan Gardner wrote:
>
> I can explain all of Python in an hour; I doubt anyone will understand
> all of Python in an hour.
>
> Coming from perl to python, the big "aha!" moment was when I realized
> there wasn
Pythonistas:
Yes, calling os.path.walk() and os.path.join() all the time on raw
strings is fun, but I seem to recall from my Ruby days a class called
Pathname, which presented an object that behaved like a string at
need, and like a filesystem path at need. path + 'folder' would
call .join() and i
"Diez B. Roggisch" writes:
> If somebody happens to have access to a proxy & it's logs, he can as
> well log the request body.
I'm not talking about a malicious server operator. In this situation, I
was the server operator and I didn't want to be recording the
conversations. I had to go out of
On 2010-02-03 15:37 PM, Steven D'Aprano wrote:
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 f
On Feb 2, 8:52 pm, Steven D'Aprano
wrote:
> On Tue, 02 Feb 2010 19:55:15 -0800, Carl Banks wrote:
> > On Feb 2, 5:49 pm, Steven D'Aprano
> > wrote:
> >> On Tue, 02 Feb 2010 12:26:16 -0800, Carl Banks wrote:
> >> > I did not propose obvious module names. I said obvious names like
> >> > email.py
>>> 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 files and just care about the source.
>>
>> True, but the .
On 2010-02-03 15:40 PM, Steven D'Aprano wrote:
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): # chan
On 2/3/2010 8:18 AM, Adam Tauno Williams wrote:
class.method(sting name, int count)
- is *obviously* more expressive than -
class.method(name, count)
So write
class.method(name:str, count:int)->return_type # 3.x
if you really prefer.
In spite of you disparagement of 'pythonistas', it seem
On Feb 3, 8:55 am, Nobody wrote:
> 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 performi
Vladimir Ignatov writes:
>> 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.
Am 03.02.10 22:46, schrieb soltys:
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 googl
For those interested in language design, the former head of RealBasic's
development team, and current "compiler architect guy" for Microsoft's
VisualBasic team, Mars Saxman, is developing an interesting programming
language, Radian:
"The goal of the Radian project is to provide the concurrency
Am 03.02.10 19:01, schrieb Alan Harris-Reid:
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
Steven D'Aprano writes:
>> and recompile your codebase. Every place in the code that called
>> 'method' now gets a compile time "undefined method" error that you can
>> examine to see if you need to update it. This is something you can't
>> catch with unit tests because the call sites can be in
Hi Terry,
Terry Reedy wrote:
>
> That aside, I would wonder whether you could use a master process with a
> gui to haphazardly launch subprocess, so as to avail oneself of
> multiprocessing.Queue.
>
T
This is also an option I'm looking.
insted of the python scripts, thet users would normally
Hi! I'm having a hard time figuring out how to handle a Unix
SIGPIPE exception cleanly. The following short script illustrates
the problem:
--
#!/usr/bin/python
# sigpipebug.py
import sys
import random
from signal import signal,
Dan Stromberg writes:
> Ben Finney wrote:
> > It's no sin to say that Python isn't a good choice for specific
> > things; and “I want to write programs by indistinguishably mixing
> > statements with external system calls” is one of them, IMO
> > From
> http://stromberg.dnsalias.org/~dstromberg
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
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 th
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.
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
>>
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 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 re
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 mu
> 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 Feb 2, 9:11 pm, John Bokma wrote:
> Jonathan Gardner 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, far away from being an
> experienced progr
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 "
> 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 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
Robert 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 not a "source mat
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 th
Phlip 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 you pay
Gerald Britton wrote:
> On Wed, Feb 3, 2010 at 2:59 PM, Terry Reedy 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 w
On Feb 3, 11:36 am, Masklinn 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 the logging package wa
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 S
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 sket
Ben Finney wrote:
Dennis Lee Bieber writes:
On Thu, 28 Jan 2010 11:24:28 -0800 (PST), Joan Miller:
On 28 ene, 19:16, Josh Holland wrote:
Check the docs on os.system().
No. I've a function that uses subprocess to run commands on the same
shell and so substitute to ba
On Feb 3, 12:36 pm, casevh wrote:
> On Feb 3, 10:22 am, Mensanator 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 "1.2.0a0" but
> that mig
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
Joan Miller wrote:
On 28 ene, 21:40, Jonathan Gardner
wrote:
On Jan 28, 10:20 am, Joan Miller wrote:
I've to call to many functions with the format:
run("cmd")
were "cmd" is a command with its arguments to pass them to the shell
and run it, i.e.
run("
I get no error:
>>> def a():
... exec('b=1')
... print(b)
...
>>> a()
1
>>>
On Wed, Feb 3, 2010 at 2:59 PM, Terry Reedy 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():
>>
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 with?
mk 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 - http://johnbokma.
Phlip writes:
> On Feb 3, 10:57 am, Adam Tauno Williams
> 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
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? FW
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 tracebac
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
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
--
http://mail.python.org/mailman/listi
On Feb 3, 10:57 am, Adam Tauno Williams
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 what you mean by "
The application will display (elaborate) financial charts.
Pygame? Smth else?
dotnet?
Regards,
mk
--
http://mail.python.org/mailman/listinfo/python-list
kj wrote:
> In kj 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 than thanking you for it
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 t
That was it ! What a stupid error...
Thank you !
--
Cp
On Wed, Feb 3, 2010 at 20:13, Jerry Hill wrote:
> On Wed, Feb 3, 2010 at 12:58 PM, Cpa wrote:
>> Sure.
>>
>> import sys,re,os
>> files2create = sys.argv[1:]
>> os.system('mkdir tmp')
>>
>> # Some code to create the .tex
>>
>> # Compile t
On Wed, Feb 3, 2010 at 12:58 PM, Cpa 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 is in th
1 - 100 of 162 matches
Mail list logo