Re: Installed correctly

2006-08-13 Thread Rich
Well thanks for all your replies. I've now uninstalled Python, and reinstalled it using the default path (C:\pythoh24). But command line still says "unrecognized command", when typng "pythoin". so maybe you have to -- http://mail.python.org/mailman/listinfo/python-list

Re: Installed correctly

2006-08-13 Thread Rich
(sorry, I accidentally hit "send" before I was finished) Well thanks for all your replies. I've now uninstalled Python, and reinstalled it using the default path (C:\python24), to avoid any complications. But command line still said "unrecognized command", when typing "python". So apparently yo

passing a variable to an external program

2007-01-11 Thread Rich
I want to run an external program using os.system() but I want to include a variable in the middle of the command line. An example of the type of thing I want to be able to do: pathname = os.path.dirname(sys.argv[0]) os.system('cscript /nologo ' + pathname + '\test.vbs') When I run this, everythi

Re: passing a variable to an external program

2007-01-11 Thread Rich
Thank you, that did it. I don't know why I didn't think to escape the \ with \\. On Jan 11, 2:18 pm, Neil Cerutti <[EMAIL PROTECTED]> wrote: > On 2007-01-11, Rich <[EMAIL PROTECTED]> wrote: > > > I want to run an external program using os.system() but I wan

newbie - returned values from cscript.exe

2007-01-24 Thread Rich
I am writing my first python script and I'm guessing this is something obvious but I can't find any examples of doing something like this. I have a python script that is running a vbscript through cscript.exe. The vbscript looks up a server name, username, password etc and returns these values in

Help with pyserial and sending binary data?

2008-05-02 Thread Rich
representing hex as an 8-bit byte. chr() should always encode to an 8-bit byte (not 7-bit ASCII or anything, correct)? Is there any way to switch byte endianness, or ensure I am encoding 8-bit bytes? Any help is much appreciated. Thanks! -rich ___

Learning different languages

2006-03-07 Thread Rich
Hi, (this is a probably a bit OT here, but comp.lang seems rather desolated, so I'm not sure I would get an answer there. And right now I'm in the middle of learning Python anyway so...) Anyway, my question is: what experience you people have with working with different languages at the same tim

Re: Learning different languages

2006-03-09 Thread Rich
On Tue, 07 Mar 2006 23:44:56 +0100, Rich <[EMAIL PROTECTED]> wrote: Well thanks for all your replies.There seem to be general agreement that it's best to learn one language at a time, which also is what makes most sense to me. I'm also glad to hear it's not a big pr

Re: Academic citation of Python

2012-06-16 Thread Rich Webb
s in advance, >> >> MArkL > >The main website www.python.org and possibly the sites for Jython, >IronPython and PyPY? He's probably looking for an IEC or ANSI standard, like "Information technology — Programming languages — C INCITS/ISO/IEC 9899-2011[2012] (ISO/IEC 98

Tkinter: multicolumn table widget

2022-05-31 Thread Rich Shepard
onsist of three tk.StringVal() and one tk.Text() which usually has multiple rows related to that contact event. I want to learn how to create the table so each row has the contents of each of the four columns and I can scroll down and up to look at the history. All help is certainly appreciated.

Re: Tkinter: multicolumn table widget

2022-05-31 Thread Rich Shepard
idget, you'll need to add the scrollbar(s) separately and then link them. This I expected. Thanks, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Tkinter: multicolumn table widget

2022-05-31 Thread Rich Shepard
the job. Best regards, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Tkinter: multicolumn table widget

