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
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
Thank you. I will get back to you on that shortly.
Bob
--
https://mail.python.org/mailman/listinfo/python-list
? 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
nly postings I have recently
seen from him have been on the Tutor list.
--
boB
--
https://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
The length of the list produced by the comprehension also give you good
information.
--
https://mail.python.org/mailman/listinfo/python-list
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
this year.
--
boB
--
https://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
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
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
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
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
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
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
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
:> 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
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():
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
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
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
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
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
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 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
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
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
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
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
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
terminal you
want.
Amen!!!
--
Wishing you only the best,
boB Stepp
--
https://mail.python.org/mailman/listinfo/python-list
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
> 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
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
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
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
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
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?
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
to build it as efficiently and robustly as we can.
Thanks,
Bob
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
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
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
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
as accurate as os.path.getsize()?
Thanks guys,
Bob
--
http://mail.python.org/mailman/listinfo/python-list
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
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
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
suggest a more reasonable value?
Thanks in advance.
Bob Parnes
--
Bob Parnes
[EMAIL PROTECTED]
--
http://mail.python.org/mailman/listinfo/python-list
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
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
"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:
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
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
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
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
"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
"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
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
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
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
doing that), and some ??? call in Linux? Could
use both.
Thanks!
Bob
--
http://mail.python.org/mailman/listinfo/python-list
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,
"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
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
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
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
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
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
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
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
201 - 300 of 621 matches
Mail list logo