[Tutor] Could anyone provide a complex data processing automation testing example

2017-04-20 Thread John R
Hi All,

Most of the examples in google are looking simple in automation so I am not
getting an understanding of  how a complex data processing application is
to be tested using python. Can anyone please provide some real time
examples for my
understanding?

Thanks In advance
91-9886754545
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


[Tutor] What are the few senarios of data science testing using Python

2017-04-20 Thread John R
Hi All,

I am just trying to understand that how it is possible to
frame test cases on data science projcets using python! could anyone
provide few sample real time senarios? I searched in google but couldnot
find anything suitable to my need. If anyone works on this type
of projects they can help me out


Thanks in advance,

John R
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


[Tutor] How to do a PyQt VTK application in Python26

2015-02-19 Thread John R
Is it possible to make a PyQt VTK application using Python26?

My first sample Qt VTK application is not running!! And my VTK compiled Bin
folder is python 26 compiled dll files and Win32 bit

The error is


Traceback (most recent call last):
  File EmbedInPyQt.py, line 5, in module
from PyQt4 import QtCore, QtGui
ImportError: DLL load failed: %1 is not a valid Win32 application.


Due to this bug I searched in internet for PyQt4 Installer downloading
versions and those are supporting
Python34 and higher as PyQt4 exe
(http://www.riverbankcomputing.com/software/pyqt/download)

 Is there any way can I run my sample QT-VTK application using python 26?
OR should I go after python 34??

could anyone please help me soon?
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] How to do a PyQt VTK application in Python26

2015-02-19 Thread John R
Thanks Alan for suggesting Python 3.4, that seems to be correct but I am
searching for any possibilities with python 2.6

Thank you guys for responding, I should try some other forum.
On 19 Feb 2015 16:37, Alan Gauld alan.ga...@btinternet.com wrote:

 On 19/02/15 09:54, John R wrote:

 Is it possible to make a PyQt VTK application using Python26?


 No idea. What is a PyQt VTK application?
 I know what PyQt is but never heard of VTK

 Is there a web site? Does it have a support area?
 Perhaps they can help?

  The error is

 Traceback (most recent call last):
File EmbedInPyQt.py, line 5, in module
  from PyQt4 import QtCore, QtGui
 ImportError: DLL load failed: %1 is not a valid Win32 application.


 It sounds like you may have a dependency issue and need to
 install something. But since its not Python or its standard
 library I can't guess what. The best place to ask will be
 a PyQt and/or a VTK forum.

  Due to this bug I searched in internet for PyQt4 Installer downloading
 versions and those are supporting
 Python34 and higher as PyQt4 exe
 (http://www.riverbankcomputing.com/software/pyqt/download)

   Is there any way can I run my sample QT-VTK application using python 26?
 OR should I go after python 34??


 Its unlikely that a version for 3.4 will work on 2.6. There are too many
 incompatible differences. Try using Python 3.4.


 --
 Alan G
 Author of the Learn to Program web site
 http://www.alan-g.me.uk/
 http://www.amazon.com/author/alan_gauld
 Follow my photo-blog on Flickr at:
 http://www.flickr.com/photos/alangauldphotos


 ___
 Tutor maillist  -  Tutor@python.org
 To unsubscribe or change subscription options:
 https://mail.python.org/mailman/listinfo/tutor

___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
https://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] Random Number Game: Returns always the same number - why?

2013-05-20 Thread John R Jones
You need to move this line:

Random_Number = random.randint(1, 100)

into the loop body, like this:


while Count = 100:
 Random_Number = random.randint(1, 100)
 print (Random_Number)
 Count = Count + 1

 Hope this helps.



On Mon, May 20, 2013 at 9:31 AM, Rafael Knuth rafael.kn...@gmail.comwrote:

 Hello,

 I wrote a simple program, and I was expecting that I would get 100
 different random numbers. Instead, I am getting 100 times exactly the same
 random number. Can anyone advise how I should alter my program?

 Thank you!

 All the best,

 Rafael
 PS. I am using Python 3.3.0

 print (

 This game will return 100 random numbers between 1 and 100.

 )

 import random

 Count = 0

 Random_Number = random.randint(1, 100)

 while Count = 100:
 print (Random_Number)

 Count = Count + 1


 ___
 Tutor maillist  -  Tutor@python.org
 To unsubscribe or change subscription options:
 http://mail.python.org/mailman/listinfo/tutor




-- 
John R Jones   n71...@gmail.com
10814 Des Moines Ave,  Porter Ranch, CA 91326
818-378-6206 cell/text,  310-531-8300 work, 424-234-9213 voicemail
___
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor