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,399
» Latest member: zanathanlttle647
» Forum threads: 38,826
» Forum posts: 176,029

Full Statistics

Online Users
There are currently 46 online users.
» 0 Member(s) | 41 Guest(s)
Bing, Google, Mojeek, Internet Archive, AOL

Latest Threads
Fake Skating Pdf Format
Forum: General Coding Help
Last Post: zanathanlttle647
3 hours ago
» Replies: 0
» Views: 29
Shield Of Sparrows Pdf
Forum: General Coding Help
Last Post: zasophiatpo5446
3 hours ago
» Replies: 0
» Views: 19
dtmfgpo,guy678
Forum: General Coding Help
Last Post: GeraldNoive
3 hours ago
» Replies: 0
» Views: 26
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:11 AM
» Replies: 1
» Views: 120
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,601
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 199
Create dataframe from the...
Forum: Data Science
Last Post: OtiliaGen
Dec-29-2025, 07:27 AM
» Replies: 7
» Views: 3,613
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 168
Calling python from anoth...
Forum: General Coding Help
Last Post: eedjsa
Dec-27-2025, 04:06 PM
» Replies: 9
» Views: 324
IP address for users
Forum: Networking
Last Post: itx_sumeet
Dec-27-2025, 05:53 AM
» Replies: 4
» Views: 7,122

 
  Could Someone help me with List problem
Posted by: alexsendlegames100 - Jun-30-2021, 02:22 AM - Forum: General Coding Help - Replies (1)

[python]
import math

A = list(map(int, input()))

B = list(map(int, input()))

#C = list(map(int, input()))

if A,B < len(3):
print(D_1)..... More


Attached Files

.py   _1.py (Size: 296 bytes / Downloads: 355)
Print this item

  How to capture string from a line to certain line
Posted by: jerald - Jun-30-2021, 01:16 AM - Forum: General Coding Help - Replies (1)

I have a file called abc.py with has several function which is the code below. I have another python file to extract abc.py as string.
GOAL: h..... More

Print this item

  BeautifulSoup pagination using href
Posted by: rhat398 - Jun-29-2021, 10:22 PM - Forum: Web Scraping & Web Development - Replies (1)

I am trying to scrape all thee events from https://www.onthisday.com/events/february/5 I am get..... More

Print this item

  my python file closing
Posted by: rwahdan - Jun-29-2021, 10:19 PM - Forum: General Coding Help - Replies (1)

I have 2 python files in the same directory. I have a menu that will call the 2nd python file to play a movie after choosing one. It is working fine u..... More

Print this item

  Inheritance vs Union
Posted by: gserranowong - Jun-29-2021, 05:03 PM - Forum: General Coding Help - Replies (3)

First of all, I realize inheritance and Unions are totally two different things. However, I would like to get your opinions on this issue I detail bel..... More

Print this item

  Try,Except,Else to check that user has entered either y or n (Code block pasted)
Posted by: RandomNameGenerator - Jun-29-2021, 03:09 PM - Forum: General Coding Help - Replies (3)

Hey up, pretty simple query. I just want to check the user has entered either y or n , its going straight to the else: regardless of the input
Thanks..... More

Print this item

  I can't play MP4 files
Posted by: rwahdan - Jun-29-2021, 10:58 AM - Forum: GUI - Replies (11)

Hi,

I am trying some code I found in the community but I want to be able to play MP4 files but can't.

[python]
class window(QWidget):
def ..... More

Print this item

  Caesar Cipher Help
Posted by: pbrowne - Jun-29-2021, 07:20 AM - Forum: General Coding Help - Replies (2)

The following Caesar Cypher code is not working (Python 3). The text file is being written, but with incorrect cipher.

e.g. Input text as 'Hello' s..... More

Print this item

  Can I open\use threading in Python?
Posted by: korenron - Jun-29-2021, 06:45 AM - Forum: General Coding Help - Replies (2)

Hello
want to know if I can do this \ how

I have a code that open FTP and send files to my devices from DB list.

my problem is that it take to..... More

Print this item

  Calculator exceptions
Posted by: HereweareSwole - Jun-29-2021, 04:30 AM - Forum: Homework - Replies (5)

