OT - need help with PHP

2019-02-01 Thread Bob Gailer
is to urllib. request have failed. I can't even figure out how to sign up for a PHP email list. Help with either of the above would be welcome. Bob Gailer -- https://mail.python.org/mailman/listinfo/python-list

Re: OT - need help with PHP

2019-02-01 Thread bob gailer
T data, which can lead to enormously long POST data. I can successfully use GET to send very short .wav files, but the url length limit is quickly reached for a reasonable length recording. Trying to use the POST ability that allows me to specify the file by path fails at the vendor side. Apology

Re: OT - need help with PHP

2019-02-02 Thread Bob Gailer
Thank you. I will get back to you on that shortly. Bob -- https://mail.python.org/mailman/listinfo/python-list

Re: Im trying to replicate the youtube video Creating my own customized celebrities with AI.

2019-02-10 Thread Bob Gailer
? At a command prompt type pip install packagename. I suggest you switch from l...@python.org to h...@python.org. Bob Gailer -- https://mail.python.org/mailman/listinfo/python-list

Re: The slash "/" as used in the documentation

2019-02-11 Thread boB Stepp
nly postings I have recently seen from him have been on the Tutor list. -- boB -- https://mail.python.org/mailman/listinfo/python-list

Re: ajax with pyside webview

2019-02-19 Thread Bob Gailer
I assume you are referring to QT webview. "ajax via jquery does not work." Can you be more specific? what is the evidence that it's not working? It sounds like you've got a server running on your Local Host. What does the server tell you about its side of that Ajax request? -- https://mail.pyth

Re: How to store scores of a race's players

2019-03-26 Thread Bob Gailer
On Mar 26, 2019 6:55 AM, "^Bart" wrote: > > Hello! > > I need to store scores of three players for more than a race, after every race the user will read "Is the competition finished?", if the competition if finished the user will see the winner who got higest score: > Thank you for reaching out to

Re: How to store scores of a race's players

2019-03-26 Thread Bob Gailer
Please do not use a mangled return email address. It causes us a lot of pain when we fail to read your address to fix it and get the message bounced back. The only reason I'm even bothering to resend it is because I put a lot of work into it.: > On > Mar 26, 2019 6:55 AM, "^Bart" wrote: > > > > He

Re: Python running issues

2019-04-19 Thread Bob Gailer
please copy everything from the command you entered through the end of the error message. Then paste that into a reply email. Also let us know what your operating system is. Be sure to reply all so a copy goes to the list. Bob Gailer On Apr 19, 2019 6:56 PM, "Kiranpreet Kaur" wro

Re: Do I need a parser?

2019-06-29 Thread bob gailer
I might be able to help. I'd need to understand a bit more about the configuration and scripting languages. Do you have any reference material? Or some way to look up the titration device on the internet? -- Bob Gailer -- https://mail.python.org/mailman/listinfo/python-list

Re: List comprehension strangeness

2019-07-22 Thread Bob Gailer
The function IMHO must be returning a generator. I would look for a problem in the generator code. -- https://mail.python.org/mailman/listinfo/python-list

Re: List comprehension strangeness

2019-07-22 Thread Bob Gailer
The length of the list produced by the comprehension also give you good information. -- https://mail.python.org/mailman/listinfo/python-list

Re: Remote/Pair-Programming in-the-cloud

2019-08-02 Thread boB Stepp
dth is often less capable than what I have at home. Also I believe it is a paid service. boB -- https://mail.python.org/mailman/listinfo/python-list

Re: Friday Finking: 'main-lines' are best kept short

2019-09-13 Thread boB Stepp
this year. -- boB -- https://mail.python.org/mailman/listinfo/python-list

Re: Python shows error on line 15 that i cant fix

2019-09-21 Thread boB Stepp
mentals. Otherwise you are essentially Easter-egging through a code sample that you have no true understanding of. If you must continue to Easter-egg Python instead of reading the tutorial (or something equivalent) then check the section of the tutorial on files. You will find examples of the use of "with" there. -- boB -- https://mail.python.org/mailman/listinfo/python-list

