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,989
» Latest member: felishiagreen119
» Forum threads: 38,737
» Forum posts: 175,579

Full Statistics

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

Latest Threads
funds recovery
Forum: General Coding Help
Last Post: felishiagreen119
33 minutes ago
» Replies: 0
» Views: 8
Weird failure in Selenium
Forum: General Coding Help
Last Post: glestwid
3 hours ago
» Replies: 0
» Views: 23
print does not open conso...
Forum: General Coding Help
Last Post: Axel_Erfurt
5 hours ago
» Replies: 1
» Views: 51
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
9 hours ago
» Replies: 3
» Views: 2,526
create ocr to detect lice...
Forum: General Coding Help
Last Post: noisefloor
10 hours ago
» Replies: 2
» Views: 84
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
10 hours ago
» Replies: 6
» Views: 185
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,044
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 457
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,087
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,161

 
  While 2 mouse conditions
Posted by: tom1901 - Nov-21-2019, 07:40 PM - Forum: General Coding Help - Replies (7)

Hi guys!

Im trying to do the script do a sequence of acts while both left and right mouse buttons are pressed

[python]while script2019 is True:..... More

Print this item

  Pygame Help - Pydraw
Posted by: Corp_Shepherd - Nov-21-2019, 07:16 PM - Forum: Homework - Replies (2)

Hello everyone,

I am taking an introductory Python class and have actually been doing pretty well so far. The assignment I have to turn in this wee..... More

Print this item

  Capture grep output to a variable which includes another variable
Posted by: kdefilip2 - Nov-21-2019, 06:51 PM - Forum: General Coding Help - Replies (4)

I have set a variable strFileExt to a file path/name: /var/log/error.log.112119

I would now like to grep that file, capturing output to a second vari..... More

Print this item

  Help with Class
Posted by: pdub787 - Nov-21-2019, 05:40 PM - Forum: Homework - Replies (3)

Hi...just looking for assistance with this simple class with functions:

The class is located in a separate file "survey.py"

The program that use..... More

Print this item

  Tkinter & matplotlib
Posted by: PillyChepper - Nov-21-2019, 05:18 PM - Forum: GUI - Replies (9)

Hey!

I've been trying to solve a problem with matlib and Tkinter where i am unable to assign a number to points in a subplot. I'm trying to make a..... More

Print this item

  boolean
Posted by: bloomyhood - Nov-21-2019, 04:35 PM - Forum: General Coding Help - Replies (2)

Can anybody explain why:

'b' in 'abc' == 'a' in 'abc'

is

False

Thank you

Print this item

  How do I add an element to a dic and increase an existing value
Posted by: Kanashi - Nov-21-2019, 01:09 PM - Forum: General Coding Help - Replies (2)

Hello

I'm extremely new to coding, I started learning Python two days ago. And I'm working on a simple text based battle game, while following a tu..... More

Print this item

  accéder à une page web ouverte
Posted by: thino - Nov-21-2019, 11:54 AM - Forum: General Coding Help - Replies (1)

Hello I have a little problem, I developed a small data extraction application and I wanted to know how to access the content of a web page opened und..... More

Print this item

  Adding items in a list (using loops?)
Posted by: Seneca260 - Nov-21-2019, 11:44 AM - Forum: General Coding Help - Replies (6)

Hi,

Sorry if this is a dumb question, but I am only a week into coding. I have a list that is comprised of integers. I would like to add these all ..... More

Print this item

  time issue
Posted by: deepakkr3110 - Nov-21-2019, 10:26 AM - Forum: General Coding Help - Replies (1)

this is my python code
dateTimeObj = datetime.now()
timestampStr = dateTimeObj.strftime("%d/%b/%Y:%H:%M:%S")
print'Today Current Timestamp : ', tim..... More

Print this item

  ERROR NoneType object has no attribute content
Posted by: denizkb - Nov-21-2019, 10:21 AM - Forum: Homework - Replies (1)

We are creating a Virtual Scanner using Kali Linux, Metasploitable and PyCharm. I have been having problems with this code and the error message will ..... More

