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,954
» Latest member: Perry
» Forum threads: 38,727
» Forum posts: 175,525

Full Statistics

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

Latest Threads
how to export a dictionar...
Forum: GUI
Last Post: Pedroski55
1 hour ago
» Replies: 3
» Views: 128
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
4 hours ago
» Replies: 0
» Views: 326
extracting data from a us...
Forum: General Coding Help
Last Post: Perry
4 hours ago
» Replies: 0
» Views: 51
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Yesterday, 02:48 PM
» Replies: 10
» Views: 29,336
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,399
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Sep-23-2025, 09:08 AM
» Replies: 0
» Views: 269
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Sep-23-2025, 03:29 AM
» Replies: 2
» Views: 716
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 912
403 error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 5,173
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,385

 
  Error with NumPy, BeautifulSoup when using pip
Posted by: tsurubaso - Oct-20-2020, 07:50 AM - Forum: Web Scraping & Web Development - Replies (7)

Hello to all,

Yesterday, I made a big mistake, and I find myself with the necessity to reinstall all Python, and libraries.

I made the jump to v..... More

Print this item

  What is the best way to add entries from 1 dictionary to another?
Posted by: Pedroski55 - Oct-20-2020, 07:47 AM - Forum: General Coding Help - Replies (5)

I have a dictionary:

Quote:rev_sorted_dataDict = dict(sorted(dataDict.items(), reverse = True, key=lambda item: item[1][3]))

The dictio..... More

Print this item

  How to fill datetime64 field in numpy structured array?
Posted by: AlekseyPython - Oct-20-2020, 07:46 AM - Forum: Data Science - No Replies

Python 3.8.5, numpy 1.19.2, numba 0.51.2