Re: Python shows error on line 15 that i cant fix

2019-09-21 Thread boB Stepp
es to read the tutorial (or > relevant parts of it) as that teaches you some things you have to know > in order to use Python. I'm sorry that rather than do that you chose to > react poorly to the good advice you were given. Thank you very much Michael and Chris! That was very k

Re: Friday finking: TDD and EAFP

2019-11-01 Thread boB Stepp
later if I am refactoring my code in the direction I am trying to coerce it to go for the end product. I am probably far from thinking/coding in a proper Pythonic fashion, but the TDD back-and-forth process seems to get me closer to being Pythonic. -- boB -- https://mail.python.org/mailman/listinfo/python-list

Re: How execute at least two python files at once when imported?

2019-11-05 Thread Bob Gailer
On Nov 5, 2019 1:35 PM, "Spencer Du" wrote: > > Hi > > I want to execute at least two python files at once when imported but I dont know how to do this. Currently I can only import each file one after another but what i want is each file to be imported at the same time. Can you help me write the c

Re: Looking for python pentest scripts

2019-11-10 Thread Bob Gailer
Try Googling python pentesting. That will give you some relevant links. On Nov 10, 2019 6:40 AM, "nixuser" wrote: > Hello, > > can someone tell about good resource for python related pentesting > scripts? > any extensive list? > > Thanks > -- > https://mail.python.org/mailman/listinfo/python-lis

Re: Friday finking: TDD and EAFP

2019-11-18 Thread boB Stepp
rement of functionality -- How small and ugly the changes can be to make the new tests run -- How often the tests are run -- How many teensy-weensy steps make up the refactorings" -- boB -- https://mail.python.org/mailman/listinfo/python-list

Re: Implementing CURL command using libcurl in C/C++

2019-12-13 Thread Bob Gailer
This list is for Python, not C/C++. On Dec 13, 2019 3:50 AM, "Karthik Sharma" wrote: > The `CURL` command that I am using is shown below. > > curl -F 'file=@/home/karthik/Workspace/downloadfile.out' > http://127.0.0.1:5000/file-upload --verbose > > The response from the server is shown below

Re: Python3 - How do I import a class from another file

2019-12-13 Thread boB Stepp
writing Python code, for your own > future reference. A question: As these behaviors being discussed are CPython implementation details, is it true that CPython itself is free to implement these behaviors differently in its own future versions? -- boB -- https://mail.python.org/mailman/listinfo/python-list

Re:

2020-01-17 Thread Bob Gailer
end me > that software direct link Try this link: Windows x86-64 executable installer <https://www.python.org/ftp/python/3.8.1/python-3.8.1-amd64.exe> Bob Gailer -- https://mail.python.org/mailman/listinfo/python-list

Re: A small quiz

2020-01-24 Thread boB Stepp
On Thu, Jan 23, 2020 at 2:57 AM Z wrote: > > what is PLR? Python Language Reference? https://docs.python.org/3/reference/index.html Or, perhaps, Python Library Reference? https://docs.python.org/3/library/index.html -- boB -- https://mail.python.org/mailman/listinfo/python-list

Re: no explanation towards not installing my application//

2020-02-03 Thread Bob Gailer
s putting the program? Exactly what did you do to try to open python? Exactly what results did you get? Bob Gailer -- https://mail.python.org/mailman/listinfo/python-list

Re: Need Help Urgently

2020-02-26 Thread Bob Gailer
meone to write the program for you then one of us will be glad to act as a paid consultant and do that for you. Bob Gailer -- https://mail.python.org/mailman/listinfo/python-list

Re: Python download for windows

