On Tuesday, August 3, 2021 at 3:04:19 AM UTC-7, Bartosz Golaszewski wrote:
> On Sat, Jul 31, 2021 at 3:01 PM Bartosz Golaszewski wrote:
> >
> > On Fri, Jul 30, 2021 at 2:41 PM Serhiy Storchaka wrote:
> > >
> > > 23.07.21 11:20, Bartosz Golaszewski пише:
> > > > I'm working on a Python C exte
On Thursday, July 29, 2021 at 7:42:58 AM UTC-7, joseph pareti wrote:
> indeed. There are better options than the one I attempted. Thanks for the
> advice
>
> Am Mi., 28. Juli 2021 um 18:19 Uhr schrieb Chris Angelico >:
> > On Thu, Jul 29, 2021 at 2:10 AM joseph pareti
> > wrote:
> > >
> > >
On Tuesday, July 27, 2021 at 5:05:27 AM UTC-7, Terry Reedy wrote:
> On 7/26/2021 6:19 PM, Glenn Wilson via Python-list wrote:
> > I recently downloaded the latest version of python, 3.9.6. Everything works
> > except, the turtle module. I get an error message every time , I use basic
> > command
gt; from urllib.request import urlopen
>>> res = urlopen('https://api.ipify.org').read()
>>> print(res)
b'ww.xxx.yyy.zzz'
I'm expecting the python 2 result, just the ip address. How can I get
python 3 just to give the address, and not include b'
On Thursday, February 1, 2018 at 10:23:06 AM UTC-8, Sean DiZazzo wrote:
> Hi!
>
> I basically just want to create an alias to an attribute on an item's
> superclass. So that after I create the subclass object, I can access the
> alias attribute to get the value back.
>
On Thursday, February 1, 2018 at 10:37:32 AM UTC-8, Chris Angelico wrote:
> On Fri, Feb 2, 2018 at 5:22 AM, Sean DiZazzo wrote:
> > Hi!
> >
> > I basically just want to create an alias to an attribute on an item's
> > superclass. So that after I create the s
Hi!
I basically just want to create an alias to an attribute on an item's
superclass. So that after I create the subclass object, I can access the alias
attribute to get the value back.
class Superclass(object):
def __init__(self, value):
"""
I want to pass x by refere
On Wednesday, September 13, 2017 at 7:21:25 PM UTC-7, Grant Edwards wrote:
> On 2017-09-13, Ben Finney wrote:
>
> > The toolkit in question is named “tk”, which I have only ever known to
> > be pronounced “tee kay”.
> >
> > The rest of the word is an abbreviation of “interface”.
> >
> > So, to me
On Wednesday, September 13, 2017 at 6:16:58 AM UTC-7, leam hall wrote:
> On Wed, Sep 13, 2017 at 9:08 AM, Darin Gordon wrote:
>
> > Bryan Cantrill gave an interesting talk recently at a Node conference about
> > "platform values" [1]. The talk lead me to think about what the core values
> > of th
On Wednesday, September 13, 2017 at 7:53:25 PM UTC-7, Andrew Zyman wrote:
> hello,
> is there a better approach to populating a function in this situation?
>
> res = self.DB.getPrice(): # returns array of 3x2 always. symbol_id,
> symbol, price.
>
> var1 = self.AFunction(symbols=res[0][2] + '.'
On Wednesday, September 13, 2017 at 3:02:18 PM UTC-7, bream...@gmail.com wrote:
> On Wednesday, September 13, 2017 at 10:43:47 PM UTC+1, Sean DiZazzo wrote:
> > On Tuesday, September 12, 2017 at 9:18:12 AM UTC-7, larry@gmail.com
> > wrote:
> > > Not too many
On Tuesday, September 12, 2017 at 9:18:12 AM UTC-7, larry@gmail.com wrote:
> Not too many females here, but anyway:
>
> https://svahausa.com/collections/shop-by-interest-1/products/python-code-fit-flare-dress
>
> (And if any guys want to wear this, there's nothing wrong with that.)
I'm going
On Wednesday, September 13, 2017 at 12:06:20 PM UTC-7, larry@gmail.com
wrote:
> I have a script that creates a tmp dir, create a lot of files in it,
> and when done, does a rmtree on the dir. When it does that I get this
> message:
>
> shell-init: error retrieving current directory: getcwd: c
c()
>>> type(tb)
>>> tb
'None\n'
>>>
Shouldn't it just return None itself? Why a string with a newline?
Interested if there is an actual reason for this behavior or if it should be
reported as a bug.
~Sean
--
https://mail.python.org/mailman/listinfo/python-list
On Friday, June 2, 2017 at 10:46:03 AM UTC-7, bob gailer wrote:
> On 6/2/2017 1:28 PM, Jussi Piitulainen wrote:
> > sean.diza...@gmail.com writes:
> >
> >> Can someone please explain this to me? Thanks in advance!
> >>
> >> ~Sean
> >>
> >&g
Can someone please explain this to me? Thanks in advance!
~Sean
Python 2.7.13 (v2.7.13:a06454b1afa1, Dec 17 2016, 12:39:47)
[GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Rest in Peace Rob
On Wed, Nov 16, 2016 at 12:48 PM, Ben Finney
wrote:
> "M.-A. Lemburg" writes:
>
> > Rob was a true Pythonista from the heart. He will always be remembered
> > for his humor, great spirit and kindness.
>
> Robert and I had many conversations about the Bazaar version control
> s
Does anyone have advice on how to resolve this message when I attempt to open
IDLE?
"IDLE's subprocess didn't make connection. Either IDLE can't start a subprocess
or personal firewall software is blocking the connection."
I am running Windows 10 Home on a 64bit machine.
I am running Pytho
Hello
Thank you for your reply. So the error isnt due to a bug in function
itself? It is due to a possible error in the Android APK file? If that is
the case, it would take a while to figure this out. I tried contacted the
author of the project but I have yet to hear back from him .
Thanks
On
:
https://github.com/mz/androwarn/blob/master/androwarn.py
Hopefully those help in any troubleshooting steps that you all recommend to
me!
Thank you!
On Thu, May 26, 2016 at 1:25 PM, Sean Son
wrote:
> Hello all
>
> From what I can tell from the error message that I received, line 257
no idea how I
should fix this error. All help is greatly appreciated!
Thanks
On Tue, May 24, 2016 at 3:46 PM, Sean Son
wrote:
> Thanks for the reply.
>
> Looks like I am screwed on this one lol
>
> On Tue, May 24, 2016 at 3:31 PM, MRAB wrote:
>
>> On 2016-
Thanks for the reply.
Looks like I am screwed on this one lol
On Tue, May 24, 2016 at 3:31 PM, MRAB wrote:
> On 2016-05-24 20:04, Sean Son wrote:
>
>> hello all
>>
>> I am testing out a script called androwarn.py, which I downloaded from:
>>
>> https://git
hello all
I am testing out a script called androwarn.py, which I downloaded from:
https://github.com/mz/androwarn
using the instructions found on:
https://github.com/mz/androwarn/wiki/Installation
When I ran the following commands to test the APK for AirBNB:
python androwarn.py -i S
I don't believe it's xp, it's a new laptop
> On 11 Jan 2016, at 20:33, Cameron Simpson wrote:
>
>> On 11Jan2016 19:17, Sean Melville wrote:
>> I've downloaded python 3.5.1 but when I try and open it always says that I
>> have to either uninsta
Hello,
I've downloaded python 3.5.1 but when I try and open it always says that I
have to either uninstall it, repair it or modify it. However, I've tried
all of them and it still doesn't work.
>From Callum
--
https://mail.python.org/mailman/listinfo/python-list
t the market is right now. I would love to
help you out, but if you are not interested, let me know if you have anyone in
mind who may be, I would love to help them out as well!
Best,
Sean
Sean Brady
| Sales Executive, Recruiter | Highview Partners, LLC |
|
of changing things on the
fly, rather then creating complex command line parameters.
Thoughts?
Sean
--
https://mail.python.org/mailman/listinfo/python-list
Hi All.
I am aware that active state python has a commercial module depositary which
you can get modules from. Under PERL you had CPAN. Is there anything like this
for Python?
Sean
--
https://mail.python.org/mailman/listinfo/python-list
et.
>>
>> Only outstanding thing I have to work out is how to execute functions
>> from a dictionary. I will continue searching on the net.
>>
>>
>> Sean
>
> This may help you (untested code)
>
> class Workers:
> @staticmethod
> def ospf(*args, **k
Thanks for that. It resolved the issue and it was so simple compared to
everything else I saw on the net.
Only outstanding thing I have to work out is how to execute functions from a
dictionary. I will continue searching on the net.
Sean
On 07/01/2014, at 9:21 PM, Jean-Michel Pichavant
bove. I just don't get
the nested dictionary effect I am after. Again, I am trying to use standard
core which some of the examples I have seen appeared to use. I am aware of
collection module.
#! /usr/bin/env python
# Identifying if memory leaks are occurring.
# goal is to import out
Dennis,
Loose terminology. The Command terminal within windows which the app will be
executed in. Not native DOS.
On 06/01/2014, at 3:48 AM, Denis McMahon wrote:
> On Sun, 05 Jan 2014 20:25:11 +1100, Sean Murphy wrote:
>
>> The module must work under dos for now. Eventually Mac.
wait for key press
If key press equals delete line.
Delete list element.
else if key press equals edit
display line for interactive edit.
else
move to next line
The module must work under dos for now. Eventually Mac.
Sean
--
https://mail.python.org/mailman/listinfo/python-list
config it.
I have hundreds of other questions, if I don't find answers on the net before
hand.
Sean
On 04/01/2014, at 6:52 PM, Cameron Simpson wrote:
> On 04Jan2014 16:54, Sean Murphy wrote:
>> Thanks everyone.
>>
>> Mark thanks for the correction on the '
Hi everyone.
Worked out what I was doing wrong with the string splicing. The offset number
was lower then the index number, so it was failing. E.G:
On 04/01/2014, at 4:54 PM, Sean Murphy wrote:
> Thanks everyone.
>
> Mark thanks for the correction on the ':'. Since I
ay (list) I would have to test for a blank line which I assume would be "".
Any suggestions on this would be welcomed.
Sean
print a[
On 04/01/2014, at 4:38 PM, Mark Lawrence wrote:
> On 04/01/2014 04:03, Sean Murphy wrote:
>> Hello all.
>>
>> This is a newly qu
ave got the
whole content of the element when using the index of the array (list).
Sean
filename is: t
filename
--
https://mail.python.org/mailman/listinfo/python-list
PETER,
thanks Peter, I have already found the PDB module and have had a play with it.
It will do for now.
On 03/01/2014, at 8:08 PM, Paul Rudin wrote:
> Sean Murphy writes:
>
>
>> I am a Vision Impaired programmer on the Mac and Window platforms. I have
>> started
and had a
full debugger that worked at the console level.
Sean
--
https://mail.python.org/mailman/listinfo/python-list
On Sunday, June 16, 2013 1:33:17 PM UTC-7, Ian wrote:
> On Sat, Jun 15, 2013 at 10:05 PM, wrote:
>
> > Yes I've read it. Very interesting read. There are other resources too
> > online that make it very clear, for instance the wikipedia articles is
> > pretty good.
>
> >
>
> > Though, if any
On Sunday, June 16, 2013 1:16:02 PM UTC-7, Dennis Lee Bieber wrote:
> On Sun, 16 Jun 2013 09:15:11 -0700 (PDT), alphons...@gmail.com declaimed
>
> the following:
>
>
>
> >sorry about that. I'm new to google groups. I'm trying to make sense of
> >python's implementation of timsort through cpyth
On Tue, Mar 26, 2013 at 7:25 PM, Ned Deily wrote:
> One suggestion: take a look at Raymond Hettinger's keynote address from
> the recent PyCon. Any of Raymond's talks are worth viewing but this one
> in particular is a higher-level sales pitch for Python: "Show the
> specific features that make
So I have been re-reading some of the python intro stuffs after a time
away philandering with other languages. I have been thinking about the
Zen of Python piece where it says 'namespaces are a honking great idea
- let's do more of those'.
A question -- since then do we have any sort of list of ma
Original Message-
From: ch...@rebertia.com [mailto:ch...@rebertia.com] On Behalf Of Chris Rebert
Sent: Friday, March 02, 2012 3:23 PM
To: Sean Cavanaugh (scavanau)
Cc: python-list@python.org
Subject: Re: Python - CGI-BIN - Apache Timeout Problem
On Fri, Mar 2, 2012 at 12:09 PM, Sean Cavanaugh (scav
--
From: ch...@rebertia.com [mailto:ch...@rebertia.com] On Behalf Of Chris Rebert
Sent: Friday, March 02, 2012 3:23 PM
To: Sean Cavanaugh (scavanau)
Cc: python-list@python.org
Subject: Re: Python - CGI-BIN - Apache Timeout Problem
On Fri, Mar 2, 2012 at 12:09 PM, Sean Cavanaugh (scavanau)
wrote:
> THE PRO
l Message-
From: ch...@rebertia.com [mailto:ch...@rebertia.com] On Behalf Of Chris Rebert
Sent: Friday, March 02, 2012 3:23 PM
To: Sean Cavanaugh (scavanau)
Cc: python-list@python.org
Subject: Re: Python - CGI-BIN - Apache Timeout Problem
On Fri, Mar 2, 2012 at 12:09 PM, Sean Cavanaugh (scavanau)
wrote:
&g
ut-on-fre
ebsd-apache22
Thanks in advance for any ideas. I can include the whole main.py if
that would help.
Sean Cavanaugh
Cisco Systems
--
http://mail.python.org/mailman/listinfo/python-list
On Mon, Jan 16, 2012 at 4:01 AM, Steven D'Aprano
wrote:
> On Mon, 16 Jan 2012 09:03:54 +0300, _ wrote:
>
>> # THAT WHAT NEED EXPECT FROM OPERATORS OF PYTHON: Worddr = "56" # CREATE
>> A STRING: "56" Word = ["12"] # CREATE A LIST WITH ONE SIGNED: "12" Word
>> = Word.append("34")
> ...
>
>
> Do you
On Wed, Jan 11, 2012 at 6:35 PM, Martin Manns wrote:
> or in pyspread (GPL, my own effort)
>
> http://manns.github.com/pyspread/
>
Checking this out now. Do you have text boxes? Cause maybe I will add
some ... cool!
--
http://mail.python.org/mailman/listinfo/python-list
On Tue, Jan 10, 2012 at 8:25 PM, Sebastian Rooks
wrote:
> On Mon, 9 Jan 2012 00:55:22 -0300, Sean Wolfe
> wrote:
>
>>kindle? ipad? tablet?
>
> I'm interested in books, not files ...
> (seriously, now ... I don't have any of those devices)
>
>>also t
On Tue, Jan 10, 2012 at 6:53 PM, Nelle Varoquaux
wrote:
> Small nitpick: Openoffice.org (and LibreOffice) has in fact very little
> java. The core of it is written in C++, so if you ever want to extend it
> (unlikely), you won't be dealing with java code.
>
hmm I didn't know this, nice to know. Y
I'm a somewhat-satisfied openoffice.org user. I mean it works, but if
it weren't in Java I'd be doing some of my own tweaking. But since
it's in Java I stay away... no likey.
Has there been any talk of doing another similar office suite, or
maybe just writer + spreadsheet, in a better language eg
On Sun, Jan 8, 2012 at 8:44 PM, Sebastian Rooks
wrote:
> Hello everyone,
>
> I was wondering if you could help me. I'm looking for a python
> introductory book, kind of like Learning Python only smaller (?!)
> The thing is, I travel to and from work each day for about 1,5h in each
> direction, and
On Sun, Jan 8, 2012 at 11:38 PM, David George wrote:
>
> Sean Wolfe wrote:
>>
>> is anybody out there?
>>
>> On Sat, Jan 7, 2012 at 5:07 AM, abdullah zuberi
>> wrote:
>>>
>>> hello ?
>>>
>
> Hello there Sean, How are you d
is anybody out there?
On Sat, Jan 7, 2012 at 5:07 AM, abdullah zuberi
wrote:
> hello ?
> --
> http://mail.python.org/mailman/listinfo/python-list
>
--
A musician must make music, an artist must paint, a poet must write,
if he is to be ultimately at peace with himself.
- Abraham Maslow
--
htt
I am still living in the 2.x world because all the things I want to do
right now in python are in 2 (django, pygame). But I want to be
excited about the future of the language. I understand the concept of
needing to break backwards compatibility. But it's not particularly
exciting to think about. W
On Tue, Jan 3, 2012 at 7:28 PM, Ben Finney wrote:
> Sean Wolfe writes:
>
>> Hello everybody, I'm a happy pythonista newly subscribed to the group.
>
> Welcome!
Thanks! and thanks to all, hjaha.
>
>> I have a theoretical / philosophical question regarding st
Hello everybody, I'm a happy pythonista newly subscribed to the group.
How is it going?
I have a theoretical / philosophical question regarding strong vs duck
typing in Python. Let's say we wanted to type strongly in Python and
were willing to compromise our code to the extent necessary, eg not
cha
## term rewriter (python 3.1.1)
def gettokens(string):
spaced = string.replace('(',' ( ').replace(')',' ) ')
return spaced.split()
def getterm(tokens):
if tokens[0] in '()':
term = []
assert tokens[0] == '('
tokens.pop(0)
while not tokens[0] == ')': te
never mind. i found it.
--
http://mail.python.org/mailman/listinfo/python-list
hello
(how) can you change the text of a Tkinter Button by clicking it?
something like
def click(index): return lambda: buttons[index].text = 'hello'
buttons = [Button(root,command=click(index)) for index in
range(numbuttons)]
only with an attribute that Buttons actually have. sorry to have to
a
my mom because all she really
does is check her email and Facebook so it was perfect for her.
Thank You for all the responses they were a great help with me testing
the notebook.
On Dec 25, 9:02 pm, Katie T wrote:
> On Wed, Dec 22, 2010 at 9:43 PM, Sean wrote:
> > Anybody know w
Forgot to point out that Chrome OS has no local storage accessable to
the user. Hence why I need a web based solution.
On Dec 22, 8:51 pm, Sean wrote:
> I am wanting to learn python and I am test a Chrome OS notebook at the
> same time so I need something that will atleast tell me if I ha
is on test, what kind of app do you want create?
>
> 2010/12/22, Sean :
>
> > Anybody know where I can find a Python Development Environment in the
> > form of a web app for use with Chrome OS. I have been looking for a
> > few days and all i have been able to fin
Anybody know where I can find a Python Development Environment in the
form of a web app for use with Chrome OS. I have been looking for a
few days and all i have been able to find is some old discussions with
python developers talking about they will want one for the OS to be a
success with them.
-
ading.local, in case anyone is
relying on it now that it's in there. But I'd like to offer a solution for
the cases where it doesn't work.
Any suggestions on the solution for this?
Thanks,
Sean
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comm
On Oct 22, 10:48 pm, Steven D'Aprano wrote:
> On Fri, 22 Oct 2010 22:03:38 -0700, Sean DiZazzo wrote:
> > How can I assure him (and the client) that the transfer completed
> > successfully like my log shows?
>
> "It has worked well for many years, there are no
; + destfile, open(f.path, 'rb'))
# log this as success
except:
# log this as an error
Is ftplib reliable enough to say that if an exception is not thrown,
that the file was transferred in full?
Python 2.4.3 (#1, Sep 17 2008, 16:07:08)
Red Hat Enterprise Linux Server release 5.3 (Ti
I notice sometimes when I follow a thread on the mailing list archives, the
thread will not be all together. To see what I mean, look at the thread
"splitting comp.lang.python" as shown here:
http://mail.python.org/pipermail/python-list/2000-March/thread.html#639685.
You can see one large chunk of
just sending out a late thank you for the response
--
http://mail.python.org/mailman/listinfo/python-list
I found two similar questions in the mailing list, but I didn't understand
the explanations.
I ran this code on Ubuntu 10.04 with Python 2.6.5.
Why do the functions g and behave differently? If calls (3) and
g(3) both exit their functions in the same state, why do they not enter in
the s
What are the various ways to search the python mailing list archives?
--
http://mail.python.org/mailman/listinfo/python-list
Xah Lee writes:
> Perl's exceedingly lousy unicode support hack is well known. In fact
> it is the primary reason i “switched” to python for my scripting needs
> in 2005. (See: Unicode in Perl and Python)
I think your assessment is antiquated. I've been doing Unicode
programming with Perl for ab
.HTTPBasicAuthHandler(t.pm)
t.urlopener = urllib2.build_opener(t.handler)
c = client.Client(url='http://xxx.xxx.xxx.xxx/path/to?
WSDL',transport=t)
~Sean
--
http://mail.python.org/mailman/listinfo/python-list
On Jun 13, 4:39 pm, Vincent Davis wrote:
> On Sun, Jun 13, 2010 at 5:28 PM, Gerry Reno wrote:
> > sounds like your keymapping got messed with.
>
> > you could just:
> > set -o vi
> > python
> > ESC, Ctrl-j
> > and now ESC-k and ESC-j will take you back and forth in history (std vi
> > editing)
>
file to bother html and pdf (via latex). Any
suggestions?
Thanks,
Sean
--
http://mail.python.org/mailman/listinfo/python-list
On May 24, 9:34 pm, Six wrote:
> I am trying to access an objects sub-object attributes. I can boil the
> code I am working with down to this problem section:
> (snip)
> class Pt:
> x = None
> y = None
> def __init__(self, x, y):
> self.x, self.y = x, y
> pass
>
> class Pts:
> curr_p
an-up-a-directory-tree/
"Although it is true you can use shutil.rmtree() in many cases, there
are some cases where it does not work. For example, files that are
marked read-only under Windows cannot be deleted by shutil.rmtree().
By importing the win32api and win32con modules from PyWin32
On May 13, 9:54 pm, Sean DiZazzo wrote:
> On May 13, 9:39 am, News123 wrote:
>
>
>
> > Hi Aaaz,
>
> > Aahz wrote:
> > > In article <4bea6b50$0$8925$426a7...@news.free.fr>,
> > > News123 wrote:
> > >> I'd like to perform huge f
avenue to read the size of the file on the server. Maybe a
webservice that you call with the name of the file that returns it's
percent complete, or it could just return bytes on disk and you do the
math on the client side. Then you just forget about the transfer and
query the file size whenever you want to know...or on a schedule.
~Sean
--
http://mail.python.org/mailman/listinfo/python-list
On Apr 14, 9:22 pm, Dennis Lee Bieber wrote:
> On Wed, 14 Apr 2010 15:18:11 -0700 (PDT), Sean DiZazzo
> declaimed the following in
> gmane.comp.python.general:
>
>
>
> > def wnet_connect(self, host, username, password):
>
> The presence of "self&q
to force the
connection to go to a specific interface? I'll post the exact error
after I can get on that machine. Thanks!
~Sean
I'm using this wnet_connect() function that I found somewhere. It
works perfectly except on this one machine.
def wnet_connect(self, host, username, p
7;Invalid option'
> sys.exit(0)
If your argument is expecting a value, you need to add a colon after
it in the argument string. ie. 'a:b:'
Guessing if you print 'args' from your example, both the -c and junk1
will be in there.
~Sean
--
http://mail.python.org/mailman/listinfo/python-list
> You are right. I was trying to import the module sitting on the source
> folder :"-). Thanks for your quick response and let me try further.
Sweet! I remember it because it confused the hell out of me on at
least one past occasion. :)
--
http://mail.python.org/mailman/listinfo/python-list
ViewDownload
>
> signature.asc
> < 1KViewDownload
The warning looks familiar. Are you running python from the MySQLdb
source directory? ie. /opt/downloads/py-modules/MySQL-python-1.2.3c1
I think you just need to change directories and the warning will go
away. Check what's happening on line 3 of _mysql.py I don't have the
source in front of me.
~Sean
--
http://mail.python.org/mailman/listinfo/python-list
> Are the new Tk comaprable with other toolkits(Qt, GTK,Wx?)?
> Does Tk lack other features compared to the Qt,GTK,Wx...?
> (Or: is there things you can't simply do with Tk?)
>
> Thanks in advance for replying
tkinter is a good starting point. You can get some definite benefits
going to wx or Qt
ilt (and where
> it
> runs OK) is using Vista. I now see that it will probably be necessary to
> build
> separate Vista and XP versions - I should have realized this earlier, but was
> misled by the fact that the Vista-built program runs OK on my XP SP2 box.
Did you compile
e is updated, so
changing permissions, among other things will update it.
It blew me away when I finally found this out.
~Sean
--
http://mail.python.org/mailman/listinfo/python-list
ttp://uucode.com/texts/pylongopgui/pyguiapp.html
~Sean
--
http://mail.python.org/mailman/listinfo/python-list
On Feb 8, 2:36 pm, a...@pythoncraft.com (Aahz) wrote:
> In article
> ,
> Sean DiZazzo wrote:
>
> >On Feb 3, 6:08=A0pm, alex23 wrote:
>
> >> There was also a PEP with another possible implementation:
> >>http://www.python.org/dev/peps/pep-0355/
>
>
On Feb 9, 6:52 am, T wrote:
> On Feb 8, 2:25 pm, David Bolen wrote:
>
>
>
> > T writes:
> > > I have a script, which runs as a Windows service under the LocalSystem
> > > account, that I wish to have execute some commands. Specifically, the
> > > program will call plink.exe to create a reverse
>
> It's working fine when I run it via " debug" - that's how
> I was testing before. It's when I start the service that it fails -
> and you can see that, when you run it with debug, plink.exe runs under
> my username. When I run it as a service, it runs under System...
You can have the servic
take a look at paramiko as the ssh client library? I think it
runs under windows. Also perhaps Twisted has something. Either way
would be light years ahead of using subprocess with plink.
Just my thoughts.
~Sean
--
http://mail.python.org/mailman/listinfo/python-list
best way around this? Thanks!
Try running/debugging your service from the commandline as
" debug" That should lead you to the error.
Otherwise, we need to see a traceback and some code to be better able
to help.
~Sean
--
http://mail.python.org/mailman/listinfo/python-list
ls addition to the lib that
> provides this level of convenience...)
>
> There was also a PEP with another possible
> implementation:http://www.python.org/dev/peps/pep-0355/
>
> Hope this helps.
It's too bad that something like this can't be agreed to. I used a
homegrown module like this for a couple of years in my early days with
python. It was great, but I didn't know enough at the time to make it
really useful.
Why did Path() get rejected? Is it the idea itself, or just the
approach that was used? What are the complaints?
~Sean
--
http://mail.python.org/mailman/listinfo/python-list
ed python features.
>
> So, may you help me please? If there's a similar thread/blogpost/
> whatever, please give it to me, google couldn't.
>
> Regards
> Julian
I love list comprehensions, but am currently falling for 'with'.
~Sean
--
http://mail.python.org/mailman/listinfo/python-list
> Here is a recent list of magic numbers:
>
> Python 2.6a0: 62151 (peephole optimizations and STORE_MAP opcode)
> Python 2.6a1: 62161 (WITH_CLEANUP optimization)
> Python 2.7a0: 62171 (optimize list comprehensions/change LIST_APPEND)
> Python 2.7a0: 62181 (optimize cond
ds of useful stuff.
In my home grown daemons I use Adam's technique, and wrap the "while
1:" block in a try except clause.
~Sean
--
http://mail.python.org/mailman/listinfo/python-list
On Jan 28, 12:53 pm, "PS.OHM" wrote:
> Hello Guys
>
> I have get some error when i install MySQLdb on Mac OS X
>
> after i key command $python setup.py build
>
> rusult is
> :
> :
> error: command 'gcc-4.0' failed with exit status 1
>
> How to config this poblem?
Please show a little bit more of
On Jan 28, 12:13 pm, Joan Miller wrote:
> On 28 ene, 19:58, John Posner wrote:
>
>
>
> > On 1/28/2010 2:24 PM, Joan Miller wrote:
>
> > > On 28 ene, 19:16, Josh Holland wrote:
> > >> On 2010-01-28, Joan Miller wrote:
>
> > >>> I've to call to many functions with the format:
>
> > >> run("cm
1 - 100 of 403 matches
Mail list logo