2022-06-06 Thread Rich Shepard
ursor hovers over it without needing to be limited to a single column. When I test the module (I'm still writing it) I'll learn what needs fixing. Thanks very much, Rich -- https://mail.python.org/mailman/listinfo/python-list

Tkinter module test: widget class not inserted in application frame

2022-06-17 Thread Rich Shepard
ot;/usr/lib64/python3.7/tkinter/__init__.py", line 2292, in __init__ BaseWidget._setup(self, master, cnf) File "/usr/lib64/python3.7/tkinter/__init__.py", line 2262, in _setup self.tk = master.tk AttributeError: type object 'ContactNameInput' has no attribute 'tk' -- I'm not correctly placing the NameInput class in the NameApplication frame. What have I missed? Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Tkinter module test: widget class not inserted in application frame

2022-06-17 Thread Rich Shepard
e(width = False, height = False) ContactNameInput(self).grid(row = 0, column = 0, sticky=('EWNS')) self.columnconfigure(0, weight=1) If not, where do I specify the instance of the ContactNameInput class? Thanks, Rich -- Richard Shepard, Ph.D. The Environmental Issues Doctor Applied Ecosystem Services, LLC Troutdale, OR 97060 USA503-667-4517 www[dot]appl-ecosys[dot]com -- https://mail.python.org/mailman/listinfo/python-list

Re: Tkinter module test: widget class not inserted in application frame

2022-06-17 Thread Rich Shepard
nput_class = ttk.Entry, input_var = tk.StringVar() ) should be this: self.inputs['First name'] = cc.LabelInput( self, 'fname', input_class = ttk.Entry, input_var = tk.StringVar() ) MRAB, Ah! I must have misre

Re: Tkinter module test: widget class not inserted in application frame

2022-06-17 Thread Rich Shepard
self.'fname'... Thanks, Dennis, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Tkinter module test: widget class not inserted in application frame

2022-06-18 Thread Rich Shepard
On Sat, 18 Jun 2022, Peter J. Holzer wrote: There is a comma (U+002C) here ... And a dot (U+002E) here. That was a typo when I wrote the message. And I usually add a space after commas and surrounding equal signs, all for easier reading. Thank you, Rich -- https://mail.python.org/mailman

Re: Can you process seismographic signals in Python or should I switch to Matlab ?

2023-03-13 Thread Rich Shepard
data into a common usable form, cleaned and errors removed. That will be a lot of effort no matter what language you use. In the Matplotlib lesson you pointed to, the work was already done, for one one earthquake at one location. Wouldn't Pandas help here? Rich -- https://mail.python.org/ma

Re: Can you process seismographic signals in Python or should I switch to Matlab ?

2023-03-13 Thread Rich Shepard
x27;ve not read Wes McKinney's "Python for Data Analysis: Data Wrangling with Pandas, NumPy, and IPython" I encourage you to do so. Regards, Rich -- https://mail.python.org/mailman/listinfo/python-list

Cannot install pkg_resources using pip

2023-04-16 Thread Rich Shepard
directory There is no python3.7 here: # ls /usr/bin/python3.7 ls: cannot access '/usr/bin/python3.7': No such file or directory How do I clean this up? TIA, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Cannot install pkg_resources using pip

2023-04-16 Thread Rich Shepard
x27;t check the address used in my reply, assuming it's correct. Thanks, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Cannot install pkg_resources using pip

2023-04-16 Thread Rich Shepard
On Sun, 16 Apr 2023, Rich Shepard wrote: I'll download the installer from there. But, I still cannot install the pkg_resources module that meson wants to start the build of pulseaudio-equalizer: # pip install pkg_resources ERROR: Could not find a version that satisfies the requir

Re: Cannot install pkg_resources using pip

2023-04-17 Thread Rich Shepard
On Sun, 16 Apr 2023, Thomas Passin wrote: Sorry, Rich, I've never dealt with this so someone else will have to give suggestions. Thomas, This is all new to me, too. I would try to see if there are any versions available. It could be that meson says it needs version x but only version

Re: Cannot install pkg_resources using pip [RESOLVED]

2023-04-17 Thread Rich Shepard
On Sun, 16 Apr 2023, Rich Shepard wrote: How do I clean this up? My thanks for the suggestions and ideas you sent me on this issue. I've resolved it by not trying to build pulseaudio-equalizer. I don't need it because I learned this morning that my Yamaha CM500 headset clearly hear

Re: Cannot install pkg_resources using pip

