On Sun, Mar 4, 2012 at 1:20 AM, Damjan Georgievski wrote:
> How come?
> I'm using explicit relative imports, I thought they were the new thing?
Explicit relative imports are fine. Implicit relative imports can
create multiple module objects for the same source file, which breaks
things like excep
>>> How can I get the *really* original command line that started my python
>>> interpreter?
>
>> On Linux, you can read from:
>>/proc//cmdline
>> to get the null-delimited "command line".
>
> After some further searching:
> psutil offers `Process.cmdline` cross-platform;
> see http://code.go
On Sat, Mar 3, 2012 at 9:48 PM, Chris Rebert wrote:
> On Sat, Mar 3, 2012 at 9:38 PM, Damjan Georgievski wrote:
>> How can I get the *really* original command line that started my python
>> interpreter?
> On Linux, you can read from:
> /proc//cmdline
> to get the null-delimited "command line"
> How can I get the *really* original command line that started my python
> interpreter?
>
> Werkzeug has a WSGI server which reloads itself when files are changed
> on disk. It uses `args = [sys.executable] + sys.argv` to kind of
> recreate the command line, and the uses subprocess.call to run th
On Sat, Mar 3, 2012 at 9:38 PM, Damjan Georgievski wrote:
> How can I get the *really* original command line that started my python
> interpreter?
>
> Werkzeug has a WSGI server which reloads itself when files are changed
> on disk. It uses `args = [sys.executable] + sys.argv` to kind of
> recreat
How can I get the *really* original command line that started my python
interpreter?
Werkzeug has a WSGI server which reloads itself when files are changed
on disk. It uses `args = [sys.executable] + sys.argv` to kind of
recreate the command line, and the uses subprocess.call to run that
command l
On Mar 2, 4:16 pm, John Salerno wrote:
> what is the point of creating a Frame object at all? I tried NOT
> doing it, like you said, and it seemed to work fine with my simple
> example. But is there a benefit to using a Frame object to group the
> widgets together? Or is it cleaner to just use the
On Sat, 03 Mar 2012 17:06:39 -0800, Westley Martínez wrote:
> On Sun, Mar 04, 2012 at 12:50:53AM +, Steven D'Aprano wrote:
>> Okay, now I'm making progress... if I remove the previously existing
>> _tkinter in lib-dynload, and re-run "make", I get something new:
>>
>> building '_tkinter' exte
On Sun, Mar 04, 2012 at 12:50:53AM +, Steven D'Aprano wrote:
> Okay, now I'm making progress... if I remove the previously existing
> _tkinter in lib-dynload, and re-run "make", I get something new:
>
> building '_tkinter' extension
> gcc -pthread -fPIC -fno-strict-aliasing -DNDEBUG -g -fwrap
On Sat, 03 Mar 2012 10:17:40 -0800, Westley Martínez wrote:
> On Sat, Mar 03, 2012 at 05:36:52PM +, Steven D'Aprano wrote:
>> I'm trying to re-build Python 3.2 with support for TCL/TK 8.5, but when
>> I run "make" I get this message:
>>
>> Failed to build these modules:
>> _tkinter
>>
>> and
s...@pobox.com writes:
> Some time ago Ben Finney offered to take over lockfile.
That offer is still open. (Though I would appreciate ongoing development
help from people who use non-Linux operating systems, since file locking
works differently there and I don't have the resources to test on
thos
On Sat, Mar 03, 2012 at 05:36:52PM +, Steven D'Aprano wrote:
> I'm trying to re-build Python 3.2 with support for TCL/TK 8.5, but when I
> run "make" I get this message:
>
> Failed to build these modules:
> _tkinter
>
> and after installing 3.2 I still have this:
>
> >>> import _tkinter
> >
I'm trying to re-build Python 3.2 with support for TCL/TK 8.5, but when I
run "make" I get this message:
Failed to build these modules:
_tkinter
and after installing 3.2 I still have this:
>>> import _tkinter
>>> _tkinter.TK_VERSION
'8.4'
What do I need to do to have Python 3.2 use tcl/tk 8.5
Well, I checked unit 2 out the other day. It is indeed of poor standard and
to some extend a waste of time for me. However, I see it as another way of
having fun.
On Sat, Mar 3, 2012 at 5:47 AM, Josh English wrote:
> On Monday, February 27, 2012 6:37:25 PM UTC-8, Ray Clark wrote:
> >
> > You have
Hello,
I am using sqlite3 modules to get data out of a table. I would like to dump
the table into a restructured-text (docutil) format. I was wondering if
there was a library which would accomplish this.
--
--- Get your facts first, then you can distort them as you please.--
--
http://mail.pyt
Hi,
Familiarizing myself with Tkinter I'm stuck trying to fill a Canvas
with an image. I believe the class I need is PhotoImage rather than
BitmapImage. But I have no luck with either. The PhotoImage doc lists
available handlers for writing GIF and PPM files. It doesn't say
anything about r
I'm shifting life gears, trying to get away from the computer more during my
hours away from work. As part of that, I'm looking to get out of the
package authorship/maintenance business. Currently, I am officially listed
as the "maintainer" (I use that term loosely - I really do very little at
t
Paul Rubin wrote:
> dreamingforw...@gmail.com writes:
>>> hanging out on the Prothon list now and then, at least until we get
>>> the core language sorted out?
>>
>> Haha, a little late, but consider this a restart.
>
> It wasn't til I saw the word "Prothon" that I scrolled back and saw you
> wer
The RotatingFileHandler running on win 7 64-bit; py 2.7 is failing
when the script launches a process using subprocess.Popen. Works fine
if the subprocess is not launched
The exception thrown
Traceback (most recent call last):
File "C:\Python27\lib\logging\handlers.py", line 78, in emit
self
19 matches
Mail list logo