syd wrote:
But for my identifiedPeaks class (for instance), it has trouble. This
class contains a list of "peak" classes IdentifiedPeaks.Peak...
What precisely is the name of the class. You say it is
IdentifiedPeaks.Peak, but...
from IdentifiedPeaks import IdentifiedPeaks
Here you import Identifie
Do Re Mi chel La Si Do wrote:
But, for previous versions of Python, I downloaded a CHM version; and, at
http://docs.python.org/download.html, I don't found this format.
is this a lapse of memory?
It is there now.
Would it be possible to have a continuity in the availability of the
formats?
Unfor
Andrew Koenig wrote:
Of course, there are reasons to have a base class anyway. For example, I
might want it so that type queries such as isinstance(foo, Expr) work. My
question is: Are there other reasons to create a base class when I don't
really need it right now?
You would normally try to a
Franz Steinhäusler wrote:
Is there any possibility under WinXP, to alterntate quickly
(with batch file or similary) between python23 and python24.
No need to change between them. Just install them both, and
select which one to use on a per-invocation base. I.e. do
c:\python23\python.exe foo.py
c:\
Andrew Koenig wrote:
So, for example, you don't think it's worth including the base class as a
way of indicating future intent?
No. In this respect, I believe in XP: refactor when the need comes up,
but not before.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Cappy2112 wrote:
Do you really think this is a safe solution?
Not sure which of the three solutions I mentioned you are referring
to as "this".
How do you deal with features that are in new 2.4, but you invoke it
with the exe from 2.3?
If you want to have the script run with both Python 2.3 and 2.4
Larry Hastings wrote:
Can someone tell me what made it 80% larger?
python24.dll includes many of the extension modules that were separate
.pyd files in 2.3, namely _csv, _sre, _symtable, _winreg, datetime,
mmap, and parser, i.e. all extension modules that don't require specific
libraries. Further
Leif B. Kristensen wrote:
Is there a way around this problem? My character set in Linux is
ISO-8859-1. In Windows 2000 it should be the equivavent Latin-1, though
I'm not sure about which character set the command shell is using.
You need to do locale.setlocale(locale.LC_ALL, "") to get
locale-spec
Dave Opstad wrote:
Is it just an implementation limitation that attributes cannot be
assigned to instances of internal types?
No, not "just". Some types have a fixed set of attributes by design,
whereas others allow addition of attributes. There are several reasons
for this design. Performance is
Mike Moum wrote:
We have a central server array running Windows Server 2000 (I think
that's the right name; networking is not my specialty, but it's
definately Windows). Some of our workstations run Windows 2000; others
run Windows XP Pro. I would like to install Python on the server, and
run t
Ron_Adam wrote:
I wasn't aware that the form:
result = function(args)(args)
Was a legal python statement.
So python has a built in mechanism for passing multiple argument sets
to nested defined functions! (click) Which means this is a decorator
without the decorator syntax.
No. There is no
Ron_Adam wrote:
Ah, so you did not know functions are objects just like numbers,
strings or dictionaries. I think you may have been influenced by other
languages where there is a concept of static declaration of functions.
No, I did not know that you could pass multiple sets of arguments to
nested
Andreas Beyer wrote:
Yeeh, I was expecting something like that. The only reason to use map()
at all is for improving the performance.
That is lost when using list comprehensions (as far as I know). So, this
is *no* option for larger jobs.
Don't believe anything you hear right away, especially not
Andreas Beyer wrote:
If I am getting the docs etc. correctly, the string-module is depricated
and is supposed to be removed with the release of Python 3.0.
I still use the module a lot and there are situations in which I don't
know what to do without it. Maybe you can give me some help.
Out of cu
Ron_Adam wrote:
This would be the same without the nesting:
def foo(xx):
global x
x = xx
return fee
def fee(y):
global x
return y*x
z = foo(2)(6)
Actually, it wouldn't.
>>> def foo(xx):
... global x
... x = xx
... return fee
...
>>> def fee(y):
... global x
... return
Fredrik Lundh wrote:
I'm not aware of any other tool that solves that specific problem.
notepad does a fine job at creating batch files, IMO.
Of course, it is not all that clear what the OP actually wanted.
For all we know, he wanted to "alternate quickly (with batch
file or similary) between pytho
Fredrik Lundh wrote:
> have you used exemaker? have you compared the behaviour of the
resulting executables to batch files using different environments, shells,
and OS versions? or are you just guessing here?
I have invoked it once, but that was some time ago, and I did not do a
full case study
[EMAIL PROTECTED] wrote:
These exe files do not work if I don't set the PATH variable also to that
adress. I know I can do it by hand (and also my users can), but I wonder
if there is a way to do it in Python...
You didn't mention what operating system you are using. On Unix, PATH
is an environment
Timo wrote:
Does anyone have a clue what is going on?
No. Please make a bug report to sf.net/projects/python.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Uwe Mayer wrote:
> How do you suggest dealing with this:
> - is calling /usr/bin/python2.3 in the bang-line problematic?
> - installing into both python2.3 and python2.4
> - rebuilding (re- ./configure, make, make install) the app solves the
> problem
>
> Whats the usual way to deal with this?
P
vegetax wrote:
> Why does people have to put wrappers around about half of the standart
> library modules? i have wrappers for urllib,urllib2, [... many more ...]
>
> I mean is this normal?
Not sure what "this" is :-) Is it normal that people write wrappers
around libraries? Yes, most certainly s
ython.org/doc/current/lib/markup.html
PyXML has its own documentation page, on
http://pyxml.sourceforge.net/topics/docs.html
As for book recommendations: What language? I would recommend
Fischbeck, v. Löwis: Python 2
:-) It covers all of these topics.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
David Jones wrote:
> Both the C++ executable and python module were linked from the same
> object files, and linked with the same options. The only difference is
> that the Python module is linked with -shared, and the C++ code is not.
[...]
> Some potential causes of my problems:
>
> - linking t
Kay Schluehr wrote:
> I slightly disagree. It's a symptom. The example of the path-module is
> instructive because it actually represents path objects not just a
> bunch of functions in isolation that manipulate strings that can be
> interpreted as paths. I started to read in the lib.py documentati
Fredrik Lundh wrote:
> if I were in charge
Would you like to be?
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Fredrik Lundh wrote:
> because we're not willing to go through endless PEP processes,
> generate patches that end up sitting on sourceforge for years, deal
> with shitstorms initiated by developers of "competing" libraries, sign
> over our copyrights to the PSF, loose control over the code base,
>
Fredrik Lundh wrote:
> I can help build an infrastructure that makes it easier to create a more
> complete standard distribution, sure. (and since this isn't exactly a new
> idea, I'm 100% confident that I don't have to do all the work myself.)
>
> if this is needed is something for the PSF to de
Michael Kearns wrote:
> There are a few problems with this as I see it. In theory, the 'cost' of
> MSVC 7.1 shouldn't be a problem for a big organisation. However, I
> wouldn't expect to have to go and buy it purely because I'm developing
> (perhaps) a shareware application using python - this isn'
Nemesis wrote:
> I have the same problem. But I have a doubt, does Python installer ship
> this dll?
It sure does.
> What happens if I try to install Python2.4 on a system wich doesn't have
> the dll?
It will just work. Python installs the DLL if it is missing, and leaves
it alone (just increme
dcrespo wrote:
> Any comments?
MSI.
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Magnus Lie Hetland wrote:
> It seems that in my Solaris installation,
> sysconfig.get_config_h_filename() returns './pyconfig.h', which is, of
> course, in most cases just wrong... :)
>
> Shouldn't this return an absolute path (in all cases)?
It should, and it does indeed on my copy of Python on
Warren Postma wrote:
> It seems that WinCvs needs a python??.dll runtime but that when I
> install Python2.4 it doesn't include this dll.
Where do you get this impression? python-2.4.msi most certainly
includes python24.dll.
> Python 2.3 does.
>
> What's the recommendation here?
Change the WinC
Peter Hansen wrote:
>> The last I recall reading in this forum was that the regular
>> distribution is compiled with a copy of the compiler
>> *provided by* Microsoft.
[...]
> By 'provided by' I meant *donated by*, as in given
> free (apparently) to the PSF or at least to one of
> the core develope
Roger Binns wrote:
>- I could make some sort of installer that did all the non-Python
> interpretter
> pieces and it would have to be compatible with anyone else doing the same
> thing.
>
> The first is a waste of my time and effort, and I do the second except I also
> include the P
Xah Lee wrote:
> how to represent the unicode "em space" in regex?
You will have to pass a Unicode literal as the regular expression,
e.g.
fracture=re.split(u'\u2003*\\|\u2003*',myline,re.U)
Notice that, in raw Unicode literals, you can still use \u to
escape characters, e.g.
fracture=re.spli
Xah Lee wrote:
> Thanks. Is it true that any unicode chars can also be used inside regex
> literally?
>
> e.g.
> re.search(ur'â+',mystring,re.U)
>
> I tested this case and apparently i can.
Yes. In fact, when you write u"\u2003" or u"â" doesn't matter
to re.search. Either way you get a Unicode
Berthold Höllmann wrote:
> Has anyone compiled python successfully using PGI compilers under 64
> bit Linux. If yes, what are the neccesarry switches?
As a starting point, I would try to compile without optimization.
If the compiler has something similar to gcc's -fno-strict-aliasing,
you should
scott wrote:
> EasyDialogs module
>
> ( http://www.python.org/doc/2.4.1/mac/module-EasyDialogs.html )
>
> works with pyshell (interactive python program included with wxPython)
> but not with python launched at the terminal:
Could you be more precise what "works not" means? What do you expect
t
scott wrote:
> MacOS.Error: (-1713, 'no user interaction is allowed')
Try pythonw.
Martin
--
http://mail.python.org/mailman/listinfo/python-list
scott wrote:
> Can I get this Pyshell behavior using python from the terminal?
One application is "active" at any point in time, and this application
controls the menu, has its windows displayed, and so on. So when the
Terminal.app is active, Python cannot be.
Now, it may be possible to programma
Cesar wrote:
> I have set the DEBUG_LEAK flag with the GC and in the program cycle
> printed the length of the garbage list. Is this enough to determine if
> there is a leak in the python code? (the value rises).
Well, define "a leak". It could mean a number of things:
- an object that is not us
Kent Johnson wrote:
> Something like
> data = urllib.url_open(...).read()
> unicodeData = data.decode('gb2312')
> utf8Data = unicodeData.encode('utf-8')
>
> You may want to supply the errors parameter to decode() or encode(); see
> the docs for details.
> http://docs.python.org/lib/string-methods.
[EMAIL PROTECTED] wrote:
> thanks for the replies. As for why I set my default encoding to utf-8
> in python, I did it a while ago and I think I did it because when I was
> reading some strings from database in utf-8 it raised errors b/c there
> were some chars it could recongnize in standard encod
James Stroud wrote:
> astr = "Bob Carol Ted Alice"
> letters = "adB"
Apparently nobody has proposed this yet:
>>> filter(letters.__contains__, astr)
'Bad'
>>> filter(set(letters).__contains__, astr)
'Bad'
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Bengt Richter wrote:
> But since I'm playing the other side of the table for
> the moment, isn't filter to be deprecated?
How could we know? It might be removed in P3k, but does that
mean it is deprecated, as in "being disapproved", i.e. "being
passed unfavorable judgement on"?
In Python, I consi
Ivan Voras wrote:
> Sorry, that was just steam venting from my ears - I often get bitten by
> the "ordinal not in range(128)" error. :)
I think I'm glad to hear that. Errors should never pass silently, unless
explicitly silenced. When you get that error, it means there is a bug in
your code (just
Maurice LING wrote:
> Now I understand that Python bytecodes are only dealing with pure python
> source codes. However, the same question lies, how can it (set of
> bytecodes) be made stable, like Java bytecodes, which are pretty stable?
> Perhaps a better question will be, what techniques Java VM
Maurice LING wrote:
> technicalities are wrong but situation remains unchanged.
For C modules, it is very likely that new versions of Python
will continue to break the ABI, by changing the layout of
structures.
The most straight-forward way to deal with it as a sysadmin
or user is to install mult
Maurice LING wrote:
> So if C extension API (or whatever that is really called) is stable, the
> system admin can just copy all of /sw/lib/python2.3/site-packages into
> /sw/lib/python2.4/site-packages and it should work.
It would be counter-productive to make it stable, as this would render
cert
Maurice LING wrote:
>> I doubt anyone disputes that upgrades are more hassle than we would
>> like. My main point was that freezing CPython's technology is not the
>> solution. Any other upgrade helper that you can contribute will be
>> welcome.
>
> So there is no way of releasing a close-source a
Maurice LING wrote:
> I've emailed to catelog-sig mailing list and is still waiting to hear
> something. Currently, I have no idea of the structure of PyPI. I hope I
> can hear from them soon and generate some starting points...
Posting questions is not the only way to find answers. The source cod
[EMAIL PROTECTED] wrote:
> So how do I tell what encoding my unicode string is in, and how do I
> retrieve that when I read it from a file?
In interactive mode, you best avoid non-ASCII characters in a Unicode
literal.
In theory, Python should look at sys.stdin.encoding when processing
the intera
> Is it just that nobody's implemented it, or is there a good reason for
> avoiding offering this sort of thing?
I've been considering to implement killing threads several times for the
last 15 years (I think about it once every year), and every time
I give up because it's too complex and just not
Shane Hathaway wrote:
> Do you have any ideas on how to improve the process of maintaining
> imports? Benji's suggestion of jumping around doesn't work for moving
> code and it interrupts my train of thought. Sprinkling the code with
> import statements causes a speed penalty and a lot of clutter
Shane Hathaway wrote:
> Thoughts?
I have two reasons to dislike it:
1. It's a language change. Others have pointed out that you can achieve
the same without a language change; it would be easy to write
name_expr = _import.re.compile('[a-zA-Z]+')
2. In the form in which you have written it,
Bugs wrote:
> Thanks Martin! As the python24.dll now contains modules and codecs that
> weren't linked into the DLL before 2.4 and as we now need a PEP to have
> them split out again, I assume there was a PEP to have them included for
> 2.4? Can you point me to that PEP so I can evaluate writing
Bock wrote:
> I was just told about Python. My searching and reading over the net
> I was able to learn that Python can handle "foreign" characters via
> Unicodes.
>
> Can or does Python write unicode to the screen?
Yes. Just do
# -*- coding: iso-8859-1 -*-
print
Bugs wrote:
> New PEP: "Small is beautiful!" ;-)
A PEP would have to be more elaborate than that;
it best be accompanied with an implementation as well.
Somebody has to do the work.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Thomas Heller wrote:
> Technically, as far as py2exe is concerned, it would be nice if the zlib
> module was a builtin module because it would be easier to bootstrap the
> executable - for obvious reasons the zlib module cannot be loaded from a
> (compressed) zipfile. Unfortunately, this collides
Bugs wrote:
> That was my obviously ineffective attempt at humor, hence the ;-)
I wasn't in a humurous mood :-) there have been too many threads
on this subject, and I'm just tired giving the same answers over
and over again.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Do Re Mi chel La Si Do wrote:
> On windows, you MUST also configure the console.
That's not true. In the standard configuration, all characters
from the OEM code page will print fine.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Do Re Mi chel La Si Do wrote:
> That depends on what we call "console".
>
> Python console?
> or
> Windows console?
AFAICT, it works in both: if I start Python 2.4 (command line)
from the start menu, and have it import a module that prints
# -*- coding: iso-88
Michel Claveau wrote:
> Hi!
>
> I have a problem, under win-XP, with this code :
>
> # -*- coding: cp-1252 -*-
>
> import sys
> print u"Martin v. Löwis"
> print "€ for Noël"
> print u"€ for Noël"
> sys.exit()
>
> ==> "
Cameron Laird wrote:
> Apart from a few very mild constraints that prohibit you from little
> more than saying that you're Guido and you invented Python, you have
> remarkable liberty to adapt Python to your own needs. Moreover, this
> freedom is not merely a theoretical principle; *numerous* wo
John Bauman wrote:
> UTF-8 shouldn't need a BOM, as it is designed for character streams, and
> there is only one logical ordering of the bytes. Only UTF-16 and greater
> should output a BOM, AFAIK.
Yes and no. Yes, UTF-8 does not need a BOM to identify endianness. No,
usage of the BOM with UTF
Robin Becker wrote:
> Does anyone know the status of the svn handling version of viewCVS.
It works:
http://svn.python.org/view/
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Robin Becker wrote:
> yes I ahd it working and updated my freebsd and then couldn't locate the
> latest version. If the svn head stuff from tigris works that'll do. On
> another point I thought the whole point of sourceforge was that the
> files wouldn't get removed/deleted. Does whining and beggin
Robin Becker wrote:
> OK I'm obviously being driven mad by successful attempts to stop me
> using the project pages :( and the downloads can be removed. But anyhow
> if I'm cvs'ing I might as well use the latest from tigris.
I can sympathize with the viewcvs people wanting to "hide" the CVS;
if th
[EMAIL PROTECTED] wrote:
> ... if not bool:
> ... reTest(True)
> I don't understand why results are returned twice? is there something
> special i missed about recursive functions?
Yes, although it is not clear *what* it is that you are missing.
Here is my guess: you fail to see that
jeremito wrote:
> Oops, sorry. My question is, how can I know if my Python interpreter
> was lined by C++?
Ah. This documentation fragment is somewhat wrong: it depends on the
target operating system and compiler whether you have to link main
with a C++ compiler. For many modern systems, this isn
Holger Joukl wrote:
> Now, I am still not 100 % sure about what I need to do. I need
> C++-extensions, but I do not want to link anything statically with
> Python, i.e. everything will be dynamically imported extension
> modules. I *think* I can build Python C-only, avoiding possible
> runtime
EleSSaR^ wrote:
>>What's good about it is that it's small and easier to
>>hack and write large scale programs using pyvm as the
>>base runtime.
>
> I'm sorry I don't get it. Could you please explain it better? What are the
> advantages of this pyvm compared to the 'original' Python?
I think he sa
Tom Anderson wrote:
> Java has a java.io.File.getCanonicalPath method that does this, but i
> can't find an equivalent in python - is there one?
>
> I can emulate it like this:
I think it could be implemented more efficiently with getattrlist(2),
looking for ATTR_CMN_NAME. Unfortunately, there ap
[EMAIL PROTECTED] wrote:
> Exactly what does the following line return?
On your system, the result of nl_langinfo(CODESET),
see nl_langinfo(3).
On your system, this, in turn, is computed from the LANG,
LC_CHARSET, and LC_ALL environment variables.
> Is it the encoding of the terminal? I think no
Sakcee wrote:
> Hi
>
> In one of the data files that I have , I am seeing these characters
> \xed\xa0\xa0 . They seem to break the xsl.
[...]
> is this a unicode utf-16 surrogate pair ?
Yes and no. This is the UTF-8 encoding of U+D820, which is a high
surrogate code point. So yes. It's not yet a
isthar wrote:
> WDDX is perfect for me for exchange between python and php application.
> but maybe there is a better way to do it.
It appears that Unicode objects where forgotten in the WDDX
implementation. I suggest to define the following classes:
class UWDDXMarshaller(xml.marshal.wddx.WDDXMar
David Bear wrote:
> I don't plan on using curses -- so I'd like to ignore this. But, I'm just
> wondering if there is an 'easy' fix...
Not really, no. It's safe to ignore.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Levi Campbell wrote:
> what is /usr/lib/libpython2.4.so used for?
Nothing, usually. Things embedding python might use it, such as vim.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Paul Watson wrote:
> I need to call some Windows APIs. Is the only way to download ctypes or
> the win32 interfaces?
That depends on the specific win32 interface you want to call.
Typically, the answer is "yes".
> Is there any plan to get ctypes batteries into the standard Python build?
I don't
Claudio Grondi wrote:
> The question is if Python allows somehow access to the bytes of the
> representation of a long integer or integer in computers memory?
Not sure what you mean by "Python", and "allows" here. I allow you :-)
To do so, write a C file that is a Python module, and accesses the
Paul Rubin wrote:
>>To my knowledge, ctypes has never been contributed to Python,
>>either, so its author apparently has no plan, either.
>
>
> Has anyone from Python.org asked him or her?
I can't answer that question. I haven't (and I personally
share Neil Hodgson's reservation wrt. to the poss
Paul Watson wrote:
> I need to call GetVersionInfo() and handle VERSIONINFO information. I
> thought that distutils might have something, but I do not see it yet.
> Any suggestions?
You could write this specific API in VB, and then run cscript.exe in
a pipe; or you could write a wrapper module ju
Heiko Wundram wrote:
>>>what is /usr/lib/libpython2.4.so used for?
>>
>>Nothing, usually. Things embedding python might use it, such as vim.
>
>
> At least the interpreter uses it on systems where it's enabled...
That depends on the system:
[EMAIL PROTECTED]:~$ ls -l /usr/lib/libpython2.4.so
lr
Paul Rubin wrote:
> http://docs.python.org/lib/module-dl.html
> would seem to also do that.
That's correct. It has the same (unhealable) flaw.
No surprise, though: it provides the same functionality.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Claudio Grondi wrote:
>> You can get somewhat faster in Python than your code if you avoid
>> producing new long objects all the time, and do the task in chunks of 30
>> bits.
>
> It would be nice if you could explain why you consider chunks of 30 bits
> to be superior e.g. to chunks of 32 bits?
Paul Watson wrote:
> I cannot find any way to get to GetVersionInfo in VBScript (cscript).
Well, in VB6, you have ctypes. So you can call any API function you
like to.
For one implementation, see
http://www.andreavb.com/tip030020.html
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/
Vidar Gundersen wrote:
> are there any easy to understand instructions
> for building Python on Mac OS X Tiger?
It should work out of the box.
> are there any prerequisites that i have missed?
> my ./configure && make stops here:
You should pass --with-suffix=.exe to configure, or else
you get a
Robert wrote:
> I'm using Pythonwin and py2.3 (py2.4). I did not come clear with this:
> I want to use win32-fuctions like win32ui.MessageBox,
> listctrl.InsertItem . to get unicode strings on the screen - best
> results according to the platform/language settings (mainly XP Home,
> W2K, ...).
David Pratt wrote:
> I want to prepare strings for db storage that come from normal Windows
> machine (cp1252) so my understanding is to unicode and encode to utf-8
> and to store properly.
That also depends on the database. The database must accept
UTF-8-encoded strings, and must not modify them
Robert wrote:
>>>Also unicode strings should be displayed as nice as possible at the
>>>console with normal print-s to stdout (on varying platforms, different
>>>windows/countries and linux, ...; I py2exe/cxfreeze apps) ...
>>>
>>>Any hints how to do this and make it as complete and automated as
>>
isthar wrote:
> Ok. but how I suppose to use them. I am currently using marshaller
> indirectly via wddx.dump().
Do UWDDXMarshaller().dump()
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Thomas Heller wrote:
> It has been proposed to include it in core Python, but Guido didn't
> accept it. The thread starts here:
>
> http://mail.python.org/pipermail/python-dev/2004-January/thread.html#41814
>
> And Guido's last word was this (see the end of the message):
>
> http://mail.python.
Dave wrote:
> I'm trying to clarify how Python avoids byte by byte
> string comparisons most of the time. As I understand,
> dictionaries keep strings, their keys (hash values),
> and caches of their keys.
If you are talking about dictionaries with string keys,
you also have the dictionary values
[EMAIL PROTECTED] wrote:
> Has anyone successfully built for Mips/Linux using a PC for the
> build??,
I doubt anybody has done that out of the box. Cross-compilation
is not supported.
> Should I try using a Linux based machine for the build, would that
> help??
No. Instead, you should edit pyc
Robert wrote:
> is in a PythonWin Interactive session - ok results for cyrillic chars
> (tolerant mbcs/utf-8 encoding!).
> But if I do this on Win console (as you probably mean), I get also
> encoding Errors - no matter if chcp1251, because cyrillic chars raise
> the encoding errors also.
If you d
Jeremy Moles wrote:
> http://mail.python.org/pipermail/python-dev/2005-January/050834.html
>
> ^^ From a year ago or so--did this never get put into Python trunk? As
> far as I can tell the answer is no. It's something I'd like to use in
> Python if available, though, writing a small wrapper would
Manlio Perillo wrote:
> I'm only a bit curious, but why documentation from
> http://www.python.org/ftp/python/2.3.4/Python-2.3.4.tar.bz2
> and
> http://www.python.org/ftp/python/doc/2.3.4/latex-2.3.4.tar.bz2
> differ?
It appears that the latex-* set really comes from the 2.4 branch,
somehow. That
Dody Suria Wijaya wrote:
> Any helps on this topic would be highly appreciated. Thanks!
You can use new.module to create a new module, and exec to
execute some code in the module:
py> m = new.module("Hallo")
py> exec "a=3" in m.__dict__
py> m.a
3
py> m
Regards,
Martin
--
http://mail.python.org
Layne Meier wrote:
> checking whether the C++ compiler works... configure: error: cannot run
> C++ compiled programs.
[...]
> Any and all help would be greatly appreciated.
Just pass "--without-cxx" to configure.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
bblais wrote:
> In Python, there seems to be a couple ways of doing things. I could
> write it in one window, and from a Unix shell call
>python myscript.py
> and be like C++, but then I lose the interactiveness which makes
> prototyping easier. If I use the python sh
601 - 700 of 2482 matches
Mail list logo