2020-03-09 Thread Bob Gailer
On Mar 9, 2020 5:22 AM, "Hilary Ilsley" wrote: > > Hello > > We have been asked to download python so our daughter can complete her homework, only once we have down loaded it keeps going to "set up" and even after completing "modify" or "repair" it goes back to set up. You're getting that respons

Re: Python download for windows

2020-03-09 Thread Bob Gailer
:> You talk only about downloading - and the link you gave leads to the download page as a whole, so we can't guess the OS you - or your daughter - use. the subject line explicitly states "download for Windows" Bob Gailer -- https://mail.python.org/mailman/listinfo/python-list

Re: Please Help! Absolute Novice - New Job, have this task.

2020-03-18 Thread bob gailer
ou should first address the issue of actually doing something that will take a little time. Also it is not a good idea to duplicate code, so I would put those 2 lines in a function and call that function from 2 places. Am I going in the right direction? Am I missing something? class Application():

Re: How to uninstall Python3.7 in Windows using cmd ?

2020-03-27 Thread boB Stepp
lick on it and you will get repair/uninstall links. Earlier versions of Windows are similarly done. HTH! -- boB -- https://mail.python.org/mailman/listinfo/python-list

Re: about to resolve problem in installation

2020-03-31 Thread boB Stepp
DLE (Much more), but you will need to have a beginner's Python book or tutorial to guide you in what to do next. By the way, there is a Python Tutor list that exists to help newcomers to Python and/or programming. Its subscription page may be found at: https://mail.python.org/mailm

Re: Fwd: Troubling running my Python

2020-04-08 Thread bob gailer
have 'repaired' itself when I ran the setup again but the interpreter still won't run. Is there a reason for this? Do you require a screenshot? Which operating system are you using? Exactly what do you do to "run the intepreter"? Copy and paste your actions and any message

Re: Fwd: Troubling running my Python