2023-04-17 Thread Rich Shepard
... If worse came to worse, I'd reinstall the distro package. Thanks, Rich -- https://mail.python.org/mailman/listinfo/python-list

where is requests

2023-05-23 Thread Rich Osborne
I have install Python 3.11.3 but my import requests does not work. I found documentation that refers to C:\python35 but I am on 3.11.3. Where do I find requests? Sent from Mail for Windows -- https://mail.python.org/mailman/listinfo/python-list

Re: Application window geometry specifier [RESOLVED]

2021-01-12 Thread Rich Shepard
On Wed, 13 Jan 2021, Chris Angelico wrote: Do the offsets need to be integers? ChrisA, Yep. I totally missed that. Thanks for seeing it. Stay well, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Application window geometry specifier

2021-01-12 Thread Rich Shepard
On Tue, 12 Jan 2021, Igor Korot wrote: Keep in mind that if you target Linux, the "modern" window server (Wayland) will not allow user code to decide the positioning and size of the TLW. Igor, I suspect that Slackware will continue with X11. Rich -- https://mail.python.org/mailma

Re: Application window geometry specifier

2021-01-12 Thread Rich Shepard
all change involves progress. Regards, Rich -- https://mail.python.org/mailman/listinfo/python-list

Binding menu accelerator to a callback

2021-01-12 Thread Rich Shepard
bound to the same self.fileQuit() (in this case). My web research hasn't found a solution since examples for using bind() aren't in menus. Do I need another method that associates accelerators with the callbacks? Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Application window geometry specifier

2021-01-12 Thread Rich Shepard
users can swear all they want. :-) If I decide to post all the code on github other can modify it to their heart's delight. They can even make it work on their wrist computer (formerly known as a wrist watch.) Regards, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: FridayFinking - Was: A beginning beginner's question about input, output and . . .

2021-01-13 Thread Rich Shepard
o a 25-year-older friend of mine offered a great philosophy of life. "We can do nothing about growing older," she told me, "but we can do everything about growing old." How true. Rich -- https://mail.python.org/mailman/listinfo/python-list

Writing a Python3 ttk.Notebook

2021-01-15 Thread Rich Shepard
ker/./nbtest.py", line 22, in __init__ self.add(tab1, text='Activities') File "/usr/lib64/python3.9/tkinter/__init__.py", line 2346, in __getattr__ return getattr(self.tk, attr) AttributeError: '_tkinter.tkapp' object has no attribute 'add' Explanation of the error and suggestions for ttk.notebook references are needed. TIA, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Writing a Python3 ttk.Notebook

2021-01-15 Thread Rich Shepard
built widget pages on the tabs. Regards, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Writing a Python3 ttk.Notebook

2021-01-15 Thread Rich Shepard
main window, while the proper syntax on a separate file opens a window with the tabs displayed. The file 'application.py' is attached. If I had better docs here I could probably work a lot of this out by myself. Regards, Rich #!/usr/bin/env python3 # main file to start application.

Re: Writing a Python3 ttk.Notebook

2021-01-15 Thread Rich Shepard
On Fri, 15 Jan 2021, Rich Shepard wrote: The file 'application.py' is attached. If I had better docs here I could probably work a lot of this out by myself. Progress: I didn't put the notebook on the main window using grid. Now I need to find how to specify the position so it&

Re: Writing a Python3 ttk.Notebook

2021-01-15 Thread Rich Shepard
On Fri, 15 Jan 2021, Rich Shepard wrote: Progress: I didn't put the notebook on the main window using grid. Now I need to find how to specify the position so it's at the top of the window. I'll read the options on grid. The notebook tabs are placed on the grid as nb.grid(

Re: Writing a Python3 ttk.Notebook

2021-01-15 Thread Rich Shepard
On Fri, 15 Jan 2021, Terry Reedy wrote: IDLE's settings dialog uses a ttk.Notebook. The file is Lib/idlelib/configdialog.py. Thanks, Terry! I completely forgot that. I'll study the IDLE's code and learn from that. Stay well, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: editor recommendations?

