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,421
» Latest member: zalexisshulzeo8879
» Forum threads: 38,829
» Forum posts: 176,075

Full Statistics

Online Users
There are currently 35 online users.
» 0 Member(s) | 26 Guest(s)
Bing, Google, AOL, Facebook, Apple

Latest Threads
If I open a file write or...
Forum: General Coding Help
Last Post: noisefloor
10 hours ago
» Replies: 3
» Views: 86
a function to watch files
Forum: News and Discussions
Last Post: Skaperen
Today, 05:21 AM
» Replies: 3
» Views: 743
python re.finditer return...
Forum: General Coding Help
Last Post: Pedroski55
Today, 02:57 AM
» Replies: 8
» Views: 497
Exponential Number Conver...
Forum: General Coding Help
Last Post: DeaD_EyE
Jan-09-2026, 08:47 PM
» Replies: 4
» Views: 445
Possible bug found, pleas...
Forum: General Coding Help
Last Post: alexajames
Jan-08-2026, 04:31 PM
» Replies: 14
» Views: 799
How to put my game loop i...
Forum: Game Development
Last Post: MarkHenry
Jan-08-2026, 12:47 PM
» Replies: 12
» Views: 7,755
Code failing to ask input...
Forum: Homework
Last Post: perfringo
Jan-08-2026, 06:35 AM
» Replies: 4
» Views: 729
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: OtiliaGen
Jan-07-2026, 07:13 AM
» Replies: 6
» Views: 1,032
Data Science
Forum: Data Science
Last Post: OtiliaGen
Jan-04-2026, 10:20 AM
» Replies: 4
» Views: 3,617
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 17,375

 
  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

  Trying to install pygame Mac OS x high sierra
Posted by: giladal - Oct-18-2020, 05:31 PM - Forum: Game Development - Replies (2)

Hi Guys.

Trying to install pygame on Mac OSX high sierra with no luck...

Here is the message I get. Would love your help.



13 warnings..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  If I open a file write or... 10 hours ago Pedroski55 noisefloor General Codin...
  a function to watch files Today, 05:21 Skaperen Skaperen News and Disc...
  python re.finditer return... Today, 02:57 arbiel Pedroski55 General Codin...
  Exponential Number Conver... 01-09, 20:47 Tuurbo46 DeaD_EyE General Codin...
  Possible bug found, pleas... 01-08, 16:31 Hassher alexajames General Codin...
  How to put my game loop i... 01-08, 12:47 temlotresid6 MarkHenry Game Developm...
  Code failing to ask input... 01-08, 06:35 Phoenix_Narukami perfringo Homework
  sorting a lisr of file pa... 01-07, 07:13 Skaperen OtiliaGen News and Disc...
  Data Science 01-04, 10:20 Oshadha OtiliaGen Data Science
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
Most views
  The best Prog... 580737
  Tutorial Requ... 522234
  Web Scraping ... 442912
  New Users Int... 388095
  Newbie with P... 387134
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+ 12117
buran 8197
snippsat 7399
deanhystad 6921
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
zalexisshulzeo8879 Today
SUMIATI Today
starboy25 Today
zabenjamitop8877 Yesterday
zanaaliepetrovz6060 Yesterday

User Panel Messages

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