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,964
» Latest member: Edzed4431
» Forum threads: 38,730
» Forum posts: 175,545

Full Statistics

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

Latest Threads
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: tester_V
1 hour ago
» Replies: 2
» Views: 29
My goal to be hired worki...
Forum: News and Discussions
Last Post: Larz60+
6 hours ago
» Replies: 1
» Views: 455
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
11 hours ago
» Replies: 4
» Views: 1,991
My First App
Forum: Code Review
Last Post: carlbidwell
Yesterday, 10:53 AM
» Replies: 8
» Views: 8,554
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 03:54 AM
» Replies: 3
» Views: 457
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 913
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:17 PM
» Replies: 1
» Views: 942
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Sep-26-2025, 01:14 PM
» Replies: 6
» Views: 5,210
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Sep-26-2025, 09:50 AM
» Replies: 1
» Views: 1,826
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Sep-26-2025, 03:53 AM
» Replies: 1
» Views: 2,863

 
  making list in looping a dictionary
Posted by: glennford49 - Jun-25-2020, 09:34 AM - Forum: General Coding Help - Replies (9)

how to make a list out of this ?
is this the right approach?
[python]
users={"glenn":1,"elena":2,"mama":3}
names=(list(users.keys()))
for i in names:
..... More

Print this item

  ModuleNotFoundError: No module named 'http.client'; 'http' is not a package
Posted by: abhishek81py - Jun-25-2020, 08:55 AM - Forum: General Coding Help - Replies (1)

i'm running this code

import requests
url="https://news.google.com/news/rss"
x=requests.get(url)
print(x)
[b]and this er..... More

Print this item

  How to access files from shared folder?
Posted by: samandhare - Jun-25-2020, 07:30 AM - Forum: General Coding Help - Replies (4)

I am trying to connect share folder using python but not able to connect
bellow is my code:
[python]
from pathlib import Path
data_folder ..... More

Print this item

  Tools for black box and glass box (white box) testing
Posted by: Emekadavid - Jun-25-2020, 07:21 AM - Forum: News and Discussions - Replies (3)

Please can someone recommend a tool for black box testing and white box (or glass box) testing. I need to do testing on some code and need them.or may..... More

Print this item

  Soccer Teams and Trains
Posted by: Uwotm888 - Jun-25-2020, 05:50 AM - Forum: Homework - Replies (10)

Essentially, the script is to take soccer teams (15 players per team) and calculate the cheapest carts to rent

big cart carry's 48 people costs $2..... More

Print this item

  Unable to click element in web page
Posted by: Kalpana - Jun-25-2020, 05:20 AM - Forum: Web Scraping & Web Development - No Replies

Hello All,

I am trying to use python code for dynamic element where after login into URL I need to click element which is not happening with the be..... More

Print this item

  PyQt Vs Kivy
Posted by: SpongeB0B - Jun-25-2020, 04:57 AM - Forum: News and Discussions - Replies (1)

What are the main differences between the two ?

is both have a IDE (WYSIWYG editor)to design the interface ?

Where I can see GUI/apps created wi..... More

Print this item

  Looking for a book to deepen my Python knowledge.
Posted by: SpongeB0B - Jun-25-2020, 04:38 AM - Forum: News and Discussions - Replies (2)

Hi everyone,

I'm looking for a book for deepen my Python knowledge.