2021-02-26 Thread Rich Shepard
Emacs, including email and web browsing (back when a text-based browser was sufficient.) Rich -- https://mail.python.org/mailman/listinfo/python-list

Comparing text strings

2021-04-12 Thread Rich Shepard
same the version or build numbers differ. All suggestions welcome. Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Comparing text strings

2021-04-12 Thread Rich Shepard
there could be abc-1.0_1_SBo.tgz and abc-1.0_2_SBo.tgz. The more involved route will be taken. Thanks! Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Comparing text strings

2021-04-13 Thread Rich Shepard
g. I don't know in advance the build numbers if it's that variable that's changed. The list of installed files is (currently) less than 500 lines so a character-by-character comparison when two rows begin with the same string will not take long. Thanks again, Rich -- https:

Re: Comparing text strings

2021-04-13 Thread Rich Shepard
the list: jak, Yes, it would be the version and build numbers that differ when two files have the same initial string (application name). Thanks very much, Rich -- https://mail.python.org/mailman/listinfo/python-list

UI design: combobox or radiobuttons?

2021-04-13 Thread Rich Shepard
t occured to me that a set of radio buttons would also work. While a set of radiobuttons occupies more room on the parent widget than does a combobox are there any technical or user issues that would suggest using one over the other? TIA, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: UI design: combobox or radiobuttons?

2021-04-13 Thread Rich Shepard
all values on the screen then that is more noticeable and thus more readable than a single small combobox choice lurking in a corner somewhere. Excellent points, Alan. Thanks very much, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Ann: New Python curses book

2021-04-14 Thread Rich Shepard
On Wed, 14 Apr 2021, Alan Gauld via Python-list wrote: The paper version should be fine (apart from one error on p44 which has now been fixed!). Alan, What's the error and correction so I can change it in my dead tree version? Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Ann: New Python curses book

2021-04-15 Thread Rich Shepard
anks, Alan. Rich -- https://mail.python.org/mailman/listinfo/python-list

Ad-hoc SQL query builder for Python3?

2021-04-24 Thread Rich Shepard
on to include in their applications. I'm looking for a F/OSS tool and I'm sure these are available somewhere. Suggestions are needed. TIA, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Ad-hoc SQL query builder for Python3?

2021-04-24 Thread Rich Shepard
7;ll look at it from that perspective. Thanks, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Ad-hoc SQL query builder for Python3?

2021-04-25 Thread Rich Shepard
y could do what they want directly on the database ignoring the application entirely. If they knew enough to do this they would be using a database rather than a spreadsheet in the first place. :-) Regards, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Ad-hoc SQL query builder for Python3?

2021-04-25 Thread Rich Shepard
console application with a CLI; it has a GUI so there's no direct access to the backend db from within the application. Regards, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Ad-hoc SQL query builder for Python3?

2021-04-26 Thread Rich Shepard
On Sat, 24 Apr 2021, Rich Shepard wrote: My web searches are not finding what I need to include in an application I'm building: an ad-hoc sql query builder. For those interested I've found a couple of possibilities: PyPika and SQLbuilder. I'll be looking deeply into them

Re: Ad-hoc SQL query builder for Python3?

2021-04-27 Thread Rich Shepard
something that can be embedded in the application so the user doesn't need to install another dependentcy package and maintain it. Regards, Rich -- https://mail.python.org/mailman/listinfo/python-list

Applying winpdb_reborn

2021-05-28 Thread Rich Shepard
DBTERM. I need advice on debuggng this module (when run only an empty window is displayed) and using winpdb_reborn. TIA, Rich $ winpdb activitytype.py 08:20:06.052 rpdb2.py:6148 MainThread/140081468266240 __setrecursionlimit(): rl = 1000 08:20:06.348 winpdb.py:3006 MainThread/1400814682662

RE: Applying winpdb_reborn

2021-05-28 Thread Rich Shepard
RPDB2 startup: Say you have a script x.py to debug, with command-lin arguments arg0, arg1 etc. Then to start RPDB2, type python rpdb2.py x.py arg0 arg1 ..." I don't know of any linux utility whose name is in all uppercase letters. Thanks, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Applying winpdb_reborn

