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,941
» Latest member: Noya_Yonatan
» Forum threads: 38,722
» Forum posts: 175,511

Full Statistics

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

Latest Threads
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 3
» Views: 150
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,379
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 803
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,655
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,152
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,663
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,477
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,669
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,593
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,770

 
  If else
Posted by: africanism - Apr-16-2021, 07:31 AM - Forum: General Coding Help - Replies (6)

Hello everyone, I'm new to python and I'm blocking on a piece of code, basically I would like that in the if condition, if the condition is true it ex..... More

Print this item

  Error updating one to many relationship in Flask/ SQLAlchemy
Posted by: atindra - Apr-15-2021, 10:04 PM - Forum: Web Scraping & Web Development - No Replies

Hello,

I have two models Parent and Child in my database, there's a one to many relationship between these two models i.e. one parent can have mult..... More

Print this item

  Finding all roots of a function
Posted by: thonpy - Apr-15-2021, 07:30 PM - Forum: General Coding Help - Replies (3)

I have written the following snippet of code:

[python]
import numpy as np
import math as m
import cmath as cm
from scipy.optimize import minimi..... More

Print this item

  Installing auto-sklearn on Windows 10
Posted by: Led_Zeppelin - Apr-15-2021, 06:43 PM - Forum: General Coding Help - Replies (1)

I installed Ubuntu 18.04 on Windows 10 as an application. The latest version of python in Ubuntu 18.04 is python 3.6.9.

Since I wish to install an..... More

Print this item

  tkinter camera threads
Posted by: Nick_tkinter - Apr-15-2021, 05:34 PM - Forum: GUI - Replies (6)

Hello everyone.
I have a big code in tkinter with 14 files.In one of my files I control my camera and show the output inside a frame (in tkinter).
So ..... More

Print this item

  Beautifull Soap. Split page using a value and not a tag.
Posted by: lillo123 - Apr-15-2021, 05:01 PM - Forum: Web Scraping & Web Development - Replies (5)

Hi, look please at this page:
https://mob.processotelematico.giustizia...id=137cd99..... More

Print this item

  adding button status updates to countdown counter
Posted by: knoxvilles_joker - Apr-15-2021, 03:21 PM - Forum: GUI - Replies (7)

I have gotten my script farther and farther along thanks to some help here. I am now trying to get things to where the temperature bar has an automat..... More

Print this item

  How to extract specific key value pair from string?
Posted by: aditi06 - Apr-15-2021, 03:00 PM - Forum: General Coding Help - No Replies

Hi,

I am new to python programming and need your help.

I have a Notes Column in excel file which contains data as below

ROW 1: Country:USA

..... More

Print this item

  how search files
Posted by: Ron_Crafter - Apr-15-2021, 02:58 PM - Forum: General Coding Help - Replies (4)

how do python search exe files and open Think

Print this item

  PysimpleGui + Mysql
Posted by: Xuli - Apr-15-2021, 01:17 PM - Forum: GUI - Replies (1)

Hi,

I made a login/signup page using pysimplegui and I want to integrate it with mysql. I want to store the user information in a database. Can so..... More

Print this item

  Refresh x-labels in matplotlib animation widget
Posted by: JohnT - Apr-15-2021, 11:02 AM - Forum: GUI - Replies (5)

Hi,

I'm working on my first pyQt gui. I'm using QtDesigner.

I've added four widgets on which I draw live sensor data. I'm Using the matplotlib...... More

Print this item

  Create Generator in the Class
Posted by: quest - Apr-15-2021, 10:19 AM - Forum: General Coding Help - Replies (1)

Hello,

I have a class and inside this class I have this function:

[python]
def ff(self, timelimit):

while self.lasttime < timelimit :
..... More

Print this item

  MicroPython ESP32 color changing from temps
Posted by: Sim00778 - Apr-15-2021, 09:46 AM - Forum: Homework - Replies (2)

For a class I'm in I'm making a coaster that lights up differently depending on how cold or hot the drink sitting on it is.
Connected to the ESP32 boa..... More

Print this item

  How to save json data in a dataframe
Posted by: shantanu97 - Apr-15-2021, 09:33 AM - Forum: General Coding Help - Replies (1)

When I am using the api, the data is coming in json format and I want to save all this data in dataframe.
[python]import json
import requests

hos..... More

Print this item

  Line numbers in Text widget
Posted by: rfresh737 - Apr-15-2021, 01:31 AM - Forum: GUI - Replies (3)

I've been looking at adding line numbers to a Text widget. There are several examples floating around the internet, all a bit different in most cases...... More

Print this item

  Some Code For a program
Posted by: PythonCodeMaker_119 - Apr-14-2021, 07:26 PM - Forum: General Coding Help - Replies (2)

[python]# INPUT WORD & CHARACTER LENGTH VARIABLES
x = input("Insert Any Word: ")
y = len(x)
# .FORMAT VARIABLES
numPrompt = "Number Of Characters:..... More

Print this item

  Copy column from one existing excel file to another file
Posted by: mkujawsk - Apr-14-2021, 06:33 PM - Forum: General Coding Help - No Replies

I'm new on forum, and I'm python beginner. I'm tried to search solution, but I didn't find the same post like this, just little similar, but I can't t..... More

Print this item

  Code Help
Posted by: luke_m - Apr-14-2021, 05:15 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi,
I am trying to scrape some data off a website and then export that data into an excel file (xlsx), I am struggling to find the file or it either..... More

Print this item

  Convert MultiLayer XML to DataFrame using Pandas
Posted by: vsingh17 - Apr-14-2021, 03:50 PM - Forum: General Coding Help - No Replies

Hi Team,

