so there is no chance without using weakrefs?
any ideas, tips, workarounds how I might handle this?
bye, moerchendiser2k3
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, Jan 10, 2011 at 1:15 PM, Thibaud Roussillat
wrote:
> On Sat, Jan 8, 2011 at 3:19 AM, Kushal Kumaran
> wrote:
>>
>> On Fri, Jan 7, 2011 at 8:08 PM, Thibaud Roussillat
>> wrote:
>> > Hi,
>> >
>> > I work with Python 2.4 and CGI.
>> >
>> > I have a CGI which call a Python script in backgrou
Roy Smith wrote:
[snip]
It's reasonably straight-forward to figure out that absolute path,
starting from sys.argv[0] and using the tools in os.path. Now I need to
import the file, given that I know its absolute pathname. It looks like
imp.load_source() does what I want, I'm just wondering if
Anyone got any experience of send PJL commands to a printer using
Python on Unix?
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, Jan 10, 2011 at 9:26 AM, Kushal Kumaran <
kushal.kumaran+pyt...@gmail.com > wrote:
> On Mon, Jan 10, 2011 at 1:15 PM, Thibaud Roussillat
> wrote:
> > On Sat, Jan 8, 2011 at 3:19 AM, Kushal Kumaran
> > >
> wrote:
> >>
> >> On Fri, Jan 7, 2011 at 8:08 PM, Thibaud Roussillat
> >> wrote:
> >
On 1/10/2011 6:12 AM loial said...
Anyone got any experience of send PJL commands to a printer using
Python on Unix?
Are you having trouble? PJL is sent like any other text...
Emile
--
http://mail.python.org/mailman/listinfo/python-list
I'm not exactly sure what you are asking here, but one problem that is
notable in your example is that the center function is indented inside the
__init__ function. This would create a closure instead of a method on
PositionWindow, which is probably not what you want.
-Zac
On Sun, Jan 9, 2011 a
Thanks for responding..
First question...how do I send it to the printer? Printer would be
on the network.
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 10, 12:21 am, moerchendiser2k3 wrote:
> so there is no chance without using weakrefs?
> any ideas, tips, workarounds how I might handle this?
No, sorry: as long as a reference to an object exists, the object is
never deleted. There is no way to get around this.
Python in general isn't de
On Montag 10 Januar 2011, loial wrote:
> First question...how do I send it to the printer? Printer
> would be on the network.
echo PJL | lp -oraw -dnetworkprinter
if it works, translate it to python
--
Wolfgang
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 7, 11:24 am, Tim wrote:
> hi, I'm using a 3rd-party python program that uses the python logging
> facility and also makes calls to os.system. I'm trying to capture its
> output to a file.
>
> In my own code, I've taken control of the loggers that are setup in
> the other program by removing
On 1/10/2011 7:06 AM loial said...
Thanks for responding..
First question...how do I send it to the printer? Printer would be
on the network.
Start here:
http://mail.python.org/pipermail/python-announce-list/2000-November/000567.html
The middle article covers accessing the printer.
Emile
On 10/16/2010 10:49 AM, Adam Tauno Williams wrote:
> I've found the module pkipplib which seems to work well for things like
> interrogating an IPP (CUPS) server. But is there a way to send a print
> job to an IPP print queue? [and no, the local system knows nothing about
> the print architecture
> If you can tell us why it's so important that the object be destroyed
> at that given time, even while a reference to it exists, maybe we can
> give you better suggestions.
Thanks for your answer! In my case the types A and B (in my example
above)
are a dialog and a dialog widget. At a special t
On Jan 10, 8:29 am, Tim wrote:
> On Jan 7, 11:24 am, Tim wrote:
>
>
>
>
>
> > hi, I'm using a 3rd-party python program that uses the python logging
> > facility and also makes calls to os.system. I'm trying to capture its
> > output to a file.
>
> > In my own code, I've taken control of the logge
On Jan 10, 8:29 am, Tim wrote:
> I think I may have included too much fluff in my original question.
> The main thing I wonder is whether I can attach a log handler to
> stdout in such a way that os.system calls will write to that handler
> instead of the console.
--
http://mail.python.org/mailma
moerchendiser2k3, 10.01.2011 18:55:
If you can tell us why it's so important that the object be destroyed
at that given time, even while a reference to it exists, maybe we can
give you better suggestions.
Thanks for your answer! In my case the types A and B (in my example
above)
are a dialog an
On Mon, 2011-01-10 at 10:37 -0700, Michael Torrie wrote:
> On 10/16/2010 10:49 AM, Adam Tauno Williams wrote:
> > I've found the module pkipplib which seems to work well for things like
> > interrogating an IPP (CUPS) server. But is there a way to send a print
> > job to an IPP print queue? [and
On 1/10/2011 10:40 AM Adam Tauno Williams said...
First I have to make a text stream into a PDF, so I have something to
send. Surprisingly I've been able to find no code to steal which does
that; which means it will take longer. :(
reportlab?
[clumsily thunking out to
commands like "a2ps", et
On Mon, 2011-01-10 at 10:49 -0800, Emile van Sebille wrote:
> On 1/10/2011 10:40 AM Adam Tauno Williams said...
> > First I have to make a text stream into a PDF, so I have something to
> > send. Surprisingly I've been able to find no code to steal which does
> > that; which means it will take lon
Hi,
I'm pleased to announce the release of cdecimal-2.2. cdecimal is a fast
drop-in replacement for the decimal module in Python's standard library.
Blurb
=
cdecimal is a complete implementation of IBM's General Decimal Arithmetic
Specification. With the appropriate context parameters, cdec
I invite folks to check out Tiobe's Language Popularity Rankings:
http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
The gist is: Python grew faster than any other programming language
over the last year, according to this (slightly arbitrary, but better
than no indicator) ranking.
arbeitsamt jobs ausland , stellenangebot in ausland ,
Berufskraftfahrer Berufskraftfahrerin , Maler Malerin ,
stellenanzeigen jobboerse , arbeitsvermittlung , Meteorologe
Meteorologin , jobs und praktika im ausland 2007 , Innenarchitekt
Innenarchitektin ,
+
+
+
+++ TOPJOB AUSLAND +++ IM AUSLAND AR
On 10/01/2011 20:29, Dan Stromberg wrote:
I invite folks to check out Tiobe's Language Popularity Rankings:
http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
The gist is: Python grew faster than any other programming language
over the last year, according to this (slightly arbitr
On Jan 10, 7:18 pm, Stefan Behnel wrote:
> moerchendiser2k3, 10.01.2011 18:55:
>
> >> If you can tell us why it's so important that the object be destroyed
> >> at that given time, even while a reference to it exists, maybe we can
> >> give you better suggestions.
>
> > Thanks for your answer! In
On 2011-01-10 13:02:09 -0800, MRAB said:
On 10/01/2011 20:29, Dan Stromberg wrote:
...despite our wikipedia page whose first paragraph almost seems like
it was written with the intention of scaring off new converts, with its
"unusual" comment...
Indentation as a syntatitical structure is not
> I invite folks to check out Tiobe's Language Popularity Rankings:
>
> http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
>
> The gist is: Python grew faster than any other programming language over
> the last year, according to this (slightly arbitrary, but better than no
> indica
On 1/10/2011 1:02 PM, MRAB wrote:
On 10/01/2011 20:29, Dan Stromberg wrote:
I invite folks to check out Tiobe's Language Popularity Rankings:
http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
That's somehow derived from web searches, not from any real data
source. Look how
If interested with, have a look to
http://vouters.dyndns.org/tima/All-OS-Python-Compiling_a_Python_Program_and_Executing_the_compiled_version.html
Note you may boost your Python's startup time but not the execution
speed of your program which depends on the generated byte code.
--
http://mail.pyt
I am using PyQt4 for GUI apps.
I created a class that contains a function to center any window (Form) whose
name is passed to this class. I have two questions:
How to modify the below given code to center the window whose name we passed as
an argument.How to pass window name to this class from a
Hello There,
I am from non IT field also new to python programming.Could you
please help me to solve the following problem?
I have a list T1 with following format:
T1 = [ *' "*Field*" **' , ' "*12.5*" **', ' "*2.5*" ']*
* *
How do get the list elements without double quote in my output (T
On Mon, Jan 10, 2011 at 2:44 PM, SANKAR . wrote:
> Hello There,
>
> I am from non IT field also new to python programming.Could you
> please help me to solve the following problem?
>
> I have a list T1 with following format:
>
> T1 = [ ' "Field" ' , ' "12.5" ', ' "2.5" ']
>
> How do get the
On Mon, Jan 10, 2011 at 2:29 PM, John Nagle wrote:
> On 1/10/2011 1:02 PM, MRAB wrote:
>>
>> On 10/01/2011 20:29, Dan Stromberg wrote:
>>>
>>> I invite folks to check out Tiobe's Language Popularity Rankings:
>>>
>>> http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
>
> That's som
Roy Smith writes:
> Ben Finney wrote:
> > What is the problem you're trying to solve? It is likely we can
> > suggest a better solution.
>
> Well, the problem I'm trying to solve is that I have an absolute
> pathname to a python source file that I want to import as a module :-)
And then have i
"Thomas L. Shinnick" writes:
> Here, I need to list multiple file/dir path pairs. A list of multiple
> items to be acted upon in a common way. It is a list. Simple.
> Except I can't find a library/pypi module with the obvious extension.
What you want is incompatible with calling the result “a
On Jan 10, 2011, at 6:05 PM, Ben Finney wrote:
> "Thomas L. Shinnick" writes:
>
>> Here, I need to list multiple file/dir path pairs. A list of multiple
>> items to be acted upon in a common way. It is a list. Simple.
>> Except I can't find a library/pypi module with the obvious extension.
>
Ben Finney writes:
> The filesystem path (if any!) is derived from the name that the module
> will be bound to within the code. That'w why the indirection of
> ‘sys.path’ is necessary: it keeps the mapping between module names and
> filesystem paths.
That phrasing gives the wrong impression; ‘sy
Hi Chris ,
Thanks for your response.
I am reading a Test.txt (see atatchment) file using following code to get
the T2:
F =open('C:\Test.txt','r')
T1 = F.readlines()
for i in range(len(T1)):
T2 = T1[i].split(',')
print(T2)
Regards
Sankar
On Tue, Jan 11, 2011 at 10:02 AM, Chris Re
On Mon, Jan 10, 2011 at 2:29 PM, John Nagle wrote:
> On 1/10/2011 1:02 PM, MRAB wrote:
>>
>> On 10/01/2011 20:29, Dan Stromberg wrote:
>>>
>>> I invite folks to check out Tiobe's Language Popularity Rankings:
>>>
>>> http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
>
> That's som
On 1/10/2011 4:43 PM, Alice Bevan–McGregor wrote:
It shows an example of Python code, which happens to have 2 syntax
errors!
Wikipedia is a Wiki; everyone is free to contribute and correct mistakes.
The errors, if there, are in .png and .svg images of a random,
unrunnable snippet that will
Thank you for all the replies here! I will try your suggestions.
On Jan 7, 11:03 pm, Alice Bevan–McGregor wrote:
> Howdy!
>
> On 2011-01-07 17:08:28 -0800, linna li said:
>
> > I tried to use the apscheduler and used the sample code below from the
> > tutorial, but got the error message: Exceptio
> Also depends on how one defines "popularity" in the context of
> programming languages.
Tiobe quite clearly states what they mean by the name "popularity".
Namely the number of Google search results of expressions like
"programming X" for X in languages. If no one in the Web writes about
prog
On Mon, Jan 10, 2011 at 10:29 PM, John Nagle wrote:
> On 1/10/2011 1:02 PM, MRAB wrote:
>>
>> On 10/01/2011 20:29, Dan Stromberg wrote:
>>>
>>> I invite folks to check out Tiobe's Language Popularity Rankings:
>>>
>>> http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html
>
> That's so
On Jan 7, 11:03 pm, Alice Bevan–McGregor wrote:
> Howdy!
>
> On 2011-01-07 17:08:28 -0800, linna li said:
>
> > I tried to use the apscheduler and used the sample code below from the
> > tutorial, but got the error message: Exception in thread APScheduler
> > (most likely raised during interpreter
On 01/10/2011 08:31 PM, Katie T wrote:
> On Mon, Jan 10, 2011 at 10:29 PM, John Nagle wrote:
>
>> On 1/10/2011 1:02 PM, MRAB wrote:
>>
>>> On 10/01/2011 20:29, Dan Stromberg wrote:
>>>
I invite folks to check out Tiobe's Language Popularity Rankings:
http://www.tiobe.
On Mon, Jan 10, 2011 at 5:22 PM, Krzysztof Bieniasz
wrote:
>> Also depends on how one defines "popularity" in the context of
>> programming languages.
>
> Tiobe quite clearly states what they mean by the name "popularity".
> Namely the number of Google search results of expressions like
> "program
On 01/10/2011 10:24 PM, Dan Stromberg wrote:
> On Mon, Jan 10, 2011 at 5:22 PM, Krzysztof Bieniasz
> wrote:
>>> Also depends on how one defines "popularity" in the context of
>>> programming languages.
>>
>> Tiobe quite clearly states what they mean by the name "popularity".
>> Namely the number o
On 2011-01-10 17:23:34 -0800, linna li said:
I see the latest version is APScheduler 1.3.1. Where can I get APScheduler 2.0?
https://bitbucket.org/agronholm/apscheduler/
I don't think 2.0 has been released yet, but that is the version number
in apscheduler/__init__.py on HG tip. The example
In article ,
Dan Stromberg wrote:
> About JavaScript's popularity:
> 1) I've been getting the impression that JavaScript is popular in a
> manner similar to how x86 machine language is popular: That is, it's
> used all over, but few people hand code it (though admittedly, there
> are probably mo
On 1/10/2011 6:02 PM, Chris Rebert wrote:
On Mon, Jan 10, 2011 at 2:44 PM, SANKAR . wrote:
Hello There,
I am from non IT field also new to python programming.Could you
please help me to solve the following problem?
I have a list T1 with following format:
T1 = [ ' "Field" ' , ' "12.5"
I am trying to import modules dynamicly from a directory (modules/) in
which i have __init__.py with the __all__ variable set. Everything
imports correctly and I have verified this however I am stuck on
actually using my classes in the dynamicly imported modules.
this bit is in my main.py (or base
Great careers in Management work. Management careers bases.
http://topcareer.webs.com/executivemanager.htm
http://rojgars1.webs.com/gov.htm
--
http://mail.python.org/mailman/listinfo/python-list
Thanks Alan!
-Sankar
On Tue, Jan 11, 2011 at 2:50 PM, Alan Meyer wrote:
> On 1/10/2011 6:02 PM, Chris Rebert wrote:
>
>> On Mon, Jan 10, 2011 at 2:44 PM, SANKAR . wrote:
>>
>>> Hello There,
>>>
>>>
>>>I am from non IT field also new to python programming.Could you
>>> please help me to
On Mon, 10 Jan 2011 20:42:17 -0800, dubux wrote:
> After loading all the modules, i try to do something like:
>
> instance = modules.modulename.class()
No you don't. class is a reserved word in Python, you would get a
SyntaxError if you did that.
Please post the error you get, including the co
On 2011-01-10 21:18:41 -0800, Sohail said:
Hey, every body has their own favorite method/ways to process command
line arguments. I've worked on a little CPython extension to handle
command line arguments may be you'll find it interesting and useful
Even I've implemented my own way to hand
moerchendiser2k3, 10.01.2011 22:19:
On Jan 10, 7:18 pm, Stefan Behnel wrote:
moerchendiser2k3, 10.01.2011 18:55:
If you can tell us why it's so important that the object be destroyed
at that given time, even while a reference to it exists, maybe we can
give you better suggestions.
Thanks fo
56 matches
Mail list logo