wxPython in the context of Eclipse

2011-02-19 Thread Fred Marshall
I asked earlier: How do I use wxPython or wxGlade in the context of Eclipse? A link to a howto would be great! I guess nobody knows or cares to answer? :-( -- http://mail.python.org/mailman/listinfo/python-list

IDLE won't wrap lines of text

2011-02-19 Thread Richard D. Moores
Vista Python 3.1.3 I can't figure out how to get IDLE to wrap text pasted in from, say, a newspaper article. Usually, a each paragraph will appear as one long unwrapped line, with no way to read the whole line, because no horizontal bar is created. I haven't found anything about this in either the

Re: How to use Python well?

2011-02-19 Thread Ben Finney
Westley Martínez writes: > I hate writing HTML, it's a pain in the neck. So do I. But I hate writing *roff markup even more. So I don't write either of those formats directly if I can avoid it. I write my man pages in either Docbook (using an XML editor) or reST (my default markup format these

Re: How to use Python well?

2011-02-19 Thread Cameron Simpson
On 19Feb2011 09:10, Westley Mart�nez wrote: | But you can't seriously say that authoring HTML is effective. Sure, | outputting HTML is fine, but as for writing the source, troff, docbook, | sphinx, even TeX, etc, is superior to HTML simply because HTML was | designed for web pages and those others

Re: How to use Python well?

2011-02-19 Thread Cameron Simpson
On 18Feb2011 22:28, Roy Smith wrote: | In article <878vxcbudn@benfinney.id.au>, | Ben Finney wrote: | | > This collection of a great deal of documentation for the operating | > system into a single ???manual??? is one reason why users like man pages so | > much: we want to find anything ins

Re: Making Line Graphs

2011-02-19 Thread Jeremy Sanders
spam head wrote: > Does anybody have any recommendations for a good program from > generating these simple graphs? Have a look at Veusz, written in python: http://home.gna.org/veusz/ (I am the lead author). Jeremy -- http://mail.python.org/mailman/listinfo/python-list

Re: return an object of a different class

2011-02-19 Thread Piet van Oostrum
Richard Thomas writes: > If you don't want to use a factory function I believe you can do this: > > class MyNumber(object): > def __new__(cls, n): > if n <= 100: > cls = SmallNumbers > else: > cls = BigNumbers > return object.__new__(cls, n) Bu

Re: newbie question about PYTHONPATH

2011-02-19 Thread Westley Martínez
On Sat, 2011-02-19 at 19:22 +0100, Andrea Crotti wrote: > Il giorno 19/feb/2011, alle ore 18.25, Doug Epling ha scritto: > > > The best way I have found is to place that definition of your PYTHONPATH in > > your .bash_profile in your home directory and export it from there. > > > > PYTHONPAT

Re: newbie question about PYTHONPATH

2011-02-19 Thread Andrea Crotti
Il giorno 19/feb/2011, alle ore 18.25, Doug Epling ha scritto: > The best way I have found is to place that definition of your PYTHONPATH in > your .bash_profile in your home directory and export it from there. > > PYTHONPATH=/home/foo/prog/learning_python > > export PYTHONPATH >

Re: How to use Python well?

2011-02-19 Thread Roy Smith
In article , Westley Martínez wrote: > But you can't seriously say that authoring HTML is effective. By hand? No of course not. That's why we have things like wikis and CMS's, markup languages like ReST, TeX-to-HTML converters, and so on. But, we're getting way off topic for a Python forum

Re: newbie question about PYTHONPATH

2011-02-19 Thread Doug Epling
The best way I have found is to place that definition of your PYTHONPATH in your .bash_profile in your home directory and export it from there. PYTHONPATH=/home/foo/prog/learning_python export PYTHONPATH This way your PYTHONPATH is picked up each time you log on. You might

Re: How to use Python well?

2011-02-19 Thread Westley Martínez
On Sat, 2011-02-19 at 07:40 -0500, Roy Smith wrote: > In article , > Jorgen Grahn wrote: > > > Some disagreement here. There are typographical features in > > nroff/troff today which you don't get in web browsers: ligatures and > > hyphenation for example. > > Saying that HTML doesn't have liga

Hello Friends

2011-02-19 Thread Ashraf Ali
Would you like to know about indian acttractive actresses. You can know about their life.Would you like to remain informed about latest News. So, just visit the following websites www.newsbeam.blogspot.com www.hotpics00.blogspot.com www.onlinegames786.blogspot.com www.tvlive00.blogspot.com www.funn

Re: Python-os. Command Execution

2011-02-19 Thread Stephen Hansen
On 2/19/11 1:44 AM, Ganesh Kumar wrote: > os.system("ls -l") & root.destroy "&" here doesn't do what you think it does. Its a bitwise AND operator, which is not the same thing as you may be expecting from other languages. In Python, you'd do something more like: os.system("ls -l") and root.de

Hai Simple To Make Ideas and Earn Money

2011-02-19 Thread Vanitha
http://adf.ly/YOhx http://adf.ly/YOhx http://adf.ly/YOhx -- http://mail.python.org/mailman/listinfo/python-list

ANN: python-ldap-2.3.13

2011-02-19 Thread Michael Ströder
Find a new release of python-ldap: http://pypi.python.org/pypi/python-ldap/2.3.13 python-ldap provides an object-oriented API to access LDAP directory servers from Python programs. It mainly wraps the OpenLDAP 2.x libs for that purpose. Additionally it contains modules for other LDAP-related st

QWebView: Get coordinates of an element and simulate a relative to this position.

2011-02-19 Thread Gelonida
WHht I wondered is following: Let's assume I use a QWebView, As soon as the page is loaded ( loadFinished signal) I'd like to identify a certain element with findFirstElement(), get it's coordinates (and size) calculate some related coordinates (for example 20 pixel above the top left corner of

How to log certain web requests.

2011-02-19 Thread Gelonida
Hi, I created a small browser with QWebview I subclassed QNetworkAccessManager with a customized version and set it as NetworAccessManager By adding a print / log statement in the createRequestMethod I am able to log, which requests are performed. What I would be interested in is however to t

QWebView: notify python when I clicked on a certain web eleemnt

2011-02-19 Thread Gelonida
I have a web page (existing page, can't modify it) and I would like to browse it in a QtWebview. (This is already working) Now I Wonder how I could achieve following behaviour: When I click on a certain element e.g. "" I would like to notify my python script. What is important: I don't want to c

Re: How to use Python well?

2011-02-19 Thread Roy Smith
In article , Jorgen Grahn wrote: > Some disagreement here. There are typographical features in > nroff/troff today which you don't get in web browsers: ligatures and > hyphenation for example. Saying that HTML doesn't have ligatures and hyphenation is kind of like saying Python is a bad progra

Re: Making Line Graphs

2011-02-19 Thread jkn
Graphviz? http://www.graphviz.org/ HTH Jon N -- http://mail.python.org/mailman/listinfo/python-list

Re: Python leaks in cyclic garbage collection

2011-02-19 Thread moerchendiser2k3
Thanks for your answers! They really helped me out!! :) -- http://mail.python.org/mailman/listinfo/python-list

Re: Problems of Symbol Congestion in Computer Languages

2011-02-19 Thread Nicholas Devenish
On 18/02/2011 10:26, Steven D'Aprano wrote: Agreed. I'd like Python to support proper mathematical symbols like ∞ for float('inf'), ≠ for not-equal, ≤ for greater-than-or-equal, and ≥ for less-than-or-equal. This would be joyful! At least with the subset of operations that already exist/exis

Re: Problems of Symbol Congestion in Computer Languages

2011-02-19 Thread Nicholas Devenish
On 19/02/2011 07:41, Westley Martínez wrote: Simply remove 'dvorak-' to get qwerty. It allows you to use the right Alt key as AltGr. For example: AltGr+' i = í AltGr+c = ç AltGr+s = ß I don't work on Windows or Mac enough to have figured out how to do on those platforms, but I'm sure there's a s

Re: Python-os. Command Execution

2011-02-19 Thread ALAN GAULD
> when user click install, It will start one GUI installation script and > exit my application > > This my task.. The problem was the installation script started but > control will be transfered to > > other window ... when installation finished the GUI application will be >closed.. > > c

Python-os. Command Execution

2011-02-19 Thread Ganesh Kumar
Hi, I am new to python programing. I have created one small application , application developed in python Tkinter GUI, My application having install button when user click install, It will start one GUI installation script and exit my application This my task.. The problem was the installation

Re: How to use Python well?

2011-02-19 Thread Jorgen Grahn
On Sat, 2011-02-19, Ben Finney wrote: > Roy Smith writes: ... >> HTML also gives you much greater formatting flexibility than what's >> still basically 35-year old nroff. > > Full agreement there. Some disagreement here. There are typographical features in nroff/troff today which you don't get in

Re: Python leaks in cyclic garbage collection

2011-02-19 Thread Andrea Crotti
Il giorno 19/feb/2011, alle ore 05.10, moerchendiser2k3 ha scritto: > Hi, I have some problems with Python and the garbage collection. In > the following piece of code I create a simple gargabe collection but I > am still wondering why the finalizers are never called - at least on > exit of Py th