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,936
» Latest member: AstoundzSEO
» Forum threads: 38,722
» Forum posts: 175,510

Full Statistics

Online Users
There are currently 66 online users.
» 1 Member(s) | 58 Guest(s)
Bing, AOL, AOL, Google, Google Image, Applebot, deanhystad

Latest Threads
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Larz60+
32 minutes ago
» Replies: 1
» Views: 32
403 Error
Forum: Web Scraping & Web Development
Last Post: CaptainNewb
Yesterday, 05:56 PM
» Replies: 9
» Views: 3,059
Too much space between gr...
Forum: GUI
Last Post: RonR
Yesterday, 11:22 AM
» Replies: 4
» Views: 1,483
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Yesterday, 10:31 AM
» Replies: 3
» Views: 504
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 755
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 1,866
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 855
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 441
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Sep-15-2025, 03:28 PM
» Replies: 7
» Views: 3,402
Select Python comment (#)...
Forum: General Coding Help
Last Post: Pedroski55
Sep-14-2025, 11:27 PM
» Replies: 6
» Views: 1,616

 
  I am completely lost on this homework assignment
Posted by: a36 - Feb-21-2022, 04:29 AM - Forum: Homework - Replies (1)

Step 1 (50 pts):

The objective of this program is simply to open a file, read each line and display it. Your program should:

Open auth.log.1b. (..... More

Print this item

  How would you (as an python expert) make this code more efficient/simple
Posted by: coder_sw99 - Feb-20-2022, 11:33 PM - Forum: General Coding Help - Replies (3)

Hi,

my question is quite simple: How would you make this piece of code more simple/efficient?

[python]def draw_pattern_1(p,m):
print(p, end..... More

Print this item

Exclamation I can't use Python 3.10
Posted by: Reikurooo - Feb-20-2022, 07:49 PM - Forum: General Coding Help - Replies (5)

Hello! I hope that I'm writing in the right category.

I want to use the 3.10 version for a script, but I'm struggling to use this version. I instal..... More

Print this item

  proper way of coding
Posted by: ebooczek - Feb-20-2022, 05:50 PM - Forum: GUI - Replies (3)

I have a question of good practice of using tkinter.
Should the main window be created in a function of outside? Making it as a local doesn't seem t..... More

Print this item

  Remove if similar values available based on two columns
Posted by: klllmmm - Feb-20-2022, 03:45 PM - Forum: General Coding Help - Replies (1)

I want to remove the duplicates (keeping only the first occurrence) if similar values are found between two columns.

[python]
import pandas as pd..... More

Print this item

  Still not completely clear about namespaces...
Posted by: bytecrunch - Feb-20-2022, 02:01 PM - Forum: General Coding Help - Replies (3)

Hello Forum,

a) I understand that everything that gets loaded in RAM (classes, variables, lists, modules, etc.) has a name. The object and the name..... More

Print this item

  Wireshark-like Display Filter for Python Dictionaries
Posted by: bytebutcher - Feb-20-2022, 11:05 AM - Forum: Code sharing - No Replies

Hi guys,

I’ve lately published a project called python-dict-display-filter wh..... More

Print this item

  Need to sign JWT token with JWK key
Posted by: stucoder - Feb-20-2022, 08:59 AM - Forum: General Coding Help - Replies (1)

I am using PyJWT. I have given public & private keys in JWK format. I need to sign the JWT token. B..... More

Print this item

  TypeError: 'module' object is not callable
Posted by: SyamPothan - Feb-20-2022, 02:07 AM - Forum: General Coding Help - Replies (4)

I getting following error on the attached file. please help...


Attached Files

.py   permutation JumbledWord.py (Size: 2.34 KB / Downloads: 453)
Print this item

  pyodbc
Posted by: gmerritt - Feb-20-2022, 12:11 AM - Forum: General Coding Help - Replies (8)

A Database was created in SqliteStudio 3.3.3 and is working 100,000 +/- records.

The following python connection string fails :

[python]
impor..... More

Print this item

  Use of Indexing Operator
Posted by: PythonNewbee - Feb-19-2022, 07:13 PM - Forum: General Coding Help - Replies (8)

Hi Everyone

I'm struggling to understand the use of the indexing operator ([]) in the code snippet below (it is an extract from a class definition)..... More

Print this item

  Help with code, RMS, FFT
Posted by: frohr - Feb-19-2022, 04:58 PM - Forum: General Coding Help - Replies (6)

Hi all,
maybe you can help me where is problem with this code.

[python]
import matplotlib.pyplot as plt
import pandas as pd
import numpy as np..... More

Print this item

  Navigate Pages in Beautifulsoup
Posted by: giddyhead - Feb-19-2022, 01:52 PM - Forum: General Coding Help - Replies (4)

Hi everyone I am facing an issue. I am looking to cycle through webpages while printing the upcoming url and stop at a specific url, however when it s..... More

Print this item

  Encrypt and decrypt in python using own fixed key
Posted by: SriRajesh - Feb-19-2022, 12:29 PM - Forum: General Coding Help - Replies (3)

Hi I want to encrypt an d decrypt. But I want to use fixed defined key for example: key = "Abcd123". Can some one help how to do it. Thanks in advance..... More

Print this item

  SQLAlchemy Object Missing when Null is returned
Posted by: Personne - Feb-19-2022, 02:02 AM - Forum: General Coding Help - Replies (1)

I'm learning Python and SQLAlchemy for the last 2 weeks, I made some progress but I'm having an issue I have no idea how to resolve.

I do have a SQ..... More

Print this item

  Python3 mysql connection performance
Posted by: ogautier - Feb-18-2022, 09:35 PM - Forum: News and Discussions - Replies (5)

[quote]
Hello,
I would like to know what allows me to get the best performance when connecting from Python to mysql server:

1. Create a connectio..... More

Print this item

  Advice for Inventory System
Posted by: Extra - Feb-18-2022, 09:22 PM - Forum: General Coding Help - No Replies

Hello,

I'm looking to make an inventory system to keep track of my parts.

Here's some functions that I would like:
-An offline database (Sto..... More

Print this item

  OCR-Python from Multi TIFF to HOCR getting only Data from 1st Page of multiple TIFF
Posted by: JOE - Feb-18-2022, 03:18 PM - Forum: General Coding Help - No Replies

Hi,

I need your help with the code which can be replaced in the below one. Aim able to run the file with the output to hocr output.
But, [b]my req..... More

Print this item

  matrix number assignement to the random indices
Posted by: juniorcoder - Feb-18-2022, 02:06 PM - Forum: General Coding Help - Replies (4)

Hello guys,
I need a help with my python code and tell me what is wrong here.
[python]
tum=[]
for i in range(400):
tum.append(i)
..... More

Print this item

  decimal comma
Posted by: DPaul - Feb-18-2022, 01:49 PM - Forum: General Coding Help - Replies (9)

Hi , I need to convert "5,8" to a float = 5.8
Reading on this subject proposes 3 solutions
- Adapt the locale
- Do a replace (',','.') (if no 1000 ..... More

Print this item

  Setup Portable Python on Windows for script starts with double clicks?
Posted by: pstein - Feb-18-2022, 01:29 PM - Forum: General Coding Help - No Replies

I want to install (only) Portable Python (on Windows) or even use it from USB flash drive.

For this I just want to unpack this Portable Python pack..... More

Print this item

  Init an indefinite number of class
Posted by: MathisDELAGE - Feb-18-2022, 01:20 PM - Forum: General Coding Help - Replies (9)

Hello world,
I need your help for my new game project.
I want to use x(the number of player) time my class Player.
I think do that but it's not opt..... More

Print this item

  Nested conditionals vs conditionals connected by operators
Posted by: dboxall123 - Feb-18-2022, 01:04 PM - Forum: General Coding Help - Replies (8)

The following code is a short extract from a game I'm making, called tablut, also known as vikin..... More

Print this item

  Hiring Expert Python Developer (Remote) For USA based Client
Posted by: Naheed - Feb-18-2022, 12:08 PM - Forum: Jobs - Replies (2)

We are looking for a talented resource for one of our client based in USA.

Title: Python Developer
Location: Remote
Duration: F..... More

Print this item

  Make the code shorter
Posted by: quest - Feb-18-2022, 03:54 AM - Forum: General Coding Help - Replies (2)

I have 4 matrix which is shape 2*2 and pi,px,py and pz are my coefficient. and according to the input from the use, I am trying to calculate my matrix..... More

Print this item

  American Adolescent language in python.
Posted by: Deo - Feb-18-2022, 02:23 AM - Forum: Homework - Replies (2)

Basically I have to write a python program to translate the english sentence entered by the user into the "American Adolescent" language by inserting ..... More


Attached Files

Thumbnail(s)
   
Print this item

  .py to .exe question using PyInstaller
Posted by: hammer - Feb-18-2022, 01:59 AM - Forum: General Coding Help - Replies (5)

Does PyInstaller allow the inclusion of the Data Base i am using for deployment purposes, or should i just include a copy of the DB in the same fold..... More

Print this item

  Send a requests to a magnet links shortener which doesn't have APIs
Posted by: Ascalon - Feb-18-2022, 12:23 AM - Forum: Web Scraping & Web Development - Replies (3)

Hi, there is this website where you enter a torrent magnet link and you get a short url redirecting to the magnet link.
I'd like to do the procedure ..... More

Print this item

  Raspberry Pi - 'Bullseye' broke Pygame
Posted by: fmr300 - Feb-18-2022, 12:02 AM - Forum: News and Discussions - No Replies

I've been using Pi's OS, "Buster", which includes Python 3.7.3 and Pygame 1.9.4 and have had no problems.

Just tried the latest Pi OS-release, "Bul..... More

Print this item

  featuretools error
Posted by: Led_Zeppelin - Feb-17-2022, 09:26 PM - Forum: General Coding Help - Replies (3)

I am trying to use the module featuretools. It was easy to install. However, when I run my program, I get an error.

I get the error:
[error]
ttri..... More

Print this item

  Problems with my loop
Posted by: python_student - Feb-17-2022, 08:27 PM - Forum: General Coding Help - Replies (3)

I am using pandas to read data from SQL with some specific chunksize and loading it into postgres.
I am reading a files that contain the script to in..... More

Print this item

  using function in np.where
Posted by: glidecode - Feb-17-2022, 06:48 PM - Forum: General Coding Help - Replies (6)

I'm using np.where and trying to reference a function call instead of putting in a static value, something like:
np.where(condition,function(arg1,arg..... More

Print this item

  My python learning app
Posted by: eshqol - Feb-17-2022, 06:00 PM - Forum: News and Discussions - No Replies

Hello,
I recently published an app that I built for google play,
I would like to reviews from you about the app and [b]suggestions of improve..... More

Print this item

  Make my py script work only on 1 compter
Posted by: tomtom - Feb-17-2022, 12:54 PM - Forum: General Coding Help - Replies (14)

I want my py program to work only on one specific computer.
My aim is to get a unique ID of any computer of any OS once my program is first lauch on ..... More

Print this item

  Error with Anaconda - collectToPython
Posted by: eusoucristiano - Feb-17-2022, 12:18 PM - Forum: Data Science - No Replies

Hi guys!

I create a spark dataframe:

[font=Courier New]schema = StructType([
StructField("escolaridade", StringType(), False),
StructF..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  C++ program embedding Pyt... 32 minutes ago Alexandros Larz60+ General Codin...
  403 Error Yesterday, 17:56 CaptainNewb CaptainNewb Web Scraping ...
  [Tkinter] Too much space ... Yesterday, 11:22 RonR RonR GUI
  datetime in SQL query. Yesterday, 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...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
  data input while debuggin... 09-14, 15:32 fred1232 deanhystad General Codin...
Most views
  The best Prog... 576037
  Tutorial Requ... 497496
  Web Scraping ... 439999
  Newbie with P... 383762
  New Users Int... 366246
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 8174
snippsat 7367
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
AstoundzSEO Today
tobey12 Today
alexguemez Yesterday
Shadab Yesterday
Dibbley Yesterday

User Panel Messages

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