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,266
» Latest member: tlandr02
» Forum threads: 38,788
» Forum posts: 175,853

Full Statistics

Online Users
There are currently 42 online users.
» 1 Member(s) | 33 Guest(s)
Google, Bing, Facebook Dev, Apple, Nerdqueenos5Dip

Latest Threads
Access keys and values fr...
Forum: General Coding Help
Last Post: buran
4 hours ago
» Replies: 3
» Views: 70
How to make ball stay wit...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 04:07 PM
» Replies: 2
» Views: 122
PermissionError: [Errno 1...
Forum: GUI
Last Post: deanhystad
Yesterday, 02:42 PM
» Replies: 1
» Views: 77
Graph Interpolate Difficu...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 01:54 PM
» Replies: 1
» Views: 76
sorting a lisr of file pa...
Forum: News and Discussions
Last Post: DeaD_EyE
Yesterday, 01:00 PM
» Replies: 5
» Views: 330
conditional nested loops
Forum: News and Discussions
Last Post: Skaperen
Nov-14-2025, 11:31 PM
» Replies: 0
» Views: 50
PyQt6 QWidgets and system...
Forum: GUI
Last Post: stevecoh1
Nov-14-2025, 06:38 PM
» Replies: 0
» Views: 86
[solved] re.split issue
Forum: General Coding Help
Last Post: deanhystad
Nov-14-2025, 06:02 PM
» Replies: 10
» Views: 307
Please guide me to comple...
Forum: General Coding Help
Last Post: Larz60+
Nov-14-2025, 03:33 PM
» Replies: 3
» Views: 170
New to python and coding
Forum: Homework
Last Post: jefsummers
Nov-13-2025, 07:58 PM
» Replies: 6
» Views: 269

 
  What happens to a <itertools.permutations object at 0x7fe3cc66af68> after it is read?
Posted by: Pedroski55 - Nov-29-2020, 08:14 AM - Forum: General Coding Help - Replies (3)

I want to get all permutations of 2 vowels

[python]from itertools import permutations

doubles = permutations (['a', 'e', 'i', 'o', 'u'],2)
for..... More

Print this item

  Problem 6.b
Posted by: nman52 - Nov-29-2020, 04:35 AM - Forum: Homework - Replies (4)

Hi everyone,

I feel like I'm close to an answer for this one.. but not quite. Would groupby be the way to go here?


Source: https://cour..... More

Print this item

Question CSS Styling for a QLabel inside a QListWidget
Posted by: Alfalfa - Nov-28-2020, 11:45 PM - Forum: GUI - Replies (2)

Long story short, I use a QListWidget as a checklist. I would like to set a custom style for some items which are not checkable and rather act as text..... More

Print this item

  Correct Language for creating a calculation tool
Posted by: bradkernohan - Nov-28-2020, 09:17 PM - Forum: General Coding Help - Replies (2)

I am looking to create a small piece of software that will allow numerical data entry and then perform some calculations from that data.

Is Python ..... More

Print this item

  FileNotFoundError when I try putting sprite in Pygame
Posted by: zionkozisek - Nov-28-2020, 09:09 PM - Forum: Game Development - Replies (9)

I started following a Space Invaders tutorial for pygame, and I made sprites in Piskel and put them into the folder with my game, but I got an error s..... More

Print this item

  Undo interation to make a single list?
Posted by: DustinKlent - Nov-28-2020, 07:56 PM - Forum: General Coding Help - Replies (2)

I am using "praw" to pull reddit topic posts in a specific subreddit and here's my code:

[python]for submission in reddit.subreddit('finance').hot(..... More

Print this item

  need help one time pad encryption implementation !
Posted by: nad556 - Nov-28-2020, 06:01 PM - Forum: General Coding Help - Replies (1)

Hello guys ! i want to implemante a onetimepad encryption to my socket chat program..but i dont know how !
this is the onetimepad library : https://p..... More

Print this item

  where to look for documentation for pypi packages
Posted by: underdog261 - Nov-28-2020, 05:49 PM - Forum: General Coding Help - Replies (1)

if you want to try out a project - say QuickDiscord.py 0.0.3 - how do u find the commands/documentation so you know how to use it. my apologies for su..... More

Print this item

  pyspark dataframe to json without header
Posted by: vijz - Nov-28-2020, 05:36 PM - Forum: General Coding Help - No Replies

My apologies for the similar question asked previously. This question is in Python. But I can't find correct solution I have the following dataframe d..... More

Print this item

  'list' object not callable
Posted by: sidra - Nov-28-2020, 03:06 PM - Forum: General Coding Help - Replies (5)

hi
i am new to python. iam working on lstm model. i want to plot graph of loss and accuracy. i know that model history is saved. i have used below c..... More

Print this item

  got an error while calculating a pct_change on a multiple tickers yfinace df
Posted by: Tradigdde - Nov-28-2020, 02:41 PM - Forum: Data Science - Replies (1)

I am a newbie and will appreciate your help!

[python]
import pandas as pd
import yfinance as yf

list=['AAPL','MSFT','AMZN']

start="2020..... More

Print this item

  Code help
Posted by: BigBoiOsama - Nov-28-2020, 01:50 PM - Forum: General Coding Help - Replies (2)

Hello,
I am making a piece of code to describe a job description for my school and I am having a bit of difficulty downloading and opening a PDF file..... More

Print this item

  Defining x and y axes in Spectrogram Function
Posted by: amy5678 - Nov-28-2020, 01:11 PM - Forum: Homework - Replies (3)

As part of my Astronomy Homework, I've to produce a Time vs Frequency Spectrogram of some data. The data I have is 2 columns - the first of which is t..... More

Print this item

Video Python Bulk Email Verification Script With API
Posted by: Aj1128 - Nov-28-2020, 11:38 AM - Forum: General Coding Help - No Replies

I have an email verification API and I want to use it through Python.
I wanna make a Python script identical to the one in this video:
https://www.y..... More

Print this item

  How do I use shortcut to import class in VS code?
Posted by: cheers100 - Nov-28-2020, 08:11 AM - Forum: Web Scraping & Web Development - No Replies

Hello,

I use VS code, operation system is windows 7.

In a tutorial, an instructor uses a shortcut to quickly import the class with pycharm.

..... More

Print this item

Bug Error while importing numpy
Posted by: Erfan - Nov-28-2020, 07:27 AM - Forum: General Coding Help - Replies (3)

Hello,
I have installed Python 3.9 on windows 10(I also installed Anaconda). after that I installed pip because I wanna install numpy. but when I imp..... More

Print this item

  Redistributing column data
Posted by: metro17 - Nov-28-2020, 05:09 AM - Forum: Data Science - Replies (2)

Hello All,

Sample data from one column in my SQLServer database:
ColumnA
,Take one tablet first of every month
,Take one tablet every 30 days
,..... More

Print this item

Question Matching variable to a list index
Posted by: Gilush - Nov-28-2020, 01:28 AM - Forum: General Coding Help - Replies (17)

Hi! :)

I'm exercising with lists and dictionary by creating a test maker.
The point of the program is to be as dynamic as possible, meaning, the u..... More

Print this item

  getting my head arounnd __enter__() for my new class
Posted by: Skaperen - Nov-28-2020, 01:09 AM - Forum: News and Discussions - Replies (5)

i am creating a class to open a file via one of a few other methods/function based on the name to be opened. if the name of the file ends with '.bz2'..... More

Print this item

  How to link Sublime Text 3 Build system to Python 3.9 Using Windows 10
Posted by: Fanman001 - Nov-27-2020, 10:22 PM - Forum: General Coding Help - Replies (2)

Am trying to use Sublime Text 3 (Build3211) with Python 3.9.0 on Windows 10.

Have downloaded both successfully and

Gone to Sublime Text to: Tool..... More

Print this item

  Mouvement Snake (The game)
Posted by: Catif - Nov-27-2020, 08:28 PM - Forum: General Coding Help - No Replies

Hi !
(sorry for my bad English I'm French)

I'm beginning in python, and I want to create my own game of Snake.
BUT I have a little problem, I don..... More

Print this item

  Array lists vs Linked Lists
Posted by: sabe - Nov-27-2020, 06:56 PM - Forum: Data Science - Replies (2)

in Phyton what are all the differences between array list vs linkedlist? Thank you Shy

Print this item

  set python default 3.0
Posted by: tdwinfre - Nov-27-2020, 05:41 PM - Forum: General Coding Help - Replies (4)

I have python 3.0 the latest version but when I type python in my shell it says 2.7. How do I set python 3.0 in my shell as my default version

Print this item

  Digits of a number
Posted by: 1234 - Nov-27-2020, 04:50 PM - Forum: General Coding Help - Replies (2)

Hello,
Does anyone know a way of taking digits of a number, putting into a list, and adding them together quicker than this?
[python]
while x>0:
..... More

Print this item

  Progressbar with start and stop
Posted by: jelo34 - Nov-27-2020, 04:29 PM - Forum: GUI - Replies (3)

Hello,I a Python beginner and am unable to code a scrpit coding for for a window with a start button and a stop button able to start an stop a progres..... More

Print this item

  Simple math Q
Posted by: ebolisa - Nov-27-2020, 03:50 PM - Forum: General Coding Help - Replies (4)

// answer = 60/5(7-5) =?6 ?24
a = 60
b = 5
c = 7
d = 5

res = a / b (c - d)

print(res)
[quote]Traceback (most recent ca..... More

Print this item

  Lists
Posted by: Tink - Nov-27-2020, 03:46 PM - Forum: Homework - Replies (11)

I think I am going about this all wrong if anyone can help.

Write a Python function named 'filter_seq' in the following code cell that takes a list..... More

Print this item

  Is it possible to make a bank transfer with python?
Posted by: funkynerd - Nov-27-2020, 03:36 PM - Forum: Homework - Replies (3)

I am creating a small application in python and I would like to experiment with the use of banking transactions and then I would like to create a simp..... More

Print this item

  Another Code Editor:Open Editor
Posted by: Ali_Kilicoglu - Nov-27-2020, 02:46 PM - Forum: Code sharing - Replies (2)

Hello everyone,
So ı am not gonna talk too much.Here is Open Editor it has
Tab system,
Code highlight,
Version control system,
Font etc. settings..... More

Print this item

  Loops
Posted by: Tink - Nov-27-2020, 01:42 PM - Forum: Homework - Replies (8)

Hello, I am wondering if anyone can help with this question? I am pretty rubbish at coding, and it doesnt return anything so I'm not sure what is wron..... More

Print this item

  Looking for Python Tutorials Recommendation
Posted by: uhtredberg - Nov-27-2020, 01:31 PM - Forum: Bar - Replies (2)

This is Lydia James from San Diego. I have been graduated from the University of San Diego as a Software engineer. I have been learning Python & worki..... More

Print this item

  When I print a key from dict it prints it but when I try to assign it to a variable I
Posted by: stefanvelikov - Nov-27-2020, 09:06 AM - Forum: General Coding Help - Replies (3)

Here is my code and expected output:

[python] from __future__ import print_function
import pickle
import os.path
from googlea..... More

Print this item

  Nested array API call, how to split into its own column?
Posted by: new2datasci - Nov-27-2020, 06:46 AM - Forum: Data Science - No Replies

Hello,

I am new here and new to Data Science. In advance, I am thankful for any help. I am working with this API: https://npiregistry.cms.hhs.gov..... More

Print this item

  How to listen to clipboard content change without polling the clipboard continuously?
Posted by: edgelord - Nov-27-2020, 06:07 AM - Forum: General Coding Help - No Replies

Hello, I am new here, please excuse any mistakes in the post.

I am trying to create a GUI application using tkinter, which would run in the backgro..... More

Print this item

  Cannot unpickle tcp data? unpickling stack underflow
Posted by: portafreak - Nov-27-2020, 12:30 AM - Forum: General Coding Help - Replies (4)

Hi,

Can anyone help me with this?

I am sending some data from Autoit to Python with TCP.
It is sent serialized from the Autoit client, so I hav..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Access keys and values fr... 4 hours ago Winfried buran General Codin...
  How to make ball stay wit... Yesterday, 16:07 nathanael deanhystad General Codin...
  PermissionError: [Errno 1... Yesterday, 14:42 Tuurbo46 deanhystad GUI
  Graph Interpolate Difficu... Yesterday, 13:54 Tuurbo46 deanhystad General Codin...
  sorting a lisr of file pa... Yesterday, 13:00 Skaperen DeaD_EyE News and Disc...
  conditional nested loops 11-14, 23:31 Skaperen Skaperen News and Disc...
  PyQt6 QWidgets and system... 11-14, 18:38 stevecoh1 stevecoh1 GUI
  [solved] re.split issue 11-14, 18:02 paul18fr deanhystad General Codin...
  Please guide me to comple... 11-14, 15:33 pbkurd Larz60+ General Codin...
  New to python and coding 11-13, 19:58 lary_p jefsummers Homework
  Backward compatibility qu... 11-13, 11:52 yutaozhou noisefloor News and Disc...
Most views
  The best Prog... 579035
  Tutorial Requ... 510960
  Web Scraping ... 442039
  Newbie with P... 386080
  New Users Int... 377538
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+ 12108
buran 8196
snippsat 7389
deanhystad 6913
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
tlandr02 Today
Rerus3700 Today
pas88 Today
aanthonymaaleyo3938 Today
chuhlowe Yesterday

User Panel Messages

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