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

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,266
» Latest member: tlandr02
» Forum threads: 38,788
» Forum posts: 175,853

Full Statistics

Online Users
There are currently 30 online users.
» 0 Member(s) | 27 Guest(s)
Bing, Google, Facebook

Latest Threads
Access keys and values fr...
Forum: General Coding Help
Last Post: buran
11 hours ago
» Replies: 3
» Views: 83
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 04:07 PM
» Replies: 2
» Views: 132
PermissionError: [Errno 1...
Forum: GUI
Last Post: deanhystad
Nov-15-2025, 02:42 PM
» Replies: 1
» Views: 85
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Nov-15-2025, 01:54 PM
» Replies: 1
» Views: 81
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Nov-15-2025, 01:00 PM
» Replies: 5
» Views: 334
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 57
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 88
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 320
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 176
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 281

 
  Frame size only works if frame is empty(Solved)
Posted by: Tuck12173 - Jan-29-2018, 05:45 PM - Forum: GUI - Replies (7)

I am trying to have a set frame size so I can place my widgets where I like them but the frame only seems to give me my dimensions when I comment out ..... More

Print this item

  Need Tip On Cleaning My BS4 Scraped Data
Posted by: digitalmatic7 - Jan-29-2018, 05:08 PM - Forum: Web Scraping & Web Development - Replies (2)

Hey guys Smile I'm having an issue cleaning and refining some scraped data.. here's a sample:

[python][<span data-class="timestamp">12h</span>,..... More

Print this item

  Issue with error handling
Posted by: Alberto - Jan-29-2018, 04:39 PM - Forum: Data Science - Replies (1)

Dear Python Users,

Sorry for bothering you with the posts. I am pretty new to programming. What I am trying to do is to promt user to enter 5 count..... More

Print this item

  python3 + Flask + SQLite = HTTP 400
Posted by: supertoy - Jan-29-2018, 03:43 PM - Forum: Web Scraping & Web Development - Replies (5)

I'm still learning python so I could be missing something obvious. I've followed a bunch of different tutorials but nothing seems to be showing me how..... More

Print this item

  how to edit data frames and convert to a list(pandas, read_html()) ?
Posted by: donvirte - Jan-29-2018, 01:49 PM - Forum: Web Scraping & Web Development - Replies (3)

I used library pandas, read_html() to import a table from a webpage.
I want to insert values from table read_html in ms msl table
but for this I mus..... More

Print this item

  django mapping with sql
Posted by: MRghost - Jan-29-2018, 01:39 PM - Forum: Web Scraping & Web Development - No Replies

hi everyone

1: wanting make basic map displays my gps data from sqllight on raspberry pi 3
//all ready got python code logs all data to database
..... More

Print this item

  Installed but doesn't work
Posted by: antonmichel - Jan-29-2018, 01:18 PM - Forum: GUI - Replies (13)

Hey guys,

I have installed Kivy successfully following the steps written on the official website and i have installed the examples as well. But when ..... More

Print this item

  Why am I being prompted to exit the program twice?
Posted by: RedSkeleton007 - Jan-29-2018, 09:38 AM - Forum: General Coding Help - Replies (2)

For some reason, after exiting the while true loop with the exit choice, my program makes me exit twice (see the image i attached).
    ..... More

Print this item

  Normalising a csv file with Python
Posted by: nsh_py - Jan-29-2018, 07:18 AM - Forum: Data Science - Replies (6)

Hi,

I have the below source data

[b]Student Age Subject
Adam 13 Maths,Biology
Alex 14 English
Shawn 15 Geography
Nathan 16 Maths,..... More

Print this item

  Combining selenium and beautifulsoup for web scraping
Posted by: sumandas89 - Jan-29-2018, 07:05 AM - Forum: Web Scraping & Web Development - Replies (3)

I worked with beautifulsoup to scrap data from webpages and used selenium to enter web pages that needs login.
Now my question is can I enter into we..... More

Print this item

  Need help with Django 2.0 + Facebook SDK
Posted by: avtrrr - Jan-29-2018, 06:53 AM - Forum: Web Scraping & Web Development - Replies (4)

Hi there! Did not find any relevant topic for my problem.

The situation:

  1. Developing Django-based web-application.
  2. Authorization via..... More

Print this item

  terminology question: generator data
Posted by: Skaperen - Jan-29-2018, 05:45 AM - Forum: News and Discussions - Replies (4)

if i have a linear indexed bunch of data and all the data is present at once, it is generally called a sequence. it might be a list. but if the data ..... More

Print this item

  python 3.x comparing variables
Posted by: mcmxl22 - Jan-29-2018, 01:11 AM - Forum: General Coding Help - Replies (1)

Why doesn't this work in Python 3.x?
[python]
quarters = input('How many quarters do you have? ')
if quarters <= 8:
print ('You need more mone..... More

Print this item

  Im so stressed because I cant figure out what I'm doing wrong.
Posted by: BursteXO - Jan-29-2018, 12:54 AM - Forum: Homework - Replies (2)

"""
This program determines whether or not
someone has a reservation in their name.
"""

# Write your program below...
name = raw_input("What is..... More

Print this item

  Arrays
Posted by: aka2d7 - Jan-29-2018, 12:36 AM - Forum: Data Science - Replies (10)

Hello Gurus,

I'm trying to create a text chart that will show the statistics from this code.I'm working on Arrys but I'm not sure how to create the t..... More

Print this item

  Not Printing
Posted by: Wolfpack2605 - Jan-29-2018, 12:28 AM - Forum: Homework - Replies (3)

This is the assignment:

[size=x-small]There are aardvarks on the loose! We need you to check whether there are any aardvarks hidden in a text file...... More

Print this item

  .sort frustration
Posted by: Python_for_dummies_needed - Jan-28-2018, 11:35 PM - Forum: General Coding Help - Replies (2)

Hi,

I've tried so many different ways to sort but nothing is working so I've just left it as fh.sort (I know that's wrong) and I'm hoping someone c..... More

Print this item

  Can you tell me where this person got the version of Python that he's using?
Posted by: nelsonkane - Jan-28-2018, 11:32 PM - Forum: General Coding Help - Replies (8)

*for.py - C:/Users/Madhur/Desktop/for.py*

is at the top of his version of Python. I'm talking about the version he uses in his video below:

..... More

Print this item

  CSV File not found
Posted by: SeanBassett - Jan-28-2018, 11:16 PM - Forum: General Coding Help - Replies (18)

I am using Python in Blender.
my code can not find the CSV file.
The file is in the same folder as the blender file and this did work when I was using..... More

Print this item

  How to transform an enumerate object into a dictionary
Posted by: fad3r - Jan-28-2018, 10:46 PM - Forum: Homework - Replies (7)

Hi everyone,
I am using the enumerate function on a string returned by the user and I am trying to transform this to a dictionary. If I try to use t..... More

Print this item

  Can't get this Code to Run
Posted by: dd3d - Jan-28-2018, 10:23 PM - Forum: Homework - Replies (3)

I have tried to go about this and I can't get it to run. What am I doing wrong????

[python]def price(pencil, book, discount, state_tax, shipping):
..... More

Print this item

  Simple Code - What's going on inside it?
Posted by: emerger - Jan-28-2018, 09:06 PM - Forum: General Coding Help - Replies (2)

Below is code from my class. When I run the code with several integers, it somehow stores them and returns them all when "else" is run. I suspect it..... More

Print this item

  John Guttag Book Finger Exercise 2.
Posted by: pritesh - Jan-28-2018, 08:28 PM - Forum: Code sharing - Replies (6)

Hi,
I am learning Python using John Guttag's book - Introduction to Computation and Programming Using Python with Application to Understanding Data...... More

Print this item

  Need help with something so simple
Posted by: Evancarter - Jan-28-2018, 07:29 PM - Forum: General Coding Help - Replies (4)

Hey guys I am new to coding and just needed help with this program and the answer is probably quite obvious anyway this code wont print the pin and i ..... More

Print this item

  Python installation change on Mac
Posted by: macloo - Jan-28-2018, 07:13 PM - Forum: News and Discussions - Replies (1)

Sometime last year, I installed Python 3.x on my MacBook, using the installer from Python.org, and when I typed which python3, bash would return `us..... More

Print this item

  "Use proper inputs to download stock data"
Posted by: Alberto - Jan-28-2018, 07:12 PM - Forum: Data Science - Replies (15)

I have a code below that tries to ask a user to enter 5 countries so that in return she gets the data for stock index price of that country (Say if sh..... More

Print this item

  A-Z Quiz Task
Posted by: Jellcat - Jan-28-2018, 06:25 PM - Forum: Homework - Replies (3)

Hi Folks,

I'm currently learning with the edX Introductory course. One of the practice tasks set was to create an A-Z quiz in which you create a func..... More

Print this item

  self.object
Posted by: nengkya - Jan-28-2018, 05:58 PM - Forum: General Coding Help - Replies (2)

Hi guys, i need to ask.
https://github.com/nengkya/PyQt/blob/mas...ainForm.py
Line 21 and below. Why :
self.layout = QGridLayout()
and
layo..... More

Print this item

  access variables between classes
Posted by: Ahjeen - Jan-28-2018, 04:48 PM - Forum: GUI - Replies (4)

Hi I am new to python and have been trying to develop a tkinter application. My question is, how can you use a variable from a class method to another..... More

Print this item

  Help with Sorting
Posted by: rsherry8 - Jan-28-2018, 03:36 PM - Forum: General Coding Help - Replies (6)

I am trying to understand how to sort an array in Python 3.x using the bulit in sort function. So I wrote the following code. However, it did does not..... More

Print this item

  Trouble with a context manager class made with dunders
Posted by: Regulus - Jan-28-2018, 02:40 PM - Forum: General Coding Help - Replies (1)

I am running Python 3.6.3 in Spyder 3.2 and getting

Error:
TypeError: object() takes no parameters
at [python]with ManagedFile('hello.txt') as..... More

Print this item

  "100 prisoner problem" (attempts)
Posted by: boris602 - Jan-28-2018, 11:59 AM - Forum: General Coding Help - Replies (11)

Hello guys, i have found a code in the internet that i changed a bit. I tested it for a small group of prisoners , but the problem is, that my result ..... More

Print this item

  Unable to read csv file inside full code snippet, at the same time its working seprat
Posted by: sreeraj - Jan-28-2018, 09:54 AM - Forum: General Coding Help - Replies (2)

Here I used GetSatIDValue function for reading created csv file from getfilelist function. But its not happened as expected. At the same time this cod..... More

Print this item

  List problem "TypeError: must be str, not int"
Posted by: RedSkeleton007 - Jan-28-2018, 09:00 AM - Forum: General Coding Help - Replies (1)

I'm trying to print the elements of a list of strings to test Python's sorting methods, but it's complaining about data types:
[python]
#!/usr/bin/e..... More

Print this item

  Please help me condense this requests snippet, and answer a basic question
Posted by: league55 - Jan-28-2018, 08:43 AM - Forum: Web Scraping & Web Development - Replies (2)

I'm having a hard time deciphering the requests module documentation, so is there a way to do this in one statement:

[python]// assume I've importe..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Access keys and values fr... 11 hours ago Winfried buran General Codin...
  How to make ball stay wit... 11-15, 16:07 nathanael deanhystad General Codin...
  PermissionError: [Errno 1... 11-15, 14:42 Tuurbo46 deanhystad GUI
  Graph Interpolate Difficu... 11-15, 13:54 Tuurbo46 deanhystad General Codin...
  sorting a lisr of file pa... 11-15, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579048
  Tutorial Requ... 511032
  Web Scraping ... 442046
  Newbie with P... 386095
  New Users Int... 378238
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12108
buran 8196
snippsat 7389
deanhystad 6913
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
tlandr02 Yesterday
Rerus3700 Yesterday
pas88 Yesterday
aanthonymaaleyo3938 Yesterday
chuhlowe 11-15

User Panel Messages

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