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,256
» Latest member: TomTMH
» Forum threads: 38,782
» Forum posts: 175,833

Full Statistics

Online Users
There are currently 36 online users.
» 1 Member(s) | 33 Guest(s)
Google, Bing, deanhystad

Latest Threads
Please guide me to comple...
Forum: General Coding Help
Last Post: noisefloor
38 minutes ago
» Replies: 1
» Views: 61
[solved] re.split issue
Forum: General Coding Help
Last Post: Pedroski55
5 hours ago
» Replies: 7
» Views: 135
New to python and coding
Forum: Homework
Last Post: jefsummers
11 hours ago
» Replies: 6
» Views: 182
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
Yesterday, 11:52 AM
» Replies: 6
» Views: 352
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Nov-12-2025, 07:26 PM
» Replies: 2
» Views: 114
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Nov-12-2025, 10:11 AM
» Replies: 6
» Views: 242
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 380
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 148
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,643
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 250

 
  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

  Reducing JSON character count in Python for a Twitter Bot
Posted by: johnmitchell85 - Apr-13-2021, 05:06 PM - Forum: General Coding Help - Replies (2)

Redacted - Please delete.

Print this item

  monitoring the temperature of the CPU with Python
Posted by: apollo - Apr-13-2021, 04:30 PM - Forum: General Coding Help - Replies (2)

dear fellows,  Wink

 

what is aimed: on Raspberry Pi i want monitor the CPU temp at a command line, there is the vcgencmd command.


Wel..... More

Print this item

  arrow key selection for menu
Posted by: knoxvilles_joker - Apr-13-2021, 03:09 PM - Forum: GUI - Replies (6)

I have the initial layout built. I will have to rebuild the menu as a subclass app definition as I was advised in my other thread to get key bind inp..... More

Print this item

  Mouse lib keeps dropping same error
Posted by: MLGpotato - Apr-13-2021, 02:43 PM - Forum: General Coding Help - Replies (7)

Hi. I have lost all my hopes fixing this issiue. Can anyone help?

[python]
import mouse
from tkinter import *
import time
import os

run = ty..... More

Print this item

  A "problems at work" kinda post (nothing really constructive)
Posted by: Mustey - Apr-13-2021, 12:27 PM - Forum: Bar - Replies (1)

Part of my deal with autism is that, while I have this weird drive to understand things very fundamentally (and that has given me lots of upsides, in ..... More

Print this item

  How to input & output parameters from command line argument
Posted by: shantanu97 - Apr-13-2021, 12:11 PM - Forum: General Coding Help - Replies (1)

Want to give two parameters to this python code. Where is my input files and where to save my output file. This code is taking any excel file and conv..... More

Print this item

  Time.sleep: stop appending item to the list if time is early
Posted by: quest - Apr-13-2021, 11:44 AM - Forum: General Coding Help - No Replies

Hello,

I have a timing problem. I want to stop appending item to the list, if time is early.
Here is my code lines:
self.tq is the arriving item ..... More

Print this item

  Bartender Tip out help
Posted by: edgarrv624 - Apr-13-2021, 07:53 AM - Forum: Homework - Replies (3)

Hello, I'm trying to create a program that generates an hourly wage per person and their total tip out for the day. I really need help, I just work to..... More

Print this item

  web scraping learn
Posted by: Mujhyana - Apr-12-2021, 09:06 PM - Forum: Web Scraping & Web Development - Replies (3)

Dears,
i want to learn web scraping with python, so any body tell me complete source from begining to expert level ???? waiting your positive re..... More

Print this item

  Pandas replace function not working on datafram with floats
Posted by: bcrypto - Apr-12-2021, 05:23 PM - Forum: Data Science - Replies (1)

Hi,

I am using Pandas' replace function and it works on one DataFrame but not on another and I don't understand why. I have tried many different s..... More

Print this item

  Problem with pexpect.exception.TimeOUT
Posted by: korenron - Apr-12-2021, 03:24 PM - Forum: General Coding Help - No Replies

Hello ,
I'm trying to write a simple python code that scan bluetooth devices
once evey 10 seconds

but I get this error after 30 seconds - when he f..... More

Print this item

  Installing auto-sklearn on Windows 10
Posted by: Led_Zeppelin - Apr-12-2021, 02:32 PM - Forum: News and Discussions - Replies (1)

I want to install and use auto-sklearn. At present I am told there is no Windows 10 version.

I know that with a few modifications to Windows 10, th..... More

Print this item

  Pyforest
Posted by: Led_Zeppelin - Apr-12-2021, 02:20 PM - Forum: General Coding Help - Replies (3)

My question is simple. Does Pyforest really work? It seems to be something that is too good to be true. I am also confused when I read the instruction..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Please guide me to comple... 38 minutes ago pbkurd noisefloor General Codin...
  [solved] re.split issue 5 hours ago paul18fr Pedroski55 General Codin...
  New to python and coding 11 hours ago lary_p jefsummers Homework
  Backward compatibility qu... Yesterday, 11:52 yutaozhou noisefloor News and Disc...
  why is the image not show... 11-12, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... 11-12, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
Most views
  The best Prog... 578938
  Tutorial Requ... 510295
  Web Scraping ... 441961
  Newbie with P... 385976
  New Users Int... 376909
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+ 12107
buran 8195
snippsat 7388
deanhystad 6909
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
TomTMH Yesterday
pbkurd Yesterday
Gichardaxora Yesterday
cc123 Yesterday
Jessicaadams Yesterday

User Panel Messages

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