log file

Luuk luuk34 at gmail.com
Sun Mar 24 06:38:00 EDT 2019


On 24-3-2019 09:50, Sharan Basappa wrote:
>
> Ah. I finally solved the issue though I don't know what the problem itself it.


The problem, shown with a simple example

Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 22:20:52) [MSC v.1916 
32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
 >>>
 >>> print ("hallo")
hallo
 >>> print ("h\allo")
hllo
 >>> print (r"h\allo")
h\allo
 >>>

The first line is a simple print statement to print the text "hallo"   
(which is Dutch for "hello")

In the second line i added a '\' (backslash), the letter 'a' seems to be 
missing, unless audio on your computer works. If audio works you will 
hear a bell.
(see: https://docs.python.org/2.0/ref/strings.html )

In the third line a 'r' is put in front of the string, and now the 'a' 
is shown again (and also the '\').


In your path there is something like '.......programs\assertion\CNN......'.

Python does see a '\a', after 'programs', and before 'ssertion', and 
tries to sound a 'bell'....







More information about the Python-list mailing list