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,248
» Latest member: kai_cow2710
» Forum threads: 38,779
» Forum posts: 175,815

Full Statistics

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

Latest Threads
New to python and coding
Forum: Homework
Last Post: mamta25
1 hour ago
» Replies: 2
» Views: 73
Help with Serial.write in...
Forum: General Coding Help
Last Post: racingsubby
1 hour ago
» Replies: 4
» Views: 125
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Yesterday, 09:52 AM
» Replies: 11
» Views: 279
Backward compatibility qu...
Forum: News and Discussions
Last Post: Gribouillis
Yesterday, 05:07 AM
» Replies: 5
» Views: 255
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 98
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,612
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 198
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 181
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 376,024
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,418

 
  How delete Qt Layout manager from another method?
Posted by: hobbyist - Sep-18-2021, 10:06 AM - Forum: GUI - Replies (4)

Hello, I use this code https://github.com/Axel-Erfurt/OrthoViewLite/blob/[url=https://python-forum.io/thread-34944.html]..... More

Print this item

  Pandas confused
Posted by: DPaul - Sep-18-2021, 07:26 AM - Forum: General Coding Help - Replies (6)

I use pandas occasionally to read excel files.
I found out that I can also use it to calculate subtotals
using group(...). Works fine. Except when i ..... More

Print this item

  Have to use Python 2.x to find "yesterday' files
Posted by: tester_V - Sep-18-2021, 02:28 AM - Forum: General Coding Help - Replies (6)

Greetings!
I'm trying to identify (and later copy) some files, the problem is the systems I must use have only Python 2.7 installed.
I managed to ge..... More

Print this item

  Run code like cell pycharm
Posted by: arsouzaesilva - Sep-17-2021, 07:00 PM - Forum: General Coding Help - Replies (3)

Hi,

Guys, a friend made some code and this code runs as a cell in Spyder. How do I run the same way on Pycharm. When I run nothing appears

