[issue2889] curses for windows (alternative patch)

2019-08-05 Thread Ulf Magnusson
Ulf Magnusson added the comment: Just as an FYI, there is a repository for building curses wheels for Windows at https://github.com/zephyrproject-rtos/windows-curses, based on patches from here and Gohlke's work. Building wheels is less straightforward than it used to be, e.g. due to term.h

[issue25433] whitespace in strip()/lstrip()/rstrip()

2019-07-14 Thread Ulf Rompe
Change by Ulf Rompe : -- pull_requests: +14569 pull_request: https://github.com/python/cpython/pull/14775 ___ Python tracker <https://bugs.python.org/issue25

[issue25433] whitespace in strip()/lstrip()/rstrip()

2019-07-14 Thread Ulf Rompe
Change by Ulf Rompe : -- pull_requests: +14564 pull_request: https://github.com/python/cpython/pull/14771 ___ Python tracker <https://bugs.python.org/issue25

[issue25433] whitespace in strip()/lstrip()/rstrip()

2019-07-13 Thread Ulf Rompe
Ulf Rompe added the comment: Using a re.sub() call as documentation: 1. wouldn't be helpful for many developers. If they need to look up the documentation of a simple method they shouldn't be forced to learn about a more complex one as well to understand it. 2. would be wild guessing since

loading multiple module with same name using importlib.machinery.SourceFileLoader

2016-05-02 Thread ulf . worsoe
I have observed this behaviour, for some reason only on OS X (and Python 3.5.1): I use importlib.machinery.SourceFileLoader to load a long list of modules. The modules are not located in the loader path, and many of them have the same name, i.e. I would have: m1 =

Re: Python ctypes on win64

2009-07-30 Thread ulf
On Jul 25, 3:09 am, a...@pythoncraft.com (Aahz) wrote: In article f415d834-b2ac-4036-afb1-a12c79480...@i6g2000yqj.googlegroups.com, Thanks, I'll try there. ulf  wfl...@gmail.com wrote: Does anybody know if python includes a win64 version ofctypes? According to the documentation it should

Python ctypes on win64

2009-07-22 Thread ulf
Hi, Does anybody know if python includes a win64 version of ctypes? According to the documentation it should be included - at least there's no special remarks for win64, and I haven't found any recent notes saying that it shouldn't work on win64. Yet it looks like both the installer from

Re: The Concepts and Confusions of Prefix, Infix, Postfix and Fully Functional Notations

2007-05-29 Thread Ulf Wiger
qualifies. The best exhibit of this would be Wings3D, an Open Source 3D graphics modeller, written in Erlang, and with quite a large user base. http://www.wings3d.com BR, Ulf W -- Ulf Wiger, Senior Specialist, / / / Architecture Design of Carrier-Class Software / / /Team Leader

Re: bsddb for k, v in db.items(): do order the numbers ?

2005-03-07 Thread Ulf Göransson
[EMAIL PROTECTED] wrote: uhm i'm trying to make a very simple but large database: Let's say I want these fields : |name|age|country| Then I can't do this because I use the same key db[name] = 'piet' db[age] = '20' db[country] = 'nl' #same keys so it wil overwrite db[name] = 'jan' db[age] =

Re: Fonts and PIL

2005-02-23 Thread Ulf Göransson
Greg Lindstrom wrote: I'm running Python 2.3 on a windows box and would like to use PIL to superimpose text over an existing pgn image. I have no problem getting the text on the image but can not figure out how to manage fonts. How to set the font style and size. From reading the archives I

Re: goto, cls, wait commands

2005-02-10 Thread Ulf Göransson
Bruno Desthuilliers wrote: Duncan Booth a écrit : BOOGIEMAN wrote: Secondly, how do I clear screen (cls) from text and other content ? That depends on your computer, and how you are running your program. One way which *might* work is: import os os.system(cls) *might* work... !-) [EMAIL

Re: Open Folder in Desktop

2005-01-25 Thread Ulf Göransson
Kamilche wrote: Is there a command you can execute in Python that will open a window on the desktop, such as 'My Documents'? Kind of like 'system', but for folder names, not just programs. I'm running on Windows 2000. Maybe this is good enough? os.system(explorer + folder_path) /ug --