2021-05-28 Thread Rich Shepard
On Fri, 28 May 2021, MRAB wrote: Have you looked at the package's repository? MRAB, It looks like this is the one: https://github.com/bluebird75/winpdb That's where I got it. Thanks, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Applying winpdb_reborn

2021-05-28 Thread Rich Shepard
F%2Fphault.rhul.ac.uk%2Fpy%2F_spe%2Fplugins%2Fwinpdb%2Frpdb2.py&usg=AOvVaw12BuzlEMVXrEuOFLoQLpFX Thanks, Dennis. It looked like an environment variable but I hadn't seen that with the python2 winpdb. I'll add that to ~/.bash_profile and see what happens. Enjoy the holiday weekend, R

Re: Applying winpdb_reborn

2021-05-29 Thread Rich Shepard
haven't learned how to effectively use pdb to find bugs that don't issue a traceback or obvious wrong answer such as my module displaying an empty window with no widgets. Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Applying winpdb_reborn

2021-05-29 Thread Rich Shepard
work back to remembering how I debugged code years ago with stubs and print() statements and use pdb with them. Thanks, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Applying winpdb_reborn

2021-05-29 Thread Rich Shepard
s a 1 because a) that's what we expected to see and b) line printer output on green-barred paper was not that clear, even with fresh ribbons. That lesson has stuck with me ever since. Regards, Rich -- https://mail.python.org/mailman/listinfo/python-list

Neither pdb or print() displays the bug

2021-06-01 Thread Rich Shepard
no printed statements. I'd appreciate recommendations on the process to find where the bug lives since I can't seem to find it with print() or line-by-line in pdb. TIA, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Neither pdb or print() displays the bug

2021-06-01 Thread Rich Shepard
On Tue, 1 Jun 2021, Rich Shepard wrote: The QSize() statement is never reached. Correction: the window is 800 x 600, but it's still empty. Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Neither pdb or print() displays the bug

2021-06-01 Thread Rich Shepard
d of Program Obviously I have much to learn about using python's logging capabilities. I'll keep looking. Thanks, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Neither pdb or print() displays the bug

2021-06-01 Thread Rich Shepard
ng to confirm that it is doing so). Will report results when they're available. Regards, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Neither pdb or print() displays the bug

2021-06-01 Thread Rich Shepard
ent/business_tracker/activitytypes.py(2)() -> import logging (Pdb) s --Call-- (978)_find_and_load() (Pdb) s Now I'll go learn what this means. Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Neither pdb or print() displays the bug

2021-06-02 Thread Rich Shepard
. While I don't know if there is a convenient way to test the GUI everything else should run reliably *before* connecting it with the GUI. Peter, I believe there is a way to apply unit tests to PyQt and I'll certainly learn to take this testing-while-developing approach. Thanks, Ric

Posting code on stackoverflow

2021-06-05 Thread Rich Shepard
rapped code. As I've not asked a question ther for a long time, and it didn't involve long lines of code, I need to learn a) how to enter code if it's not just clicking on the 'code' box before pasting text and b) how to keep code lines from wrapping so a horizontal scroll bar

Re: Posting code on stackoverflow

