Re: Problems with Python

2022-05-31 Thread dn
On 01/06/2022 00.00, Howard Samuels via Python-list wrote: > Good day > I am new to programming.  I have signed up for a virtual online course and > installed Python using Anaconda as well as jupyter notebook. I encountered > problems & then went to YouTube tried going directly to the python webs

Re: Problems with Python

2022-05-31 Thread Howard Samuels via Python-list
Good day I am new to programming.  I have signed up for a virtual online course and installed Python using Anaconda as well as jupyter notebook. I encountered problems & then went to YouTube tried going directly to the python website and used Pycharm. When I used pycharm and try to run the first

Re: Problems with Python install on Windows 10

2020-01-13 Thread Eryk Sun
On 1/13/20, Mike Weaver wrote: > > I've tried downloading from https://www.python.org/downloads/windows/ > (the Windows x86-64 executable installer > ) > and running that. Again says it is installed - but it clearly isn't. Maybe you

Re: Problems with Python documentation [Re: Don't feed the troll...]

2013-06-17 Thread Joel Goldstick
On Mon, Jun 17, 2013 at 6:50 PM, Steven D'Aprano < steve+comp.lang.pyt...@pearwood.info> wrote: > On Mon, 17 Jun 2013 07:41:54 -0700, rurpy wrote: > > > On 06/17/2013 01:23 AM, Chris Angelico wrote: > >> On Mon, Jun 17, 2013 at 3:04 PM, Ferrous Cranus > >> wrote: > >>> The only thing i'm feeling

Re: Problems with python and pyQT

2013-05-28 Thread Dave Angel
On 05/28/2013 05:41 AM, silusilus...@gmail.com wrote: Thanks for your reply: very useful!! I have another question: with hex command i display (for example) 0x1 is it possible to display 0x01? hex() is a function, not a command. And it only takes the one parameter, the int to be converted.

Re: Problems with python and pyQT

2013-05-28 Thread silusilusilu
Thanks for your reply: very useful!! I have another question: with hex command i display (for example) 0x1 is it possible to display 0x01? Thanks Il giorno lunedì 27 maggio 2013 15:10:24 UTC+2, Chris “Kwpolska” Warrick ha scritto: > On Mon, May 27, 2013 at 11:26 AM, wrote: > > > Hi, > > > i

Re: Problems with python and pyQT

2013-05-27 Thread Chris “Kwpolska” Warrick
On Mon, May 27, 2013 at 11:26 AM, wrote: > Hi, > i'm new with python: so excuse me for my questions > i have this code: > > def updateLog(self, text): > self.ui.logTextEdit.moveCursor(QTextCursor.End) > self.ui.logTextEdit.insertHtml(""+text) > self.ui.logTextEdit.

Re: PROBLEMS WITH PYTHON IN SOME VARIABLE,FUNCTIONS,ETC.

2008-04-10 Thread John Nagle
[EMAIL PROTECTED] wrote: > I am using Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v. > 1310 32 bit (Intel)] on win32 with IDLE 1.2.1 > My O/S is Windows XP SP2 I use 512 MB RAM. > I am encountering the following problems: > (i) a1=1 > a2=2 > a3=a1+a2 > print a3 > # The result

Re: PROBLEMS WITH PYTHON IN SOME VARIABLE,FUNCTIONS,ETC.

2008-04-09 Thread Gabriel Genellina
En Thu, 10 Apr 2008 02:59:24 -0300, <[EMAIL PROTECTED]> escribió: > I am getting the comments. So any one can post any comment like > Steve knows nothing of Python. > California has still lot to catch up to be at par with Mesopatamia. > comp.lang.python seems a group of fools. > Anyhow, all I lea

Re: PROBLEMS WITH PYTHON IN SOME VARIABLE,FUNCTIONS,ETC.

2008-04-09 Thread cokofreedom
Umm, Mesopotamia is an area geographically located between the Tigris and Euphrates rivers, Bangalore isn't anywhere near that. And most of that is presently under American control. If you don't want to give out your code then try explaining it better. What is the input, what is the output, how ar