Hello everyone,
Could anyone tell me how I could create a exception (error handling) to deal with users who put letters or "+"/"-" into the calculato..... More

Print this item

  Sum similar items
Posted by: tester_V - Jun-29-2021, 04:09 AM - Forum: General Coding Help - Replies (3)

Greetings!
I'm trying to sum(count) similar items in a file.
File example:
[python]
PRQ09_PCX0161Host,DV1
PRQ09_PCX0170Host,PHQ
PRQ09_PCX0171Hos..... More

Print this item

  string.format() suddenly causing errors with google drive API
Posted by: zwitrader - Jun-28-2021, 11:38 PM - Forum: General Coding Help - No Replies

This morning I abruptly started having problems with previously working (unchanged) code to access google drive via their API.

Briefly, the followi..... More

Print this item

  An implementation of Dijkstra's shortest path algorithm
Posted by: Gribouillis - Jun-28-2021, 10:39 PM - Forum: Code sharing - Replies (1)

I wanted an implementation of the shortest path algorithm in the case where the nodes of a potentially infinite graph are generated on the fly, so her..... More

Print this item

  is this a good way to catch exceptions?
Posted by: korenron - Jun-28-2021, 10:28 AM - Forum: General Coding Help - Replies (14)

Hello ,
I have a small app that uplaod file to my devices using FTP and update the DB.
it's working
my question is - is the "Exceptions" part good? ..... More

Print this item

  [Solved] Reading every nth line into a column from txt file
Posted by: Laplace12 - Jun-28-2021, 09:47 AM - Forum: General Coding Help - Replies (7)

Hey!

I have a text file that I want to sort out. I've coded this and tried dataframe, but that only prints the last line. The code I have now is t..... More

Print this item

  moving label position
Posted by: rwahdan - Jun-28-2021, 04:35 AM - Forum: GUI - Replies (1)

I am trying to animate a label by moving it little by little. I have the following code but it is not doing anything.

[python]
global status_name..... More

Print this item

  gensim (TfidfModel): How much is the Tf-Idf computed?
Posted by: JaneTan - Jun-28-2021, 04:20 AM - Forum: Data Science - No Replies

Hi

For the below test text ,
test=['test test', 'test toy'],
the tf-idf score is
[['test', 1.0]]
[['test', 0.35], ['toy', 0.94]]

I am not sure h..... More

Print this item

  f string concatenation problem
Posted by: growSeb - Jun-28-2021, 04:19 AM - Forum: General Coding Help - Replies (3)

Hi Group, I'm new. So hopefully I'll figure out how to navigate this forum and get the help I need as I'm trying to learn python. Currently, I'm havin..... More

Print this item

  Complete beginnner making a text based adventure
Posted by: Mishmaccles - Jun-28-2021, 01:27 AM - Forum: Game Development - Replies (2)

Hello there

I’ve decided to start a new hobby and I’m following a tutorial on making a text based adventure.

I’d like to insert a question durin..... More

Print this item

  Imports in my first package
Posted by: cuppajoeman - Jun-27-2021, 11:36 PM - Forum: General Coding Help - Replies (1)

Hi there, I have just created my first package and I'm testing it out before I upload it to pypi. As ..... More

Print this item

  Read and write active Excel file
Posted by: euras - Jun-27-2021, 07:58 PM - Forum: General Coding Help - Replies (4)

Hi, is it possible to read and write an active Excel workbook? All I have found so far, is either create a new Excel and write inn, or provide a path ..... More

Print this item

  script with imports works but pytest gives "ModuleNotFoundError"?
Posted by: Hpao - Jun-27-2021, 05:33 PM - Forum: General Coding Help - No Replies

I'm trying to setup my first python project with pytest but I'm having trouble executing my tests. The module itself seems to be working as intended..... More

Print this item

  Subdividing a column
Posted by: mesh01 - Jun-27-2021, 04:16 PM - Forum: General Coding Help - Replies (8)

Hi,

I have an "input.txt" file which contains this column of numbers:

5 
77 
1
-4
9
17
13
2
1
5
63
8
I wo..... More

Print this item

  statusbars
