Re: Help needed - - running into issues with python and its tools

2024-08-03 Thread o1bigtenor via Python-list
On Sat, Aug 3, 2024 at 6:20 PM Cameron Simpson via Python-list < python-list@python.org> wrote: > On 03Aug2024 16:34, o1bigtenor wrote: > >So please - - - how do I set up a venv so that I can install and run > >python > >3.12 > >(and other needed programs relate

Re: Help needed - - running into issues with python and its tools

2024-08-03 Thread o1bigtenor via Python-list
On Sat, Aug 3, 2024 at 7:11 PM dn via Python-list wrote: > On 4/08/24 09:34, o1bigtenor via Python-list wrote: > > On Sat, Aug 3, 2024 at 4:06 PM dn via Python-list < > python-list@python.org> > > wrote: > > > >> On 4/08/24 08:17, o1bigtenor

Re: Help needed - - running into issues with python and its tools

2024-08-05 Thread o1bigtenor via Python-list
On Sun, Aug 4, 2024 at 4:24 AM Peter J. Holzer via Python-list < python-list@python.org> wrote: > On 2024-08-03 15:17:11 -0500, o1bigtenor via Python-list wrote: > > One of the tools I need to be able to use is esptools - - well in the > > devuan world you need to run that

Re: Help needed - - running into issues with python and its tools

2024-08-05 Thread o1bigtenor via Python-list
On Sun, Aug 4, 2024 at 8:49 AM Mats Wichmann via Python-list < python-list@python.org> wrote: > On 8/3/24 20:03, o1bigtenor via Python-list wrote: > > > My question was, is and will be (and the doc absolutely doesn't cover it) > > how do I install a different versi

Re: Help needed - - running into issues with python and its tools

2024-08-05 Thread o1bigtenor via Python-list
Matt - if you would rather that you were not included in the address list - - please advise. On Mon, Aug 5, 2024 at 8:51 AM Mats Wichmann wrote: > On 8/5/24 06:48, o1bigtenor via Python-list wrote: > > On Sun, Aug 4, 2024 at 8:49 AM Mats Wichmann via Python-list < > > pyth

Re: Help needed - - running into issues with python and its tools

2024-08-05 Thread o1bigtenor via Python-list
On Mon, Aug 5, 2024 at 3:55 PM Bill Deegan wrote: > Your approach is wrong. > You don't build python from source using pip. > > You don't install new versions of python into a venv either. > > Have you read the following? > https://docs.micropython.org/en/lat

Re: Help needed - - running into issues with python and its tools

2024-08-05 Thread o1bigtenor via Python-list
On Mon, Aug 5, 2024 at 3:56 PM Mats Wichmann wrote: > > > On Mon, Aug 5, 2024 at 8:51 AM Mats Wichmann > <mailto:m...@wichmann.us>> wrote: > > > > On 8/5/24 06:48, o1bigtenor via Python-list wrote: > > > On Sun, Aug 4, 2024 at 8:49 AM Mats Wi

python C-api and thread

2024-08-05 Thread aotto1968 via Python-list
hi, Is it possible to run two completely independent Python interpreters in one process, each using a thread? By independent, I mean that no data is shared between the interpreters and thus the C API can be used without any other "lock/GIL" etc. mfg -- https://mail.python.o

Re: Help needed - - running into issues with python and its tools

2024-08-06 Thread o1bigtenor via Python-list
ys happening. I did apologize and asked you to advise in the next one whether you even wanted to be included (which you haven't responded to). > > > Do you have any python 3 installed on your system? > Or python 2.7? > If not, can you install such via system package?

Re: python C-api and thread (Posting On Python-List Prohibited)

2024-08-06 Thread aotto1968 via Python-list
On 06.08.24 02:32, Lawrence D'Oliveiro wrote: On Mon, 5 Aug 2024 23:19:14 +0200, aotto1968 wrote: Is it possible to run two completely independent Python interpreters in one process, each using a thread? By independent, I mean that no data is shared between the interpreters and thus the

Re: python C-api and thread

2024-08-06 Thread aotto1968 via Python-list
On 06.08.24 04:34, Grant Edwards wrote: On 2024-08-05, aotto1968 via Python-list wrote: Is it possible to run two completely independent Python interpreters in one process, each using a thread? By independent, I mean that no data is shared between the interpreters and thus the C API can be

Re: Help needed - - running into issues with python and its tools

2024-08-06 Thread o1bigtenor via Python-list
On Tue, Aug 6, 2024 at 10:53 AM Bill Deegan wrote: > I’m not looking through all the packages you have installed > > (Ctrl-F is your friend - - - ) > What version of python is installed on your system? > > There are actually 3 versions installed - - - which is why the who

python3 package import difference?

2024-08-07 Thread Tobiah via Python-list
aceback (most recent call last): File "/home/toby/me", line 1, in import rcs.dbi File "/usr/regos-1.0/lib/python/rcs/dbi/__init__.py", line 1, in from dbi import * ModuleNotFoundError: No module named 'dbi' What's changed, and how d

magic-wormhole 0.15.0

2024-08-07 Thread meejah via Python-list
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Greetings, I'm gruntled to announce that magic-wormhole 0.15.0 is released. Magic Wormhole is a Python library and CLI tool to securely get arbitrary data from one computer to another using short, one-time, human- pronouncable codes and e

Re: troglodytes

2024-08-14 Thread geodandw via Python-list
On 8/13/24 19:21, Left Right wrote: Hahah, as someone with extensive experience of being banned by various CoC-waving Python online communities' authorities I really enjoyed the saga. Watching little men grasp for power on the Web to squash their opponents never stops to amuse me. On Tue

Re: bring back nntp library to python3

2024-08-14 Thread dn via Python-list
On 15/08/24 10:56, Alan Gauld via Python-list wrote: On 14/08/2024 23:32, Left Right via Python-list wrote: Lots of people care but the ability to influence these decisions seems to have been removed far from the general python user community. Python has moved from the BDFL/Bazaar to the

Re: troglodytes

2024-08-15 Thread o1bigtenor via Python-list
On Wed, Aug 14, 2024 at 9:06 PM Mike Dewhirst via Python-list < python-list@python.org> wrote: > On 14/08/2024 12:54 am, Michael Torrie via Python-list wrote: > > On 8/13/24 3:24 AM, Robin Becker via Python-list wrote: > >> I am clearly one of the troglodytes referred

performance test on python with C API interface

2024-08-20 Thread aotto1968 via Python-list
I would like to present you with a performance test where Python performs very well in relation to the NHI1 project regarding the integration of Python into C. -> results: http://thedev.nhi1.de/theLink/main/md_docs_2main_2README__PERFORMANCE.htm#README_PERFORMANCE -> project

new here

2024-08-20 Thread Daniel via Python-list
Hi folks - New here. I've perused some posts and haven't seen a posting FAQ for this NG. I'm learning python right now to realize some hobby goals I have regarding some smolnet services. What are the NG standards on pasting code in messages? Do yall prefer I post a pastebin link

Re: new here

2024-08-20 Thread MRAB via Python-list
On 2024-08-20 23:26, Daniel via Python-list wrote: Hi folks - New here. I've perused some posts and haven't seen a posting FAQ for this NG. I'm learning python right now to realize some hobby goals I have regarding some smolnet services. What are the NG standards on pasting code

Re: new here

2024-08-20 Thread rbowman via Python-list
On Tue, 20 Aug 2024 23:26:39 +0100, Daniel wrote: > New here. I've perused some posts and haven't seen a posting FAQ for > this NG. I'm learning python right now to realize some hobby goals I > have regarding some smolnet services. What are the NG standards on > pastin

Re: new here

2024-08-20 Thread rbowman via Python-list
$50 USD/month or $300/year but there are also many tutorials that can be accessed for free. Personally I can't justify the cost but it does add a community chat and Q&A with a 'Python Expert'. https://pycoders.com/ That's free and is more general information but

Re: new here

2024-08-21 Thread dn via Python-list
On 21/08/24 10:26, Daniel via Python-list wrote: Hi folks - New here. I've perused some posts and haven't seen a posting FAQ for this NG. I'm learning python right now to realize some hobby goals I have regarding some smolnet services. What are the NG standards on pasting code

Re: new here

2024-08-21 Thread Daniel via Python-list
dn writes: > On 21/08/24 10:26, Daniel via Python-list wrote: >> Hi folks - >> New here. I've perused some posts and haven't seen a posting FAQ for >> this NG. I'm learning python right now to realize some hobby goals I >> have regarding some smol

Re: new here

2024-08-21 Thread Daniel via Python-list
rbowman writes: > On Tue, 20 Aug 2024 23:26:39 +0100, Daniel wrote: > >> New here. I've perused some posts and haven't seen a posting FAQ for >> this NG. I'm learning python right now to realize some hobby goals I >> have regarding some smolnet services.

Re: new here

2024-08-21 Thread dn via Python-list
On 22/08/24 09:15, Daniel via Python-list wrote: rbowman writes: On Tue, 20 Aug 2024 23:26:39 +0100, Daniel wrote: ... smolnet, as in things like Lesser used protocols not known by many in the mainstream. Such as: gopher, gemini, finger, spartan, titan, etc. An example of use, here

Re: new here

2024-08-22 Thread rbowman via Python-list
drop in spam. Absolutely. It was sort of an intelligence test. I've used the server at the Freie Universität Berlin from back in the days when it was free rather than 10 Euros a year so life went on smoothly. -- https://mail.python.org/mailman/listinfo/python-list

Re: new here

2024-08-22 Thread rbowman via Python-list
s isn't mine, but it is inspiring. Example: > > finger mi...@graph.no > > For all options, go to the help finger: > > finger h...@graph.no Thanks. Interesting. I was surprised a Norwegian site would have data for a small city in the US. I have a Python script that access

Re: new here

2024-08-22 Thread rbowman via Python-list
- https://mail.python.org/mailman/listinfo/python-list

Re: new here

2024-08-22 Thread Daniel via Python-list
finger. Put your >> city name as the user. This isn't mine, but it is inspiring. Example: >> >> finger mi...@graph.no >> >> For all options, go to the help finger: >> >> finger h...@graph.no > > Thanks. Interesting. I was surprised a Norwegia

Re: new here

2024-08-22 Thread Daniel via Python-list
Jason Friedman writes: > On Wed, Aug 21, 2024 at 4:04 PM Daniel via Python-list < > python-list@python.org> wrote: > >> >> An example of use, here's a weather service tied to a finger. Put your >> city name as the user. This isn't mine, but it is insp

Re: new here

2024-08-22 Thread rbowman via Python-list
On Thu, 22 Aug 2024 10:40:52 -0700, Paul Rubin wrote: > The Pico uses MicroPython which is stuck on an old version of Python, > unfortunately. I think it's up to 3.4 in general and erratic past that. It doesn't have the match from 3.10. I don't think it has f-strings th

Re: new here

2024-08-22 Thread rbowman via Python-list
e up on the Netflix recommendations and I watched it last night so when it said 'Search' I wanted to see what it would do. It came back with links to the book, the film, the Vances, and cast member bios. It's a subset of the Wiki 'Search in..' but still impressive. Pyth

Re: new here

2024-08-22 Thread dn via Python-list
On 23/08/24 07:49, rbowman via Python-list wrote: On Thu, 22 Aug 2024 10:40:52 -0700, Paul Rubin wrote: The Pico uses MicroPython which is stuck on an old version of Python, unfortunately. How did this enter the conversation/thread? Paul's 'contribution' does not even appear

Re: new here

2024-08-22 Thread rbowman via Python-list
On Fri, 23 Aug 2024 08:36:02 +1200, dn wrote: > On 23/08/24 07:49, rbowman via Python-list wrote: >> On Thu, 22 Aug 2024 10:40:52 -0700, Paul Rubin wrote: >> >>> The Pico uses MicroPython which is stuck on an old version of Python, >>> unfortunately. > &

Re: new here

2024-08-22 Thread dn via Python-list
On 23/08/24 15:43, rbowman via Python-list wrote: On Fri, 23 Aug 2024 08:36:02 +1200, dn wrote: On 23/08/24 07:49, rbowman via Python-list wrote: On Thu, 22 Aug 2024 10:40:52 -0700, Paul Rubin wrote: The Pico uses MicroPython which is stuck on an old version of Python, unfortunately. How

Re: new here

2024-08-25 Thread rbowman via Python-list
is the command line utility. Thonny isn't my favorite IDE but it does make life easy: https://projects.raspberrypi.org/en/projects/getting-started-with-the- pico/2 -- https://mail.python.org/mailman/listinfo/python-list

Re: new here

2024-08-25 Thread rbowman via Python-list
s not a bad series although he can be long-winded and his Python style definitely isn't PEP8 friendly. https://toptechboy.com/ He switched to the Arduino Uno R4 after the IR controller/NeoPixel Pico project and I don't know if he intends to go back to the Pico. He uses Thonny but

Re: Is there a better way? [combining f-string, thousands separator, right align]

2024-08-25 Thread MRAB via Python-list
On 2024-08-25 16:12, Gilmeh Serda via Python-list wrote: Subject explains it, or ask. This is a bloody mess: s = "123456789" # arrives as str f"{f'{int(s):,}': >20}" ' 123,456,789' You don't need to format twice; you can combi

Re: new here

2024-08-25 Thread dn via Python-list
It appears there were some delays in the email/servers. Thanks for this (and earlier) ideas and advice! On 23/08/24 17:38, rbowman via Python-list wrote: On Thu, 22 Aug 2024 19:56:54 -0700, Paul Rubin wrote: With MicroPython on the Pico, you use some command line utility to transfer files

Re: new here

2024-08-25 Thread MRAB via Python-list
On 2024-08-26 02:29, AVI GROSS via Python-list wrote: If everyone will pardon my curiosity, who and what purposes are these smaller environments for and do many people use them? I mean the price of a typical minimal laptop is not a big deal today. So are these for some sort of embedded uses? I

Re: Is there a better way? [combining f-string, thousands separator, right align]

2024-08-26 Thread dn via Python-list
On 26/08/24 03:12, Gilmeh Serda via Python-list wrote: Subject explains it, or ask. This is a bloody mess: s = "123456789" # arrives as str f"{f'{int(s):,}': >20}" ' 123,456,789' With recent improvements to the expressions within F-st

Re: Is there a better way? [combining f-string, thousands separator, right align]

2024-08-26 Thread dn via Python-list
On 26/08/24 23:00, Dan Sommers via Python-list wrote: On 2024-08-26 at 20:42:32 +1200, dn via Python-list wrote: and if we really want to go over-board: RIGHT_JUSTIFIED = ">" THOUSANDS_SEPARATOR = "," s_format = F"{RIGHT_JUSTIFIED}{S_FIELD_WIDTH}{THOUSANDS_SEPAR

Re: new here

2024-08-26 Thread rbowman via Python-list
enough for most purposes. There are specialized drivers but if you know Python the bulk of the logic will be very familiar. For example I have a desktop Python app that pulls weather data from NOAA's web API. The Pico W has Wifi, so if I wanted to compare NOAA's temperature, humidity, and b

Re: Triggered By Mediocre Code (Posting On Python-List Prohibited)

2024-08-26 Thread rbowman via Python-list
-- https://mail.python.org/mailman/listinfo/python-list

Re: new here

2024-08-28 Thread Daniel via Python-list
and 128 > bytes of RAM was typical. As they improved C was sued. Now there's enough > flash and SRAM to support MicroPython or CircuitPython and they are fast > enough for most purposes. There are specialized drivers but if you know > Python the bulk of the logic will be

Re: new here

2024-08-28 Thread rbowman via Python-list
'name']) print(period['detailedForecast']) print(f"temperature: {period['temperature']}") print(f"wind {period['windSpeed']} {period['windDirection']}") print() -- https://mail.python.org/mailman/listinfo/python-list

Script stops running with no error

2024-08-28 Thread Daniel via Python-list
As you all have seen on my intro post, I am in a project using Python (which I'm learning as I go) using the wikimedia API to pull data from wiktionary.org. I want to parse the json and output, for now, just the definition of the word. Wiktionary is wikimedia's dictionary. My requireme

Re: Script stops running with no error

2024-08-28 Thread dn via Python-list
On 29/08/24 10:32, Thomas Passin via Python-list wrote: On 8/28/2024 5:09 PM, Daniel via Python-list wrote: As you all have seen on my intro post, I am in a project using Python (which I'm learning as I go) using the wikimedia API to pull data from wiktionary.org. I want to parse the jso

Re: Script stops running with no error

2024-08-28 Thread rbowman via Python-list
ch match the if/else. The others aren't in the return from https://api.wikimedia.org/core/v1/wiktionary/en/page/table. I have to admit I sometimes miss C where I can bounce between curlies. Output: python wiki.py *** Definition for table *** word_type noun pattern: \{en-noun\}(.*?)(?=\{|\Z) lin

Re: Formatting a str as a number - Okay, one more related thing...

2024-08-31 Thread MRAB via Python-list
On 2024-08-31 06:31, Gilmeh Serda via Python-list wrote: On Fri, 30 Aug 2024 05:22:17 GMT, Gilmeh Serda wrote: f"{int(number):>20,}" I can find "," (comma) and I can find "_" (underscore) but how about " " (space)? Or any other character, for tha

ListAdmin: Is list/archive working correctly?

2024-08-30 Thread dn via Python-list
were they ever)? Is it user-error that some contributions don't appear on the list, but do appear in replies, or is there perhaps some other cause? -- Regards, =dn -- https://mail.python.org/mailman/listinfo/python-list

Re: Formatting a str as a number - Okay, one more related thing...

2024-09-01 Thread dn via Python-list
On 1/09/24 06:55, MRAB via Python-list wrote: On 2024-08-31 06:31, Gilmeh Serda via Python-list wrote: On Fri, 30 Aug 2024 05:22:17 GMT, Gilmeh Serda wrote: f"{int(number):>20,}" I can find "," (comma) and I can find "_" (underscore) but how about " &

Re: Getting a Process.start() error pickle.PicklingError: Can't pickle : it's not found as __builtin__.module with Python 2.7

2024-09-03 Thread geodandw via Python-list
On 9/2/24 11:36, Barry Scott wrote: On 2 Sep 2024, at 15:00, marc nicole via Python-list wrote: I am using Python 2.7 on Windows 10 Why? Install Python 3.12 and it will be easier to get help and support. If you have legacy that still needs porting then you can install 3.12 along side the

Re: Crash when launching python

2024-09-04 Thread dn via Python-list
On 5/09/24 03:27, Guenther Sohler via Python-list wrote: Hi, My "Project" is to integrate python support into OpenSCAD. It runs quite well, but there are still issues on MacOS. On My MacOS it works, but it crashes when I ship the DMG files. It looks very much like python is not ab

Re: Crash when launching python

2024-09-05 Thread Barry via Python-list
> On 5 Sep 2024, at 02:32, Greg Ewing via Python-list > wrote: > > Normally it's in the .app/Contents/MacOS subdirectory. The name > varies, but there's usually just one executable file in there. Run that > from a shell and you should see anything written to stdo

Re: Synchronise annotations -> docstring

2024-09-15 Thread AJ via Python-list
On 9/4/24 00:21, r...@zedat.fu-berlin.de wrote: Albert-Jan Roskam wrote or quoted: Are there any tools that check whether type annotations and Numpydoc strings are consistent? According to one webpage, the "sphinx-autodoc-typehints" extension lets you roll with Python 3 annot

Re: String code required please

2005-10-13 Thread SPE - Stani&#x27;s Python Editor
import os fileName = os.path.basename(absolute) base, ext = os.path.splitext(fileName) Stani http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list

Re: UI toolkits for Python

2005-10-14 Thread SPE - Stani&#x27;s Python Editor
cross-platform. If you work on Windows, but don't have a Mac, than you will have a hard time, if not almost impossible when you write complex applications. I've tried all python gui toolkits and my conclusion was for small applications that are distributed as python source use Tkinter, oth

Re: PyGame & Web hosts

2005-10-15 Thread SPE - Stani&#x27;s Python Editor
Blender provided a web plugin with which you can program games in 3D (of course also in 2D) with Python. Unfortunately it is not actively supported anymore, but it still works. I think you can still use the old version. Download the plugin here: http://www.blender3d.org/cms/3D_web_plug-in.15.0

Re: Problem splitting a string

2005-10-15 Thread SPE - Stani&#x27;s Python Editor
P', 'is', 'VL', 'funny', 'JJ'] Stani -- SPE - Stani's Python Editor http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list

Re: tuple versus list

2005-10-16 Thread SPE - Stani&#x27;s Python Editor
'new value' t.append('new value') These statements are possible with lists. Stani -- SPE - Stani's Python Editor (http://pythonide.stani.be) -- http://mail.python.org/mailman/listinfo/python-list

Re: Calling an exe from Python?

2005-10-16 Thread SPE - Stani&#x27;s Python Editor
Slightly offtopic, but you can translate any double clicking (*.exe, *.pdf, *.html, ...) in the Windows Explorer into: import os os.startfile(fileName) Stani -- SPE - Stani's Python Editor http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list

Re: override a property

2005-10-17 Thread SPE - Stani&#x27;s Python Editor
No, you can just do it on the fly. You can even create properties (attributes) on the fly. class Dummy: property = True d = Dummy() d.property = False d.new = True Stani -- SPE - Stani's Python Editor http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list

Re: Installing Python at Work

2005-10-17 Thread SPE - Stani&#x27;s Python Editor
You even don't have to install Python on your system. Michael Foord created Movable Python (http://www.voidspace.org.uk/python/movpy/), which allows you to carry a full python distribution and more to be carried around on a USB stick. You can copy it to a folder on your harddisk. Just delet

Re: How do you draw this layout with wxpython?

2005-10-17 Thread SPE - Stani&#x27;s Python Editor
(http://wxglade.sourceforge.net/), which is very simple and neat. It uses sizers by default, which has the advantage that you're dialog box will be rescalable. Stani -- SPE - Stani's Python Editor (ships btw with wxGlade) http://pythonide.stani.be -- http://mail.python.org/mailman/listinfo/python-list

Fund raising for SPE (Python IDE) on Mac Os X is great success!!

2005-10-20 Thread SPE - Stani&#x27;s Python Editor
. Please subscribe to the mailing list as a developer, user and/or mac user. Of course donations are still welcome. Stani http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html -- http://mail.python.org/mailman/listinfo/python-list

Re: Popularity of blogging tools used by python programmers

2005-10-20 Thread SPE - Stani&#x27;s Python Editor
Well, Python, Zope & Plone hosting are quite popular. However python based blog software isn't as sexy as let's say blogger. For SPE I first used a combination of PyDS&pycs.net. It is free for everyone, but unfortunately not stable enough to my standards. Luckily I got spons

Re: IDE recommendation please

2005-10-23 Thread SPE - Stani&#x27;s Python Editor
diagrams and a GUI designer. Stani -- http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html -- http://mail.python.org/mailman/listinfo/python-list

Re: wxListbook layout problem

2005-10-25 Thread SPE - Stani&#x27;s Python Editor
It is definitely a bug. The same problem also happens with wx.LB_BOTTOM. Tested on WinXP (SP2), python 2.4.1, wxPython 2.6.1.0 Stani -- SPE - Stani's Python Editor http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html -- http://mail.python.org/mailman/listinfo/python-list

Re: Double replace or single re.sub?

2005-10-26 Thread SPE - Stani&#x27;s Python Editor
Of course it is better to precompile the expression, but I guess replace will beat even a precompiled regular expression. You could see this posting: http://groups.google.nl/group/comp.lang.python/msg/32af24eab9024f60?&hl=nl&q=replace+re+speed+python+sub But performance should be measu

ANN: SPE 0.7.5.d released!

2005-10-27 Thread SPE - Stani&#x27;s Python Editor
st to speed up the Mac port for SPE. I expect my new Mac any moment. Stani -- http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html -- http://mail.python.org/mailman/listinfo/python-list

Re: ANN: SPE 0.7.5.d released!

2005-10-27 Thread SPE - Stani&#x27;s Python Editor
I forgot to include a sample of an exported Uml diagram, so here it is as a pdf: http://www.stani.be/python/spe/images/smdi.pdf Previous announcement: I'm currently packaging the new SPE. The release is a matter of minutes. Next releases (0.8.*) will focus on the Mac in honour of the fund ra

Re: Typing tutor help script needed, please

2005-10-28 Thread SPE - Stani&#x27;s Python Editor
#---Input data #List of words; every word or sentence on one line #If from file: WORDS = open(fileName).readlines() WORDS = """\ Afrikaans Anna Bread red word bored python""".split('\n') #---Main program import re PATTERN = ['[^(%s)]+'

Re: Expanding Python as a macro language

2005-10-28 Thread SPE - Stani&#x27;s Python Editor
Well on Windows I used some time ago for similar tasks the wmi module. It is able to analyse running programs, press buttons and activate menu items. As you didn't mention it, you might have a look at it. It works pretty well. http://tgolden.sc.sabren.com/python/wmi.html For linux I don&#

Re: Print to printer

2005-10-28 Thread SPE - Stani&#x27;s Python Editor
/index.cgi/Printing For mac solutions, you better post this on the pythonmac mailing list. Stani -- http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html -- http://mail.python.org/mailman/listinfo/python-list

Re: Expanding Python as a macro language

2005-10-29 Thread SPE - Stani&#x27;s Python Editor
> some future Firefox version might perhaps integrate a Python engine For those who never heard about Firefox 1.9, check the following urls. It looks very promising: 1) http://wiki.mozilla.org/Roadmap_Scratchpad#Python_for_XUL Python for XUL Significant potential contributors in both

SPE 0.7.5.e - Python IDE with improved uml, debugger & unicode support

2005-11-02 Thread SPE - Stani&#x27;s Python Editor
is a python IDE with auto-indentation, auto completion, call tips, syntax coloring, uml viewer, syntax highlighting, class explorer, source index, auto todo list, sticky notes, integrated pycrust shell, python file browser, recent file browser, drag&drop, context help, ... Special is its blende

Re: An FAQ Please Respond

2005-11-02 Thread SPE - Stani&#x27;s Python Editor
Hi Clinton, If I was you, I would stick for a little while with python 2.3 untill Blender 2.40 gets stable. In the meantime you can use Movable Python (python on an usb stick) to program in Python 2.4: http://www.voidspace.org.uk/python/movpy/ But I guess Blender will become stable soon. Stani

Re: ? MDI depreciated

2005-11-06 Thread SPE - Stani&#x27;s Python Editor
f next year. I think it would be a major step if a module can handle all the worries of the design of a document interface as this can be treated independently from the application. If you want to see some screenshots of SPE in different DI's: http://pythonide.stani.be/screenshots Good luck! St

Built windows installers and Cygwin

2005-11-22 Thread SPE - Stani&#x27;s Python Editor
A SPE user reported this on the SPE users forum (http://developer.berlios.de/forum/message.php?msg_id=21944): >My setup is as follows: >SPE-0.7.5 >Python 2.4 (from the Cygwin packages) > >Installer does not continue. "No Python installation found in the registry". >

Can bdist_wininst built installer require minimum python version?

2005-11-23 Thread SPE - Stani&#x27;s Python Editor
Is there anyway that SPE can require a minimum version (eg python 23)? Thanks, Stani -- http://pythonide.stani.be http://pythonide.stani.be/manual/html/manual.html -- http://mail.python.org/mailman/listinfo/python-list

ANN: SPE 0.8.0.b Python IDE (new: Mac support, doc viewer and workspaces)

2005-12-01 Thread SPE - Stani&#x27;s Python Editor
he advertisements on SPE's websites generate a moderate, but necesssary income. From now on if you donate, you can ask me by email an ad-free, nice pdf version of the manual. :**About SPE**: SPE is a python IDE with auto-indentation, auto completion, call tips, syntax coloring, uml viewer, s

Python riddle

2005-12-05 Thread SPE - Stani&#x27;s Python Editor
I know that this code is nonsense, but why does this print 'Why?' a = 1 if a >2: try: 5/0 except: raise else: print 'why?' -- http://mail.python.org/mailman/listinfo/python-list

Re: Python riddle

2005-12-05 Thread SPE - Stani&#x27;s Python Editor
Forget it, it's not 1st of april yet. -- http://mail.python.org/mailman/listinfo/python-list

SPE 0.7.5.b IDE: New windows installer (with working shortcuts)

2005-08-17 Thread SPE - Stani&#x27;s Python Editor
Thanks to Jose Galvez, there is a now a working python installer for python2.4 SPE 0.7.5.b now features a remote, encrypted and embedded python debugger of Nir Aides. Stani Spe is a free python IDE with auto indentation & completion, call tips, syntax coloring & highlighting, UML diagram

ANN: SPE 0.7.5.c: Improved documentation & bugfixes

2005-08-25 Thread SPE - Stani&#x27;s Python Editor
python IDE with auto indentation & completion, call tips, syntax coloring & highlighting, UML diagrams, class explorer, source index, auto todo list, sticky notes, pycrust shell, file browsers, drag&drop, context help, Blender support, ... Spe ships with Python debugger (remote & encrypte

Re: Would you pls tell me a tool to step debug python program?

2005-09-20 Thread SPE - Stani&#x27;s Python Editor
0 in VC... > > Thanks for your help. > > Regards, > Johnny -- http://mail.python.org/mailman/listinfo/python-list

Re: spe stani collapse all method?

2005-09-21 Thread SPE - Stani&#x27;s Python Editor
It shouldn't be hard to implement. If you have a bit of python knowledge you could contact me & write a patch. Otherwise file it as a feature request. Stani http://pythonide.stani.be [EMAIL PROTECTED] wrote: > hello, > > I wonder if anyone used spe stani, I'm looking

Re: Where are we in the Python 3 transition?

2015-12-31 Thread mm0fmf via Python-list
On 31/12/2015 16:12, Mark Lawrence wrote: "Or, how the Kübler-Ross model aptly applies to Python 3". http://www.snarky.ca/the-stages-of-the-python-3-transition I thought I had a need for asyncio and that means Python3. So I started converting some web facing apps to Python3 for pr

Need help with this asap.

2016-01-12 Thread ifeanyioprah--- via Python-list
90)  a1.deposit(90)  a1.withdraw(40)  a1.withdraw(1000)  class MinimumBalanceAccount(BankAccount):      def __init__(self):          BankAccount.__init__(self)  Please help me. -- https://mail.python.org/mailman/listinfo/python-list

Need solution with this problem

2016-01-13 Thread ifeanyioprah--- via Python-list
ass(self): self.assertTru­e(issubclass(MinimumBalanceAccount, Bank­Account), msg='No true subclass of BankA­ccount') Thank you.­ Pls need assistance. My email : ifeanyiop...@yahoo.com. -- https://mail.python.org/mailman/listinfo/python-list

Re: The computer that mastered Go

2016-01-29 Thread mm0fmf via Python-list
On 29/01/2016 19:46, Seymore4Head wrote: https://www.youtube.com/watch?v=g-dKXOlsf98 Is it written in Python? -- https://mail.python.org/mailman/listinfo/python-list

Re: The computer that mastered Go

2016-01-29 Thread mm0fmf via Python-list
On 29/01/2016 22:13, Paul Rubin wrote: mm0fmf writes: Is it written in Python? One would expect it to be written in Go, but it turns out to be C++ and Lua :(. Why did he post it in comp.lang.python then? -- https://mail.python.org/mailman/listinfo/python-list

[Newbie] Tkinter Question

2016-02-23 Thread Wildman via Python-list
I am familiar with OO programming but I am new to Python and Tkinter. I am working on a gui program that creates a couple of temporary files. As part of the Exit button command they are deleted. If the program is shut down using the window close button [X], the exit button code is not executed

Re: [Newbie] Tkinter Question

2016-02-24 Thread Wildman via Python-list
ld ever occur as long as the program does not lock up. It is up to me to make sure that doesn't happen. :-) Thanks again. -- GNU/Linux user #557453 "Philosophy is common sense with big words." -James Madison -- https://mail.python.org/mailman/listinfo/python-list

Request Help With Displaying XBM Image

2016-02-26 Thread Wildman via Python-list
is pasted below. I am thinking the problem might have something with the way the image object is being created. I'm probable making a dumb newbie mistake. BTW, if I run the script from a terminal window, I do not get any errors. Any guidance is appreciated. #!/usr/bin/python from Tk

Re: The Real-Time Use of Python in Data Science World!

2016-02-26 Thread Wildman via Python-list
On Fri, 26 Feb 2016 11:35:58 -0800, Anita Goyal wrote: > This course (...) What!? No peas? I like peas with spam. -- GNU/Linux user #557453 The cow died so I don't need your bull! -- https://mail.python.org/mailman/listinfo/python-list

Re: Request Help With Displaying XBM Image

2016-02-26 Thread Wildman via Python-list
On Fri, 26 Feb 2016 22:49:58 +0100, Peter Otten wrote: > Wildman via Python-list wrote: > It's not you, the program as you wrote it should and would show the image, > were it not for an odd quirk in how images are handled in tkinter: > > You have to keep an explicit refer

Request More Help With XBM Image

2016-02-29 Thread Wildman via Python-list
an image from a file does not work or at least I have not been able to get it to work. -- GNU/Linux user #557453 "Be at war with your vices, at peace with your neighbors, and let every new year find you a better man." -Benjamin Franklin -- https://mail.python.org/mailman/listinfo/python-list

<    15   16   17   18   19   20   21   22   23   24   >