I use method from of[url=https://python-forum.io/thread-30414.html]..... More

Print this item

  Access denied not able to do anything 8( What do i do?
Posted by: MurphysLaw - Oct-20-2020, 07:32 AM - Forum: General Coding Help - Replies (3)

I don't have the patience to indent the code on every line so i put it to paste bin.

I have a legit issue https://pastebin.com/2QDHwz0z I was writi..... More

Print this item

  Updating labels
Posted by: Wenkar7000 - Oct-20-2020, 06:38 AM - Forum: GUI - Replies (2)

Hello,

I am trying to make a Gui with 2 labels that shows the live measurements of the sensors(DS18B20) that I have attached to a raspberry. The pr..... More

Print this item

Thumbs Up Issue facing while scraping the data from different websites in single script.
Posted by: Balamani - Oct-20-2020, 04:42 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello, I am trying to scrape the data from different websites please help me to scrape the data from multiple websites in single script.
Is there an..... More

Print this item

  How about this keyboard layout?
Posted by: ixove - Oct-20-2020, 03:35 AM - Forum: Bar - Replies (4)

Loona Keyboard Layout
It's at
http://www.ixove.com
[img]https://78462f86-a-7038c4d3-s-sites.googlegroups.com/a/ixove.com/www/ikare/keyboard-krystin..... More

Print this item

  re.search and datetime not printing as expected
Posted by: Nickd12 - Oct-20-2020, 03:23 AM - Forum: General Coding Help - Replies (6)

how come its not printing as expected
[python]text = "set a reminder for 10:02 p.m. "
match = re.search('\d{2}:\d{2}',text)
time_ = datetime.strpt..... More

Print this item

  More than a couple problems.
Posted by: MurphysLaw - Oct-20-2020, 02:50 AM - Forum: General Coding Help - Replies (7)

I'd like to learn Python. Doing nothing but messing up on me. Here we go

Why if I set my installation folder to C/program files < why then is it in..... More

Print this item

  rez = (mass / h) | ZeroDivisionError
Posted by: Maryan - Oct-20-2020, 02:20 AM - Forum: GUI - Replies (5)

Before I post here I did some research, but still, I can't fix the problem. Are the entry fields both 0? How can I change the one of the values of the..... More

Print this item

  Help in using Flag pretty please
Posted by: kamui123 - Oct-20-2020, 01:42 AM - Forum: Homework - Replies (1)

Hi all, I am new to Python programming and I being tasked to create codes by my supervisor but I have no clue how to.

I am doing a project on robot..... More

Print this item

  Multiplying between two values
Posted by: doug2019 - Oct-19-2020, 10:14 PM - Forum: General Coding Help - Replies (7)

I need an equation in Python that gives me the values ​​that can be multiplied, since they must be less than 10. Only they must have one decimal place..... More

Print this item

  python **
Posted by: Maryan - Oct-19-2020, 09:56 PM - Forum: General Coding Help - Replies (4)

May I ask why Python is calculating the height**2 differently. The height should be 3.2?


def bmi(name, height, mass):
h = (height ** height..... More

Print this item

  Append 2d empty lists
Posted by: NMMST - Oct-19-2020, 08:56 PM - Forum: General Coding Help - Replies (2)

Hi there!

I wanted to store my functions result in a 2d list. The function returns 5 values and has to run 100 times in a for loop.
I tried to ini..... More

Print this item

  Start using classes for Four-in-a-row game
Posted by: Haiko - Oct-19-2020, 08:36 PM - Forum: Code Review - No Replies

Hi all,

Yet another newbie here that made a simple game.

The game is the classic four-in-a-row game where you drop down a round brick into one o..... More

Print this item

  merging three dictionaries
Posted by: Skaperen - Oct-19-2020, 08:19 PM - Forum: General Coding Help - Replies (3)

i have three dictionaries with distinct keys (no two have the same key). i need to merge all three into one dictionary and use the result in an expre..... More

Print this item

  Dealing with duplicates to an Excel sheet
Posted by: DistraughtMuffin - Oct-19-2020, 07:28 PM - Forum: Homework - Replies (6)

Alright, so, first time ever taking a programming course and I am just struggling with wrapping my head around Python. The following is Python 2.7.

[..... More

Print this item

  I tried every way to scrap morningstar financials data without success so far
Posted by: sparkt - Oct-19-2020, 05:25 PM - Forum: Web Scraping & Web Development - Replies (2)

I tried every way I can think of and search out in an attempt to scrap morningstar financials data into any processable form like csv or dataframe, fo..... More

Print this item

  Basic python login system
Posted by: Asasiene23 - Oct-19-2020, 05:08 PM - Forum: GUI - Replies (1)

So I tried creating a basic login system in python since im just trying it to get a grasp of the language. Im using a txt file to save multiple userna..... More

Print this item

  Python Scrapy Tutorial
Posted by: Knight18 - Oct-19-2020, 04:56 PM - Forum: Tutorial Requests and Submissions - No Replies

A Tutorial series on the Scrapy Web Scraping Library. Scrapy is a rather advanced web scraping (the act of extracting data from the internet) library,..... More

Print this item

  Good class design - with a Snake game as an example
Posted by: bear - Oct-19-2020, 02:31 PM - Forum: General Coding Help - Replies (1)

Hi guys,

in another topic, I shared my first Python project for feedback: My f[url=https://python-forum.io/thread-30394.html]..... More

Print this item

  Help on stimulating approaching an object
Posted by: javesike1262 - Oct-19-2020, 02:14 PM - Forum: Homework - Replies (9)

Simulate a common optical illusion used in video games. If you are playing as a character and you approach an object, the object appears to get larger..... More

Print this item

  Trying to access next element using Generator(yield) in a Class
Posted by: omm - Oct-19-2020, 01:30 PM - Forum: General Coding Help - Replies (2)

I have created a Class and used generator in a method which is supposed to yield even numbers between start and stop range. When trying to use next() ..... More

Print this item

  How to use scipy.optimization.brute for multivariable function
Posted by: Shiladitya - Oct-19-2020, 11:45 AM - Forum: General Coding Help - Replies (9)

I want to find the global minima of a two-variables function, say V(x,y,T), where (x,y) are the independent variables and `T' is the parameter. My tar..... More

Print this item

Brick How To Sum Numbers Of Next 7 Days
Posted by: Developer_2018 - Oct-19-2020, 11:26 AM - Forum: General Coding Help - Replies (7)

I would like to sum up the seconds that each employee spoke on the phone over the next 7 days.

ID; Person_nr; Name; Datum; Datum_plu..... More

Print this item

  pyarrow throws oserror winerror 193 1 is not a valid win32 application
Posted by: aupres - Oct-19-2020, 10:43 AM - Forum: General Coding Help - Replies (2)

Hello! My OS is windows 10 64bit and IDE is eclipse python. I try to install pyarrow with both pip and conda. The installation of pyarrow is successfu..... More

Print this item

  dictionaries becoming inputs
Posted by: enderfran2006 - Oct-19-2020, 10:39 AM - Forum: General Coding Help - Replies (2)

Hello. I am trying to figure out how to make the dictionary find the answer and find an input question. any help would be nice.

[python]c = input("..... More

Print this item

  Subset dataframe by matching to wordnet synsets
Posted by: boredbobby - Oct-19-2020, 09:47 AM - Forum: Data Science - No Replies

Hi,

I have a dataframe of the following structure:

Column 1 contains individual words
Column 2 contains the count of each word

Now, I need ..... More

Print this item

  Sqlite 3 Database is not updating after using commit()
Posted by: JellyCreeper6 - Oct-19-2020, 07:20 AM - Forum: Data Science - Replies (5)

Any help is appreciated.

Table name - Encounters

name   |encounters|PreEnc|PostEnc|
'Name1'|0         |20    |0      |
the values..... More

Print this item

  Communicating between programs
Posted by: shubh00 - Oct-19-2020, 05:29 AM - Forum: General Coding Help - Replies (2)

So I am writing a program and I want to run it in different computers but there are certain variables that should be updated in both computers accordi..... More

Print this item

  Super Urgent, work related. Gimp Python
Posted by: tsurubaso - Oct-19-2020, 04:45 AM - Forum: General Coding Help - Replies (5)

Hello to all,
I wrote a little script some years ago.
it was beginning like this.



[python]import gimp
import gimpfu
import os, glob[/python..... More

Print this item

  lists
Posted by: Nickd12 - Oct-19-2020, 12:53 AM - Forum: General Coding Help - Replies (1)

Trying to see if a name thats in a list is in the text and if possible to get the name with out a defined position of the name in list

example:

nam..... More

Print this item

  gtts
Posted by: Nickd12 - Oct-18-2020, 11:06 PM - Forum: General Coding Help - Replies (1)

gtts is only speaking last few words of text, is this a know issue? if so is there a fix?

for example lets say i want it to speak "this is a test" ..... More

Print this item

  Building a method name in a function
Posted by: ffgth - Oct-18-2020, 10:41 PM - Forum: General Coding Help - Replies (9)

Hi,
as an almost beginner, this is just a general knowledge question.
Let's say i have a class foo defining method1, method2, method3.
I'd like to ..... More

Print this item

  Button click problem using OOP
Posted by: JohnB - Oct-18-2020, 07:41 PM - Forum: GUI - Replies (5)

Can anyone help me with a problem illustrated in the code below. I am instantiating three tkinter buttons and saving the objects in a list which is I ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [Tkinter] how to export a... 1 hour ago RonR Pedroski55 GUI
  Is the interpreter that c... 4 hours ago helendamdam helendamdam General Codin...
  extracting data from a us... 4 hours ago Perry Perry General Codin...
  pip install requests does... Yesterday, 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...
  A coding beginner needs h... 09-23, 03:29 Littlefish Littlefish General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
  403 error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
Most views
  The best Prog... 576840
  Tutorial Requ... 499307
  Web Scraping ... 440624
  Newbie with P... 384599
  New Users Int... 368515
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
Perry Today
bianchiluca116 Yesterday
Jorgecog Yesterday
adamsmith12 Yesterday
Ronny Yesterday

User Panel Messages

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