can we save print msg into a file when script running ?

2005-10-11 Thread black
hi all~ in my .py file there are a few print to trace out some message and i wonder if we can save it into a specified file when that script get running. if so, i may just check that file to c how the script is running. can anyone show me a right direction ? one million tks~ -- http://mail.pyth

Re: how to execute .exe file ?

2005-10-11 Thread black
tks !!! -- http://mail.python.org/mailman/listinfo/python-list

are there internal functions for these ?

2005-10-11 Thread black
hi all~ i wrote some functions for copying and moving files caz' i didnt find concret functions within the doc. but i think these operations are simple and important so there may be some internal ones i didnt know. anyone could figure me out ? tks~ -- http://mail.python.org/mailman/listinfo/py

Re: can we save print msg into a file when script running ?

2005-10-12 Thread black
unluckly i am with windows, anyway tks ! -- http://mail.python.org/mailman/listinfo/python-list

Re: can we save print msg into a file when script running ?

2005-10-12 Thread black
quote: === script.py >> script.log 2>&1 === what does 2>&1 mean pls ? -- http://mail.python.org/mailman/listinfo/python-list

you having special

2008-08-12 Thread black
you having special open it *** http://www.AWSurveys.com/HomeMain.cfm?RefID=Maruthakasi G -- http://mail.python.org/mailman/listinfo/python-list

you having special

2008-08-12 Thread black
you having special open it *** http://www.AWSurveys.com/HomeMain.cfm?RefID=Maruthakasi G -- http://mail.python.org/mailman/listinfo/python-list

you having special

2008-08-12 Thread black
you having special open it *** http://www.AWSurveys.com/HomeMain.cfm?RefID=Maruthakasi G -- http://mail.python.org/mailman/listinfo/python-list

you having special

2008-08-12 Thread black
you having special open it *** http://www.AWSurveys.com/HomeMain.cfm?RefID=Maruthakasi G -- http://mail.python.org/mailman/listinfo/python-list

you having special

2008-08-12 Thread black
you having special open it *** http://www.AWSurveys.com/HomeMain.cfm?RefID=Maruthakasi G -- http://mail.python.org/mailman/listinfo/python-list

Is there a way to globally set the print function separator?

2017-10-09 Thread John Black
I want sep="" to be the default without having to specify it every time I call print. Is that possible? John Black -- https://mail.python.org/mailman/listinfo/python-list

Re: Is there a way to globally set the print function separator?

2017-10-09 Thread John Black
In article , __pete...@web.de says... > > John Black wrote: > > > I want sep="" to be the default without having to specify it every time I > > call print. Is that possible? > > No, but you can replace the print function with your own: > &g

Re: Is there a way to globally set the print function separator?

2017-10-09 Thread John Black
In article , python@example.invalid says... > > Le 09/10/2017 à 18:22, John Black a écrit : > > I want sep="" to be the default without having to specify it every time I > > call print. Is that possible? > > >>> oldprint = print > >>> def

Re: Is there a way to globally set the print function separator?

2017-10-09 Thread John Black
In article , eryk...@gmail.com says... > > On Mon, Oct 9, 2017 at 10:04 PM, John Black wrote: > > In article , python@example.invalid says... > >> > >> Le 09/10/2017 à 18:22, John Black a écrit : > >> > I want sep="" to be the default without

Re: choice of web-framework

2017-10-23 Thread John Black
. You say you teach SQLAlchemy but generally use PostgreSQL yourself. I can maybe guess why there seems to be this contradiction. Perhaps PostgreSQL is better but too advanced for the class you are teaching? Can you clarify on which you think is the better choice? Thanks. John Black -- https://mail.python.org/mailman/listinfo/python-list

Re: choice of web-framework

2017-10-24 Thread John Black
In article , ros...@gmail.com says... > > On Tue, Oct 24, 2017 at 6:57 AM, Chris Warrick wrote: > > On 23 October 2017 at 21:37, John Black wrote: > >> Chris, thanks for all this detailed information. I am confused though > >> with your database recommendation.

Re: Understanding memory location of Python variables

2018-06-18 Thread Jeremy Black
Also, I don't think you can rely on memory being allocated sequentially any more now that everyone has implemented some level of ASLR. https://en.wikipedia.org/wiki/Address_space_layout_randomization On Sat, Jun 16, 2018 at 12:22 PM Alister via Python-list < python-list@python.org> wrote: > On S

pyqtdeploy on windows

2015-01-16 Thread Hektor black
hi i have a code with pyqt4 and i want run in android with this tutorial http://pyqt.sourceforge.net/Docs/pyqtdeploy/command_line.html my project include of : m.py m.pyw m.ui when run pyqtdeploy myproject.pdy in cmd get error installing py 3.4.2 pyqt5 for pyqtdeploy any one know good tutorial for

comp.lang.python killfile rule

2017-06-22 Thread John Black
add a thing or two to this over time, but right now, this seems to be nailing everything. John Black Subject contains "PEDOFILO" Or Subject contains "MAI" Or Subject contains "SEGRETO" Or Subject contains "SETTA" Or Subject contains "BAMBINI" Or S

Re: comp.lang.python killfile rule

2017-06-26 Thread John Black
yntax of my reader but as you say that is easily translated to any other format. John Black -- https://mail.python.org/mailman/listinfo/python-list

Re: What's with all of the Case Solution and Test Bank nonsense posts?

2017-07-09 Thread John Black
ASTA" Or Subject contains "CULO" Or Subject contains "NOSTRA" Or Subject contains "FOGLIO" Or Subject contains "USARE" Or Subject contains "FAMIGLIA" Or Subject contains "FECE" Or Subject contains "CAPO" Or Subject contains &q

Re: What's with all of the Case Solution and Test Bank nonsense posts?

2017-07-10 Thread John Black
In article , jon+use...@unequivocal.eu says... > > On 2017-07-10, John Black wrote: > > While you're at it, throw these rules in and the group will appear very > > clean and on topic. > > > > Subject contains "PEDOFILO" > > Or > > Su

Re: python decorator

2017-02-21 Thread Argentinian Black ops lll
Thanks for the quick response...! you saved me a lot of time, thank you! -- https://mail.python.org/mailman/listinfo/python-list

Re: python decorator

2017-02-21 Thread Argentinian Black ops lll
*** SOLVED *** -- https://mail.python.org/mailman/listinfo/python-list

Re: how to make super() work with externally defined methods in inheritance???

2018-08-15 Thread Paint-It-Black via Python-list
> # this prints for me when I run this in 3.6 excuse me, that is an extraneous comment from a cut and paste, in fact the example never makes it to the prints, as shown in the transcript just below the source code -- https://mail.python.org/mailman/listinfo/python-list

Re: how to make super() work with externally defined methods in inheritance???

2018-08-15 Thread Paint-It-Black via Python-list
> ChrisA Yes, that works. Thank you all for your help. --> class A: def __init__(self): self.number = 1 def A_biginc(self): self.number += 107 A.biginc = A_biginc class B(A): def __init__(self): super().__init__() print("making a B") def B_biginc(self): super(B,self).bi