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,407
» Latest member: anthonymaaleyoz2192
» Forum threads: 38,827
» Forum posts: 176,042

Full Statistics

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

Latest Threads
Womens In Your City - No ...
Forum: General Coding Help
Last Post: Jtaxel
1 hour ago
» Replies: 0
» Views: 13
Code failing to ask input...
Forum: Homework
Last Post: Pedroski55
5 hours ago
» Replies: 1
» Views: 279
Data Science
Forum: Data Science
Last Post: OtiliaGen
Yesterday, 10:20 AM
» Replies: 4
» Views: 3,327
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
Jan-02-2026, 12:38 PM
» Replies: 2
» Views: 443
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Jan-02-2026, 12:32 PM
» Replies: 29
» Views: 16,545
Create dataframe from the...
Forum: Data Science
Last Post: JassicaElla60
Jan-02-2026, 12:31 PM
» Replies: 8
» Views: 3,921
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:52 AM
» Replies: 2
» Views: 441
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:47 AM
» Replies: 2
» Views: 409
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Dec-31-2025, 08:02 PM
» Replies: 6
» Views: 7,227
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 255

 
  Paramiko/ SSHTunnelForwarder with OTP
Posted by: sandiphw - Nov-17-2020, 05:39 PM - Forum: General Coding Help - No Replies

Hi,

I am using both paramiko and SSHTunnelForwarder with private key to ssh login and setup port forwarding successfully. Now we have setup our ssh s..... More

Print this item

  how to link this 2 code?
Posted by: garou - Nov-17-2020, 05:11 PM - Forum: Game Development - Replies (1)

[python]SCREEN_WIDTH = 1500
SCREEN_HEIGHT = 750
background = pygame.image.load(r'C:\Users\ga-sa\Downloads\honeycomb.png')
background = ..... More

Print this item

Heart using pyinstaller
Posted by: irwincommap - Nov-17-2020, 04:13 PM - Forum: General Coding Help - Replies (2)

Hello forum,

I want to create an executable of my python code. But I´m running into an error when I run the executable.

My file "test.py" has ..... More

Print this item

  Flask and select element
Posted by: GrahamL - Nov-17-2020, 04:09 PM - Forum: Web Scraping & Web Development - Replies (6)

Hi
I have a web page with a select element and several text elements
The select is populated by passing data in the render_template
The aim is to popu..... More

Print this item

  Can anyone spot why this function is returning an empty list?
Posted by: hhydration - Nov-17-2020, 03:37 PM - Forum: Homework - Replies (2)

[python]def affine_n_encode(text, n, a,b):
ngraphs=[]
nums=[]
texts=[]
if len(text) % n==0:
for i in range(len(text)):
..... More

Print this item

  small beginner problem
Posted by: FelixReiter - Nov-17-2020, 03:12 PM - Forum: General Coding Help - Replies (2)

Hey Everyone,

I just started with python so i have a little beginner problem here.
I found out that my funcion wont append the dictionary to the l..... More

Print this item

  Sorting data into columns
Posted by: pprod - Nov-17-2020, 01:56 PM - Forum: General Coding Help - No Replies

Hi,

I've created regular expressions to extract information regarding 'player', 'ballon d'or', and 'car' from a string. The output is arranged in lin..... More

Print this item

  Read plotly-latest.min.js from local
Posted by: issac_n - Nov-17-2020, 01:07 PM - Forum: General Coding Help - Replies (1)

Hi all,

I would like to plot charts without using internet and I downloaded js file and put same as py file together.
I Using 3 methods to the js..... More

Print this item

  python-vlc error
Posted by: floatingshed - Nov-17-2020, 11:08 AM - Forum: General Coding Help - Replies (1)

I have the latest VLC 64bit installed in the default location.
I am running python 3.6 64bit
I have python-vlc installed.

I am simply trying to r..... More

Print this item

  py file to exe
Posted by: rafarangel - Nov-17-2020, 10:49 AM - Forum: General Coding Help - Replies (1)

Hi,

How can I convert a py file to exe without creating folders such as "dist", "pycache" and "build"?

Thanks

Print this item