Posted by: rwahdan - Jun-27-2021, 04:01 PM - Forum: GUI - Replies (4)

Hi,

I need to have only 1 status bar to display some info in the bottom right and some other info in the bottom left but all in the same line (same..... More

Print this item

  books on learning coding
Posted by: alok - Jun-27-2021, 02:28 PM - Forum: News and Discussions - Replies (3)

I purchased the PYTHON CRASH COURSE ,2nd edition. Is there another book that would be very basic on learning this code that someone can recommend. I f..... More

Print this item

  ssh tunnel connection dropped with Python
Posted by: achille - Jun-27-2021, 02:17 PM - Forum: Networking - No Replies

under linux bash, I build ssh tunnel this way:
ssh -ND 5545 -vvv -p 443 user@server

[output][...]
user@server's password:
[...]
de..... More

Print this item

  the first item in listbox
Posted by: rwahdan - Jun-27-2021, 01:40 PM - Forum: GUI - Replies (4)

Hi,

I need to know how to get the value of the first item in the listbox?

song_box.select_set(0)
I think this will only make..... More

Print this item

  How to test and import a model form computer to test accuracy using Sklearn library
Posted by: Anldra12 - Jun-27-2021, 08:42 AM - Forum: General Coding Help - Replies (6)

Which types of data model we can test
like which format don't know i have some model i want to check the accuracy using logistic regression fo..... More

Print this item

  Convert timedelta to specified format
Posted by: Planetary_Assault_Systems - Jun-27-2021, 08:08 AM - Forum: General Coding Help - Replies (3)

Hello

I am currently attempting to create a web dashboard for analytics in Formula1 using plotly and flask as per the article
..... More

Print this item

Brick How to make collisions in isometrick game?
Posted by: Grigory - Jun-26-2021, 04:36 PM - Forum: Game Development - Replies (1)

Win 10
Python 3.9.5

I need to make collisions for my isometric game and for player
Can someone help me?
Sorry for bad english, i from Ukraine.
..... More

Print this item

  Plotting Multiple files !
Posted by: Helen_145 - Jun-26-2021, 01:35 PM - Forum: General Coding Help - Replies (1)

[b]How can I read multiple data files and plot them in the same frame (not separately), like in a video form; first map appears for couple of seconds,..... More

Print this item

  Suitable Data Modelling Packages
Posted by: JoeDainton123 - Jun-26-2021, 12:32 PM - Forum: Data Science - Replies (3)

Hello all

I was wondering if anyone could help me regarding information / guidance on the best packages for data modelling.

I work on the highwa..... More

Print this item

  Very new to Python world
Posted by: daveseaman - Jun-25-2021, 07:17 PM - Forum: General Coding Help - No Replies

I am very new to Python and I would like to wright a script to allow openVpn to open a connection buy a customer number and pull the site key from a f..... More

Print this item

  Turtle onkey()
Posted by: simonc8 - Jun-25-2021, 06:16 PM - Forum: General Coding Help - Replies (12)

Is there a way to write a turtle onkey() statement so it will listen for any letter key, or can you only specify a single key in each onkey() statemen..... More

Print this item

  numpy.savetxt()
Posted by: mesh01 - Jun-25-2021, 04:37 PM - Forum: General Coding Help - Replies (2)

Hi,

this code works fine:

[python]
import numpy as np

data = np.array([3,2,55,4])

for i in range(4):
data[i] = data[i]+3

pr..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Fake Skating Pdf Format 3 hours ago zanathanlttle647 zanathanlttle647 General Codin...
  Shield Of Sparrows Pdf 3 hours ago zasophiatpo5446 zasophiatpo5446 General Codin...
  dtmfgpo,guy678 3 hours ago GeraldNoive GeraldNoive General Codin...
  Opencv findContours Q Yesterday, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  Create dataframe from the... 12-29, 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...
Most views
  The best Prog... 580441
  Tutorial Requ... 519742
  Web Scraping ... 442789
  Newbie with P... 386996
  New Users Int... 386648
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
zanathanlttle647 Today
zasophiatpo5446 Today
GeraldNoive Today
aellatsz9602 Yesterday
cruisesfares Yesterday

User Panel Messages

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