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,994
» Latest member: hugomiguel
» Forum threads: 38,737
» Forum posts: 175,589

Full Statistics

Online Users
There are currently 40 online users.
» 1 Member(s) | 34 Guest(s)
Bing, Google, AOL, Kevinman8Dip

Latest Threads
NEED HELP TO RECOVER SCAM...
Forum: General Coding Help
Last Post: hugomiguel
43 minutes ago
» Replies: 0
» Views: 6
Another app idea - intera...
Forum: News and Discussions
Last Post: Biks
3 hours ago
» Replies: 1
» Views: 1,810
My goal to be hired worki...
Forum: News and Discussions
Last Post: Biks
3 hours ago
» Replies: 3
» Views: 1,112
real community
Forum: News and Discussions
Last Post: Biks
3 hours ago
» Replies: 4
» Views: 3,063
print does not open conso...
Forum: General Coding Help
Last Post: Tycho_2025
5 hours ago
» Replies: 5
» Views: 164
create ocr to detect lice...
Forum: General Coding Help
Last Post: Pedroski55
8 hours ago
» Replies: 4
» Views: 134
Weird failure in Selenium
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 08:57 AM
» Replies: 1
» Views: 87
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
Oct-02-2025, 03:05 PM
» Replies: 3
» Views: 2,552
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
Oct-02-2025, 01:56 PM
» Replies: 6
» Views: 241
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Oct-01-2025, 03:05 AM
» Replies: 4
» Views: 2,060

 
  pyautogui while loop
Posted by: Bmart6969 - Oct-03-2019, 03:32 PM - Forum: General Coding Help - No Replies

Having an issue with my script i am trying to get the script to wait until an image is no longer displayed on screen to continue to the next task. Her..... More

Print this item

  Blackjack error
Posted by: BlueClaw - Oct-03-2019, 02:42 PM - Forum: Game Development - Replies (3)

When it gets to damage calculation in my blackjack rpg thing, 2d2 + 3d6 somehow does 146 damage. Help!

[python]#This is blackjack adventure
import..... More

Print this item

  Check table exists in Database
Posted by: ARV - Oct-03-2019, 02:37 PM - Forum: General Coding Help - No Replies

Can someone help us to work this code

[python]
import cx_Oracle


class Table(object):
def __init__(self, table_name, database):
..... More

Print this item

  [PROBLEM]Python with telegram bot
Posted by: ZioDave - Oct-03-2019, 02:37 PM - Forum: News and Discussions - No Replies

Hi, I've a problem with the module inlinekeyboard.
My idea is to make only a one message with buttons and everytime I click a specified button, I wan..... More

Print this item

  How inheritance works in Python
Posted by: ARV - Oct-03-2019, 01:04 PM - Forum: General Coding Help - Replies (1)

I am beginner to OOPS concepts. I have written small code to understand inheritance concept. But i had a query while writing code. As per Inheritance ..... More

Print this item

  page impossible to scrap? :O
Posted by: zarize - Oct-03-2019, 12:46 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi guys,

i have found page where i cant scrap the shortest flight

..... More

Print this item

  MySQL Database Flask
Posted by: maurosmartins - Oct-03-2019, 10:56 AM - Forum: Web Scraping & Web Development - No Replies

Hello all,

I'm just starting using Flask and I have some doubts where and how I should make my DB connection.

my app is currently organized as ..... More

Print this item

  To correct inline or not to correct inline
Posted by: burningkrome - Oct-03-2019, 10:32 AM - Forum: General Coding Help - Replies (3)

This is an opinion question.

When I code, I generally use assert statements, @property, or casting to check, error out, and/or correct improper para..... More

Print this item

  Sprite not rendering
Posted by: Clunk_Head - Oct-03-2019, 10:27 AM - Forum: Game Development - Replies (2)

I'm new to pygame. I've read a few examples on sprites, but I've missed some small, key point. This code raises no errors, but the intended sprite wil..... More

Print this item

  Finding the treasure location
Posted by: cjlee420 - Oct-03-2019, 08:52 AM - Forum: Homework - Replies (7)

A map is given to me in a form of this

WWWTWWWTTT
WWTTTWWWWW
WWWTWWWWWT


