Search Results
|
Post |
Author |
Forum |
Replies |
Views |
Posted
[asc]
|
|
|
Thread: Unable to scrape more than one URL with this code
Post: RE: Unable to scrape more than one URL with this c...
(Nov-18-2020, 11:56 AM)Anarab Wrote: What is the error it giving you?
Traceback (most recent call last):
File "/usr/lib/python3.8/site-packages/urllib3/connection.py", line 159, in _new_conn
c... |
|
SamLearnsPython |
Web Scraping & Web Development |
2 |
1,986 |
Nov-19-2020, 07:08 PM |
|
|
Thread: Unable to scrape more than one URL with this code
Post: Unable to scrape more than one URL with this code
Solved!
Hi I am trying to scrape a directory but my code is only scraping the first URL and throws an error for the URLs to follow. I've checked if my URLs are fine or not and all of them are okay. I... |
|
SamLearnsPython |
Web Scraping & Web Development |
2 |
1,986 |
Nov-16-2020, 07:27 AM |
|
|
Thread: Is there a python function to get t-statistic?
Post: RE: Is there a python function to get t-statistic?
Thank you. That is very helpful. I will try working with and will post if I run into any problems |
|
SamLearnsPython |
Data Science |
2 |
1,751 |
Dec-18-2019, 06:26 AM |
|
|
Thread: Is there a python function to get t-statistic?
Post: Is there a python function to get t-statistic?
Hi. I'm not very experienced with python but would like to know if this is possible. Is there a premade python function to get the t-statistic? I'm would want a t table like this albeit the difference... |
|
SamLearnsPython |
Data Science |
2 |
1,751 |
Dec-18-2019, 05:49 AM |
|
|
Thread: How to upload images after first paragraph ends instead of uploading them at the end?
Post: How to upload images after first paragraph ends in...
In the below script, how do I upload images after the first paragraph ends instead of uploading it right at the very end.
I want the layout as
paragraph1
Images
Other paragraphs
Here is my script... |
|
SamLearnsPython |
Web Scraping & Web Development |
0 |
1,962 |
Sep-15-2018, 06:53 AM |
|
|
Thread: Unable to send text via sendkeys
Post: RE: Unable to send text via sendkeys
|
SamLearnsPython |
Web Scraping & Web Development |
1 |
3,878 |
Sep-08-2018, 11:19 AM |
|
|
Thread: Unable to send text via sendkeys
Post: Unable to send text via sendkeys
Hi. This is a script to add image and text to wordpress. The adding images part works alright but I am unable to send the text via document.send_keys(my_text) because I get the selenium.common.excepti... |
|
SamLearnsPython |
Web Scraping & Web Development |
1 |
3,878 |
Sep-06-2018, 04:13 AM |
|
|
Thread: wordpress-python-xmlrpc. I can import 1 file. How do I import the entire folder?
Post: wordpress-python-xmlrpc. I can import 1 file. How ...
Im learning xmlrpc. I am able to import 1 image at a time. How do I import all images in a folder into a post?
from wordpress_xmlrpc import Client, WordPressPost
from wordpress_xmlrpc.compat import x... |
|
SamLearnsPython |
General Coding Help |
0 |
3,274 |
Jul-05-2018, 06:21 AM |
|
|
Thread: XMLRPC 'client' error
Post: RE: XMLRPC 'client' error
(Jul-03-2018, 09:17 PM)nilamo Wrote: (Jul-03-2018, 05:06 PM)SamLearnsPython Wrote: I dont know if sharing these IPs is considered good or bad so i've been changing [the ip address] to 'localhost' ... |
|
SamLearnsPython |
General Coding Help |
19 |
15,971 |
Jul-04-2018, 11:51 AM |
|
|
Thread: XMLRPC 'client' error
Post: RE: XMLRPC 'client' error
Thank you! That worked perfectly. Honestly thank you so much for helping me. |
|
SamLearnsPython |
General Coding Help |
19 |
15,971 |
Jul-03-2018, 06:45 PM |
|
|
Thread: XMLRPC 'client' error
Post: RE: XMLRPC 'client' error
That worked! I checked the site and the post is saved as draft with the title and content i inputted.
I'm unsure what the number after wp.call is though
Output:>>> wp.call(NewPost(post))
'7... |
|
SamLearnsPython |
General Coding Help |
19 |
15,971 |
Jul-03-2018, 06:23 PM |
|
|
Thread: XMLRPC 'client' error
Post: RE: XMLRPC 'client' error
That did solve the problem but I'm getting an error at wp.call now
(env) sam@sam-H81M-S ~ $ python3
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyrigh... |
|
SamLearnsPython |
General Coding Help |
19 |
15,971 |
Jul-03-2018, 06:05 PM |
|
|
Thread: XMLRPC 'client' error
Post: RE: XMLRPC 'client' error
No it did not work out.
sam@sam-H81M-S ~ $ python3 -m venv env
sam@sam-H81M-S ~ $ source ./env/bin/activate
(env) sam@sam-H81M-S ~ $ python3
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 ... |
|
SamLearnsPython |
General Coding Help |
19 |
15,971 |
Jul-03-2018, 05:06 PM |
|
|
Thread: XMLRPC 'client' error
Post: RE: XMLRPC 'client' error
Nope still didnt work
(env) sam@sam-H81M-S ~ $ python3
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more informati... |
|
SamLearnsPython |
General Coding Help |
19 |
15,971 |
Jul-03-2018, 01:39 PM |
|
|
Thread: XMLRPC 'client' error
Post: RE: XMLRPC 'client' error
Both the XMLRPC documentation page and Wordpress documentation page state
Quote:XML-RPC functionality is turned on by default since WordPress 3.5. In previous versions of WordPress, XML-RPC was user ... |
|
SamLearnsPython |
General Coding Help |
19 |
15,971 |
Jul-03-2018, 06:01 AM |
|
|
Thread: XMLRPC 'client' error
Post: RE: XMLRPC 'client' error
But it's telling me its already installed?
sam@sam-H81M-S ~ $ python3 -m venv env
sam@sam-H81M-S ~ $ source ./env/bin/activate
(env) sam@sam-H81M-S ~ $ pip install python-wordpress-xmlrpc
Requirement... |
|
SamLearnsPython |
General Coding Help |
19 |
15,971 |
Jul-02-2018, 06:53 PM |
|
|
Thread: XMLRPC 'client' error
Post: RE: XMLRPC 'client' error
Getting this error
Error:wp = Client(wp_url, wp_username, wp_password)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/sam/env/lib/python3.5/site-p... |
|
SamLearnsPython |
General Coding Help |
19 |
15,971 |
Jul-02-2018, 01:42 PM |
|
|
Thread: XMLRPC 'client' error
Post: XMLRPC 'client' error
I'm trying to create a wordpress post through XMLRPC but getting this error
(env) sam@sam-H81M-S ~ $ python3
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "... |
|
SamLearnsPython |
General Coding Help |
19 |
15,971 |
Jul-02-2018, 11:58 AM |
|
|
Thread: 1. How can I automate this batch creation of documents? 2. How can I automate posting
Post: 1. How can I automate this batch creation of docum...
I want to create and upload hundreds of posts to local Wordpress and want to know if the following is possible.
I have a few hundred documents each containing ~250 words of written content. And in se... |
|
SamLearnsPython |
General Coding Help |
2 |
3,444 |
Jul-01-2018, 12:49 PM |