2020-04-08 Thread bob gailer
3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:37:50) [MSC v.1916 64 bit (AMD64)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> Bob Gailer -- https://mail.python.org/mailman/listinfo/python-list

Re: Helping Windows first time users

2020-04-18 Thread boB Stepp
etup similarly to launch the program being installed. This is a little different as IDLE is not Python, but that is a minor quibble, I think. -- boB -- https://mail.python.org/mailman/listinfo/python-list

Re: Issues regarding the download

2020-04-18 Thread Bob Gailer
not accept attachments so you will have to copy and paste any text you want to share with us. Bob Gailer -- https://mail.python.org/mailman/listinfo/python-list

Re: What variable type is returned from Open()?

2020-04-18 Thread boB Stepp
re is no point in annotating it. Can you give guidelines or point to a good article how to best and most efficiently use type annotation without over-annotating? Bear in mind that I have yet to fully grasp all of what mypy (What I am currently using.) can correctly infer from the code. -- boB -- https://mail.python.org/mailman/listinfo/python-list

Re: Helping Windows first time users

2020-04-19 Thread boB Stepp
On Sun, Apr 19, 2020 at 4:30 AM Barry Scott wrote: > > > > > On 18 Apr 2020, at 21:00, boB Stepp wrote: > > > > On Wed, Apr 15, 2020 at 2:04 PM Barry Scott wrote: > >> What are your thoughts on the installer changes and reply text? > > > > I w

Re: Getting the dependencies of a function from a library

2020-04-20 Thread Bob Gailer
uestion as to whether or not this is a turing complete problem. If you succeed in coming up with a sample input and output then how about trying to write a program to process that input to get that output. Post those results to this list and we'll see what we can do to help you. Bob gailer

Re: Error 0x80070643

2020-04-29 Thread Bob Gailer
one on the list gets to see your response. Also let us know where you got the installer from and exactly what you did to try to install from it. Bob Gailer -- https://mail.python.org/mailman/listinfo/python-list

Re: Not able use installed modules

2020-05-08 Thread boB Stepp
This may be a naive question on my part, but, as far as I can tell, most instructions that I have encountered for installing Python packages state the installation instructions as "pip install ...", which seems to repeatedly lead to these type of OP questions. Has there ever been given tho

Re: Not able use installed modules

2020-05-09 Thread Bob Gailer
On May 8, 2020 2:15 PM, "boB Stepp" wrote: [snip] > This may be a naive question on my part, but, as far as I can tell, most > instructions that I have encountered for installing Python packages state the > installation instructions as "pip install ...", which seems

Re: Help with installation please

2020-05-17 Thread boB Stepp
terminal you want. Amen!!! -- Wishing you only the best, boB Stepp -- https://mail.python.org/mailman/listinfo/python-list

Re: Can't run program

2020-05-19 Thread Bob Gailer
and whatever error messages you got, or whatever "still having problems" means. I'm pretty sure this list does not take attachments, so you either need to copy and paste what you might have typed and any results from that, or put images in a place like pastebin and give us the link. Bob Gailer -- https://mail.python.org/mailman/listinfo/python-list

Re: Python Curses Programming HowTo -reviewers?

2020-06-16 Thread Bob Gailer
> If anyone feels keen please reply and I'll forward a copy. I'm interested please forward me a copy. Bob Gailer -- https://mail.python.org/mailman/listinfo/python-list

Re: python installation help

2020-07-10 Thread Bob Gailer
on you're trying to install, What you tried, Results you got that you weren't expecting. Don't attach screenshots as they probably won't come through. Bob Gailer -- https://mail.python.org/mailman/listinfo/python-list

Re: help

2020-07-17 Thread boB Stepp
is a Python Tutor mailing list designed for those learning Python. Also, the main Python website has documentation, lists of resources, tutorial, etc., to also help jumpstart your learning. Have fun! HTH! -- boB -- https://mail.python.org/mailman/listinfo/python-list

A Python installation help doc much more friendly to newcomers? [Was Re: help]

2020-07-17 Thread boB Stepp
d, but I truly believe that is a minority. Can we make this easier for those who really would like to try? Just some thoughts that I hope will be constructively received. -- boB -- https://mail.python.org/mailman/listinfo/python-list

Re: Issue with Python installation for a beginner Python coder.

2020-07-31 Thread boB Stepp
LE after multiple tries. Have you looked in your start menu in the list of installed programs for Python? If it is there did you expand it and see if there is an entry for IDLE? How have you been trying (unsuccessfully) to open IDLE? -- boB -- https://mail.python.org/mailman/listinfo/python-list

Re: Module import question

2020-08-09 Thread Bob Gailer
On Aug 9, 2020 11:41 AM, "Mats Wichmann" wrote: > > On 8/9/20 12:51 AM, Gabor Urban wrote: > > Hi guys, > > > > I have a quite simple question but I could not find the correct answer. > > > > I have twoo modules A and B. A imports B. If I import A in a script, Will > > be B imported automatically?

Re: Problem

2020-10-01 Thread boB Stepp
f it does it would put the new user into a program where they might actually start doing something useful. The person who does not want such a desktop shortcut can uncheck that default option. -- Wishing you only the best, boB Stepp -- https://mail.python.org/mailman/listinfo/python-list

Re: Best way to determine user's screensize?

2020-10-30 Thread boB Stepp
tra-wide monitor: I open external beam planning window for patient #1, resize it. Open same for next patient -- must resize once again (...and again, and again, ...). -- Wishing you only the best, boB Stepp -- https://mail.python.org/mailman/listinfo/python-list

Re: How can I make this more complex?

2020-11-09 Thread Bob Gailer
On Nov 9, 2020 5:59 PM, "Quentin Bock" wrote: > > grade = input("Enter your grade: ") > if grade >= 90: > print("You got an A ") > if grade >= 80: > print("You got a B ") > if grade >= 70: > print("You got a C") > if grade >= 60: > print("You got a D ") > if grade >= 50: > prin

Re: How to start using python

2020-11-12 Thread Bob Gailer
python. You also might try from a terminal or command prompt typing py, which should start up a python Interactive session. You should see>>> type 2 + 3 hit enter you should see a new line displaying five. Let us know how it goes and we'll give you a hand from there. Bob Gailer -- h

Re: How to start using python

2020-11-13 Thread Bob Gailer
I am not feeling well these days. It is sometimes difficult for me to respond to others the way I would like to. This is a long reply; in my humble opinion is important to read all of it 1-whenever you respond to an email from one of us please include the help list what you can do by reply-all si

Re: try/except in loop

2020-11-27 Thread Bob Gailer
eems to catch the first > throw, but the loop I think continues, throws the error again, and that > second throw is not caught. > It would appear that get items is a generator which uses the token exactly once when it is first started; subsequent calls to the generator all use the same token. You need to test the token; if it fails, obtain a new one, then start the loop. Bob Gailer > -- https://mail.python.org/mailman/listinfo/python-list

Re: Unable to download

2020-12-09 Thread Bob Gailer
download it. Please help. What OS are you using? Exactly what did you do to download? Exactly what did the error.message say? Bob Gailer > -- https://mail.python.org/mailman/listinfo/python-list

Re: Library for text substitutions with calculations?

2020-12-15 Thread Bob Gailer
text substitution I > would > > like to be able to do some calculations: > > > > $value+1 - If value is 16 this would insert 17 in the text. I would also > > like to subtract. > > val = 2 print(f'{val+3}') 5 Bob Gailer -- https://mail.python.org/mailman/listinfo/python-list

Re: Pickling issue.

2020-12-21 Thread Bob Gailer
On Mon, Dec 21, 2020, 3:03 PM Vincent Vande Vyvre < vincent.vande.vy...@telenet.be> wrote: > Hi, > > I've an object that I want to serialise with pickle. > When I reload the object the attributes of this object are correctly > fixed except one of these. > > This attribute (value) define a simple s

Re: [Distutils] py2exe has a new maintainer

2005-10-04 Thread Bob Ippolito
these problems (given appropriate metadata), so I'd target integration with that first and then bring in the "legacy" support that py2app does pretty well. Requiring appropriate metadata from the packages themselves has a much brighter future than maintaining an external &quo

Zope newsgroups? Need help with POSKeyError

2004-12-31 Thread Bob Horvath
I have a Zope/Plone combination that I have been having POSKeyErrors with for a while now. Are there any newsgroups that deal with Zope? -- http://mail.python.org/mailman/listinfo/python-list

Re: Zope newsgroups? Need help with POSKeyError

2005-01-03 Thread Bob Horvath
Dan Stromberg wrote: On Sat, 01 Jan 2005 10:47:41 +1100, richard wrote: Bob Horvath wrote: I have a Zope/Plone combination that I have been having POSKeyErrors with for a while now. Are there any newsgroups that deal with Zope? No, but there is a mailing list - see zope.org Also, try google

windows mem leak

2005-01-08 Thread Bob Smith
Does the Win32 port of Python have a memory leak? I have some code that runs flawlessly on Linux, but bombs after a few hours on Windows. It's threaded and uses a lot of memory. Thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: windows mem leak

2005-01-08 Thread Bob Smith
Steve Holden wrote: Bob Smith wrote: Does the Win32 port of Python have a memory leak? I have some code that runs flawlessly on Linux, but bombs after a few hours on Windows. It's threaded and uses a lot of memory. Thanks! Yes, that's a well-known problem. Code that runs with a few e

Re: Windows XP Installation

2005-01-08 Thread Bob Smith
Smitsky wrote: Hi. I am a newbie to Python. I am running Win XP and want to know what the best course is for installing Python on my system. Could someone kindly direct me to some related resources? Thanks in advance, Steve It's really easy on Windows. Just download the install package and cli

Re: windows mem leak

2005-01-09 Thread Bob Smith
Peter Hansen wrote: Bob Smith wrote: Attached is the code. Run it yourself and see. You too Peter. Be gentle with me, this was my first attempt with threads. Thanks, Bob, and I will, but not before you answer some of my questions. I had good reasons to ask them, one of which is that I don't

Re: a new Perl/Python a day

2005-01-09 Thread Bob Smith
Scott Bryce wrote: Xah Lee wrote: frustrated constantly by its inanities and incompetences.) I don't see what this has to do with Perl. You're joking, right? -- http://mail.python.org/mailman/listinfo/python-list