The treasure is located at the center of the cross of T's for which..... More

Print this item

  [split] FileNotFoundError...System cannot find the path specified
Posted by: powerrocker - Oct-03-2019, 08:32 AM - Forum: General Coding Help - Replies (1)

same problem here can anyone please help

Print this item

  Reading a copy-protected PDF
Posted by: CaptainCsaba - Oct-03-2019, 07:06 AM - Forum: General Coding Help - Replies (6)

Hi!

In our job we use PDF reports that we get from multiple corporate clients. We have one which has very corporate views about handing out informa..... More

Print this item

  Simple question about .format(* )
Posted by: Motley_Cow - Oct-03-2019, 06:56 AM - Forum: General Coding Help - Replies (1)

I am working with the following code and I am trying to understand what the purpose of the asterisk within the ".format(*formula)" operation on the la..... More

Print this item

  May i ask how i can stop my coding running
Posted by: christing - Oct-03-2019, 05:17 AM - Forum: General Coding Help - Replies (4)

Good Day, may i ask how can i stop my code running. I am using if else statement.

try:
A = "111111"

if A == "123456":
print('OK')
else:..... More

Print this item

  Custom commands
Posted by: JohnnyCoffee - Oct-02-2019, 11:49 PM - Forum: Web Scraping & Web Development - Replies (4)

How do I customize commands to be executed by the terminal ?

Print this item

  if condition inside try / except -- how to??
Posted by: ridgerunnersjw - Oct-02-2019, 09:40 PM - Forum: General Coding Help - Replies (1)

Good afternoon...
Can someone please show me what I am missing. Basically I want to take an argument in and check if it exists within a tuple of val..... More

Print this item

  Converting a patterned string or text into excel table
Posted by: soup1987 - Oct-02-2019, 09:35 PM - Forum: General Coding Help - Replies (1)

Dear All,

This is my first post and im still very new to Python so i will appreciate all the patience and help i can get!

I have made a webscrap..... More

Print this item

  Comapring two files
Posted by: usman88 - Oct-02-2019, 08:11 PM - Forum: General Coding Help - Replies (7)

Hi, i have 2 txt files which i want to compare.

File 1 has only dates.
File 2 has dates and some text.

All i want to do is out put in File 3 i..... More

Print this item

  Display Selected Image from Directory and Resize it
Posted by: EchoLi - Oct-02-2019, 06:54 PM - Forum: GUI - No Replies

Hi, I am working on a Tkinter GUI now. I would like to select an image from the directory and resize it. Now I am having trouble displaying it, even t..... More

Print this item

  Minimizing the CMD window during code execution
Posted by: Shaswat - Oct-02-2019, 06:35 PM - Forum: General Coding Help - Replies (1)

Hi,
Attaching the snippet of my code.

Objective: I am trying to ping a website for certain interval of time (User defined). If the URL works, it w..... More

Print this item

  Where to look to find the most recent Python grammar
Posted by: allusernametaken - Oct-02-2019, 05:31 PM - Forum: General Coding Help - Replies (9)

Hello, Python world!

I recently started studying Python with the book called 'Python Crash Course' by Eric Matthes.
It has been very entertaining ..... More

Print this item

  Explain range in this code
Posted by: RavCOder - Oct-02-2019, 03:30 PM - Forum: General Coding Help - Replies (4)

Hi,
I created this code to calculate a product used two input of user :

[python]
factor = int(input())
multiple = int(input())

for p in range..... More

Print this item

  Windows can't find installed packages
Posted by: TSheets13 - Oct-02-2019, 02:18 PM - Forum: General Coding Help - Replies (7)

I am trying to install some packages to my Windows Python 3.7

I downloaded BeautifulSoup, and then from the Windows cmd prompt, in the directory wh..... More

Print this item

  Combinaison
Posted by: Goodsayan - Oct-02-2019, 02:04 PM - Forum: General Coding Help - Replies (1)

Hello,

I'm new in python. I try to generate combinations of objects and calculate sums to characterize them.
A little confused, so I quickly give ..... More

Print this item

  Understanding program blocks
Posted by: newbieAuggie2019 - Oct-02-2019, 01:45 PM - Forum: General Coding Help - Replies (2)

Hi!

