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,241
» Latest member: ColorTig
» Forum threads: 38,777
» Forum posts: 175,795

Full Statistics

Online Users
There are currently 48 online users.
» 0 Member(s) | 43 Guest(s)
Google, Bing, Apple, Facebook

Latest Threads
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
4 hours ago
» Replies: 1
» Views: 30
Data Science
Forum: Data Science
Last Post: mamta25
4 hours ago
» Replies: 3
» Views: 2,573
I’m building a Python Dat...
Forum: GUI
Last Post: woooee
11 hours ago
» Replies: 1
» Views: 98
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:56 AM
» Replies: 4
» Views: 148
Backward compatibility qu...
Forum: News and Discussions
Last Post: buran
Nov-08-2025, 10:39 AM
» Replies: 3
» Views: 128
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 128
New Users Introduce Yours...
Forum: Bar
Last Post: BelleroDev
Nov-07-2025, 09:09 AM
» Replies: 452
» Views: 375,311
Best book on learning Pyt...
Forum: News and Discussions
Last Post: mamta25
Nov-07-2025, 06:07 AM
» Replies: 2
» Views: 3,379
Recommend me a Python boo...
Forum: Data Science
Last Post: mamta25
Nov-06-2025, 08:33 AM
» Replies: 7
» Views: 5,581
Code runs perfectly and j...
Forum: General Coding Help
Last Post: noisefloor
Nov-05-2025, 05:56 PM
» Replies: 2
» Views: 207

 
  How did one column get left-justified?
Posted by: Mark17 - Feb-26-2022, 07:19 PM - Forum: General Coding Help - Replies (6)

