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,396
» Latest member: aellatsz9602
» Forum threads: 38,823
» Forum posts: 176,026

Full Statistics

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

Latest Threads
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Today, 12:11 AM
» Replies: 1
» Views: 104
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Yesterday, 09:12 AM
» Replies: 1
» Views: 4,598
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 08:37 AM
» Replies: 4
» Views: 195
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Yesterday, 07:27 AM
» Replies: 7
» Views: 3,609
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 165
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 316
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,120
Lottery generator (beginn...
Forum: General Coding Help
Last Post: Pedroski55
Dec-27-2025, 01:10 AM
» Replies: 5
» Views: 9,981
[split] How to ask Smart ...
Forum: General Coding Help
Last Post: Pedroski55
Dec-25-2025, 07:58 AM
» Replies: 2
» Views: 190
Need Help with Pandas Con...
Forum: Bar
Last Post: Axel_Erfurt
Dec-24-2025, 10:07 AM
» Replies: 1
» Views: 123

 
  Type error in Cross_val_score
Posted by: Vicral - Jul-20-2021, 12:18 PM - Forum: Data Science - No Replies

I am creating a neural network that distinguishes between malignant and benign skin tumors using computer vision. I want to perform a k-fold validatio..... More


Attached Files

Thumbnail(s)
           
Print this item

  In which direction to learn Python?
Posted by: ramdev - Jul-20-2021, 07:07 AM - Forum: Bar - Replies (2)

Hello. I want to ask you in which direction to start as a beginner?
Studying Eric Mathis at the moment.
Using translator!

Print this item

  Total electric construction cost project
Posted by: SecondSandwich94 - Jul-20-2021, 03:52 AM - Forum: General Coding Help - Replies (2)

Hey guys! I've started learning Python on my own and am looking to start building real world projects in order to boost my understanding of how things..... More

Print this item

  How to display combobox related values in labels
Posted by: Lalremruata - Jul-20-2021, 02:45 AM - Forum: General Coding Help - No Replies

I successfully fetch SQLite database and display it in a combobox. However, I don't know how to fetch it's related values (database column) and displa..... More


Attached Files

.zip   date.ui.zip (Size: 1.23 KB / Downloads: 640)
.zip   date.py.zip (Size: 1.84 KB / Downloads: 500)
.zip   DB.zip (Size: 1.87 KB / Downloads: 456)
Print this item

  Failing to get Stat for a Directory
Posted by: tester_V - Jul-20-2021, 01:50 AM - Forum: General Coding Help - Replies (11)

Greetings!
I have directories with an empty file or two, I want to identify and delete them.
I thought I could use Path().stat().st_size but the cod..... More

Print this item

  changing Python files to .exe
Posted by: alok - Jul-19-2021, 05:42 PM - Forum: General Coding Help - Replies (2)

Is the ability already in my Python version 3.9.5 , to change files to .exe ? If not what is the best software to do this ?

Al

Print this item

  Python Crash Course ( 2nd edition)
Posted by: alok - Jul-19-2021, 04:10 PM - Forum: General Coding Help - Replies (1)

In using the book as you follow it , Chap. 1 ,2 ,etc. must you leave all that was entered in Sublime ,there. Or can it be cleared out as you learn a n..... More

Print this item

  [split] Is there some coding that will do the following in 3 separate events?
Posted by: bensan - Jul-19-2021, 11:29 AM - Forum: General Coding Help - Replies (23)

Is there some coding that will do the following in 3 separate events? -

(1) Select All
(2) Copy
(3) Paste

By the way I tried to find "Start Ne..... More

Print this item

  (Path?)Problems with dockerizing a python app
Posted by: sgofferj - Jul-19-2021, 10:02 AM - Forum: General Coding Help - No Replies

Hi,

I don't know much about Python - haven't used it much yet. I'm trying to dockerize a python 2 app which doesn't seem to be maintained anymore: ha..... More

Print this item

  Extracting Elements From A Website List
Posted by: knight2000 - Jul-19-2021, 08:08 AM - Forum: General Coding Help - Replies (2)

Hi all,

I'm practicing some webscraping and have come up to an obstacle that has me stuck.

I'm trying to use code that will go through a few di..... More

Print this item

  comparing 2 lists
Posted by: rwahdan - Jul-18-2021, 05:37 PM - Forum: General Coding Help - Replies (2)

Hi,

I have problem comparing 2 lists. one list has 10 records and the other have less than 10 so it is between 1 and 9 records. What I am trying to..... More

Print this item

  download with internet download manager
Posted by: coral_raha - Jul-18-2021, 03:11 PM - Forum: General Coding Help - No Replies

Hi every one
I want to change this code a bit . it is ideal for me to download these zip folders with Internet Download Manager software. because i..... More


Attached Files

Thumbnail(s)
   
Print this item

  openpyxl incorrect delete rows
Posted by: VladislavM - Jul-18-2021, 12:24 PM - Forum: General Coding Help - Replies (6)

When I delete lines through openpyxl, they are not deleted correctly. In some places they even stay. Need to delete rows completely, as excel does. Th..... More

Print this item

  Optmized way to rewrite this very slow code
Posted by: liva28 - Jul-18-2021, 12:16 PM - Forum: General Coding Help - No Replies

Hey folks,

This is my first post so please bear with me. I need some help to optimize the below one liner.

[python]pd_df.loc[flag, 'COL_{}'.form..... More

Print this item

  sorting with numbers in text
Posted by: Skaperen - Jul-17-2021, 11:48 PM - Forum: News and Discussions - Replies (5)

back when i coded in C, i implement a sort function that worked with key strings (C style) that could have a common pattern of numbers within each str..... More

Print this item

  use thing before self
Posted by: sylvanas - Jul-17-2021, 07:37 PM - Forum: General Coding Help - Replies (3)

Is this possible? Or anything else can work in another way?
[python]
class A():
def __init__(self):
self.b=B()
def func_in_A(self..... More

Print this item

  ValueError: dimension mismatch
Posted by: Anldra12 - Jul-17-2021, 04:44 PM - Forum: General Coding Help - No Replies

Test word2vector model for text data similarity that return me an error ValueError: dimension mismatch

[color=#D35400]Error: [..... More

Print this item

  Dell Dnos6 scripting
Posted by: mikey6785 - Jul-17-2021, 03:35 PM - Forum: Networking - No Replies

I am new to python and I have been wanting to learn for the purposes of network automation.

many of the scripts online for example the ones found on ..... More

Print this item

  building a basic interpreter
Posted by: usercat123 - Jul-17-2021, 03:06 PM - Forum: General Coding Help - Replies (1)

Nvm found the issue :)

Print this item

  Python Pandas: How do I average ONLY the data >1000 from several columns?
Posted by: JaneTan - Jul-17-2021, 01:34 PM - Forum: General Coding Help - No Replies

I am new to pandas. I just want to average the revenue from Revenue1 to Revenue3 that are > 1000. The dataframe will have other numerical columns like..... More

Print this item

Question I want to vectorize a really long for loop to improve performance
Posted by: Miregal1 - Jul-17-2021, 12:52 PM - Forum: Data Science - Replies (1)

I have a bunch of mouse nerual spike data. The neurons activate when the mouse is in certain locations, from which I calculate the average firing rate..... More

Print this item

  How to invoke a function with return statement in list comprehension?
Posted by: maiya - Jul-17-2021, 09:35 AM - Forum: General Coding Help - Replies (4)

Hi All,

I want to invoke a function with return statement using list comprehension or even lambda (if possible) for the better performance. Below i..... More

Print this item

  Python Pandas: How do I extract all the >1000 data from a certain column?
Posted by: JaneTan - Jul-17-2021, 09:09 AM - Forum: General Coding Help - No Replies

Hi

I am new to pandas. For Revenue, I just want to extract all Revenue !>1000, and sum all the extracted data.

**Input:**

`
|Name ..... More

Print this item

  I have a simple problem
Posted by: ahmed - Jul-17-2021, 02:12 AM - Forum: Homework - Replies (5)

Hello
please help me
Condition 1 (if the result is between 3 and 5)
Condition 2 (and has been in contact with an infected person),

print(he/she ..... More

Print this item

  Neural Art GUI- Create 60s style background videos
Posted by: steve_shambles - Jul-16-2021, 07:02 PM - Forum: Code sharing - No Replies

Neural Art GUI V0.11 (first release)
By Steve Shambles, July 2021



A very Basic GUI for Windows and Linux to create art videos easily and quickly.

..... More

Print this item

  building a basic interpreter
Posted by: usercat123 - Jul-16-2021, 05:55 PM - Forum: General Coding Help - Replies (1)

Hi,
I'm trying to build an interpreter that interprets basic calculator commands. For some reason not apparent to me for the input 1+2 my code outputs..... More

Print this item

Sad SyntaxError: from simple python example file from mind-monitor code (muse 2)
Posted by: warmcupoftea - Jul-16-2021, 02:11 PM - Forum: General Coding Help - Replies (4)

I am working on a project using Muse 2, the brain wave detector. And I found the very simple code by James from mind-monitor.com and the app.
It look..... More

Print this item

  Need help understanding .pop
Posted by: Akulinyak - Jul-16-2021, 12:25 PM - Forum: Homework - Replies (3)

Hi! taking a course on coursera - Mathematical Thinking in Computer Science

There is an example of creating a permutation and I am having porblems ..... More

Print this item

  how to catch schema error?
Posted by: maiya - Jul-16-2021, 08:37 AM - Forum: General Coding Help - No Replies

Hi All,

I wanted to catch the schema error from yaml schema validation, at the same time it should not throw on console as well. I have written som..... More

Print this item

  Generate random hex number
Posted by: ZYSIA - Jul-16-2021, 07:40 AM - Forum: General Coding Help - Replies (1)

Hi!
i've a hexa conversion program here :
what i would like to try now is instead of manually throwing in hex number like 0x80 0x0F etc... i would l..... More

Print this item

  class needs to refer a different class
Posted by: Skaperen - Jul-16-2021, 05:56 AM - Forum: News and Discussions - Replies (22)

i have a class that, during __init__(), detects a situation where a different class, not itself, needs to be provided to the caller. but Python class..... More

Print this item

  Can't install python
Posted by: MurphysLaw - Jul-16-2021, 03:32 AM - Forum: General Coding Help - Replies (1)

To give quick run down, I system restored today and it failed at some point. cause of eset I think. It said before I would need to reinstall python........ More

Print this item

  How to convert binary data into text?
Posted by: ZYSIA - Jul-16-2021, 02:15 AM - Forum: General Coding Help - Replies (3)

hi

this is my coding to convert HEX to Binary :
[python]# conversion of hex string
# to binary string

import math

# Initialising hex string..... More

Print this item

  remove b due to conversion in PyQ
Posted by: Creepy - Jul-15-2021, 08:14 PM - Forum: Data Science - Replies (9)

Hi Team,

Am trying to get rid of the b that appears in the column?

Data type of my output:

df.info()
[output]Date: Dtype: o..... More

Print this item

  propper formating
Posted by: paracelsusx - Jul-15-2021, 07:52 PM - Forum: General Coding Help - Replies (2)

Hello, I am learning python3 using the python crash course book and I have decided to try to learn the most accepted way to properly format my code ea..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Opencv findContours Q Today, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... Yesterday, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... Yesterday, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... Yesterday, 07:27 Calab OtiliaGen Data Science
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
  IP address for users 12-27, 05:53 Robots itx_sumeet Networking
  Lottery generator (beginn... 12-27, 01:10 Hullari Pedroski55 General Codin...
  [split] How to ask Smart ... 12-25, 07:58 yoanselcp Pedroski55 General Codin...
  Need Help with Pandas Con... 12-24, 10:07 naproxy_1 Axel_Erfurt Bar
  requests.post not sending... 12-24, 09:20 JarredAwesome noisefloor Web Scraping ...
Most views
  The best Prog... 580435
  Tutorial Requ... 519688
  Web Scraping ... 442788
  Newbie with P... 386993
  New Users Int... 386622
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 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
aellatsz9602 Today
cruisesfares Today
azam Today
zcharlesoogleto9533 Today
MaxTranslate Yesterday

User Panel Messages

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