[atta..... More


Attached Files

Thumbnail(s)
   
Print this item

  Simple Distance Between Points Calculator
Posted by: Spade - Sep-17-2021, 02:09 PM - Forum: Homework - Replies (1)

hi im new to coding this is only my seventh or so class for python!
today during my class we were assigned to make a simple distance between the point..... More

Print this item

  convert c code python
Posted by: satyanarayana - Sep-17-2021, 12:12 PM - Forum: General Coding Help - Replies (5)

Hi friends,

Below is my C code
[code]
void WaveFormsBuffer::FillOutputWaveFormBufferData(char *pBuffer,int nBuffsize,uint16_t nConfig)
{
..... More

Print this item

Question In need of insight regarding Python file reading mechanisms.
Posted by: EnfantNicolas - Sep-17-2021, 09:22 AM - Forum: General Coding Help - Replies (7)

I am a novice trying to do a simple thing:

read a huge (80 mb of text, around 500000 lines) database file -> make a copy of it while only changing ..... More

Print this item

  I'm trying to figure out why I always get this error while trying to calculate zonal
Posted by: AndreiDaniel22 - Sep-17-2021, 09:00 AM - Forum: General Coding Help - No Replies

I'm trying to figure out why I always get this error while trying to calculate zonal


[error]
ERROR 5: D:/cadastru2/task1B\ndvi\T35TNK_20210512T..... More

Print this item

  Srno not updating
Posted by: cybertooth - Sep-17-2021, 08:03 AM - Forum: General Coding Help - No Replies

Hi all
I have written this code where the entries are added to the database. when I run the code the srnor is updated to the next available number. I..... More

Print this item

  Form Results onto Page
Posted by: StewartLFI - Sep-17-2021, 07:46 AM - Forum: General Coding Help - Replies (3)

Looking for advice. Would like to make a series of accounts on a based system, where users can input their data on a form and this would be displayed ..... More

Print this item

  tkinter change the text of the checkbox
Posted by: zazas321 - Sep-17-2021, 05:14 AM - Forum: GUI - Replies (1)

Hello. I would like to know whether it is possible to change the text of the checkbox in the middle of the program. Please see the following code:
[c..... More

Print this item

  Help setting up Pycharm & Remote Pi
Posted by: PickyBiker - Sep-16-2021, 05:59 PM - Forum: General Coding Help - Replies (3)

First, I am new to both PyCharm and the tornado web server.
I am trying to setup a configuration to run the tornado web server with PyCharm and a rem..... More

Print this item

  NameError issue with daughter's newb code
Posted by: MrGonk - Sep-16-2021, 12:35 PM - Forum: General Coding Help - Replies (2)

My young daughter has started to learn Python and although I'm from a MF programming background, I'm not much help to her! We have tried moving the ..... More

Print this item

  Python Reminder MSTeams Chatbot
Posted by: ajaymedidi - Sep-16-2021, 07:13 AM - Forum: General Coding Help - No Replies

Hi All,

I am a beginner in python scripting.
I have given a task in my company to include a new feature to our chatops where our internal team m..... More

Print this item

  Newbie - code solution explained
Posted by: Stjude1982 - Sep-15-2021, 11:45 PM - Forum: General Coding Help - Replies (2)

Hi all,

I'm new to Python and working through a book with a project that has example solutions.
Project to create a Math/Binary game and exercise ..... More

Print this item

Star Looking for someone who can do Deep Learning AI,ML,NPL,Keras
Posted by: Calli - Sep-15-2021, 08:17 PM - Forum: Jobs - Replies (3)

If you're good at Deep Learning AI,ML,NPL and Keras please send me a message i have a simple tool which i would like to build using AI and ML.

Payi..... More

Print this item

  I want to scrap a tor site.
Posted by: Blue Dog - Sep-15-2021, 06:15 PM - Forum: Networking - Replies (4)

Hi I been working no this for over a month. I can get some data from this site with requests. I can't get any type of a reply with
BeautifulSoup. here..... More

Print this item

  Break out of nested loops
Posted by: muzikman - Sep-15-2021, 05:47 PM - Forum: General Coding Help - Replies (11)

Greetings,

I am writing a small program that will save an author to a CSV file. However, in the function

get_soup
I had to return ..... More

Print this item

  openpyxl insert list with formulas
Posted by: Irv1n - Sep-15-2021, 01:59 PM - Forum: General Coding Help - Replies (1)

Hello
I have this code:
[python]
wb = Workbook()
ws = wb.active
listf = [[1,1,1,1], [2,2,2,2], [3,3,3,3]]
calc_lst = [['=СЧЁТЕСЛИ(listf[x];"<>")..... More

Print this item

  hyperparameters do not make a difference in prediction
Posted by: jenya56 - Sep-15-2021, 12:53 PM - Forum: General Coding Help - No Replies

I am doing SVM and I always get the accuracy of 0.84 even after tuning my hyperparameters. Even if I play with scaling of the data, it does not seem t..... More

Print this item

  new window in separate thread - flask website
Posted by: Notabene - Sep-15-2021, 06:41 AM - Forum: Web Scraping & Web Development - Replies (3)

Hello,
I need to launch new window/tab on my flask website, which will be in separate thread and do its own job, with the ability to close/stop that ..... More

Print this item

  Text widget -macOS
Posted by: apffal - Sep-14-2021, 10:53 PM - Forum: General Coding Help - Replies (1)

When inserting results from a database into a text widget in MacOs, I get unwanted spaces between paragraphs.
However this behaviour doesn´t occur in..... More

Print this item

  Found input variables with inconsistent numbers of samples: [1000, 200]
Posted by: jenya56 - Sep-14-2021, 09:11 PM - Forum: General Coding Help - Replies (2)

Hi all,
I have this code that compiles all the way to the end. Once the function returns it goes though some accuracy calculations that are not set b..... More

Print this item

  Cancelling previous schedule
Posted by: cosmarchy - Sep-14-2021, 07:48 PM - Forum: General Coding Help - Replies (2)

Hi,

Just starting out with Python and am using VSCode to schedule a simple task so am using the following to get started:
[python]import sched
i..... More

Print this item

  breaking a large program into functions, not acting as expected
Posted by: Zane217 - Sep-14-2021, 04:16 PM - Forum: General Coding Help - Replies (9)

I am working on python code for a rotary encoder. By following others scripts I was able to get a working program but it skipped a lot of counts, b..... More

Print this item

  const or #define coming from C
Posted by: jamie_01 - Sep-14-2021, 04:02 PM - Forum: General Coding Help - Replies (11)

please, coming from C, where would be #define or const int ... to a newbie just scraping the surface of python?

for example, defining:

[code]
..... More

Print this item

  How to include input as part of variable name
Posted by: Mark17 - Sep-14-2021, 01:34 PM - Forum: General Coding Help - Replies (4)

Hi all,

Here's a code snippet:

[Python]
MA_list = [10,50,100]

for per in MA_list:
df_per = df.copy()
df_per[per_MA] = df_per['Adj ..... More

Print this item

  url web scraping
Posted by: Fraetos - Sep-14-2021, 07:11 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello,

I was wondering if it is possible to web scrape urls that you get from web scraping the original url? So the original url has 15 different u..... More

Print this item

  Data sets comparison
Posted by: Fraetos - Sep-14-2021, 06:45 AM - Forum: Data Science - No Replies

Hello,

I want to compare some basketball player statistics. I have two different data sets, one with players original stats and another one with so..... More

Print this item

  Jupyter kernel restarts
Posted by: russellm10 - Sep-14-2021, 04:24 AM - Forum: General Coding Help - No Replies

Hi everyone,

I am installing a package called "Lightweaver" inside an anaconda virtual environment. Applying the correct commands brings the enviro..... More

Print this item

  searching for IBM
Posted by: SamHobbs - Sep-14-2021, 12:16 AM - Forum: Board - Replies (1)

The forum software will not let me search for IBM. Has there been any discussion of using IBM Cloud as a host? Okay, ..... More

Print this item

  Deeply nested JSON editing tool w/set arithmetic
Posted by: epieye - Sep-13-2021, 06:04 PM - Forum: Code sharing - No Replies

Hey y'all, I'd like to get some feedback on a JSON editing tool I recently published: https://github.com/project705/jsonsam. This pulls together some..... More

Print this item

  Build a matrix by pressing buttons of an interface in Tkinter which extract data from
Posted by: juandiegopulla - Sep-13-2021, 05:32 PM - Forum: General Coding Help - Replies (1)

Hello I would like to ask for help.
From the matrix in excel shown below
A B C D E F G
1 2 1 1 7 1 1
2 3 2 4 4 2 5
3 4 3 4 5 4 6
4 5 5 5 5 6 7
..... More


Attached Files

.docx   Help.docx (Size: 130.8 KB / Downloads: 382)
Print this item

  Check multiple cases - Python 3.7
Posted by: WannaBePythonDev - Sep-13-2021, 05:22 PM - Forum: Code Review - No Replies

Hi guys.

This is the framework's API: http://www.logicthrupython.org/api/

[python]
def evaluate(formula: Formula, model: Model) -> bool:
"""Calc..... More

Print this item

  append a string to a modified line
Posted by: Mr_Blue - Sep-13-2021, 04:38 PM - Forum: General Coding Help - Replies (10)

i'll try to do this in steps:

1- problem: i must rewrite an corrupted m3u file its lines go:

[output]#EXTINF123#, Title - Song # let's sa..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  New to python and coding 1 hour ago lary_p mamta25 Homework
  Help with Serial.write in... 1 hour ago racingsubby racingsubby General Codin...
  [Tkinter] I’m building a ... Yesterday, 09:52 tsgiannis tsgiannis GUI
  Backward compatibility qu... Yesterday, 05:07 yutaozhou Gribouillis News and Disc...
  [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...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
  Best book on learning Pyt... 11-07, 06:07 almahdi mamta25 News and Disc...
  Recommend me a Python boo... 11-06, 08:33 woodward mamta25 Data Science
Most views
  The best Prog... 578828
  Tutorial Requ... 509829
  Web Scraping ... 441914
  Newbie with P... 385911
  New Users Int... 376024
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+ 12105
buran 8195
snippsat 7388
deanhystad 6907
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
kai_cow2710 Today
Kacper Yesterday
isla123456 Yesterday
vibrometro Yesterday
thebigback 11-10

User Panel Messages

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