RE: Issue in installing python

2021-10-16 Thread Abhi R
Hello Welcome to the Python Mailing List. Images will not get rendered on a Mailing List. Can you please copy- paste the error you're seeing as text? Regards [1]Abhiram Sent from [2]Mail for Windows From: [3]Kaviya Vadivel Sent: 17 October 2021 01:16 T

pytube problem

2020-04-15 Thread Abhi Bajpai
Respected sir or mam.. I am facing issue related to pytube there is always problem with youtube module please look into this and try to solve it... I have to submit project.. and now all depends on you. Sent from Mail for Windows 10 -- https://ma

Installation Error (0xc000007b)

2019-12-10 Thread Abhi Patel
i'm getting the error message while installing python in my dell laptop. ERROR: the application was unable to start (0xc07b). Close the application Please help -- https://mail.python.org/mailman/listinfo/python-list

Re: Problem in PyArg_ParseTuple on python 2.5.2 with AIX

2009-07-27 Thread abhi
On Jul 27, 2:25 pm, John Machin wrote: > On Jul 27, 5:11 pm, abhi wrote: > > > Hi, > >     I am facing a problem using PyArg_ParseTuple() in my C-API > > extension. Here is a small repro of the function: > > > static PyObject *parsetuple_te

Problem in PyArg_ParseTuple on python 2.5.2 with AIX

2009-07-27 Thread abhi
Hi, I am facing a problem using PyArg_ParseTuple() in my C-API extension. Here is a small repro of the function: static PyObject *parsetuple_test(PyObject *self, PyObject *args) { SQLUSMALLINT param_no = 0; PyObject *py_obj = NULL; if (!PyArg_ParseTuple(args, "Oi", &py

Re: Unicode problem in ucs4

2009-03-25 Thread abhi
On Mar 24, 4:55 am, "Martin v. Löwis" wrote: > > So, both Py_UNICODE and wchar_t are 4 bytes and since it contains 3 > > \0s after a char, printf or wprintf is only printing one letter. > > No. printf indeed will see a terminating character. However, wprintf > should correctly know that a wchar_t

Re: Unicode problem in ucs4

2009-03-23 Thread abhi
On Mar 23, 4:57 pm, abhi wrote: > On Mar 23, 4:37 pm, "M.-A. Lemburg" wrote: > > > > > On 2009-03-23 11:50, abhi wrote: > > > > On Mar 23, 3:04 pm, "M.-A. Lemburg" wrote: > > > Thanks Marc, John, > > >          With your

Re: Unicode problem in ucs4

2009-03-23 Thread abhi
On Mar 23, 4:37 pm, "M.-A. Lemburg" wrote: > On 2009-03-23 11:50, abhi wrote: > > > > > On Mar 23, 3:04 pm, "M.-A. Lemburg" wrote: > > Thanks Marc, John, > >          With your help, I am at least somewhere. I re-wrote the code > > to c

Re: Unicode problem in ucs4

2009-03-23 Thread abhi
On Mar 23, 3:04 pm, "M.-A. Lemburg" wrote: > On 2009-03-23 08:18, abhi wrote: > > > > > On Mar 20, 5:47 pm, "M.-A. Lemburg" wrote: > >>> unicodeTest.c > >>> #include > >>> static PyObject *unicode_

Re: Unicode problem in ucs4

2009-03-23 Thread abhi
On Mar 20, 5:47 pm, "M.-A. Lemburg" wrote: > On 2009-03-20 12:13, abhi wrote: > > > > > > > On Mar 20, 11:03 am, "Martin v. Löwis" wrote: > >>> Any idea on why this is happening? > >> Can you provide a complete example? Your code

Re: Unicode problem in ucs4

2009-03-20 Thread abhi
On Mar 20, 11:03 am, "Martin v. Löwis" wrote: > > Any idea on why this is happening? > > Can you provide a complete example? Your code looks correct, and should > just work. > > How do you know the result contains only 't' (i.e. how do you know it > does not contain 'e', 's', 't')? > > Regards, >

Unicode problem in ucs4

2009-03-19 Thread abhi
Hi, I have a C extension, which takes a unicode or string value from python and convert it to unicode before doing more operations on it. The skeleton looks like: static PyObject *unicode_helper( PyObject *self, PyObject *args){ PyObject *sampleObj = NULL; Py_UNICODE *sample = NULL

Re: Problems in Using C-API for Unicode handling

2009-01-13 Thread abhi
On Jan 13, 12:17 pm, Terry Reedy wrote: > abhi wrote: > > Hi, > >     I am trying to handle Unicode objects in C (Python 2.5.2). I am > > getting PyObjects from and want to coerce them to unicode objects. The > > documentation provides two APIs for that: > &g

Problems in Using C-API for Unicode handling

2009-01-12 Thread abhi
Hi, I am trying to handle Unicode objects in C (Python 2.5.2). I am getting PyObjects from and want to coerce them to unicode objects. The documentation provides two APIs for that: PyUnicode_FromEncodedObject(PyObject *obj, const char *encoding, const char *errors) PyUnicode_FromObject(PyObj