2021-06-05 Thread Rich Shepard
there are blank lines before and after the code block. Just now I noticed a link 'code' along the top of the window. Clicking on that I read that a code block can be identified as such by surrounding it with sets of three backticks (```). That worked. Regards, Rich -- https://mail.

Re: Posting code on stackoverflow

2021-06-06 Thread Rich Shepard
On Sun, 6 Jun 2021, joseph pareti wrote: you need to put the code between 2 lines defined as follows: ``` then it will be formatted for you Thanks, Joseph. I figured that out on the web page. Regards, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Neither pdb or print() displays the bug

2021-06-06 Thread Rich Shepard
On Sun, 6 Jun 2021, Fabio Zadrozny wrote: Hint: you should be able to use https://pypi.org/project/pytest-qt/ to unit-test a PyQt application... Fabio, Thank you for confirming this. I hadn't remembered the name so your URL is really helpful. Regards, Rich -- https://mail.pytho

Re: Posting code on stackoverflow

2021-06-06 Thread Rich Shepard
On Sat, 5 Jun 2021, Terry Reedy wrote: Last time I tried *before*, it did not work. paste, reselect (a nuisance) and click does. Terry, I had tried that and it didn't work any better. Bounding the code with two sets of three backticks does work. Regards, Rich -- https://mail.pytho

Re: Neither pdb or print() displays the bug [FIXED]

2021-06-08 Thread Rich Shepard
On Tue, 1 Jun 2021, Rich Shepard wrote: I'm stuck with neither approach (pdb, print()) working. I moved the database code to a separate module, datasource.py, and when I run the activitytypes.py module (using pdb and having entered print() statements at various places in both the datasourc

Re: Recommendation for drawing graphs and creating tables, saving as PDF

2021-06-11 Thread Rich Shepard
state "connect A to B", "connect C to B", "connect B to D", and the library would do the whole layout. JEM, PSTricks (and yes, I could obviously use LaTeX ...) They work well together. Rich -- https://mail.python.org/mailman/listinfo/python-list

Tkinter8.6: date picker

2021-06-11 Thread Rich Shepard
I need a date picker for a couple of Python-3.7.2/Tkinter8.6 applications. There seem to be some available on the web. If you have experience with a date picker (not a calendar that holds appointments for a given date) I'd like your suggestions and recommendations for one. TIA, Rich --

Re: Tkinter8.6: date picker

2021-06-11 Thread Rich Shepard
ak support for multiple-table databases where joins involve several tables, and I've never used GTK+ for UI. One of the applications I'm developing will be for my clients to use. Most of them run some flavor of Windows so I want to keep the software requirements simple: Python3 and SQLi

tkinter: tksheet

2021-06-16 Thread Rich Shepard
with tksheet perhaps you can answer my questions about it's capabilities. Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: tkinter: tksheet

2021-06-16 Thread Rich Shepard
mpany name). I did not see anything about sorting. tksheet is generic 'table', not a database viewer The two applications I'm building are both database applications. If tksheet() is not the most appropriate widget to display database tables what alternative would be better? Th

Re: tkinter: tksheet

2021-06-16 Thread Rich Shepard
up with is that if a header column is selected you sort the data and reload the table. My naive idea is to use two queries, one selects * from the company table ordered by nunber, the other by name. The UI offers two radiobuttons when viewing the results, one for each sort column. Thanks,

Re: tkinter: tksheet

2021-06-16 Thread Rich Shepard
On Thu, 17 Jun 2021, dn via Python-list wrote: Use the DBMS by retrieving the data in the desired sequence? dn, Yep. That's what I thought would be the best approach. Thanks, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: tkinter: tksheet

2021-06-16 Thread Rich Shepard
to limit the software they need to install and maintain in order to run it. Regards, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: tkinter: tksheet

2021-06-17 Thread Rich Shepard
may be faster to just define the key structure for Python's internal sort() function than to go back out to the database server, wait for it to gather the desired fields and sort them, then transfer all the data back to your script. Dennis, That's a possibility. Thanks, Ric

Re: tkinter: tksheet

2021-06-17 Thread Rich Shepard
, multitable queries is always a good idea. Thanks, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: tkinter: tksheet

2021-06-17 Thread Rich Shepard
f the space on BeagleBone Black so I didn't install it there). Dennis, In the 1980s I looked closely at Pascal. More recently I did so again because the local linux/UNIX group had a presentation on its use. Decided another language was not for me. Thanks, Rich -- https://mail.python.o

Faker package

2021-06-18 Thread Rich Shepard
that will let me generate the equivalent of a database row worth of data? That is, a set of strings of different types that can then be inserted into the testing database? Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Faker package

