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,236
» Latest member: Cristiano
» Forum threads: 38,776
» Forum posts: 175,790

Full Statistics

Online Users
There are currently 38 online users.
» 1 Member(s) | 34 Guest(s)
AOL, Google, Bing, snippsat

Latest Threads
Two arguments in input fu...
Forum: General Coding Help
Last Post: noisefloor
6 hours ago
» Replies: 3
» Views: 77
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
9 hours ago
» Replies: 3
» Views: 91
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 07:29 PM
» Replies: 0
» Views: 64
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 11:59 AM
» Replies: 3
» Views: 98
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Yesterday, 09:09 AM
» Replies: 452
» Views: 375,032
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Yesterday, 06:07 AM
» Replies: 2
» Views: 3,362
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,551
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 180
Natural language processi...
Forum: Homework
Last Post: offsoar
Nov-05-2025, 02:03 PM
» Replies: 2
» Views: 3,193
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-05-2025, 08:31 AM
» Replies: 5
» Views: 7,437

 
  Read xml column inside csv file with Python
Posted by: estertabita - Jul-22-2022, 11:28 PM - Forum: General Coding Help - Replies (2)

Hi,
I am very new in Python and need to read an xml column inside a csv file with Python.
I can see some code on google on how to read that csv file..... More

Print this item

  A lot of confusion and I can't seem to solve this issue
Posted by: Calli - Jul-22-2022, 05:56 PM - Forum: Networking - Replies (13)

So I have download a list of "open IP" from shodan which was about 1,566,785 open IP address
Now to check all this IP address one by one will take m..... More

Print this item

  Can't update new python version on Pycharm
Posted by: GOKUUUU - Jul-22-2022, 01:14 PM - Forum: General Coding Help - Replies (6)

Hello, I installed new pyhton version 3.10.5 and deleted the previous one 3.8.. and now I can update the new python version to Pycharm. I have a few p..... More

Print this item

  How to parse std out?
Posted by: ilknurg - Jul-22-2022, 11:23 AM - Forum: General Coding Help - Replies (1)

I want to parse the output below. I want to get IP Address line.

[python]
__GENUS : 2
__CLASS : Win32_NetworkAdapterConfigurati..... More

Print this item

  Tkinter don't change the image
Posted by: DQT - Jul-22-2022, 08:30 AM - Forum: GUI - Replies (2)

Hello everyone.
I am using Python 2.7(if it nescessary).

Here is my code
[python]
from Tkinter import *
from PIL import Image, ImageTk
from os..... More

Print this item

  pandas column percentile
Posted by: nuncio - Jul-22-2022, 06:29 AM - Forum: Data Science - Replies (7)

Dear All,
I have a time series in a dataframe that contain vaues for each day for many years. How can I compute the average of values above a certai..... More

Print this item

  Please delete
Posted by: FugaziRocks - Jul-21-2022, 08:01 PM - Forum: General Coding Help - Replies (2)

Please delete

Print this item

  Keep trying link until enabled
Posted by: kamaleon - Jul-21-2022, 06:10 PM - Forum: General Coding Help - Replies (4)

Hello,

I have a program to book a court at the gym, it looks like this

[python]import time
from selenium import webdriver
from selenium.webdri..... More

Print this item

  SystemError: <method-wrapper '__getattribute__' of EnumMeta object
Posted by: sciloop - Jul-21-2022, 02:18 PM - Forum: General Coding Help - Replies (4)

Hi,
first post here.

This is a thread about an python error I cannot resolve.
I'm primarily a c++ programmer (python beginner) and have to access..... More

Print this item

  How to parse the result of winrm.Response?
Posted by: ilknurg - Jul-21-2022, 12:34 PM - Forum: General Coding Help - No Replies

I have a code script with pywinrm. I connect a remote machine and run powershell.
The result type is class 'winrm.Response', how can i parse it?

..... More

Print this item

  Microsoft text phone verifying account
Posted by: cito - Jul-21-2022, 09:07 AM - Forum: General Coding Help - Replies (2)