So I was going about tweaking the formatting of this .csv file (in Excel) generated by Python and then at one point, the S_exp_mo column (that is, col..... More

Print this item

  class, attribute and method
Posted by: Frankduc - Feb-26-2022, 05:02 PM - Forum: General Coding Help - Replies (9)

Hello,

Its been a few hours i am struggling with this code. I am having a hard time understanding the use of classes and constructors.

[python]from ..... More

Print this item

  Rock paper scissors in python with "algorithm"
Posted by: Agat0 - Feb-26-2022, 02:42 PM - Forum: General Coding Help - Replies (24)

In the end I was able to do it thanks to what I was looking for through the dictionary of victory made

Print this item

  cmake and pip3 install warnings with python 3.10.2
Posted by: cyrduf - Feb-26-2022, 01:08 PM - Forum: General Coding Help - No Replies

Hi,

I make upgrades for python 3.10.2 on a centos.
I upgrade cmake also with 3.22.1.
And I install python faker module (because it's seems to be ..... More

Print this item

  Sorting table data
Posted by: Blacktime2 - Feb-26-2022, 12:57 PM - Forum: General Coding Help - Replies (1)

Hi everyone,

I've a difficulties with my project, I'm a novice in Python. I would like sort my column "TypeDOC" in descending order but it's not p..... More

Print this item

  How do I link the virtual environment of that project to the 3.9.2 version of python?
Posted by: Bryant11 - Feb-26-2022, 06:43 AM - Forum: General Coding Help - Replies (1)

I install python version 3.9.0 on my PC. I then created my virtual environment, created my project and everything worked really well. After some month..... More

Print this item

  scikit-tensor package
Posted by: Lamine - Feb-26-2022, 03:31 AM - Forum: Data Science - Replies (1)

Hello,

I'm tring to install scikit-tensor package but iI have this problem

C:\>pip install scikit-tensor
Collecting scikit-tensor
Using cac..... More

Print this item

  a form of coded logic in a comand line
Posted by: Skaperen - Feb-25-2022, 07:09 PM - Forum: News and Discussions - Replies (10)

i am wanting to come up with an easy way to express Python logic in a single line of tokenized text like that which comes from command arguments in sy..... More

Print this item

  Is it possible to make a program recognize how many clicks it has had on the monitor?
Posted by: jao - Feb-25-2022, 06:31 PM - Forum: General Coding Help - No Replies

I need a screen developed in tkinter to appear on the monitor, but with one condition: only when the user presses the right mouse button twice. Is it ..... More

Print this item

  remove zeros at the end of a number
Posted by: Frankduc - Feb-25-2022, 02:28 PM - Forum: General Coding Help - Replies (7)

Hello,

I am trying to remove the .0000 in the result of my window for variable carres and cubes.

I tried truncate, int, round but nothing helps...... More

Print this item

  [Solved] Delete a line in a dataframe using .reset_index() and .drop()
Posted by: ju21878436312 - Feb-25-2022, 01:14 PM - Forum: General Coding Help - Replies (2)

Hi out there,

I'd like to delete a line in the dataframe "df_new". Why does it not work? I get the error: "KeyError: '[0] not found in axis".

[..... More

Print this item

  Building python (3.9.5) with different libexpat version (2.4.6)
Posted by: raghupcr - Feb-25-2022, 11:29 AM - Forum: General Coding Help - No Replies

Hi All,

we are using python 3.9.5 version in our application.

when there are any issues ( security issues ) in external modules like openssl, bz..... More

Print this item

  drawing moving circle on line with python
Posted by: barrai - Feb-25-2022, 09:36 AM - Forum: General Coding Help - Replies (1)

hi how are u
i can draw circle and draw line but i cant how to draw moving circle on line .please help me.

Print this item

  Isolate a word from a long string
Posted by: nicocorico - Feb-25-2022, 08:05 AM - Forum: General Coding Help - Replies (2)

Hello everyone,

I am trying to isolate specific words out of a string if present but until now with no success.
If in the string I have 'irg', 's..... More

Print this item

Lightbulb Open CV
Posted by: Utkarsha - Feb-25-2022, 05:47 AM - Forum: General Coding Help - Replies (5)

Hi all,

This post is regarding image registration using open CV. I have come across this article in Geeks for geeks and following is the link:

h..... More

Print this item

  Python 3.10 not happy with Pandas and PyPlot?
Posted by: Danno - Feb-25-2022, 05:39 AM - Forum: General Coding Help - Replies (1)

Hi. I've been using the V3.10 of Python. I've been having all sorts of weird errors. The latest is "'NoneType' object is not callable." Given th..... More

Print this item

  Exception handler problem part 2
Posted by: Leo - Feb-25-2022, 04:59 AM - Forum: Homework - Replies (3)

Hello everyone, I'm still new to this so bear with me please

My issue today is that I need to create a program that continually prompts the user fo..... More

Print this item

Question Opencv and threading
Posted by: ethernel - Feb-25-2022, 04:27 AM - Forum: General Coding Help - Replies (4)

So, hello everyone, I really need yo help

it's been 4days i'm learning python and 2days i'm stuck on one thing

https://www.youtube.com/playlist?..... More

Print this item

  Python3 for loop over a dict
Posted by: ogautier - Feb-25-2022, 01:28 AM - Forum: General Coding Help - Replies (3)

[quote]
Hello!
I am trying to get all the values individually for each asset for example:

BCHUSD
a = 301.340000
b = 301.160000
c = 301.280000 ..... More

Print this item

  How does UnboundLocalError work?
Posted by: deanhystad - Feb-24-2022, 09:06 PM - Forum: General Coding Help - Replies (3)

While answering a question on the forum I wrote an example where I knew the outcome, but I don't understand the reason for the outcome.
[python]check..... More

Print this item

  DNS qery library
Posted by: Skaperen - Feb-24-2022, 08:45 PM - Forum: News and Discussions - Replies (7)

i recall seeing a library suitable for very specific DNS queries. i can't find it, now. looking in pypi i find tons of stuff for dns. but, i can't ..... More

Print this item

  Nested functions: calculation is not performed
Posted by: alexfrol86 - Feb-24-2022, 03:42 PM - Forum: General Coding Help - Replies (4)

Hi! Below is my code performed as nested functions. The iterations go not through all lines but only within lines 14-16. Thus, I receive no results. I..... More

Print this item

  String concatenation in SQL update statement
Posted by: hammer - Feb-24-2022, 03:22 PM - Forum: General Coding Help - Replies (3)

In the following Update statement i get shown Exception. Below are the arguments.
Could it be the parentheses around argg that is causing issue?
If..... More

Print this item

  Python versions with libexpat fixes
Posted by: raghupcr - Feb-24-2022, 12:36 PM - Forum: General Coding Help - Replies (5)

Hi Friends,

Anyone having information about the python versions in which the libexpat security issues are getting fixed

below is the bug id for ..... More

Print this item

  Program that allows to accept only 10 integers but loops if an odd number was entered
Posted by: gachicardo - Feb-24-2022, 05:15 AM - Forum: Homework - Replies (4)

Hello! first post here, and it's my first time using Python. I was given a task about creating a console program in Python that allows to accept only ..... More

Print this item

  Some line code explanation
Posted by: Chrilo06 - Feb-24-2022, 03:57 AM - Forum: Homework - Replies (3)

Hello I am new to python and I still get confused in some parts. I have this code that I want to understand. I can understand most of it but I get con..... More

Print this item

  Confidence interval after doing penalised cox regression
Posted by: HatemAli - Feb-23-2022, 11:02 PM - Forum: General Coding Help - No Replies

Dear All
In scikitlearn link:
https://scikit-survival.readthedocs.io/e...oxnet.html

It shows how to do penalised cox regression..... More

Print this item

  Exception handler problem
Posted by: Leo - Feb-23-2022, 10:51 PM - Forum: Homework - Replies (10)

Hello everyone. This is my first post so forgive me if I do something wrong.

Here's the problem given to me by my professor:

The coefficient of ..... More

Print this item

  Scope of variable confusion
Posted by: Mark17 - Feb-23-2022, 09:46 PM - Forum: General Coding Help - Replies (10)

Hi all,

Here's a simple code:

global check

check = 0

def sample_fcn():
  check += 1

sample_fcn()

print(check)
..... More

Print this item

  BeautifulSoup not parsing other URLs
Posted by: giddyhead - Feb-23-2022, 05:35 PM - Forum: Web Scraping & Web Development - No Replies

Hello again everyone. The following issue I have currently at hand. The script runs to the second page for example "https://www.startpage.com/lookup/..... More

Print this item

  Trying to determine attachment file type before saving off..
Posted by: cubangt - Feb-23-2022, 04:23 PM - Forum: General Coding Help - Replies (1)

So i have the following code in order to save email attachments from emails within a folder.. and cant seem to figure out how to check the attachment ..... More

Print this item

  Problems with ValueMember vs DisplayMember with combobox
Posted by: dford - Feb-23-2022, 02:04 PM - Forum: GUI - Replies (7)

I might have included more code than necessary. The code in question is the last four lines.

What I get in the display is a concatenation of Inspe..... More

Print this item

  wireless question
Posted by: DPaul - Feb-23-2022, 07:43 AM - Forum: Bar - Replies (5)

Hi,
I want to embark on a Python project, that requires some "wireless" insights. Maybe somebody here can help.
Application purpose: a room with a g..... More

Print this item

  Learning Python, advice on current project
Posted by: Yahweh132 - Feb-23-2022, 03:09 AM - Forum: Code Review - No Replies

I've recently started learning python and have started a project to try and wrap my head around different concepts and to just try to get the general ..... More

Print this item

  testing if an iterator is empty
Posted by: Skaperen - Feb-23-2022, 12:23 AM - Forum: News and Discussions - Replies (9)

is there a way to test if an iterator is empty without "consuming" any content in case it is not empty? does a true/false test accomplish this? i do..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  [split] print two differe... 4 hours ago Reema Gribouillis General Codin...
  Data Science 4 hours ago Oshadha mamta25 Data Science
  [Tkinter] I’m building a ... 11 hours ago tsgiannis woooee GUI
  Two arguments in input fu... Yesterday, 00:56 Alfredd Pedroski55 General Codin...
  Backward compatibility qu... 11-08, 10:39 yutaozhou buran News and Disc...
  [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
  Code runs perfectly and j... 11-05, 17:56 compuman145 noisefloor General Codin...
  Natural language processi... 11-05, 14:03 maaaa2401 offsoar Homework
Most views
  The best Prog... 578728
  Tutorial Requ... 509408
  Web Scraping ... 441869
  Newbie with P... 385827
  New Users Int... 375311
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 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
ColorTig Today
AcoolPurpleOne1863 Today
racingsubby Today
Reema Today
lary_p Yesterday

User Panel Messages

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