Thomas Heller wrote:
> robert wrote:
>
>> When employing complex UI libs (wx, win32ui, ..) and other extension
>> libs, nice "only Python stack traces" remain a myth.
>>
>> Currently I'm hunting again a rare C-level crash bug of a Python based
>
properties. Windows for example
stores (original) file time stamps in such properties.
Started writing on that, yet not complete - little complex. Properties
to go to a ".##dav" folder (copied and moved together with the objects
with COPY/MOVE).
-robert
--
http://mail.python.org/mailman/listinfo/python-list
alues (both positional and by name)
in Python3000 - maybe by making calling and returning almost symetric!
Yet, this ideas maybe strange ? ...
def f_P3K(*args,**kwargs):
xreturn((7,8), 3, extra=5, *args, **kwargs) # first is main
v = f_P3K()# (7,8)
v,x = f_P3K() # (7,8),3
v,x,*pret,**kwret= f_P3K()
extra=kwret.get('extra',-1)
-robert
--
http://mail.python.org/mailman/listinfo/python-list
reaks with systemerror
schedule_callback(c) # -> upon Windows WM_TIMER event
...
Will there be another bug-fix release of Python 2.3 ?
-robert
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> robert wrote:
>
>>From the trace of a 2.3.5 software i got:
>>
>>\'SystemError:
>>C:sfpythondist23srcObjectscellobject.c:22: bad
>>argument to internal
>>function\\n\']
>
>
> ..
and frustrated. I hate being forced to deal with proprietary
> software.)
>
The Windows Web Folder mapping service is also "proprietary" : MS
It can't handle HTTPS in XP so far.
That HTTPS example on this page is from a Mac.
-robert
--
http://mail.python.org/mailman/listinfo/python-list
0] # keep max. last 1000 appended items in the list
list1[:]=replace_list
...
-robert
--
http://mail.python.org/mailman/listinfo/python-list
27;(?m)\Z',ss)
['owi\nweoifj\nfheu\n']
>>> re.split(r'(?m)\A',ss)
['owi\nweoifj\nfheu\n']
>>> re.split(r'(?s)\A',ss)
['owi\nweoifj\nfheu\n']
>>> re.split(r'(?s)(?m)\A',ss)
['owi\nweoifj\nfheu\n']
>>>
how to do?
Robert
--
http://mail.python.org/mailman/listinfo/python-list
#x27;, 'xx']
is consistent in that regard: there is always a last empty or half
line, which can be fed readily as start to the further input
buffering.
With the .splitlines(True/False) results you need to fiddle, test
the last result's last char... Or you fail altogether with False.
So I'd call this a "wrong" implementation.
Robert
--
http://mail.python.org/mailman/listinfo/python-list
ssing algorithm - the further buffering. Compare e.g.
>> ss.split('\n') ..
>
> well, one can do
>
> >>> [line + '\n' for line in ss.splitlines()]
> ['owi\n', 'eoifj\n', 'heu\n']
> >>> [line + '\n' for line in (ss+'xxx').splitlines()]
> ['owi\n', 'eoifj\n', 'heu\n', 'xxx\n']
>
> as another try for your edge case. It's understandable and
> natural-looking
>
nice for some display purposes, but "wrong" regarding a general
logic. The 'xxx' is not a complete line in the general case. Its
and (open) part and should appear so.
Robert
--
http://mail.python.org/mailman/listinfo/python-list
Jeffrey Froman wrote:
> robert wrote:
>
>> thanks. Yet this does not work "naturally" consistent in my line
>> processing algorithm - the further buffering. Compare e.g.
>> ss.split('\n') ..
>>
>>>>> 'owi\nweoifj\nfheu\n'
Steve Holden wrote:
> robert wrote:
> [...]
>> but its also wrong regarding partial last lines.
>>
>> re.split obviously doesn't understand \A \Z ^ $ and also \b etc. empty
>> matches.
>>
> [...]
> Or perhaps you don't understand re?
>
I would like to count lines in a file using the fileinput module and I
am getting an unusual output.
--
#!/usr/bin/python
import fileinput
# cycle through files
for line in fileinput.input():
if (fileinput.isfirstline()
On Feb 13, 8:31 pm, 7stud <[EMAIL PROTECTED]> wrote:
> On Feb 13, 6:47 pm, Robert <[EMAIL PROTECTED]> wrote:
>
>
>
> > I would like to count lines in a file using the fileinput module and I
&g
Somebody who uses my app gets a error :
os.stat('/path/filename')
OSError: [Errno 75] Value too large for defined data type:
'/path/filename'
on a big file >4GB
( Python 2.4.4 / Linux )
How about that? Does Python not support large files? Or which
functions do not sup
how can one index (text documents) for efficient similar word search?
existing modules?
what principles are used by search engines therefore?
--
http://mail.python.org/mailman/listinfo/python-list
#x27;ll usually code
faster, because you don't think so much about voluptuous
multimulti..possibilites, not worth the play: one-ness of mind
If insistent, you could sometimes save lines like this ;-)
x=1
while x<=100: print x; x+=x
Robert
--
http://mail.python.org/mailman/listinfo/python-list
Aaron Brady wrote:
Gandalf wrote:
On Oct 18, 12:39 pm, Duncan Booth <[EMAIL PROTECTED]>
wrote:
Gandalf <[EMAIL PROTECTED]> wrote:
how can I do width python a normal for loop width tree conditions like
for example :
for x=1;x<=100;x+x:
print x
What you wrote would appear to be an infinite
(or the "second" refcount) to fall below "1 plus number of extra
local refs". In case execute your obj.__deregister() or so ...
Robert
--
http://mail.python.org/mailman/listinfo/python-list
ot;by
hand", to remain stable.
Robert
--
http://mail.python.org/mailman/listinfo/python-list
Is there a API/possibilty for reading&writing (live) in the mail
box tree of Thunderbird/Seamonkey with Python?
--
http://mail.python.org/mailman/listinfo/python-list
Chris Rebert wrote:
On Sun, Apr 5, 2009 at 1:04 AM, robert wrote:
Is there a API/possibilty for reading&writing (live) in the mail box tree of
Thunderbird/Seamonkey with Python?
From what I can google, they're already in mbox format, so you can use
mailbox.mbox to read/write to
What is the most Pythonic way to maintain a configuration file?
Are there any libraries mimicking registry / ini file writing that many
windows programming languages/environments offer?
Robert
--
http://mail.python.org/mailman/listinfo/python-list
Does ConfigParser allow writing configuration changes also?
"Dennis Lee Bieber" <[EMAIL PROTECTED]> schreef in bericht
news:[EMAIL PROTECTED]
> On Sat, 14 Jun 2008 21:27:19 +0200, "Robert" <[EMAIL PROTECTED]>
> declaimed the following in comp.lang.python:
be on the wx part of it all.
I only have:
- a python 2.5.2 install(msi)
- a "wxPython2.8-win32-unicode-2.8.7.1-py25.exe" install
- a "py2exe-0.6.8.win32-py2.5.exe"install.
I have deleted C:\Python25\Lib\site-packages\wx-2.8-msw-unicode\wxPython
because there indic
x-access (without need
for callback functions,classes.. for basic tasks)?
Robert
--
http://mail.python.org/mailman/listinfo/python-list
Tim Cook wrote:
On Sun, 2008-07-06 at 14:40 +0200, robert wrote:
Often I want to extract some web table contents. Formats are
mostly static, simple text & numbers in it, other tags to be
stripped off. So a simple & fast approach would be ok.
What of the different modules around is m
given d:
d = ["soep", "reeds", "ook"]
I want it to print like
soep, reeds, ook
I've come up with :
print ("%s"+", %s"*(len(d)-1)) % tuple(d)
but this fails for d = []
any (pythonic) options for this?
Robert
--
http://mail.python.org/mailman/listinfo/python-list
Or some other pre-packaged parser tool?
--
http://mail.python.org/mailman/listinfo/python-list
I want to detect changes in a directory tree fast with minimum
overhead/load. In order to check the need for sync tasks at high
frequency.
It must not be 100% reliable (its also forced time periodic), so
kind of hashing would be ok.
How?
Robert
--
http://mail.python.org/mailman/listinfo
s.connect(('nonexisting-proxy-server',3129))
Traceback (most recent call last):
File "", line 1, in ?
File "", line 1, in connect
error: (10061, 'Connection refused')
>>> s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
>>> s.co
nice would be a method which can directly compare agains and update
a single consistent file like
ftp:///archive.zip.gpg
Is something like this possible?
Robert
--
http://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano wrote:
> On Fri, 10 Mar 2006 15:13:07 +0100, robert wrote:
>
>
>>Hello,
>>
>>I want to put (incrementally) changed/new files from a big file tree
>>"directly,compressed and password-only-encrypted" to a remote backup
>>
(copy.deepcopy(obj),f)" ) an
atomic opertion with a guarantee to not fail?
Or can I only retry several times in case of RuntimeError? (which would
apears to me as odd gambling; retry how often?)
Robert
PS: Zope dumps thread exposed data structes regularly. How does the ZODB
in Zop
> Is a copy.deepcopy ( -> "cPickle.dump(copy.deepcopy(obj),f)" ) an
> atomic opertion with a guarantee to not fail?
>
> Or can I only retry several times in case of RuntimeError? (which would
> apears to me as odd gambling; retry how often?)
For an intermediate solution, I'm playing roulette
robert wrote:
>
>> Is a copy.deepcopy ( -> "cPickle.dump(copy.deepcopy(obj),f)" ) an
>> atomic opertion with a guarantee to not fail?
>>
>> Or can I only retry several times in case of RuntimeError? (which
>> would apears to me as odd gambling;
speedy comparision (with 0-length
files)
+ create encrypted archive slices for upload with iterated filenames
- an external tool like "gpg -c" is necessary
- extra file tree or file attribute database
- unrolling status from multiple archive slices is arduous
Robert
--
http://mail.python.org/mailman/listinfo/python-list
Felipe Almeida Lessa wrote:
> Em Sáb, 2006-03-11 às 12:49 +0100, robert escreveu:
>
>>Meanwhile I think this is a bug of cPickle.dump: It should use .keys()
>>instead of free iteration internally, when pickling elementary dicts.
>>I'd file a bug if no objection.
&
EleSSaR^ wrote:
> robert si è profuso/a a scrivere su comp.lang.python tutte queste
> elucubrazioni:
>
> [cut]
>
> I don't know what's your code like, but a similar error occurred in some of
> my software and it was my fault indeed. I think you should eith
Steven D'Aprano wrote:
> On Sat, 11 Mar 2006 16:09:22 +0100, robert wrote:
>
>
>>>Lastly, have you considered that your attempted solution is completely the
>>>wrong way to solve the problem? If you explain _what_ you are wanting to
>>>do, rather than _h
Alex Martelli wrote:
> robert <[EMAIL PROTECTED]> wrote:
>...
>
>>99.99% no. I would have to use a lock everywhere, where I add or remove
>>something into a dict or list of the struct. Thats not the purpose of
>>big thread locks. Such simple operations are al
EleSSaR^ wrote:
> robert si è profuso/a a scrivere su comp.lang.python tutte queste
> elucubrazioni:
>
>
>>own deepcopy: thus, do you already know if the existing deepcopy has the
>>same problem as cPickle.dump ?(as the problem araises rarely, it is
>>d
Tim Peters wrote:
> [robert]
>
>>...
>>PS: how does ZODB work with this kind of problem? I thought is uses cPickle?
>
>
> It does. Each thread in a ZODB application typically uses its own
> connection to a database. As a result, each thread gets its own
> co
robert wrote:
>
> Guess it would be more wise to not expose deepcopy, cPickle.dump etc. to
> this kind of RuntimeError unnecessarily.
> The speed gain of the iterator-method - if any - is minor, compared to
> the app crash problems, which are not easy to discover and work-aro
Alex Martelli wrote:
> robert <[EMAIL PROTECTED]> wrote:
>...
>
>>What? When I add/del an item to a dict or list, this is not an atomic
>>thread-safe operation?
>
> Exactly: there is no such guarantee in the Python language.
>
>>E.g.:
>>O
em for the rest of the universe ...
If not, there is another bug going on.
I may switch to a solution with subclassed deepcopy withough
.iteritems(). But its lot of work to ensure,that it is really ok - and
consumes another few megs of memory and a frequent CPU peakload. So I
may leave the loop and may probably not switch at all ...
Robert
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] wrote:
> Would rsync into a remote encrypted filesystem work for you?
>
the sync (selection) is custom anyway. The remote filesystem is
general/unknow. FTP(S) / SFTP is the only standard given.
--
http://mail.python.org/mailman/listinfo/python-list
is at least gc() run when all modules are pulled
off at exit() )
Somehow I miss a nice standard method for using globals in an
unfragmented way everywhere. What do you think?
Robert
--
http://mail.python.org/mailman/listinfo/python-list
Xaver Hinterhuber wrote:
> Hi Robert,
>
> I was using global variables some time ago, too.
> But with the time the program simply got unmaintainable, because it is very
> hard
> to trace, why a global variable has some special value and not the one, you
> thought i
in the
debugger than PythonWin, no consistent Interactive Win/history, 100MB in
memory, .. ).
Python first should maybe have a real Python GUI toolkit and unite the
OS'es directly - as good as it does for the os module ?
Robert
--
http://mail.python.org/mailman/listinfo/python-list
Fredrik Lundh wrote:
> "robert" wrote:
>
>
>>Most variable read-s in Python anyway go to module globals - as there
>>are no other kinds of namespaces except __builtins__
>
>
> your post made some sense until I got to this paragraph, which appear
y with a
clean python GUI system. And soon first professional apps could be built
... the more I think about it
Most effort would be to have a mature, compatible event system. wx
learned it anyway from Windows (WM_ -> EVT_ ) and resembled it more on
Linux, etc.
That would be principally ok here too, as Windows is quite good in this
(despite the rest of the OS). One could "steal" a few principles,
abstract algs. and even names in less time than gluing the fragile C++.
Robert
--
http://mail.python.org/mailman/listinfo/python-list
Alex Martelli wrote:
> robert <[EMAIL PROTECTED]> wrote:
>...
>
>>( And that later scheme is fairly wonderful - compare for example the
>>namespace fuzz in C/C++, Pascal, Ruby, ... where you never know which
>>module file addeds what to which namespace;
&g
Alex Martelli wrote:
> robert <[EMAIL PROTECTED]> wrote:
>
>
>>Using global variables in Python often raises chaos. Other languages use
>>a clear prefix for globals.
>
> Ruby does ($ means global), but, what other languages? Perl, C, C++,
> Java (taking a
Alex Martelli wrote:
> robert <[EMAIL PROTECTED]> wrote:
>...
>>I think its good to leave the default global binding (that is probably
>>whats Guido doesn't want to give up for good reason)
>
>
> Then, on the principle that there should be preferably
JuHui wrote:
> how to use httplib.HTTPConnection with http proxy?
>
simply connect to the proxy? - and ask using the full url and original
Host: - for HTTPS do a CONNECT .
Robert
--
http://mail.python.org/mailman/listinfo/python-list
e' overall style is a lazy copy of C, Java "I do"-hacker
history. Im curious much about their value at all. Keep it simple and
let Python do.
Robert
--
http://mail.python.org/mailman/listinfo/python-list
Alex Martelli wrote:
> robert <[EMAIL PROTECTED]> wrote:
>...
>
>>>Not sure I entirely understand what you're proposing, but locals access
>>>must remain compile-time-optimized for crucial practical reasons, so
>>>"writing to locals()"
JuHui wrote:
> sorry, would you please give a sample code?
> I want to use HTTPConnection to get a html page content via a http
> proxy.
> thanks.
>
-> adam
and maybe you just want plain GET/POST. use urllib
>>> url='http://www.google.ca'
>>> urllib.FancyURLopener(proxies={'http':'http://vs
Rc wrote:
> "DaveM" <[EMAIL PROTECTED]> schreef in bericht
> news:[EMAIL PROTECTED]
>
>>On Thu, 16 Mar 2006 13:34:14 +0100, "Méta-MCI"
>><[EMAIL PROTECTED]> wrote:
>>
>>
>>>Après, vous pourrez aussi fréquenter le newsgroup :
>>> fr.comp.lang.python
>>>qui a l'avantage d'être en français.
>>
Marc 'BlackJack' Rintsch wrote:
> In <[EMAIL PROTECTED]>, robert wrote:
>
>
>>The fact is:
>>* Python has that big problem with unnecessary barriers for nested frame
>>access - especially painfull with callback functions where you want to
>>
want to encode/decode an arbitrary short 8-bit string as save filename.
is there a good already builtin encoding to do this (without too much
inflation) ? or re.sub expression?
or which characters are not allowed in filenames on typical OS?
robert
--
http://mail.python.org/mailman/listinfo
return re.sub('[\x00"/*?:<>|+\n]',_,s)
def decode_from_filename(s):
def _(m): return chr(int(m.group(0)[1:],16))
return re.sub("\\+[\dA-F]{2,2}",_,s)
>>> newsletter.encode_as_filename('[EMAIL PROTECTED]/\\+\n\x00:+test')
'[EMAIL PROTECTED]'
>>> newsletter.decode_from_filename(_)
'[EMAIL PROTECTED]/\\+\n\x00:+test'
>>>
Robert
--
http://mail.python.org/mailman/listinfo/python-list
y/en-us/fileio/fs/naming_a_file.asp
>
> or http://makeashorterlink.com/?I2B853DDC
>
thanks. infact to avoid COMx etc. I have also to prepend and remove a
char like _ on encode/decode in addition to what I just posted
Robert
--
http://mail.python.org/mailman/listinfo/python-list
addition to what mere UNIX links would do, it should be consistent
pythonic: such module can import neighbor modules (relatively), create
the .pyc's next to the code... )
Is such stuff more easy and consistent with py2.5's relative imports?
Are such module pointers maybe supported someh
ML parser which supports tracking/writing
back particular changes in a cautious way by just making local
changes? or a least tracks the tag start/end positions in the file?
Robert
--
http://mail.python.org/mailman/listinfo/python-list
Stefan Behnel wrote:
Robert, 31.01.2010 20:57:
I tried lxml, but after walking and making changes in the element tree,
I'm forced to do a full serialization of the whole document
(etree.tostring(tree)) - which destroys the "human edited" format of the
original HTML code.
Robert wrote:
Stefan Behnel wrote:
Robert, 31.01.2010 20:57:
I tried lxml, but after walking and making changes in the element tree,
I'm forced to do a full serialization of the whole document
(etree.tostring(tree)) - which destroys the "human edited" format of the
original HTML
Stefan Behnel wrote:
Robert, 01.02.2010 14:36:
Stefan Behnel wrote:
Robert, 31.01.2010 20:57:
I tried lxml, but after walking and making changes in the element tree,
I'm forced to do a full serialization of the whole document
(etree.tostring(tree)) - which destroys the "human edit
t; itself.
can you sketch an example/use case more concretely?
Robert
--
http://mail.python.org/mailman/listinfo/python-list
Diez B. Roggisch wrote:
Am 25.02.10 18:08, schrieb Robert:
After (intended/controlled) reload or similar action on a module/class
the pickle/cPickle.dump raises errors like
pickle.PicklingError: Can't pickle : it's
not the same object as somemodule.SomeClass
Cause in pickle.py (a
d. If you have no good code checks there is another 1.5 .. 2 x
less dev speed. If you have no good test scheme there is another
1.5 .. 2 x less dev speed. If you have no good bug report scheme
there is another 1.5 .. 2 x less dev speed. ...
A improved reload scheme may even speed up at the center of the
development wheel: iteration. I guess I underrated...
Robert
--
http://mail.python.org/mailman/listinfo/python-list
? And even more importanly, how will it
be better in the long run? Is this just more FUD Kevin "Gates"?
I am sorry, are you always an inconsiderate idiot? That is exactly what
you are coming across as.
--
Robert
--
http://mail.python.org/mailman/listinfo/python-list
ost i said...
"""However i need to stress that my intention is towards a 100% Python
GUI. Not a binding, not a wrapping (except for OS calls!) but a *real*
Python GUI. The only thing that i know of at this point is pyGUI
although there are probably others."""[198:203]
G
does not matter. Tcl is too limited whereas Python and especially C
are far more useful in various situations.
I'll bite. Exactly how is Tcl too limited in your view?
--
Robert
--
http://mail.python.org/mailman/listinfo/python-list
y chain of how we got to where we are today.
They deserve to be respected for the contributions that they have made.
The question now is whether Python needs to evolve its own GUI toolset.
Regards,
Gerry
You mean outside of wxPython or PySide/PyQt? I don't see the need really.
--
R
On 2010-12-30 19:46:24 -0500, rantingrick said:
On Dec 30, 6:32 pm, Robert wrote:
Exactly how is Tcl too limited in your view?
Well Robert if have explain to you why C and Python make Tcl look
limited by comparison then explaining will probably do neither of us
any good. But if you think
On 2010-12-30 22:06:57 -0500, rantingrick said:
What is your opinion (or anyone) on wxPython?
Ok, I am curious again. Have you even tried wxPython or PySide/PyQt?
--
Robert
--
http://mail.python.org/mailman/listinfo/python-list
ven as a
second package). I am not sure if PySide is "that easy" but it could be.
--
Robert
--
http://mail.python.org/mailman/listinfo/python-list
On 2010-12-30 22:28:39 -0500, rantingrick said:
On Dec 30, 8:41 pm, Robert wrote:
On 2010-12-30 19:46:24 -0500, rantingrick said:
Just to clarify...I like Python. I am learning it at the moment.
Glad to have you aboard Robert!
Thanks!
3. What is your opinion of Tkinter as to it
On 2010-12-30 23:20:59 -0500, Steven D'Aprano said:
On Thu, 30 Dec 2010 23:04:33 -0500, Robert wrote:
The
second way the Tcl community irks me is the "not invented here"
attitude. I like the syntax of Tcl and I like the community. They are
some good folks. Try asking "I wa
ant.)
That is from the changes file...so they are working to fix it all.
HTH
--
Robert
--
http://mail.python.org/mailman/listinfo/python-list
On 2010-12-31 16:52:30 -0500, Antoine Pitrou said:
On 31 Dec 2010 04:20:59 GMT
Steven D'Aprano wrote:
On Thu, 30 Dec 2010 23:04:33 -0500, Robert wrote:
The
second way the Tcl community irks me is the "not invented here"
attitude. I like the syntax of Tcl and I like the comm
On 2010-12-31 23:57:24 -0500, Adam Skutt said:
On Friday, December 31, 2010 9:56:02 PM UTC-5, Robert H wrote:
It was forked to be written in Python, yes. The whole point (and it
wasn't a Nagios port to Tcl) was that the Tcl community (and I like the
Tcl community a lot) has a strange fix
On 2011-01-01 10:34:46 -0500, Adam Skutt said:
On Saturday, January 1, 2011 10:00:06 AM UTC-5, Robert H wrote:
Right, just because you say it paints me in a negative light. Look at
every language out there and look within the groups. Everyone is trying
to revinvent the wheel to (in their view
On 2011-01-01 10:34:46 -0500, Adam Skutt said:
On Saturday, January 1, 2011 10:00:06 AM UTC-5, Robert H wrote:
Right, just because you say it paints me in a negative light. Look at
every language out there and look within the groups. Everyone is trying
to revinvent the wheel to (in their view
very
useful to newcommers and could be made even more useful however the
code base is rotten!
Then DO something about it and no excuses. Fork it, make it better,
submit it as a replacement.
--
Robert
--
http://mail.python.org/mailman/listinfo/python-list
Good luck!
--Kevin
I think it would be interesting as well. H, I am about to do the
O'Reilly series that Steve Holden did for Python. Maybe I will take
that up as a project when I get through it (or...*nudge* *nudge* *wink*
*wink* to Rick, help out if someone else does a fork).
. It all starts with babysteps. At least we would be doing
something. Currently we are sitting around waiting for a miracle to
happen, and problems are solved by methods, not miracles!
Well some changes and improvements can be made to the UI as well.
Fork it and do it!
--
Robert
--
http://
by G. Polo, as I remember, to replace tk
widgets with the newer themed ttk widgets. It needs to be reviewed and
tested. To make a big change (or proceed with any refactoring) better
automated testing would be very useful.
+1 for the UI update
+1 for more tests
--
Robert
--
http://mail.python.or
On 2011-02-02 16:11:26 -0500, Terry Reedy said:
On 2/1/2011 7:46 PM, Corey Richardson wrote:
On 02/01/2011 07:42 PM, Robert wrote:
On 2011-02-01 10:54:26 -0500, Terry Reedy said:
Perhaps, after the repository moves from svn to hg, some 'we' will.
If he does not, I think I
itial push will hit both 2.7.x (I think I read it right)
and 3.x lines.
Going forward though we are going to focus on IDLE in the 3.x series
only. There is a nice list of changes and some folks that are willing
to help when the repo goes into Mercurial.
--
Robert
--
http://mail.python.o
Can I install 2.7 and 3.2 side by side?
--
Robert
--
http://mail.python.org/mailman/listinfo/python-list
When doing open/os.stat/...(dirpath+filename)
and total path > 250 chars then
OSError: "[Errno 38] Filename too long"
is there a way to access the file without changing to that
directory (its in a thread and a fast iteration of many file too) ?
--
http://mail.python.org/mailman/listinfo/python
>>> sys.stdout.encoding
'cp850'
>>> print u'\u2013'
Traceback (most recent call last):
File "", line 1, in
File "C:\Python25\Lib\encodings\cp850.py", line 12, in encode
return codecs.charmap_encode(input,errors,encoding_map)
UnicodeEncodeError: 'charmap' codec can't encode character
u'\u
Zeynel wrote:
I am trying to make this simple app for GAE.
I get a string s that user enters in a form.
I append that to an empty list L = [] then I test if the last saved
string is the same as the new string. If same, I write it on the same
column; if not the cursor moves to next column (I was
Hi All,
I'm relatively new to Python, and I am having some trouble with one of my
scripts. Basically, this script connects to a server via ssh, runs Dell's
omreport output, and then externally pipes it to a mail script in cron. The
script uses an external call to grep via subprocess, but I woul
Thanks, Chris. That was nice and easy and very simple.
--
https://mail.python.org/mailman/listinfo/python-list
bling it, or similar.
I don't think the anti-pattern has a name, but it's opposite pattern is named:
http://en.wikipedia.org/wiki/Resource_Acquisition_Is_Initialization
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terribl
oEntry`s
But I don't mind
A list of FooEntries
Hopefully there isn't also a `FooEntries` class.
--
Robert Kern
"I have come to believe that the whole world is an enigma, a harmless enigma
that is made terrible by our own mad attempt to interpret it as though it had
an underlying tru
301 - 400 of 4159 matches
Mail list logo