Python Forum
Search Results
Post Author Forum Replies Views Posted [asc]
    Thread: Python C API - Issue with string as arugments
Post: RE: Python C API - Issue with string as arugments

I have discovered a less efficient workaround. Output:I replaced the three calls to SetParameter() with this PyObject * arguments = Py_BuildValue("(sssi)", ipAddress1, ...
JRHeisey General Coding Help 2 2,803 Nov-27-2019, 11:55 PM
    Thread: Difference between Python's os.system and Perl's system command
Post: RE: Difference between Python's os.system and Perl...

https://docs.python.org/2/library/subpro...subprocess It seems that subprocess is closer to the Perl system command. The Python os.system() function invokes the system shell to launch the command. P...
JRHeisey General Coding Help 13 6,852 Nov-27-2019, 09:13 PM
    Thread: Python C API - Issue with string as arugments
Post: Python C API - Issue with string as arugments

Greetings, Using Python 3.4.3I am creating a PyUnicode string from a C string. I am passing this string as a argument to a Python function from C. In the setter function I can print out parameter. ...
JRHeisey General Coding Help 2 2,803 Nov-27-2019, 08:17 PM
    Thread: Embedded Python PyObject_CallObject function
Post: Embedded Python PyObject_CallObject function

It appears that PyObject_CallObject() always returns an PyObject pointer event when the Python function does not explicitly return a value or object. Assuming that the call is successful. One exampl...
JRHeisey General Coding Help 1 2,396 Nov-27-2019, 01:18 AM
    Thread: Python C API Forum
Post: Python C API Forum

I'm looking for an active forum dedicate to asking questions about the Python C API. Any suggestions? J.R.
JRHeisey News and Discussions 0 1,331 Nov-22-2019, 02:28 AM

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020