2021-06-18 Thread Rich Shepard
On Fri, 18 Jun 2021, Terry Reedy wrote: I would try using the 'given' function/decorator of hypothesis (on pypi) to generate random data that conforms to whatever specification. Thank you, Terry. I'll do that. Regards, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Faker package

2021-06-18 Thread Rich Shepard
line 983, in _find_and_load File "", line 965, in _find_and_load_unlocked ModuleNotFoundError: No module named 'faker.names' [rshepard@salmo ~]$ It does not work from the bash command line as a user or as root. The "root shell prompt (#)" suggests to me that it&

Re: Faker package [RESOLVED]

2021-06-19 Thread Rich Shepard
name or: $ faker -r=10 -o temp.out name for 10 fake names. Thank you. I didn't pick that up when I read the document. Much appreciated, Rich -- https://mail.python.org/mailman/listinfo/python-list

Tkinter widgets for desktop database application

2021-07-13 Thread Rich Shepard
solution. I know too little to make this decision and want advice, suggestions, and recommendations from experienced developers. TIA, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Tkinter widgets for desktop database application

2021-07-14 Thread Rich Shepard
Since Tkinter comes with Python3 it's one less thing for non-techical users to struggle with if they decide to use this application. Thanks for your suggestion, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Unable to open Python

2022-03-28 Thread Rich Shepard
operating system do you use? Python is a programming language, not an application. It is not 'opened' but used to do a particular job. You use the language to tell the computer what to do. What do you want to do with Python? Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: [OT] Security question

2016-12-22 Thread Rich Osman
Chris, I compliment you on your succint and accurate summary of the issue. Sounds like Frank's ISP is aspiring to be the next Yahoo... On December 22, 2016 4:33:52 AM CST, Chris Angelico wrote: >On Thu, Dec 22, 2016 at 9:10 PM, Frank Millman >wrote: >> What about the second part of my query? I

Understanding pdb result

2018-04-27 Thread Rich Shepard
(966)_find_and_load() (Pdb) My web search suggests that I need to import importlib, but doing so does not change the results. Please pass me a pointer to a resource that teaches me how to avoid this error. TIA, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: Understanding pdb result

2018-04-28 Thread Rich Shepard
traceback, please explain why you think you need to use pdb and what error you think you are getting, because I have no clue. See attached test.py. Rich#!/usr/bin/env python3 import wx #!/usr/bin/env python3 import sys, os, importlib import pdb import wx import wx.grid import sqlalchemy

Re: Understanding pdb result [RESOLVED]

2018-04-28 Thread Rich Shepard
On Sat, 28 Apr 2018, Rich Shepard wrote: The menu does not display, only the frame and status bar. Fixed the problem: I had neglected to attach the menu bar to the frame. Mea culpa! Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: The perils of multiple Pythons

2018-04-30 Thread Rich Shepard
python3 -m venv ~/development/project/' to install it in a directory with existing modules? Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: The perils of multiple Pythons

2018-04-30 Thread Rich Shepard
e the case after reading the python docs about the venv module. Thanks! Rich -- https://mail.python.org/mailman/listinfo/python-list

venv: make installed modules visible

2018-05-01 Thread Rich Shepard
library doc page (section 28.3) without seeing how to make installed modules (such as wxPython, psycopg2, and SQLAlchemy visible in the virtual environment. I suspect that EnvBuilder is involved but I'm not seeing how to apply this class ... if that's how modules are made visible in t

Re: venv: make installed modules visible

2018-05-01 Thread Rich Shepard
On Tue, 1 May 2018, Paul Moore wrote: Maybe you need --system-site-packages? Paul, Thank you. I changed pyvenv.cfg to 'include-system-site-packages = true'. Regards, Rich -- https://mail.python.org/mailman/listinfo/python-list

Re: venv: make installed modules visible

2018-05-01 Thread Rich Shepard
On Tue, 1 May 2018, Dennis Lee Bieber wrote: Did you miss: Dennis, Yes, I did. Mea culpa, Rich -- https://mail.python.org/mailman/listinfo/python-list

  1   2   3   4   >