Thank you all for your answers. I do not have a teacher or any body else who
could guide me. I have taken all python classes offered in my area and many on
line.
The question is one of questions asked by interviews for a qa position that
also does some automation with python. Im just trying to l
Hi Dilip,
This error has nothing to do with Python or it's versions.
OS does not have the support for these unicode characters. You need to fix
that.
> filename = "මේක තියෙන්නේ සිංහලෙන්.txt"
> Why can't I get Python to print the name out?
>
> filename = "මේක තියෙන්නේ සිංහලෙන්.txt"
> Unsupported
On Fri, Jul 22, 2016 at 01:08:02PM +0530, DiliupG wrote:
> I am using Python 2.7.12 on Windows 10
Two errors:
- first error is that Unicode strings in Python 2 need to be written as
unicode objects, with a "u" prefix in the delimiter:
# ASCII byte string:
"Hello World"
# Unicode string:
u"මේක
On Fri, Jul 22, 2016 at 7:38 AM, DiliupG wrote:
> I am using Python 2.7.12 on Windows 10
>
> filename = u"මේක තියෙන්නේ සිංහලෙන්.txt"
> Unsupported characters in input
That error message is from IDLE. I'm not an expert with IDLE, so I
don't know what the following hack potentially breaks, but it d
On Mon, Jul 25, 2016 at 10:28 AM, Steven D'Aprano wrote:
> I know that Linux and Mac OS X both use UTF-8 for filenames, and so support
> all
> of Unicode. But Windows, I'm not sure. It might be localised to only use
> Latin-1
> (Western European) or similar.
Windows filesystems (e.g. NTFS, ReFS
Dear Experts,
I was too optimistic. Module jdcal ist indeed installed.
However, I get another trace back concerning et_xmlfile even after I
downloaded and saved it the same way as I did with jdcal.
Since I havent got any responses to my previous calls for help my problem
might be too un
On 25/07/16 19:59, marcus lütolf wrote:
> The command >pip install was rejected as SyntaxError : invalid syntax.
> Thanks for any kind of help, Marcus.
If you get a syntax error that suggests you are running it
from the Python >>> prompt.
That's wrong. You should run pip from the command prompt
Hello Marcus,
I'm afraid it is very difficult for me to understand your email. Your
email contains weird control characters as shown here:
On Mon, Jul 25, 2016 at 08:59:50PM +0200, marcus lütolf wrote:
> Dear Experts,
>
> I was too optimistic. Module jdcal ist indeed installed.
> However, I
On Tue, Jul 26, 2016 at 4:39 AM, DiliupG wrote:
> I am reading in a list of file names with the following code.
>
> def get_filelist(self):
> ""
> app = QtGui.QApplication(sys.argv)
> a = QtGui.QFileDialog.getOpenFileNames()
>
> filelist = []
> if a: