#C + Python

1 messages · Page 1 of 1 (latest)

stoic hawk
stuck thistleBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.

stoic hawk
#
 # our math expression
    our_string = str(input())
    our_string_utf = our_string.encode('utf-8')
    print('here0')
    # parsing math expression to infix
    parser.parse.arguments = [ctypes.c_char_p]
    print('here1')
    parser.parse(our_string_utf)
    change_file_name("infix")
    # creating string with postfix
    postfix = infix_to_postfix()

    postfix_utf = postfix.encode('utf-8')
    parser.parse.arguments = [ctypes.c_char_p]
#
python polish_notation.py
PARSER_INFIX WAS SUCCESSFULLY LOADED
2 + 2
here0
here1
make: *** [Makefile:8: run] Error -1073740791
#

on this line parser.parse(our_string_utf) I got this Error -1073740791 (as I understood memory error)

stoic hawk
#

btw if u run python .\polish_notation.py it gives you here0 here1 and quit without any error

#

Im fucking dumb and just didnt create the folder manually (and have no idea why already created folder on PC didnt went on git"

#

!close