Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 19,960
» Latest member: llarkin6
» Forum threads: 38,729
» Forum posts: 175,534

Full Statistics

Online Users
There are currently 49 online users.
» 2 Member(s) | 42 Guest(s)
Applebot, Bing, Google, AOL, llarkin6, buran

Latest Threads
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: llarkin6
33 minutes ago
» Replies: 0
» Views: 14
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
3 hours ago
» Replies: 1
» Views: 622
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
3 hours ago
» Replies: 6
» Views: 4,847
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
6 hours ago
» Replies: 1
» Views: 1,517
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Today, 03:53 AM
» Replies: 1
» Views: 2,570
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Today, 12:32 AM
» Replies: 0
» Views: 221
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 01:49 PM
» Replies: 2
» Views: 420
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
Yesterday, 03:45 AM
» Replies: 3
» Views: 503
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-24-2025, 02:48 PM
» Replies: 10
» Views: 29,806
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,649

 
  Python requests.get() returns broken source code instead of expected source code?
Posted by: FatalPythonError - Sep-20-2018, 06:05 PM - Forum: Web Scraping & Web Development - Replies (3)

Made a request on the above Wikipedia page. Specifically I need to scrape "results matrix" from https://en.wikipedia.org/wiki/2017%E2%80%9318_La_Liga#..... More

Print this item

  Layout for Webpage Setup?
Posted by: WuchaDoin - Sep-20-2018, 05:31 PM - Forum: Web Scraping & Web Development - Replies (5)

I am looking to create a locally hosted webpage using python and I am trying to wrap my head around a few things. Wall

1. If Python would be ..... More

Print this item

  Web Scrapers Rosetta Stone
Posted by: Larz60+ - Sep-20-2018, 05:15 PM - Forum: News and Discussions - Replies (6)

This has got to be the best cheat sheet I have ever found on web scraping: http://bit.ly/gTd5oc
So helpful!

Print this item

  How to Use Temboo with Python
Posted by: jmc687 - Sep-20-2018, 04:12 PM - Forum: Tutorial Requests and Submissions - No Replies

Temboo makes it easy to build Python applications that connect to over 100 web-based resources and services (e.g. Facebook, Dropbox, US Census data) b..... More

Print this item

  Time based loops
Posted by: Owenix - Sep-20-2018, 03:34 PM - Forum: General Coding Help - Replies (4)

Having a hard time figuring out how to make timeloops.

The goal is having a text flicker on screen every even number of seconds (2,4,6 etc..)
This..... More

Print this item

  Pyhton and SQL Lite3 Data Queries
Posted by: compumarsh - Sep-20-2018, 02:07 PM - Forum: General Coding Help - Replies (4)

Guys, I am new to Python and would like to ask for assistance.
I am busy with a database using forms.
One of the things I have is a button on the fo..... More

Print this item

  Pands DataFrame merge question
Posted by: FORTITUDE - Sep-20-2018, 01:14 PM - Forum: General Coding Help - No Replies

Hi,

I am learning Python and trying to combine two DataFrame together which has same Index and columns.

So I have two DataFrame A and B

DataF..... More

Print this item

  how to include characters in a diagram with matplotlib
Posted by: atlass218 - Sep-20-2018, 11:37 AM - Forum: Data Science - Replies (4)

Hello;
I created an application with which if I click on the button "save", there is creation of a text file in which I save data in columns. among t..... More

Print this item

  Py_Initialize Crash with Python 3.6
Posted by: paulhbm - Sep-20-2018, 09:56 AM - Forum: General Coding Help - No Replies

We have had Python 2.7 embedded in our software for some time. We have been going through the process of embedding Python 3.6. We have always relied..... More

Print this item

  how to find a particular id using python and bs4
Posted by: Prince_Bhatia - Sep-20-2018, 08:17 AM - Forum: Web Scraping & Web Development - Replies (3)

hi,

I am creating a webscraper and scraping some images. Now problem is that id i am looking has some number endswith and same text startswith.

..... More

Print this item

  decode base64 with python give error
Posted by: thailq - Sep-20-2018, 06:51 AM - Forum: General Coding Help - Replies (3)