Hello folks,
I am not an expert, yet :), in python but have one question for you?
Until a few days ago everything worked well regarding my python sc..... More

Print this item

  change backslash into slash in a path
Posted by: paul18fr - Jul-21-2022, 08:50 AM - Forum: General Coding Help - Replies (7)

Hi

Typically in a Windows path, I want to change the special "backslash" character to "slash" one. I was thinking re.sub substitutes all occurences..... More

Print this item

  win32gui
Posted by: DQT - Jul-21-2022, 07:51 AM - Forum: GUI - Replies (1)

Hello everyone
I am using python 2.7 anh module win32gui
I am drawing to screen
what should I do for update screen
lines are press to lines
Thank..... More

Print this item

  Generator behaviour
Posted by: bla123bla - Jul-20-2022, 09:11 PM - Forum: General Coding Help - Replies (2)

Hello,

encountered this smart piece of breadth-first traversal:

[python]def bfs(root):
yield root
for n in bfs(root):
yield n.left
..... More

Print this item

  extratreesclassifier returns all zeroes instead of feature importances
Posted by: Led_Zeppelin - Jul-20-2022, 08:04 PM - Forum: General Coding Help - No Replies

In the following code which should print out feature importances, I instead get a print of a matrix of all zeroes.

[code]
import numpy as np
imp..... More


Attached Files

.csv   shortened_sensor.csv (Size: 3.02 KB / Downloads: 291)
Print this item

  Encoding Issue in eyed3
Posted by: giddyhead - Jul-20-2022, 06:21 PM - Forum: General Coding Help - Replies (2)

Hello everyone,

I am seeking help with encoding using eyed3. I converted text to audio using:

[python]engine = pyttsx3.init()

..... More

Print this item

  What is your preferred resource for learning PyQt?
Posted by: panofish - Jul-20-2022, 05:45 PM - Forum: GUI - Replies (5)

There aren't many great resources for learning PyQt. Where do you go to learn about PyQt?

Print this item

  IMDbPy "search_person" result cant be found in actors list in Python
Posted by: tylerdurdane - Jul-20-2022, 05:15 PM - Forum: Game Development - Replies (2)

Have a list of actors. Asking the user to enter an actor name that exists in the list. Although entering an existing name in the list, the code says i..... More

Print this item

  No module found when I run a main.py
Posted by: tomtom - Jul-20-2022, 07:32 AM - Forum: General Coding Help - Replies (2)

I have info.py file in directory A

info.py has this code:
[python]import country # country is imported from the same directory A

class Person:
d..... More

Print this item

  logging problem
Posted by: korenron - Jul-20-2022, 07:16 AM - Forum: General Coding Help - No Replies

Hello,
I have a problem that I can't seem to understand when using logging with multi files

I have created a simple code that ping IP address from..... More

Print this item

  Slice creates new objects?
Posted by: fmr300 - Jul-20-2022, 01:03 AM - Forum: General Coding Help - Replies (4)

Can anybody help me understand this -
In a function, when I slice the passed list, it creates a new list instead of affecting the callers passed-list..... More

Print this item

  Turn list of arrays into an array of lists
Posted by: Cola_Reb - Jul-19-2022, 04:08 PM - Forum: Data Science - Replies (6)

Hey everyone,

I am currently struggling with the structure of data I receive. As a result of another (not important here) function I get a list fil..... More

Print this item

  is there an itertor of chunks?
Posted by: Skaperen - Jul-19-2022, 04:11 AM - Forum: General Coding Help - Replies (8)

i have a list (or tuple) of many items. here is a very simple case:

foo = (9,8,7,6,5,4,3,2,1,0)
what i want to do is step thro..... More

Print this item

  search a list or tuple for a specific type ot class
Posted by: Skaperen - Jul-19-2022, 01:07 AM - Forum: General Coding Help - Replies (8)

i can easily search a list to find the position of a specific value if i have the exact value using the index function. if i know only ..... More

Print this item

Exclamation Function Not Working
Posted by: Alivegamer - Jul-19-2022, 12:55 AM - Forum: General Coding Help - Replies (7)