Print this item

  Please help me to create company budget
Posted by: mad_accountant - Nov-21-2019, 09:14 AM - Forum: General Coding Help - Replies (3)

Hi.

I am an accountant and new to programming.

I wanted to know whether I should create a budget for the company I work at in Python. It is a ma..... More

Print this item

  How does this RLE code work?
Posted by: sik - Nov-21-2019, 08:40 AM - Forum: General Coding Help - Replies (1)

There's this RLE code my teacher showed the class and I've tried to make sense of it but struggling. Could anyone explain to me how the code works, ma..... More

Print this item

  Can I evaluate a Chebyshev polynomial using a function
Posted by: player1681 - Nov-21-2019, 08:19 AM - Forum: Data Science - Replies (1)

Hello everyone. I need to evaluate an arbitrary Chebyshev polynomial of order n at a po..... More

Print this item

  How to use subprocess send commands to windows shell
Posted by: hlhp - Nov-21-2019, 08:08 AM - Forum: General Coding Help - Replies (3)

I want to send multiple commands to a shell program depends on the output.
But I can not figure out how to send multiple commands.

Python ver 3.6.8
W..... More

Print this item

  Cipher Caesar
Posted by: Azilkhan - Nov-21-2019, 07:27 AM - Forum: Homework - Replies (1)

A cipher is a type of secret code, where you swap the letters around so that no-one can read your message.

You’ll be using one of the oldest and mo..... More

Print this item

  How can create class Person :(
Posted by: Azilkhan - Nov-21-2019, 07:20 AM - Forum: Homework - Replies (1)

Hey guys:)