Windows GUIs from Python

2005-01-11 Thread Bob Swerdlow
to build it as efficiently and robustly as we can. Thanks, Bob -- http://mail.python.org/mailman/listinfo/python-list

Re: a new Perl/Python a day

2005-01-11 Thread Bob Smith
Peter Maas wrote: Charlton Wilbur schrieb: "XL" == Xah Lee <[EMAIL PROTECTED]> writes: XL> i'll cross post to comp.lang.perl.misc and comp.lang.python. XL> If you spot mistakes, feel free to correct or discourse here. Error #1: crossposting to those two groups. (Error #2 is implying that

Re: protecting the python code.

2005-01-16 Thread Bob Smith
nell wrote: Hi Steve, First the "10x in advance" means thanks in advance. The main importance of protecting my code is to save headache of customers that want to be smart and change it and then complain on bugs and problems. 10x I'd say that's more of a policy issue than a technical issue. You have

Re: python mode indentation problem

2005-01-16 Thread Bob Smith
Xah Lee wrote: © ok, here's the ordeal. © © for i in range(5): © print i © for i in range(2): © print i, 'tt' © for i in [3]: © print i © for i in [32]: © print i © © # 1 level, 4 space © # 2 level, 1 tab © # 3 level, 1 tab, 4 spaces © # 4 level

