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,298
» Latest member: Divyakrishnan071
» Forum threads: 38,795
» Forum posts: 175,890

Full Statistics

Online Users
There are currently 41 online users.
» 1 Member(s) | 36 Guest(s)
Applebot, Bing, Google, DeaD_EyE

Latest Threads
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
4 hours ago
» Replies: 3
» Views: 114
silent deployment Python ...
Forum: News and Discussions
Last Post: Bummibaer
4 hours ago
» Replies: 2
» Views: 77
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
8 hours ago
» Replies: 6
» Views: 3,182
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 248
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 132
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 94
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,525
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 180
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 82
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,157

 
  Having problems using 'or' in a 'if' statement?
Posted by: umut3806 - Jul-21-2019, 10:27 PM - Forum: General Coding Help - Replies (2)

number1 = 5
number2 = 10

if number1 or number2 == 6:
    print("Successful !")
else:
    print("Failed !")
My problem is th..... More

Print this item

  Send raw string via socket with out any changes
Posted by: john36 - Jul-21-2019, 08:00 PM - Forum: Networking - Replies (18)

Hi,
I have problem with sending raw string data via socket. I made communication between PC(python script) and labeler Markem Imaje. Labeler has RS23..... More

Print this item

  Converting XML
Posted by: constantin01 - Jul-21-2019, 07:14 PM - Forum: Data Science - Replies (4)

Hi

There is xml-file (350 mb) that is a dictionary of tagged russian words. I want use it to tag words but problem is that search in xml-file is ve..... More

Print this item

  tkinter - "NameError: name 'frame' is not defined"
Posted by: Mocap - Jul-21-2019, 06:25 PM - Forum: General Coding Help - Replies (3)

I'm trying to create a class of buttons and bind it to tkinter but it keeps telling me "NameError: name 'frame' is not defined."

I tried this solu..... More

Print this item

  List capital letters
Posted by: ricardodepaula - Jul-21-2019, 05:09 PM - Forum: General Coding Help - Replies (8)

Hello again! Smile

I'm trying to return a list of all the indexes in the string that have capital letters.

[python]
lista =[]
def capita..... More

Print this item

  Unable to install pyaudio
Posted by: junzhi - Jul-21-2019, 04:49 PM - Forum: General Coding Help - Replies (2)

I tried to install pyaudio for my python project but it won't work once for the dozen of time I tried installing. Is this a problem with the visual st..... More

Print this item

  Why can't I import bs4?
Posted by: kmkim319 - Jul-21-2019, 03:43 PM - Forum: General Coding Help - Replies (2)

An error message says, "You are trying to run the Python 2 version of BS under Python 3."
I have no idea how to make BS4 work on my Python 3.

Print this item

  raw byte of integer
Posted by: jonnin - Jul-21-2019, 03:08 PM - Forum: General Coding Help - Replies (4)