Who can help me ?
Please guys help me (((((

Create a class Person which has attributes name, age. Creat..... More

Print this item

  lion and hyena
Posted by: Azilkhan - Nov-21-2019, 07:13 AM - Forum: Homework - Replies (2)

Problem 1:

Create a program that will play the “lion and hyena” game with the user.

The game works like this:

Computer randomly generates a 4..... More

Print this item

  convert a .py file to .exe file
Posted by: vigneshboolog - Nov-21-2019, 04:40 AM - Forum: General Coding Help - Replies (12)

Hi i made a pyttsx3 python program which is executed in the run-time but when i convert it into exe it doesn't work.
my code was:-
[
import pyttsx3..... More

Print this item

  How to write a script to execute a program need passing additional input?
Posted by: larkypython - Nov-21-2019, 01:01 AM - Forum: General Coding Help - Replies (2)

I would like the python test.py to run a program after it been compiled to a.out and to read test.dat file:

[python]import subprocess
import os
..... More

Print this item

  While loop doesn't end when False
Posted by: Kanashi - Nov-21-2019, 12:42 AM - Forum: General Coding Help - Replies (2)

I'm following a tutorial on how to code a very simple game. My code looks exactly like in the tutorial (https://youtu.be/kDdTgxv2Vv0?t=2667 for refere..... More

Print this item

  Syntax Error (elif statement)
Posted by: Kanashi - Nov-20-2019, 11:20 PM - Forum: General Coding Help - No Replies

I’m following a tutorial on youtube on how to code a very simple game.
The part of my code which recieves the error looks like this:
[python]player_ch..... More

Print this item

  Reading 2 lines
Posted by: Dyefull - Nov-20-2019, 11:03 PM - Forum: Homework - Replies (1)

Hey guys,

I was wondering how you could make python read 2 lines of input with .readlines() instead of just 1 line. Because the information needed ..... More

Print this item

  binary 2d chart
Posted by: feyristan - Nov-20-2019, 10:18 PM - Forum: Homework - Replies (1)

My assignment is to create a class called "Squares", whose __init__(self, n) creates a table of 2**n by 2**n filled with zeros, and a function "turn(s..... More

Print this item

  Learning techniques.
Posted by: Jan_97 - Nov-20-2019, 09:45 PM - Forum: Bar - Replies (2)

I've been learning python ( & sql) for a few months now. I'm having a little bit of a rough time remember the stuff i go through, main issue seems to ..... More

Print this item

  Module/library recommendation GUI app launcher
Posted by: croyleje - Nov-20-2019, 08:05 PM - Forum: GUI - No Replies

Hi Everyone, I have recently learned python and started working on my first custom program I am making a simple GUI application launcher that displays..... More

Print this item

  Python 2 dimensional array creations
Posted by: sharpe - Nov-20-2019, 07:07 PM - Forum: General Coding Help - Replies (1)

I'm attempting to create my first 2 dimensional array. But I'm not getting the anticipated results:
[python]
import numpy as np
a = [[11,12,13],[21..... More

Print this item

  Simple statistics with range function
Posted by: Pythonlearner2019 - Nov-20-2019, 06:49 PM - Forum: General Coding Help - Replies (2)

Hello,

I am sure this is easy for you guys, i am new here.

I try to use a range function and then get some simple statistics out of this (min,max,su..... More

Print this item

  PIL doesn't seem to paste full size image.
Posted by: DreamingInsanity - Nov-20-2019, 05:05 PM - Forum: General Coding Help - Replies (7)

I have a folder full of images that I crop to a certain size (100x100 in this case) then I average the colour of the images.

[u]Now for a bit of logi..... More

Print this item

  Save a file uploaded from client-side without having to read into memory
Posted by: andym118 - Nov-20-2019, 03:59 PM - Forum: General Coding Help - Replies (3)

When a file is uploaded from the client-side to the server, how can you save this uploaded file without it being read into memory (on a WSGI Python ap..... More

Print this item

  Tkinter Buttons action
Posted by: d3fi - Nov-20-2019, 03:44 PM - Forum: GUI - Replies (1)

First of all, I do not have any code yet to show.

I am new to python and coding in generel, so please if you can, explain in simple english. :).
..... More

Print this item

  Getting an "Unexpected Token" Error and don't know why...
Posted by: NotAHackusator - Nov-20-2019, 02:56 PM - Forum: General Coding Help - Replies (1)

[align=left]I'm currently trying to make a simple program that (for now) detects when you say "Microsoft" and then sends you a link to the microsoft s..... More

Print this item

  Scrap data from not standarized page?
Posted by: zarize - Nov-20-2019, 02:27 PM - Forum: Web Scraping & Web Development - Replies (4)

Hi guys,

I would like to scrap and organize data from html document.
I was learning scrapping and presenting data on different site structure(sho..... More

Print this item

  Can the comments produce errors in python?
Posted by: newbieAuggie2019 - Nov-20-2019, 12:58 PM - Forum: General Coding Help - Replies (9)

Hi!

I'm attaching the outputs of my little programs at the end of the code, as comments, to see quicker what the program does, and also to include ..... More

Print this item

  python logo embroidered on ball cap
Posted by: metulburr - Nov-20-2019, 11:03 AM - Forum: Board - Replies (2)

So i lost my main ball cap embroidered with "linux". Now i want one with a python logo. Im around a lot of "hick-co-workers" and want to show my roots..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  funds recovery 33 minutes ago felishiagreen119 felishiagreen119 General Codin...
  Weird failure in Selenium 3 hours ago glestwid glestwid General Codin...
  print does not open conso... 5 hours ago Tycho_2025 Axel_Erfurt General Codin...
  Fred Economic Data API 9 hours ago warrior42 Trickety Web Scraping ...
  create ocr to detect lice... 10 hours ago bimosora noisefloor General Codin...
  Parse Markdown / get the ... 10 hours ago SpongeB0B noisefloor General Codin...
  Error: cannot mix str wit... 10-01, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
Most views
  The best Prog... 577470
  Tutorial Requ... 501261
  Web Scraping ... 441091
  Newbie with P... 385160
  New Users Int... 369853
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+ 12092
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
felishiagreen119 Today
markwood955 Yesterday
DerekGeel Yesterday
Tycho_2025 Yesterday
chikkamagalur Yesterday

User Panel Messages

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