I have this code like this
[python]
if str1 in content_email:
print('test thử coi sao')
aaa= '5paw44GX..... More

Print this item

  Memory assignation problem (maybe?)
Posted by: Erasmus - Sep-20-2018, 03:22 AM - Forum: General Coding Help - Replies (3)

...So when I do something like this:

n=int(float(input("enter a positive integer:"))
print(n)
Then I give him the number..... More

Print this item

  Serving mixed filenames with send_from_directory() errors out.
Posted by: nikos - Sep-20-2018, 03:11 AM - Forum: Web Scraping & Web Development - No Replies

In an html form i have a user selecting a filename, which then i tried to send to his browser. Here is the code:

[python]
filename = request.for..... More

Print this item

  idle flips my dictionary
Posted by: shayhi - Sep-20-2018, 02:31 AM - Forum: General Coding Help - Replies (2)

I am using idle 3.4.3's interactive shell
If I put in the following code into the python interactive shell it reverses the dictionary spam and i don'..... More

Print this item

  Thread for serial Reading shows an error
Posted by: eabs86 - Sep-20-2018, 01:44 AM - Forum: GUI - No Replies

I created a python interface to display some information on the screen while collecting data through the serial port. The communication is made with a..... More

Print this item

  Equivalent of BREAK command
Posted by: vasaq - Sep-20-2018, 01:37 AM - Forum: General Coding Help - Replies (2)

Hello folks
I am new to this forum. I hope I am not breaking any posting rules here.
I have been looking at the equivalent of the matlab- BREAK comm..... More

Print this item

  Geany editor
Posted by: Mike429W - Sep-20-2018, 12:47 AM - Forum: General Coding Help - Replies (2)

I'm very new at Python and the Geany text editor. When I tried to save a file, the following message popped up:

[b]Error saving file.
Error rena..... More

Print this item

  python3 BS4 help
Posted by: freaknez - Sep-19-2018, 11:55 PM - Forum: Web Scraping & Web Development - Replies (1)

[python]
import os
import requests
from bs4 import BeautifulSoup

url = "http://localhost/test.php"
html = requests.get(url)
soup = BeautifulSo..... More

Print this item

  How to use Del with list
Posted by: slashdotblake - Sep-19-2018, 11:42 PM - Forum: Homework - Replies (13)

I am doing a basic practice exercise and am having issues resolving the Chop function. The goal is to use a function called Chop that removes the firs..... More

Print this item

  python 3 and unique matrix
Posted by: frame - Sep-19-2018, 09:02 PM - Forum: Data Science - Replies (4)

I have 3 magic squares like this:

2,7,6
9,5,1
4,3,8

(The Sum is: 15)
-----

2,9,4
7,5,3
6,1,8

(The Sum is: 15)

2,11,5
9,6,3
7,1..... More

Print this item

  Looping problem using Selenium
Posted by: smk90 - Sep-19-2018, 08:48 PM - Forum: Web Scraping & Web Development - No Replies

Hi,
I am trying to use Python with Selenium recursively loop through a list and provide a cumulative value of a metric for each 'match' in a list. Al..... More

Print this item

  Showing Indentetion Problem
Posted by: ranjit - Sep-19-2018, 07:43 PM - Forum: General Coding Help - Replies (1)

mylist = [1,2,4,2,1,1,3,1,4,4,5]
def array_check(list):
for item in list:
if item==1:
a=True
elif item==2:
..... More

Print this item

  Selenium stale element reference
Posted by: test - Sep-19-2018, 07:09 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello again!
So, i am able to run selenium again, now that i have recovered from the "fatal error"[/u[url=https://python-forum.io/thread-12940.html]..... More

Print this item

  bug
Posted by: ScriptingNub - Sep-19-2018, 06:32 PM - Forum: General Coding Help - Replies (2)

Good (for the time being Big Grin )afternoon!

So i would like some help fixing this (probably) easy script - as my user suggests im a scripting ..... More

Print this item

  string manipulation
Posted by: Avarage_Joe - Sep-19-2018, 06:28 PM - Forum: General Coding Help - Replies (3)

Hi,

I have a string like so: string = "27.116.56.0 27.116.59.255 43.230.209.0 43.230.209.255"

how would you go from it to this format: string = "27...... More

Print this item

  Fatal error?
Posted by: test - Sep-19-2018, 05:10 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello!
So i have been working with python on Ubuntu which i boot from a pendrive on a computer whose hard disk is corrupted. I had taken the pen-drive..... More

Print this item

  Game doesn't work after pause
Posted by: Owenix - Sep-19-2018, 04:27 PM - Forum: Game Development - Replies (2)

Hi there, i'm new to python and just started Pygame this week, learning via working on a Pong project.
Long story short, i have the pong game working..... More

Print this item

  What to focus on next?
Posted by: WuchaDoin - Sep-19-2018, 04:09 PM - Forum: News and Discussions - Replies (8)

Apologies if this may seem like a broad question, but I am new to python-about 2 weeks in fact-and I chose to learn Python to re-write a invoice syste..... More

Print this item

  Software Disenchantment
Posted by: nilamo - Sep-19-2018, 03:58 PM - Forum: News and Discussions - Replies (4)

http://tonsky.me/blog/disenchantment/

Article talks about how hardware is getting more and more powerful, so the same programs can do essentially t..... More

Print this item

  Displaying image on PC using Arduino and Python
Posted by: GallowMilk - Sep-19-2018, 02:26 PM - Forum: General Coding Help - Replies (1)

First of all, I am new to python.
I have arduino connected to my PC. I have a few button interfaced with my arduino. When a button is pressed I want ..... More

Print this item

  long computer use posture
Posted by: metulburr - Sep-19-2018, 12:26 PM - Forum: Bar - Replies (38)

I have been having issues sitting at the computer for extended periods of time. Maybe i am getting older Naughty . Whenever i sit at the computer ..... More

Print this item

  help with making an application
Posted by: Radu97 - Sep-19-2018, 10:59 AM - Forum: General Coding Help - Replies (2)

Hi, newbie here. I just started to learn python a couple of days ago, so everything is very much still new to me. I wanted to learn python for myself,..... More

Print this item

  Tests are not running .Dont why
Posted by: shankar - Sep-19-2018, 10:57 AM - Forum: General Coding Help - Replies (3)

[python]
class Circle:

def __init__(self,radius):
try:
if(isinstance(radius,float)):
y=[x / 10.0 fo..... More

Print this item

  Need help with itertools.islice()
Posted by: Charles1 - Sep-19-2018, 10:03 AM - Forum: General Coding Help - Replies (2)

Hi,

I recently came across this function but can't make sense of the arguments.
The documentation gives the declaration as below and examples.
[url=h..... More

Print this item

  Battleships game in python with tkinter
Posted by: Togeh - Sep-19-2018, 10:00 AM - Forum: Homework - Replies (6)

I am doing my best to create a battleships game in python with tkinter.

Currently the board consists of a list with lists of "~" and "around" it i..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Unable to resolve FileNot... 33 minutes ago llarkin6 llarkin6 General Codin...
  Is the interpreter that c... 3 hours ago helendamdam noisefloor General Codin...
  pdf file processing: how ... 3 hours ago Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 6 hours ago P212 Biks News and Disc...
  Using Python to SSH and R... Today, 03:53 justaguy SprunkiRetake Networking
  My goal to be hired worki... Today, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... Yesterday, 13:49 Perry DeaD_EyE General Codin...
  [Tkinter] how to export a... Yesterday, 03:45 RonR Pedroski55 GUI
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
Most views
  The best Prog... 576996
  Tutorial Requ... 499715
  Web Scraping ... 440751
  Newbie with P... 384733
  New Users Int... 368789
Most reputation
buran 581
snippsat 508
Larz60+ 452
Gribouillis 362
deanhystad 327
Most replies
  New Users Int... 451
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12088
buran 8176
snippsat 7367
deanhystad 6895
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
llarkin6 Today
Xuitar Today
SprunkiRetake Today
GnomeSweetGnome Yesterday
alxpetrovo2272 Yesterday

User Panel Messages

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