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,939
» Latest member: goodvicent
» Forum threads: 38,724
» Forum posts: 175,513

Full Statistics

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

Latest Threads
private dating for adults
Forum: General Coding Help
Last Post: xyz987
45 minutes ago
» Replies: 0
» Views: 12
NEED HELP, LOST OF INVEST...
Forum: General Coding Help
Last Post: goodvicent
3 hours ago
» Replies: 0
» Views: 71
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
8 hours ago
» Replies: 11
» Views: 4,089
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 570
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Sep-19-2025, 12:30 PM
» Replies: 1
» Views: 3,510
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 922
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,407
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,265
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,467
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,435

 
  Dictionary generator
Posted by: Irv1n - Jul-20-2021, 04:12 PM - Forum: General Coding Help - Replies (5)

I need ideas how to implement such a dictionary, where the program will request data and ultimately get this kind of dictionary?
For example:

[python..... More

Print this item

  Using MySQL database images or data dumps
Posted by: Planetary_Assault_Systems - Jul-20-2021, 03:42 PM - Forum: Data Science - Replies (1)

Greetings

I am trying to build a web app using Dash. I am trying to analyse F1 data (lap times) using the ergast AP[url=https://python-forum.io/thread-34331.html]..... More

Print this item

  best " Learning Python " book for a beginner
Posted by: alok - Jul-20-2021, 03:32 PM - Forum: General Coding Help - Replies (4)

I purchased the 2nd edition Python Crash Course ,is there a "really easy " book to learn Python,like really easy - but at the same time explains what..... More

Print this item

  [split] Change Text Size in Console?
Posted by: CodingKid - Jul-20-2021, 02:42 PM - Forum: General Coding Help - Replies (1)

i need some help i accedentily changed the output text size and i cant figure out how to change it back

Print this item

  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: 631)
.zip   date.py.zip (Size: 1.84 KB / Downloads: 486)
.zip   DB.zip (Size: 1.87 KB / Downloads: 443)
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

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  private dating for adults 45 minutes ago xyz987 xyz987 General Codin...
  NEED HELP, LOST OF INVEST... 3 hours ago goodvicent goodvicent General Codin...
  403 Error 8 hours ago 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...
Most views
  The best Prog... 576406
  Tutorial Requ... 498158
  Web Scraping ... 440303
  Newbie with P... 384195
  New Users Int... 367160
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+ 12089
buran 8175
snippsat 7368
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
goodvicent Yesterday
atylerfraces2254 Yesterday
AdrianCocian Yesterday
humanoidAI Yesterday
Baran12332 09-19

User Panel Messages

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