Re: PROBLEMS WITH PYTHON IN SOME VARIABLE,FUNCTIONS,ETC.

2008-04-09 Thread subhabrata . iisc
I am getting the comments. So any one can post any comment like Steve knows nothing of Python. California has still lot to catch up to be at par with Mesopatamia. comp.lang.python seems a group of fools. Anyhow, all I learnt take whichever suits and ignore rest many people have lot of time to carr

Re: PROBLEMS WITH PYTHON IN SOME VARIABLE,FUNCTIONS,ETC.

2008-04-09 Thread Marc 'BlackJack' Rintsch
On Wed, 09 Apr 2008 16:16:14 +0200, Diez B. Roggisch wrote: > And then you reply telling us about the greatness of Bangalore and your > product to come. Which is somewhat amusing that people who claim to produce > the greatest software being incapable of debugging it deems me as odd - to > say the

Re: PROBLEMS WITH PYTHON IN SOME VARIABLE,FUNCTIONS,ETC.

2008-04-09 Thread Diez B. Roggisch
[EMAIL PROTECTED] schrieb: > Hi Steve, > comp.lang.python is supposed to be a serious group not anyone knowing > nothing and giving comment. Well, original code snippet I don't know > why an expert person like you fails to understand, I told it almost > can't you guess the next portion? And this

Re: PROBLEMS WITH PYTHON IN SOME VARIABLE,FUNCTIONS,ETC.

2008-04-09 Thread Steve Holden
Diez B. Roggisch wrote: [...] > And then come back and post self-contained examples of whatever behavior you > observe, and this community will be as helpful as it is. But we can't read > sense in anything you posted so far, despite the best efforts. So unless > that changes, you won't be helped he

Re: PROBLEMS WITH PYTHON IN SOME VARIABLE,FUNCTIONS,ETC.

2008-04-09 Thread Diez B. Roggisch
[EMAIL PROTECTED] wrote: > I thought if you know then only you can help. I am waiting for a > knowledgeable answer from a knowledgeable person. I think I can show a ALL the answers you got here so far indicate that you did NOT give enough details to actually answer the question. Moreover, you cla

Re: PROBLEMS WITH PYTHON IN SOME VARIABLE,FUNCTIONS,ETC.

2008-04-09 Thread Gabriel Genellina
On 9 abr, 10:27, [EMAIL PROTECTED] wrote: > comp.lang.python is supposed to be a serious group not anyone knowing > nothing and giving comment. Anyone is welcome to post in this group - from beginners to gurus, and that's a very good thing. All people here is usually very kind and helpful, and th

Re: PROBLEMS WITH PYTHON IN SOME VARIABLE,FUNCTIONS,ETC.

2008-04-09 Thread subhabrata . iisc
Hi Steve, comp.lang.python is supposed to be a serious group not anyone knowing nothing and giving comment. Well, original code snippet I don't know why an expert person like you fails to understand, I told it almost can't you guess the next portion? Tough indeed, then. I've to take permission from

Re: PROBLEMS WITH PYTHON IN SOME VARIABLE,FUNCTIONS,ETC.

2008-04-09 Thread Steve Holden
[EMAIL PROTECTED] wrote: [...] > If you know anyone in Bangalore, India expert in python kindly > send him across I can show him the problem in my machine and Indian > Institute of Science(IISc-locally known as TATA INSTITUTE) is a > distinguished place.Any one should know it. > I am in no mood of

Re: PROBLEMS WITH PYTHON IN SOME VARIABLE,FUNCTIONS,ETC.

2008-04-09 Thread subhabrata . iisc
Dear Sir, Thank you for taking time out to answer. For (i) It is happening. On trial it ran so well that when on demonstration I got questions from tester, I felt amazed. For (ii) For answer no.2 I'll check str.find. For (iii) Well I said you most of crawler's algorithm. It works like a MS IE synch

Re: PROBLEMS WITH PYTHON IN SOME VARIABLE,FUNCTIONS,ETC.