Hello!
I am brand new, so bear with me. I am trying to do a specific polynomial of crc32 in py and that seems to be working but its horribly slow (c..... More

Print this item

  How to print the content of the object?
Posted by: janaki26794 - Jul-21-2019, 01:37 PM - Forum: General Coding Help - Replies (4)

I have a python file in which I have written the following data

[python]@dataclass
class Email:
resource_uri : str
address : str
..... More

Print this item

  Database management in csv format
Posted by: shahmirv - Jul-21-2019, 11:46 AM - Forum: Data Science - Replies (3)

Hi,
I have a software which exports itemwise daily information in a csv format.
I wish to create separate csv files, making the item name as the file ..... More

Print this item

  download data from glucose meter
Posted by: gehrenfeld - Jul-21-2019, 11:37 AM - Forum: News and Discussions - Replies (5)

I have an Abbott Freestyle Glucose Meter and I want to download the data from the meter. I have the USB data cable but could not find any python code ..... More

Print this item

  Why is grequests.map() so slow?
Posted by: M1ck0 - Jul-21-2019, 08:08 AM - Forum: General Coding Help - Replies (1)

So. I am getting links from a website. Storing them in array and then iterating over them.

[python]rs = (grequests.get(d) for d in data)
responses..... More

Print this item

  [PySimpleGui] How to alter mouse click button of a standard submit button?
Posted by: skyerosebud - Jul-21-2019, 04:53 AM - Forum: GUI - Replies (3)

Using PySimpleGui. Does anyone know how to alter the standard Submit button click to center or right mouse button?

Thanks Skyerosebud

Print this item

  Error in print statment
Posted by: leodavinci1990 - Jul-21-2019, 04:17 AM - Forum: General Coding Help - Replies (1)

#Example 2:
n = 32
guess = 0
while guess != (n**3) - 1:
	guess +=1
print("%d is equal to (%d**3)-1",%(guess,n))
Error comes u..... More

Print this item

  a class calling one of its own methods?
Posted by: Skaperen - Jul-21-2019, 03:38 AM - Forum: General Coding Help - Replies (1)

when a method in a class calls one on its own methods (either a different one or itself) does it need to pass self in arg 1 or is it also inclu..... More

Print this item

  Install snit and tklib to included Tcl/Tk
Posted by: chmedly - Jul-21-2019, 02:59 AM - Forum: GUI - No Replies

So, I've been exploring some of the widgets in tklib but I've found that getting it installed on a mac is rather troublesome. On one machine I have i..... More

Print this item

  Simplifying my code
Posted by: ilondire05 - Jul-21-2019, 12:49 AM - Forum: General Coding Help - Replies (5)

Alright, I had a problem where I needed to make two random lists, then make a third list which would contain the elements that the first 2 lists share..... More

Print this item

  Else Statement Not Working
Posted by: SenkouSimmer - Jul-20-2019, 11:20 PM - Forum: Homework - Replies (4)

This is homework, but I'm not asking anyone to do my homework for me. My professor isn't helping me with anything and I've been stuck on this one ques..... More

Print this item

  printing a bytes string
Posted by: Skaperen - Jul-20-2019, 11:18 PM - Forum: General Coding Help - Replies (2)

is there a quick and simple (one statement or one function/method call) to print a byte string (to stdout) without including the b' p..... More

Print this item

  Looking for a "custom" script editor
Posted by: NewBeginnings - Jul-20-2019, 07:32 PM - Forum: General Coding Help - Replies (12)

I started with python in a 3D-application (Autodesk Maya), and I fell in love with its script editor. It looks like this:
[img]https://i.ibb.co/nfNmZ..... More

Print this item

  is there an options parser that can handle + and ++
Posted by: Skaperen - Jul-20-2019, 07:22 PM - Forum: News and Discussions - Replies (1)

i am looking for an options parser that can handle options with - or -- or + or ++. it must support combining single letter options in the same argum..... More

Print this item

  Using map and lambda in a matrix
Posted by: ricardodepaula - Jul-20-2019, 07:04 PM - Forum: General Coding Help - Replies (3)

Hi! I'm new to programming and I'm racking my brain to try to find an sum the diagonal of a matrix using map and lambda.

the matrix:

[inline]

matr..... More

Print this item

  Problem with reading and writing to file.
Posted by: darktitan - Jul-20-2019, 05:10 PM - Forum: General Coding Help - Replies (2)

Hi
I got a code for a csv database where i can write a bit of data and it saves it to a csv file very simple.
My problem is that every time i start ..... More

Print this item

  Extracting links from website with selenium bs4 and python
Posted by: M1ck0 - Jul-20-2019, 04:51 PM - Forum: Web Scraping & Web Development - Replies (1)

Okay so.

Heading might seem like this question ahs already been asked but I had no luck finding an answer for it.

I need help about making link ..... More

Print this item

  Imperfect Stopwatch
Posted by: PoetLearnsPython - Jul-20-2019, 04:28 PM - Forum: General Coding Help - Replies (1)

Hey, I'm new here so if I break any rules, feel free to scold me.

Anyway, I was learning how to program a simple timer from a YouTube video. I got ..... More

Print this item

  How to update libc6 with Putty SSH?
Posted by: drogontargaryen - Jul-20-2019, 03:09 PM - Forum: General Coding Help - Replies (1)

Im trying to run Stockfish chess engine, but in the line that execute the binary give me this error:

Script:

[python]import chess
import chess...... More

Print this item

  Why was my post deleted/moved ?
Posted by: Hadad - Jul-20-2019, 02:59 PM - Forum: Board - Replies (6)

Don't delete my posting for no valid reason then moreover merge it with my other posting!!! If your website is dying then its not my fault!!! You are ..... More

Print this item

  Can you help about my learning project
Posted by: Qusha - Jul-20-2019, 02:04 PM - Forum: General Coding Help - Replies (1)

Hello, I'm taking python course online and there was a task about logging in program and ATM program these two were should be different but I wanted t..... More

Print this item

  preprocessing problem
Posted by: hadith - Jul-20-2019, 12:30 PM - Forum: Data Science - Replies (1)

Hi, I'm new in data science and python, I have a project to deal with a data set which contains malware API calls and the data set just has one column..... More

Print this item

  one example of why we dont delete content
Posted by: metulburr - Jul-20-2019, 11:00 AM - Forum: Board - Replies (6)

Just bringing this to everyone's attention.

A lot of times people ask to delete solved threads. ..... More

Print this item

  While True is a syntax error?
Posted by: Piethon - Jul-20-2019, 09:34 AM - Forum: General Coding Help - Replies (8)

Hello everybody,

I am working on a little NON AI-Chatbot and I wanted to make a "while True:" loop inside a "if name == "main"". But when I'm runni..... More

Print this item

  dtype in not working in mad() function
Posted by: ift38375 - Jul-20-2019, 07:47 AM - Forum: Data Science - Replies (8)

Given below is python pandas program using mad()function :
[python]
import pandas as pd
import numpy as np
diSales= { 2016:{'qtr1':34500,'qtr2':56..... More

Print this item

  tkinter freeze
Posted by: DeanAseraf1 - Jul-20-2019, 07:46 AM - Forum: GUI - No Replies

Hey, I'm new to python and I'm trying to code a alarms clock program.
for some reason when I'm trying to find if the alarm(input) is equal to the tim..... More

Print this item

  Scale at the Top
Posted by: Friend - Jul-20-2019, 05:51 AM - Forum: GUI - Replies (5)

Hello all,

i am a newbie in GUI/Tkinter. I was trying an example of Scale (from 4 to 50)from a book.
It works almost fine, however when i start t..... More

Print this item

  Recursive help
Posted by: jjordan33 - Jul-20-2019, 04:28 AM - Forum: General Coding Help - Replies (1)

Hi,
I need a little help understanding python recursive functions. My function stops at an integer instead of returning a bool like I want it to.

..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My regex function is not ... 4 hours ago Moltar1997 perfringo General Codin...
  silent deployment Python ... 4 hours ago Bummibaer Bummibaer News and Disc...
  best way to learn python 8 hours ago dutch ichsanputr News and Disc...
  data fetching for indian ... Yesterday, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
Most views
  The best Prog... 579368
  Tutorial Requ... 512339
  Web Scraping ... 442279
  Newbie with P... 386331
  New Users Int... 380235
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+ 12110
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Divyakrishnan071 Today
ichsanputr Today
nicos18 Yesterday
Moltar1997 Yesterday
arthurlouiss Yesterday

User Panel Messages

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