K
K
Ken Jee2015-08-19 14:13:38
WordPress
Ken Jee, 2015-08-19 14:13:38

How to add xmlproc to python?

I am new to Python.
This is the line where the error occurs: Error text:
from xml.parsers.xmlproc import xmlproc

ImportError: No module named 'xml.parsers.xmlproc'

Tell me how to add the module I need (I'm using Windows 8.1 x64)?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Igor Vorotnev, 2019-02-19
@HeadOnFire

To get started:
1. Don't use -1 on posts_pet_page, it's bad practice. Use more than enough, but a limited number, like 100.
2. $args2 = new WP_Query some kind of illogical variable name, where $posts or $places are requested.
3. Show the withdrawal cycle. Most likely the problem is there.

V
VitStar, 2019-02-19
@VitStar

The problem was in the Post Types Order plugin, since it also added menu_order to the request.

X
xSkyFoXx, 2015-08-19
@xSkyFoXx

Um... 10 years since deprecated and removed from the standard library.
Describe your task in more detail, I will help you find an alternative.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question