2008-04-08 Thread Gabriel Genellina
2008/4/8, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: >> I am using Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v. >> 1310 32 bit (Intel)] on win32 with IDLE 1.2.1 >> My O/S is Windows XP SP2 I use 512 MB RAM. En Tue, 08 Apr 2008 06:02:00 -0300, Vladimir Kropylev <[EMAIL PROTECTED]> escri

Re: PROBLEMS WITH PYTHON IN SOME VARIABLE,FUNCTIONS,ETC.

2008-04-08 Thread Robert Bossy
Hi, First thing, I appreciate (and I'm positive we all do) if you DID'N YELL AT ME. [EMAIL PROTECTED] wrote: > I am using Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v. > 1310 32 bit (Intel)] on win32 with IDLE 1.2.1 > My O/S is Windows XP SP2 I use 512 MB RAM. > I am encountering the

Re: PROBLEMS WITH PYTHON IN SOME VARIABLE,FUNCTIONS,ETC.

2008-04-08 Thread cokofreedom
> > I have a car. I have turned the ignition key but it fails to start. > Please tell me what is wrong with it. > The engine is missing! Am I close? -- http://mail.python.org/mailman/listinfo/python-list

Re: PROBLEMS WITH PYTHON IN SOME VARIABLE,FUNCTIONS,ETC.

2008-04-08 Thread Steve Holden
[EMAIL PROTECTED] wrote: > I am using Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v. > 1310 32 bit (Intel)] on win32 with IDLE 1.2.1 > My O/S is Windows XP SP2 I use 512 MB RAM. > I am encountering the following problems: > (i) a1=1 > a2=2 > a3=a1+a2 > print a3 > # The result

Re: PROBLEMS WITH PYTHON IN SOME VARIABLE,FUNCTIONS,ETC.

2008-04-08 Thread cokofreedom
'I have designed a program with more than 500 if elif else' This was your first mistake... (ii) x3=x1.find(x2) returns an integer corresponding to the start position in x1 where it found x2, otherwise it will return -1. (i) ... what kind of vague numbers? It should just give you an integer res

Re: PROBLEMS WITH PYTHON IN SOME VARIABLE,FUNCTIONS,ETC.

2008-04-08 Thread Vladimir Kropylev
yes, ths is known problem. I can just recomend you to use Linux or FreeBSD, though cygwin maybe also possible 2008/4/8, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > I am using Python 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v. > 1310 32 bit (Intel)] on win32 with IDLE 1.2.1 > My O/S is Window

Re: Problems with Python 2.5 installer.

2006-10-13 Thread paw
> > Could this happen if c:\python does not exists and creating it fails for > > some reason, or if permissions are incorrect? > > Are you installing it as a "normal" user or as an Administrator? I have > occasionally had problems (not when installing Python) as a "normal" > user not being allowed

Re: Problems with Python 2.5 installer.

2006-09-29 Thread John Machin
Matthew Warren wrote: > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On > Behalf Of paw > Sent: 29 September 2006 11:01 > To: python-list@python.org > Subject: Re: Problems with Python 2.5 installer. > > > John Machin wrote: >

RE: Problems with Python 2.5 installer.

2006-09-29 Thread Matthew Warren
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of paw Sent: 29 September 2006 11:01 To: python-list@python.org Subject: Re: Problems with Python 2.5 installer. John Machin wrote: > paw wrote: > > I have ran the MSI installer for Python 2.5 seve

Re: Problems with Python 2.5 installer.

2006-09-29 Thread paw
John Machin wrote: > paw wrote: > > I have ran the MSI installer for Python 2.5 several times attempting to > > install to C: > > Python, however all of the files are placed in C:\ . The installer is > > told to only install files for me, beyond that I have only chosen the > > defaults. > > What

Re: Problems with Python 2.5 installer.

2006-09-25 Thread John Machin
paw wrote: > I have ran the MSI installer for Python 2.5 several times attempting to > install to C: > Python, however all of the files are placed in C:\ . The installer is > told to only install files for me, beyond that I have only chosen the > defaults. What do you mean by "install to C: Pyt

Re: Problems with Python 2.5 installer.

2006-09-25 Thread Martin v. Löwis
paw schrieb: > Google turned up nothing useful that I could find, is anyone else > seeing this problem? I haven't heard of it before. Please run the file with msiexec /i python-2.5.msi /l*v python.log and post the resulting python.log in a bug report at sf.net/projects/python. Regards, Martin -