file copy portability

2005-01-18 Thread Bob Smith
Is shutil.copyfile(src,dst) the *most* portable way to copy files with Python? I'm dealing with plain text files on Windows, Linux and Mac OSX. Thanks! -- http://mail.python.org/mailman/listinfo/python-list

Re: file copy portability

2005-01-18 Thread Bob Smith
John Machin wrote: Bob Smith wrote: Is shutil.copyfile(src,dst) the *most* portable way to copy files with Python? I'm dealing with plain text files on Windows, Linux and Mac OSX. Thanks! Portable what? Way of copying?? Do you want your files transferred (a) so that they look like native

list item's position

2005-01-19 Thread Bob Smith
its list position. The reason I need to find its value is so I can remove every element in the list before it so that the bar I found somewhere in the list becomes element 0... does that make sense? Thanks, Bob -- http://mail.python.org/mailman/listinfo/python-list

getting file size

2005-01-21 Thread Bob Smith
as accurate as os.path.getsize()? Thanks guys, Bob -- http://mail.python.org/mailman/listinfo/python-list

Re: [perl-python] 20050121 file reading & writing

2005-01-22 Thread Bob Smith
Xah Lee wrote: # reading entire file as a list, of lines # mylist = f.readlines() To do this efficiently on a large file (dozens or hundreds of megs), you should use the 'sizehint' parameter so as not to use too much memory: sizehint = 0 mylist = f.readlines(sizehint) -- http://mail.python.org

Re: [perl-python] 20050121 file reading & writing

2005-01-23 Thread Bob Smith
Erik Max Francis wrote: Bob Smith wrote: To do this efficiently on a large file (dozens or hundreds of megs), you should use the 'sizehint' parameter so as not to use too much memory: sizehint = 0 mylist = f.readlines(sizehint) It doesn't make any difference. .readlines reads

Re: Another scripting language implemented into Python itself?

2005-01-24 Thread Bob Smith
Rocco Moretti wrote: Python's also dangerous. Every time you do an "import module", you put your system at risk of crashing, having the hard-drive wiped Have you been drinking again? -- http://mail.python.org/mailman/listinfo/python-list