I am making a text game. And what I am doing is using another python file as a module in the Main python file(Mod File). And The main file calls The I..... More

Print this item

  Laggy Game Movement
Posted by: game_slayer_99 - Jul-18-2022, 09:55 PM - Forum: Game Development - Replies (11)

I've noticed that the movement in my Pong game is experiencing a strange amount of lag when I start the game up in Python, despite coding it to run at..... More

Print this item

  Numpy returns "TypeError: unsupported operand type(s) for *: 'numpy.ufunc' and 'int'"
Posted by: kalle - Jul-18-2022, 07:00 PM - Forum: Data Science - Replies (2)

Hi

I have equation that i want to execute, but i cannot get it to run.

[python]import numpy as np

x = (np.abs((np.sign)*(90)-0.5)-0.5) * (np...... More

Print this item

  Very First Table
Posted by: drunkenneo - Jul-18-2022, 04:53 PM - Forum: General Coding Help - Replies (1)

Hi

I am trying to create a survey app where user will be asked some questions and they need to answer.

I am creating it in Django.

I have cre..... More

Print this item

  Stripping numbers from text
Posted by: ebolisa - Jul-18-2022, 01:26 PM - Forum: General Coding Help - Replies (4)

Hi,

The response from a web form fills an array. Its content may average from empty to several strings.
I need to extract data from said strings s..... More

Print this item

  Substitue multiple substrings in one command
Posted by: Pavel_47 - Jul-18-2022, 01:24 PM - Forum: General Coding Help - No Replies

Hello,

I have been looking for a solution to replace several different string fragments with different other fragments.
Here's a solution I found,..... More

Print this item

  KivyMD App to APK Convert Error
Posted by: Nick_MC - Jul-18-2022, 08:59 AM - Forum: General Coding Help - No Replies

I'm trying to convert my kivymd app to apk using Google Colab. I also use firebase for this app. However, it runs into an error and I don't know how t..... More

Print this item

  breaking out of nested loops
Posted by: Skaperen - Jul-17-2022, 10:53 PM - Forum: General Coding Help - Replies (3)

deep in some nested loops and a condition test, i need to break out of all of those loops. is there an easy way to do this? i can't use [i]go..... More

Print this item

  [Solved]Display PyQtTable results from A->Z & Z->A
Posted by: Extra - Jul-17-2022, 09:28 PM - Forum: GUI - Replies (2)

Hello,

How do I get my table display to sort the results depending on what header I click.

For ex:
If I click the "Categories" header it shou..... More


Attached Files

Thumbnail(s)
   
Print this item

  Scaping pages created by javascript
Posted by: mbizzl - Jul-17-2022, 07:09 PM - Forum: Web Scraping & Web Development - Replies (1)

Hi all, thanks in advance for any help or advice.

I am trying to create a script to scrape data from a website that contains status for childcare f..... More

Print this item

  Writing to json file
Posted by: ebolisa - Jul-17-2022, 04:13 PM - Forum: General Coding Help - Replies (1)

Hi
At times, the below function writes an extra "}" in the json file and I cannot see where the problem may lie. I appreciate some guidance.
Micropy..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Two arguments in input fu... 6 hours ago Alfredd noisefloor General Codin...
  Backward compatibility qu... 9 hours ago yutaozhou buran News and Disc...
  [Tkinter] I’m building a ... Yesterday, 19:29 tsgiannis tsgiannis GUI
  [openpyxl] Set the lockin... Yesterday, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... Yesterday, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... Yesterday, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
  Can I develop a live vide... 11-05, 08:31 mtrkhan ankitsharma32 Web Scraping ...
  [SOLVED] Linefeed when wr... 11-04, 11:51 Winfried buran General Codin...
Most views
  The best Prog... 578677
  Tutorial Requ... 509075
  Web Scraping ... 441835
  Newbie with P... 385787
  New Users Int... 375032
Most reputation
buran 581
snippsat 510
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+ 12102
buran 8194
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 24
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Cristiano Today
Alfredd Today
clayote Today
yutaozhou Yesterday
EchoFlowar3Dip Yesterday

User Panel Messages

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