Re: Problems with Python for Windows extensions

2005-09-07 Thread Kartic
The Great 'KK' uttered these words on 9/7/2005 7:57 AM: > Hello, > I guess you could reproduce my problem, Kartic. I have tried the one u > suggested, but sadly it didn't work for me. I think the COM of pywin is > quite tricky, or it might be a bug. I have some friends who also had > experience of

Re: Problems with Python for Windows extensions

2005-09-07 Thread KK
Hello, I guess you could reproduce my problem, Kartic. I have tried the one u suggested, but sadly it didn't work for me. I think the COM of pywin is quite tricky, or it might be a bug. I have some friends who also had experience of weird behaviors of pywin32, which makes me skeptical of using it i

Re: Problems with Python for Windows extensions

2005-09-04 Thread Kartic
Hi, Invoking Execute as shown below works.. I have no explanation why your VB to Py converted code did not work. wdFindContinue = 1 objSelection.Find.Execute('Contosa', False, True, False, False, True, True, wdFindContinue, True, 'Fabrikam', wdReplaceAll, False, False, False, False) This find

Re: Problems with Python for Windows extensions

2005-09-04 Thread KK
thx for ur reply u r rite that i should use a raw string, but that doesn't solve the problem i am q annoyed by this strange behaviour. i tried to run the script on my friend's pc, which is python2.4 + pywin 204 + office 2000, but same thing happened now i am thinking to generate a vbs from python

Re: Problems with Python for Windows extensions

2005-09-03 Thread vincent wehren
"KK" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] | the code below is taken from M$ technet as an example on using vb | script to do a replace all in word: | | Const wdReplaceAll = 2 | | Set objWord = CreateObject("Word.Application") | objWord.Visible = True | | Set objDoc =

Re: problems with python 2.4 help

2005-07-16 Thread gene tani
ipython and pyshell? http://www.onlamp.com/pub/a/python/2005/01/27/ipython.html http://www.wxpython.org/PyManual.html -- http://mail.python.org/mailman/listinfo/python-list

Re: problems with python 2.4 help

2005-07-15 Thread Do Re Mi chel La Si Do
Hi ! See : http://www.gossamer-threads.com/lists/python/bugs/350314 -- http://mail.python.org/mailman/listinfo/python-list

Re: problems with python 2.4 help

2005-07-15 Thread Brian van den Broek
[EMAIL PROTECTED] said unto the world upon 15/07/2005 14:50: > I've noticed that the listings in help don't take you to correct topic. > > anyone else have this problem? Is there a fix? > I'm not sure from your question what exact problem you are experiencing. Do you mean: IDLE 1.1.1 >>> hel

Re: Problems with python and threads under Freebsd

2005-02-08 Thread Andrew MacIntyre
snacktime wrote: After debugging this some more I narrowed it down to an encryption function in pycrypto that is triggering the segfault. I posted a bug report. Don't really know enough about threading to know whether it's a python bug or a pycrypto bug, but I'll let someone else sort that out no

Re: Problems with python and threads under Freebsd

2005-02-07 Thread snacktime
After debugging this some more I narrowed it down to an encryption function in pycrypto that is triggering the segfault. I posted a bug report. Don't really know enough about threading to know whether it's a python bug or a pycrypto bug, but I'll let someone else sort that out now.. Chris -- ht

Re: Problems with python and threads under Freebsd

2005-02-07 Thread snacktime
This is a followup with some more information. The program is written in twisted and I posted this to twisted-python also. The freebsd list wants a more detailed backtrace, which even with python compiled with OPT -g and --with-pydebug isn't happening for some reason. The script below calls a bl

Re: Problems with python and threads under Freebsd

2005-02-07 Thread Stefan Schwarzer
snacktime wrote: > I am consistantly getting seg faults and bus errors when running a > multi threaded python application under 5.3-release-p2. Python was > built from the port(python 2.4) with threading enabled. I had similar problems some time ago. The solution/workaround was to remove the thre