Need your help, i'm noob in Python and trying to learn.
i have a Multilayer XML file and wanna convert into Dataframe using pandas.
exam..... More

Print this item

  Find Common Elements in 2 list
Posted by: quest - Apr-14-2021, 03:17 PM - Forum: General Coding Help - Replies (4)

Hello
I have this list:
A [(7.5,), (17.5,), (22.5,), (25.0,), (27.5,), (30.0,), (37.5,), (40.0,)]
B [(17.5,), (22.5,), (25.0,), (27.5,), (30.0,), (..... More

Print this item

  2 Different Sorts in a Dataframe
Posted by: stylingpat - Apr-14-2021, 02:52 PM - Forum: General Coding Help - Replies (1)

Hello everyone!

I have a dataframe with 2 columns (A,B) and 3 rows.

A B

1 X
2 Y
3 Z

I am using this code right now

[python]variable = df["A"]...... More

Print this item

  apply(pd.Series) until no more array
Posted by: mikisDeWitte - Apr-14-2021, 02:20 PM - Forum: Data Science - Replies (1)

Update: we found it eventually. Using the same link, a more recent answer helped us out a lot:
[python]
df2 = pd.json_normalize(df['Pollutant Levels..... More

Print this item

  How to decrease input
Posted by: Yankees1111 - Apr-14-2021, 02:13 PM - Forum: General Coding Help - Replies (2)

I'm very new to coding so my apologies if I'm saying any of this wrong. I am trying to write a code for this prompt:

A company has 3 divisions. Aft..... More

Print this item

  How to filter in a Pivottable Excel
Posted by: Bob333 - Apr-14-2021, 11:55 AM - Forum: General Coding Help - No Replies

Hello,

In the past i have writen some code in VBA for excel and one of the thing the code did was filtering a date in a Pivot table.
The Pivot tab..... More

Print this item

  How to check if a file has finished being written
Posted by: leocsmith - Apr-14-2021, 10:01 AM - Forum: General Coding Help - Replies (2)

I have a programme that writes an mtx file to a specified directory on my laptop. It's a very large file (~400,000 KB) and so takes quite some time to..... More

Print this item

  Creating new column with a input string
Posted by: drunkenneo - Apr-14-2021, 06:50 AM - Forum: General Coding Help - Replies (2)

Hi,

I am new to python and strugling with a code, i know its been clearly thrown the error still i am failing to get it might anyone can help

[p..... More

Print this item

  "Cut" big log file according to wanted dates?
Posted by: korenron - Apr-14-2021, 05:46 AM - Forum: General Coding Help - Replies (7)

Hello ,
I created a small program to cut line from log file
[python]
import sys

OutputFile = open('C:\\Users\\David\\Desktop\\OutPutLog.txt', "w+")..... More

Print this item

  Treeview scroll selected node to top
Posted by: rfresh737 - Apr-14-2021, 01:35 AM - Forum: GUI - Replies (1)

I have a treeview widget. I've been unable to find any examples that use the treeview.see() method to scroll the selected node to the top of the treev..... More

Print this item

  doing measures on a wireless network interface on Linux - methods and tools
Posted by: apollo - Apr-13-2021, 10:22 PM - Forum: Bar - No Replies

dear fellow - python-experts.


doing measures on a wireless network interface on Linux

we have various options to do some tests on that:

..... More

Print this item

  Eliminating error in Python update-alternatives
Posted by: Led_Zeppelin - Apr-13-2021, 08:43 PM - Forum: General Coding Help - Replies (2)

I made an error when typing this code:

 sudo update-alternatives --install /usr/bin/python3 python /usr/bin/python2.7 1
Obvious..... More

Print this item

  Sort List of Lists by Column
Posted by: Nju - Apr-13-2021, 08:22 PM - Forum: General Coding Help - Replies (1)

Hello all,
I am working on a small Python project and need some help.
I have a CSV file that is structured as follows:

Nr, Name, weight , height, wi..... More

Print this item

Photo Creating column in python based on the other colums value count
Posted by: Bartek635 - Apr-13-2021, 07:27 PM - Forum: General Coding Help - Replies (2)

Hello everyone!

Can someone help me, what code should I use to create a new column which will display cumulatively the number of preceding rows in..... More

Print this item

  Paying bounty 100$ Diablo 3 ps4
Posted by: Kayyyzz - Apr-13-2021, 06:51 PM - Forum: Jobs - Replies (1)

Hello guys

I’m looking for a script that reforges items in Diablo 3.

The script has to do the following action it presses a button ( x , square , t..... More

Print this item

  Error when refering to class defined in 'main' in an imported module
Posted by: HeRo - Apr-13-2021, 06:39 PM - Forum: General Coding Help - Replies (2)

Hi!

In my 'main.py' I have this:

class ScalableLabel(Label):
    pass

from sharebox_ios_etc import ShareBox
And in 'sh..... More

Print this item

  Website scrapping and download
Posted by: santoshrane - Apr-13-2021, 05:41 PM - Forum: Web Scraping & Web Development - Replies (3)

Dear coders,

I am new to this forum and my first post. I have started with python for dummies and trying to give few hours a week.

This is what ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Using a For Loop to subtr... 1 hour ago Anunderling Pedroski55 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...
  Scraping a page with log ... 09-19, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
Most views
  The best Prog... 576511
  Tutorial Requ... 498431
  Web Scraping ... 440400
  Newbie with P... 384295
  New Users Int... 367442
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+ 12087
buran 8175
snippsat 7368
deanhystad 6892
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Noya_Yonatan Yesterday
Saipython555 Yesterday
Anunderling Yesterday
Monir Yesterday
atylerfraces2254 09-20

User Panel Messages

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