Maximum Number of Class Attributes

2005-01-25 Thread Bob Parnes
suggest a more reasonable value? Thanks in advance. Bob Parnes -- Bob Parnes [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo/python-list

Re: Maximum Number of Class Attributes

2005-01-29 Thread Bob Parnes
On Wed, 26 Jan 2005 10:03:47 +0100, Sylvain Thenault <[EMAIL PROTECTED]> wrote: > On Wed, 26 Jan 2005 02:03:12 +, Bob Parnes wrote: > >> In its default configuration, my version of pylint (0.5.0) sets the >> maximum number of class attributes at 7. This seems low to

Text() tags and delete()

2005-06-27 Thread Bob Greschke
Does Text.delete(0.0, END) delete all of the tags too? Everything says it does not delete marks, but nothing about tags. Thanks! Bob -- http://mail.python.org/mailman/listinfo/python-list

Re: Text() tags and delete()

2005-06-28 Thread Bob Greschke
"Christopher Subich" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Bob Greschke wrote: >> Does Text.delete(0.0, END) delete all of the tags too? Everything says >> it does not delete marks, but nothing about tags. > > Note to everyone else:

os.path.expanduser on Windows: UnicodeEncodeError

2005-07-18 Thread Bob Swerdlow
ath 957650, but I'm not familiar with how such fixes are processed. Is there a patch I can add to fix this? How do I know what version of Python it is fixed in - that is, will upgrading to Python 2.3.5 fix this? Thanks for your help, Bob Swerdlow VP Engineering Goombah - Music Discov

Re: Earthquake Forecasting Program July 11, 2005

2005-07-18 Thread Bob Officer
On Mon, 11 Jul 2005 08:31:31 GMT, in sci.geo.earthquakes, "edgrsprj" <[EMAIL PROTECTED]> wrote: >PROPOSED EARTHQUAKE FORECASTING >COMPUTER PROGRAM DEVELOPMENT EFFORT here we go again... EDG is not a computer programmer, nor is he a geologist... The best guess seems to be that he is he is crac

Re: Earthquake Forecasting Program July 11, 2005

2005-07-18 Thread Bob Officer
On Wed, 13 Jul 2005 23:39:46 GMT, in sci.geo.earthquakes, "Hank Oredson" <[EMAIL PROTECTED]> wrote: >"edgrsprj" <[EMAIL PROTECTED]> wrote in message >news:[EMAIL PROTECTED] >> "Hank Oredson" <[EMAIL PROTECTED]> wrote in message >> news:[EMAIL PROTECTED] >>> "edgrsprj" <[EMAIL PROTECTED]> wrote in

pySerial Windows write problem

2005-07-28 Thread Bob Greschke
as best I can, but no luck. Digging into the win32all stuff gets me lost quite quickly. I see all of the settings, but have no idea what to try. This is all on WinXP, Python 2.4.1, the latest pySerial and win32all. Does this ring any bells with anyone? Thanks! Bob -- http://mail.python.org/mailman/listinfo/python-list

Re: pySerial Windows write problem

2005-07-28 Thread Bob Greschke
"Peter Hansen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Bob Greschke wrote: > > But writing anything to the port >> quickly (not always right away...like maybe 5-6 iterations through the >> loop?) causes the >> >> win32f

Re: pySerial Windows write problem

2005-07-28 Thread Bob Greschke
"Peter Hansen" <[EMAIL PROTECTED]> wrote in message > > Actually, I'm curious why you don't do the same. I'd call it very unusual > (in my experience) to have a program open and close a serial port > repeatedly. Among other things, this means that the DSR/DTR lines are > toggling high and low

urllib2 bug?

2005-07-29 Thread bob sacamano
Certain pages cause urllib2 to go into an infinite loop when using readline(), but everything works fine if read() is used instead. Is this a bug or am I missing something simple? import urllib2 url = 'http://www.naylamp.com' f = urllib2.urlopen(url) i = 0 #this works fine when uncommented #pr

Tkinter, Menu(bar) font size

2005-08-01 Thread Bob Greschke
Courier 20") they change, but I can't figure out the name for the option_add. I'm not really trying to use Courier 20. :) Thanks! Bob -- http://mail.python.org/mailman/listinfo/python-list

Re: Tkinter, Menu(bar) font size

2005-08-02 Thread Bob Greschke
Yeah. It works on a Sun and Linux, but not Windows. That stinks. We got a bunch of 1400x1050 display laptops in and now I have to run around changing a bunch of programs that looked fine on 1024x768 displays. Thanks! <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Tk tries to u

Setting a drive's volume label

2005-08-02 Thread Bob Greschke
doing that), and some ??? call in Linux? Could use both. Thanks! Bob -- http://mail.python.org/mailman/listinfo/python-list