Sorry for bothering you with this probably stupid question, but I can get really stuck with some little non-vital doubts.

If I understand [b..... More

Print this item

  open, read and replace a string in a file
Posted by: Reims - Oct-02-2019, 01:30 PM - Forum: General Coding Help - No Replies

Hi,
i want to read a file, and replace a certain value.

i don t know the exact string value but i know what is before and after this value

for ..... More

Print this item

  Calculating with float
Posted by: TSheets13 - Oct-02-2019, 12:08 PM - Forum: General Coding Help - Replies (1)

This code fails:

import math
r=input("r=")
h=input("h=")
V=math.pi*h*r**2
print (V)
V=math.pi*h*r**2
TypeError: ca..... More

Print this item

  Access to the elements of a dictionnary
Posted by: Reims - Oct-02-2019, 11:44 AM - Forum: General Coding Help - Replies (1)

Hi,
i have the following json file contained in a file named file.conf
and i Need to replace the value of ENDPOINT witn something else


[pytho..... More

Print this item

  Doing calculation with ascii file
Posted by: Mike - Oct-02-2019, 11:09 AM - Forum: General Coding Help - Replies (5)

Hello!
I have file named DATA.TXT which contains:

[output]colA,colB
324,234
346,341
147,346
234,567
368,405
344,643
235,235
236,567[/outpu..... More

Print this item

  Problem with 'and' in 'if' statement
Posted by: CoderMan - Oct-02-2019, 09:14 AM - Forum: General Coding Help - Replies (3)

Hello,

I'm trying to make a function that returns true if a list contains at least one of many predetermined letters in it. The code is as follows:..... More

Print this item

  Too Stupid to Code
Posted by: RazerNismo - Oct-02-2019, 07:01 AM - Forum: Bar - Replies (14)

Look... I'm after a brutally honest view on if people think that coding is for a certain level of education.. Perhaps a problem solving mind or someth..... More

Print this item

  How i can judge my code
Posted by: christing - Oct-02-2019, 04:16 AM - Forum: General Coding Help - Replies (16)

Below is the code i write for confirm my string single position.

the purpose i write the code is i want single confirm my string(111111111110000000..... More

Print this item

  Read data, recognize trends and send report
Posted by: vin0001 - Oct-02-2019, 02:01 AM - Forum: Data Science - Replies (1)

I would like to use Python and Machine learning to read time stamped data set and analyze its trend behaviour to generate a report if any outliers.
..... More

Print this item

  Error could not convert string to float:
Posted by: deadendstreet - Oct-02-2019, 01:06 AM - Forum: Homework - Replies (4)

Hey all,

Ive been working on creating plots and am trying to convert a column that had $4,312.00 as an Object instead of a float or integer.

In ..... More

Print this item

  How to point a subdomain to run applications using virtualenv on ec2 (AWS)
Posted by: JohnnyCoffee - Oct-02-2019, 12:43 AM - Forum: Networking - No Replies

I added an ec2 instance (ubuntu server) in aws, installed python3.7, virtualenvs, pointed ec2's elastic ip to a subdomain, entered virtualenvs and mad..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  NEED HELP TO RECOVER SCAM... 43 minutes ago hugomiguel hugomiguel General Codin...
  Another app idea - intera... 3 hours ago decuser Biks News and Disc...
  My goal to be hired worki... 3 hours ago GnomeSweetGnome Biks News and Disc...
  real community 3 hours ago decuser Biks News and Disc...
  print does not open conso... 5 hours ago Tycho_2025 Tycho_2025 General Codin...
  create ocr to detect lice... 8 hours ago bimosora Pedroski55 General Codin...
  Weird failure in Selenium Yesterday, 08:57 glestwid Larz60+ General Codin...
  Fred Economic Data API 10-02, 15:05 warrior42 Trickety Web Scraping ...
  Parse Markdown / get the ... 10-02, 13:56 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
Most views
  The best Prog... 577509
  Tutorial Requ... 501535
  Web Scraping ... 441115
  Newbie with P... 385165
  New Users Int... 370000
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+ 12093
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
hugomiguel Today
lauren557 Yesterday
maribita Yesterday
AnalystRobert Yesterday
Safariscampoea Yesterday

User Panel Messages

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