a book (or web resources)that cover all the stock module (https://docs.pytho..... More

Print this item

  Why Car() takes no arguments
Posted by: louis216 - Jun-25-2020, 03:03 AM - Forum: General Coding Help - Replies (2)

[python]class Car:

def __int__(self,make,model,year):
self.make = make
self.model = model
self.year = year

de..... More

Print this item

  comparing types
Posted by: Skaperen - Jun-25-2020, 02:47 AM - Forum: News and Discussions - Replies (5)

my function gets 2 arguments, foo and bar. they need to be the same type. verifying this is pretty obvious:[python]if type(foo)..... More

Print this item

  Python logging error
Posted by: Mekala - Jun-25-2020, 02:19 AM - Forum: General Coding Help - Replies (2)

Hi,
I am running the below code to print the log.
python version is: Out[11]: '3.6.8 |Anaconda 4.3.1 (64-bit)| (default, Feb 21 2019, 18:30:04) [MSC..... More

Print this item

  One more issue with displaying API information
Posted by: card51shor - Jun-25-2020, 01:33 AM - Forum: Homework - Replies (15)

Hey guys so I'm not able to print out the decimal of the average score in the JSON return from the /api/<isbn> route.

How can I change this so it p..... More

Print this item

  Tkinter: Create an homepage look like
Posted by: PeroPuri - Jun-24-2020, 10:03 PM - Forum: GUI - Replies (8)

I'd like to create for my GUI an homepage like look, I've manege to arrive at this point, but now I'm little stuck. What I'd like to achieve is change..... More

Print this item

  New parser enabling more soft keywords
Posted by: arthexis - Jun-24-2020, 08:45 PM - Forum: News and Discussions - Replies (3)

I was reading through PEP 622 and it ocurred to me:
Would it make sense, now that there is a new parser, to change some existing hard keywords to so..... More

Print this item

  .delete and .insert not working
Posted by: francois072 - Jun-24-2020, 07:52 PM - Forum: GUI - Replies (3)

[python]from tkinter import *


root = Tk()

# Display
root.title("Simple Calculator")
display = Entry(root, width=25).grid(row=0, column=0, co..... More

Print this item

  Python code not working
Posted by: garvind25 - Jun-24-2020, 07:49 PM - Forum: Homework - Replies (1)

Hi,

I have an assignment which I am unable to do. I hope someone can help.

The input is a string sentence. If the first element of the input ..... More

Print this item

  Importing modules issue
Posted by: mp3909 - Jun-24-2020, 07:48 PM - Forum: General Coding Help - Replies (9)

Hi,

I have a python file called ImportingModules.py

I have saved this file purposely on my desktop because I want to see how you can add an En..... More

Print this item

  .wav file not playing in python .exe program
Posted by: ose - Jun-24-2020, 07:17 PM - Forum: General Coding Help - No Replies

I have tried simpleaudio, playsound, and winsound in my program to be able to include a small wave file. Each one of these works fine when running my ..... More

Print this item

  problem with pygame
Posted by: Aladdin - Jun-24-2020, 05:09 PM - Forum: Game Development - Replies (3)

I am new to programming and i am trying Python
But I have this problem with vsc

Module 'pygame' has no 'init' member

Module 'pygame' has no 'QU..... More

Print this item

  Can't open/read txt file in C extension for Python
Posted by: Rad226 - Jun-24-2020, 04:39 PM - Forum: General Coding Help - Replies (8)

Hello everyone,

I'm wrapping some C++ in Python using ctypes.
I have the following problem:
When I'm trying to open/read a txt file by calling a ..... More

Print this item

  changing animation speed using buttons in python
Posted by: microwave - Jun-24-2020, 03:59 PM - Forum: General Coding Help - Replies (1)

I need help with animation speed in my simple game similar to pong. I am currently trying to have two buttons which will change the speed of "an egg"...... More

Print this item

  Recursive functions
Posted by: Ayman_2001 - Jun-24-2020, 01:46 PM - Forum: News and Discussions - Replies (2)

Is it really important to fully know Recursive functions to be able to be a good coder? This thing is eating up my head to be honest.

Print this item

  Using 2D array with Threadpool
Posted by: WiPi - Jun-24-2020, 12:25 PM - Forum: General Coding Help - Replies (1)

Hi guys,

I use 'Threadpool' processing quite a lot but only for 1 dimensional lists of data.I am now trying to implement the same structure but passi..... More

Print this item

  bad window path name
Posted by: jdos - Jun-24-2020, 11:00 AM - Forum: GUI - Replies (6)

Hey guys, I have a couple of python programs with GUI that work as should, now I have created another program that loads the other programs and runs t..... More

Print this item

  Easy-to-use volume control in Windows
Posted by: TheBlupper - Jun-24-2020, 10:50 AM - Forum: Code sharing - No Replies

Hi all Big Grin ! I recently had to control the windows master volume automaticall via a python script, but none of the solutions i found online w..... More

Print this item

  write to excel will be empty in column
Posted by: jacklee26 - Jun-24-2020, 10:23 AM - Forum: General Coding Help - Replies (7)

i have a question about reading a text file, but in the text file occur many empty space.
My text file data_out.txt:
no mac mta MA..... More

Print this item

  Hi, I need help with defining user's input and applying it to code.
Posted by: jlmorenoc - Jun-24-2020, 09:05 AM - Forum: General Coding Help - Replies (2)

[python]import sys
from cs50 import get_string
from cs50 import get_int
from py_thesaurus import Thesaurus


def main():
   if len(sys.argv) !=..... More

Print this item

  Python recursive functions
Posted by: Ayman_2001 - Jun-24-2020, 08:45 AM - Forum: Homework - Replies (6)

Greetings,
I've been doing this course on Udacity called CS101 it's quite a effective and challenging one and so far i've enjoyed it quite a lot. But ..... More

Print this item

  Error sending and receiving a base 64 encoded image to an API
Posted by: lagarcia - Jun-24-2020, 05:55 AM - Forum: Data Science - No Replies

Hello, I am implementing a facial recognition API in flask, and I need it to receive a base64 encoded image, once I receive it I decode it to process ..... More

Print this item

  python --version yields no output, not detected by other programs
Posted by: ten - Jun-24-2020, 04:55 AM - Forum: General Coding Help - Replies (3)

[Windows 10] This isn't even a coding problem. I've installed python version 3.7.4 in order to use TensorFlow in a piece of software that provides an ..... More

Print this item

  here is what i am doing
Posted by: Skaperen - Jun-24-2020, 03:37 AM - Forum: News and Discussions - Replies (8)

here is what i am doing that got me to ask some questions and do a bunch of googling. i am creating a class to open a file in a special way. it will..... More

Print this item

  How do I pick the right python in Linux env?
Posted by: MDRI - Jun-24-2020, 03:23 AM - Forum: General Coding Help - Replies (9)

How do I pick the right python in Linux env?
============================================

Thanks for reviewing my threads. I have a pyhton code de..... More

Print this item

  Save Arduino data in mysql server via raspberrypi
Posted by: rithikvg - Jun-24-2020, 02:54 AM - Forum: General Coding Help - Replies (1)

Hi,
I need help in saving Arduino data in phpmyadmin mysql server in raspberry pi. I connected the Arduino to raspberry pi 3B+ via usb i wrote a code..... More

Print this item

  Return the sum of the first n numbers in the list.
Posted by: pav1983 - Jun-24-2020, 01:35 AM - Forum: Homework - Replies (3)

Hi, I am stuck on this one. It makes no sense to me. I did attempt, but I'm having no luck. I think it comes down to knowing how to get the first n..... More

Print this item

  Help code found on web
Posted by: omega_elite - Jun-23-2020, 11:58 PM - Forum: General Coding Help - Replies (4)

Hi All

Please could i ge tsome help as to why i am getting error with this code ?? I am new to python so please excuss my not understanding this er..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Comparing 2 100GB Drives/... 1 hour ago tester_V tester_V General Codin...
  My goal to be hired worki... 6 hours ago GnomeSweetGnome Larz60+ News and Disc...
  what does % stand for in ... 11 hours ago arbiel Gribouillis General Codin...
  My First App Yesterday, 10:53 BCopeland64 carlbidwell Code Review
  Unable to resolve FileNot... Yesterday, 03:54 llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... 09-26, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... 09-26, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... 09-26, 03:53 justaguy SprunkiRetake Networking
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
Most views
  The best Prog... 577190
  Tutorial Requ... 500176
  Web Scraping ... 440893
  Newbie with P... 384905
  New Users Int... 369168
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 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
Edzed4431 Yesterday
chaoh1911 Yesterday
KaydenJonah098 Yesterday
carlbidwell Yesterday
llarkin6 09-26

User Panel Messages

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