Re: Setting a drive's volume label

2005-08-02 Thread Bob Greschke
Looks like the "label" system command will do it in Windows. That's good enough for this exercise. So, in Linux...??? "Bob Greschke" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > ...the name for a drive (hard or removable) that shows up when,

Re: Setting a drive's volume label

2005-08-04 Thread Bob Greschke
"Reinhold Birkenfeld" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Bob Greschke wrote: >> Looks like the "label" system command will do it in Windows. That's good >> enough for this exercise. So, in Linux...??? > > &q

Tkinter add_cascade option_add

2005-09-13 Thread Bob Greschke
labels on the menu bar)? "*Menu*font" handles the part that drops down, but I can't come up with the menu bar labels part. Thanks! Bob -- http://mail.python.org/mailman/listinfo/python-list

Re: Tkinter add_cascade option_add

2005-09-14 Thread Bob Greschke
nt = "Helvetica 12 bold" in the add_cascade command OK (see below). The program runs on Windows, Linux, Solaris, Mac. Bob "Eric Brunel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Tue, 13 Sep 2005 22:31:31 -0600, Bob Greschke <[EMAIL PROTECTED]&g

Re: Tkinter add_cascade option_add

2005-09-15 Thread Bob Greschke
variable = MemUnitsRVar, value = "blocks") Op.add_separator() Op.add_checkbutton(label = "Wait For USB Drive Responses", \ variable = DriveRpCVar, command = Command(subCont, "C1,0", "drv", \ DriveRpCVar)) Op.add_sep

Re: [Py2exe-users] Re: Getting tired with py2exe

2005-09-20 Thread Bob Ippolito
been unfortunately useless implementing and evolving it). Right now, I think the packagers and the packages are at odds, because the packagers need metadata that the packages don't provide (in a pre-setuptools universe)... so right now users (or the packagers) need to know a lot of magic incantations to make the various complicated Python packages work, where with setuptools based packages the magic incantations are built-in :) -bob -- http://mail.python.org/mailman/listinfo/python-list

User Identification

2005-02-08 Thread Bob Parnes
I have a python program on a server of an all-linux network. It needs to record the user name running it. Is there a way for the program to extract the name from the system without a separate log-in dialog? Bob Parnes -- Bob Parnes [EMAIL PROTECTED] -- http://mail.python.org/mailman/listinfo

Re: User Identification

2005-02-09 Thread Bob Parnes
On Tue, 08 Feb 2005 12:29:48 -, Bob Parnes <[EMAIL PROTECTED]> wrote: > I have a python program on a server of an all-linux network. It needs to > record the user name running it. Is there a way for the program to extract > the name from the system without a separate log-in d

Tkinter option_add for menu radiobutton

2005-02-13 Thread Bob Greschke
he menu to be black...the x.add_radiobutton() ones. Root.option_add("*Menu.Radiobutton*selectColor", "black")...nope Root.option_add("*Menu*selectColor", "black")...no change Others...no luck yet. What would the correct command be? I can do

<    1   2   3   4   5   6   7   >