Linked Questions

2 votes
2 answers
344 views

I'm trying to use some of the simple unicode characters in a command line program I'm writing, but drawing these things into a table becomes difficult because Python appears to be treating single-...
Daniel Quinn's user avatar
  • 6,478
1 vote
3 answers
875 views

We are trying to read RFID tags using raspberry pi b+. We used following script in the python . import serial import time serial=serial.Serial("/dev/ttyUSB0", baudrate=2400) while True: if ...
ashwinbhy's user avatar
  • 610
2 votes
0 answers
848 views

Python newbie here. Currently writing a crawler for a lyrics website, and I'm running into this problem when trying to parse the HTML. I'm using BeautifulSoup and requests. Code right now is (after ...
pythonNoob's user avatar
0 votes
2 answers
790 views

from selenium import webdriver from bs4 import BeautifulSoup driver = webdriver.Chrome(executable_path = r'C:\chromedriver_win32\chromedriver.exe') driver.get('https://www.imdb.com/') html_doc = ...
Buddhika Chathuranga's user avatar
0 votes
1 answer
734 views

I am scraping a website that is rendering a JavaScript/JSON Object that looks like this: { "company": "\r\n \x3cdiv class=\"page-heading\"\x3e\x3ch1\x3eSEARCH RESULTS 1 - 40 OF 200\x3c/...
Abhay Bhargav's user avatar
1 vote
0 answers
542 views

using command $ret = shell_exec($command); results in $ret being null when $command returns string containing non-ascii characters (papír), but it works when $command returns string without non-ascii ...
sluki's user avatar
  • 605
1 vote
1 answer
330 views

I'm trying to store frequencies of words in a text in a Python dictionary. I apply some normalizations to the text to remove accent marks, symbols, punctuation, etc but after all of this the text ...
David Moreno García's user avatar
0 votes
0 answers
87 views

I am trying to pull data from salesforce however facing some issues while reading ascii characters.For example Original value in salesforce db 6 articles, plus 2 pieces of content labeled “expert ...
hampi2017's user avatar
  • 731
0 votes
1 answer
63 views

I'm trying to write some news headline into CSV using python CSV module and it seems that when there is an Apostrophe in a headline, such as 'What’s So Great About Snapchat Anyway?', then encode error ...
Ian Zhang's user avatar
  • 432

15 30 50 per page
1
2