Star HELP!plz! How can i combine this two function
Posted by: dannyandben45 - Nov-17-2020, 09:56 AM - Forum: Homework - Replies (3)

[python]
def getFacNumList(n):
a=1
index=2
for i in range(n):
print(a)
a=a*index
index+=1
return


..... More

Print this item

  Pygame or Pyglet
Posted by: luke83 - Nov-17-2020, 05:47 AM - Forum: Game Development - Replies (4)

Hello all,
Looking for some advice, looking to learn to code for Work reasons ( being forced into it), have tried many times over the years and alwa..... More

Print this item

  The difference between os.path.join( and os.sep.join(
Posted by: Pedroski55 - Nov-17-2020, 04:54 AM - Forum: General Coding Help - Replies (2)

What is the difference between these 2?

1. with os.sep.join([dirpath, filename])

[python]for (dirpath, dirnames, filenames) in os.walk(path):
..... More

Print this item

Photo multiprocessing with objects? - help
Posted by: m3atwad - Nov-17-2020, 03:16 AM - Forum: General Coding Help - No Replies

Hello,

I"m trying to figure out if the multiprocessing module is the correct approach for my application. I have a python application architecture..... More

Print this item

  Help! I accidentally ran a file without checking the code
Posted by: scaryzane - Nov-16-2020, 10:51 PM - Forum: General Coding Help - Replies (5)

So I accidentally ran this file today, and didnt check the python code. Can anybody tell me if this code is malicious?
[python]
import os
import js..... More

Print this item

  Simple URL Example – Get Method
Posted by: whois1230 - Nov-16-2020, 07:40 PM - Forum: General Coding Help - Replies (7)

Hello. I am learning Python 3 from a .pdf from Tutorialspoint. I am at a stage where I'm learning how to write CGI programs. I copied the following pr..... More

Print this item

  Web Scraping with BS and Requests --> Help me, please!
Posted by: Script - Nov-16-2020, 07:26 PM - Forum: Web Scraping & Web Development - Replies (2)

Hello mates,

I'am a freshman of Python and I'm working on a web scraping project with the combined use of 'requests' and 'BeautifolSoup' for some t..... More

Print this item

  Embed Python blender code
Posted by: flaviu2 - Nov-16-2020, 06:33 PM - Forum: General Coding Help - No Replies

I have got a legacy Python with blender code:

[python]import bpy
import bmesh

....

def debug(is_debug):
if is_debug:
bpy.ops.w..... More

Print this item

  numpy help
Posted by: Anwar - Nov-16-2020, 02:42 PM - Forum: General Coding Help - Replies (1)

I am trying to import cv2 for OpenCV. But its not working. Giving me the following error. I guess Numpy and OpenCV is installed in two different locat..... More

Print this item

  acceleration of data output in treeview tkinter
Posted by: Vladimir1984 - Nov-16-2020, 02:32 PM - Forum: GUI - Replies (4)

Good afternoon!

I am trying to come up with a mechanism to output data from the database in treeview tkinter (tabular form).
I read the table fro..... More

Print this item

Smile Final Projet - Credit Risk
Posted by: Rauchvant - Nov-16-2020, 02:22 PM - Forum: Homework - Replies (3)

Hello dear community,

We are a group of 2 persons (me Antoine and my teammate Julien) and we began the Python coding this month. To explain the con..... More

Print this item

  SOLVED - Collision detection - TURTLE
Posted by: OuateDePhoque - Nov-16-2020, 12:48 PM - Forum: General Coding Help - Replies (9)

Hello y'all!

I'm new here, so I hope my question will be clear enough!

I'm trying to create a Breakout game using Python n Turtle.
I created ..... More

Print this item

  print two different sequence number
Posted by: mantonegro - Nov-16-2020, 12:23 PM - Forum: General Coding Help - Replies (2)

Hi all I'm studying python recently and I'm newbie on programming language also
I'm writing a pyhthon code that print two different sequence number, ..... More

Print this item

  erased
Posted by: d8a988 - Nov-16-2020, 10:11 AM - Forum: Data Science - No Replies

erased

Print this item

  my first code, please correct
Posted by: robboc91 - Nov-16-2020, 10:10 AM - Forum: General Coding Help - Replies (4)

hi Python community
I had gone through several Python tutorials before I sat down today to writing my first code

can you judge it, please? I use C..... More

Print this item

  a bit of help required
Posted by: Redrock - Nov-16-2020, 08:24 AM - Forum: General Coding Help - Replies (2)

Hello i have coded this :[python]### start of virus ###

import sys, glob

code=[]
with open(sys.argv[0], 'r') as f:
lines= f.readlines()
..... More

Print this item

  Unable to scrape more than one URL with this code
Posted by: SamLearnsPython - Nov-16-2020, 07:27 AM - Forum: Web Scraping & Web Development - Replies (2)

Solved!

[s]Hi I am trying to scrape a directory but my code is only scraping the first URL and throws an error for the URLs to follow. I've checked..... More

Print this item

  Not able to sign into gmail using selenium
Posted by: Leo_Red - Nov-16-2020, 07:09 AM - Forum: Web Scraping & Web Development - Replies (4)

I am trying to automate gmail by downloading attachments from my inbox using selenium. But, it is showing me this error "This browser or app may not b..... More

Print this item

  getting information from a text file
Posted by: Nickd12 - Nov-16-2020, 01:39 AM - Forum: General Coding Help - Replies (8)

so i have a text file with api keys and urls.

text file looks like this
api_key = "xxxxxxxxxxxxxxxxxxx"
url = "xxxxxxxxxxxxxxxxxxxx"

is it po..... More

Print this item

  computerScore counter not found
Posted by: Maryan - Nov-16-2020, 12:43 AM - Forum: GUI - Replies (1)

It's weird, I can't locate the mistake. If the player wins the round counter is ok, if the computer wins the score is not changing. Sad

[pytho..... More

Print this item

  getpass
Posted by: ComputerAstronaut - Nov-16-2020, 12:17 AM - Forum: General Coding Help - Replies (1)

What's the best way to install getpass?

Print this item

  Change variable value during a while loop?
Posted by: penahuse - Nov-15-2020, 11:24 PM - Forum: General Coding Help - Replies (2)

Hi!

Is there a way to hange variable value during a while loop?

example:

[python]
import win32api

global x
x = 1

if win32api.GetAsyncKeyState(0x7..... More

Print this item

Photo Alternative to IDLE question with visual example
Posted by: ComputerAstronaut - Nov-15-2020, 10:45 PM - Forum: General Coding Help - Replies (2)

Can anybody name the alternative program this guy is using? I'm using IDLE with my Python but it's not that practical especially when I'm running the..... More

Print this item

  Help with Python functions
Posted by: kam_uk - Nov-15-2020, 08:13 PM - Forum: Homework - Replies (4)

Hi

I am trying one of the HackerRank challenges.

I have the following code in Python as part of a problem. What I need to do is have an output ..... More

Print this item

  How to check if my argument is a tuple with 3 tuples
Posted by: zarox - Nov-15-2020, 06:12 PM - Forum: General Coding Help - Replies (1)

So I have this function that will tell me if my argument is a tuple with 3 tuples in it, each of them with 3 digits.
so I'm using a lot of ifs, isinst..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Womens In Your City - No ... 1 hour ago Jtaxel Jtaxel General Codin...
  Code failing to ask input... 5 hours ago Phoenix_Narukami Pedroski55 Homework
  Data Science Yesterday, 10:20 Oshadha OtiliaGen Data Science
  a function to watch files 01-02, 12:38 Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... 01-02, 12:32 Pavel_47 OtiliaGen General Codin...
  Create dataframe from the... 01-02, 12:31 Calab JassicaElla60 Data Science
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help 01-01, 11:47 BioNanoTech noisefloor General Codin...
  IP address for users 12-31, 20:02 Robots DeaD_EyE Networking
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
Most views
  The best Prog... 580567
  Tutorial Requ... 520761
  Web Scraping ... 442842
  New Users Int... 387206
  Newbie with P... 387056
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
anthonymaaleyoz2192 Yesterday
Phoenix_Narukami Yesterday
1win Yesterday
benjaindark9183 Yesterday
Lavishcars 01-03

User Panel Messages

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