Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 18,711
» Latest member: Butiournin1976
» Forum threads: 37,429
» Forum posts: 170,077

Full Statistics

Online Users
There are currently 398 online users.
» 3 Member(s) | 387 Guest(s)
Facebook, Google, Baidu, Bing, Yandex, AOL, Apple, Base12, deanhystad, Drone4four

Latest Threads
how to: explicitly select...
Forum: General Coding Help
Last Post: sawtooth500
2 hours ago
» Replies: 0
» Views: 16
Learning process
Forum: Bar
Last Post: Gribouillis
9 hours ago
» Replies: 1
» Views: 72
Flask role-based authoriz...
Forum: Web Scraping & Web Development
Last Post: erdemath
9 hours ago
» Replies: 13
» Views: 249
Suggestion on how to spee...
Forum: General Coding Help
Last Post: sawtooth500
10 hours ago
» Replies: 1
» Views: 81
Method returning None
Forum: General Coding Help
Last Post: husksedgier
10 hours ago
» Replies: 2
» Views: 122
Joblib worker error
Forum: General Coding Help
Last Post: sawtooth500
May-03-2024, 06:44 PM
» Replies: 1
» Views: 96
Calculating Average with ...
Forum: General Coding Help
Last Post: sawtooth500
May-03-2024, 05:55 PM
» Replies: 1
» Views: 129
Do regular expressions st...
Forum: General Coding Help
Last Post: rishika24
May-03-2024, 09:05 AM
» Replies: 3
» Views: 197
Connecting to Remote Serv...
Forum: General Coding Help
Last Post: Pedroski55
May-03-2024, 07:23 AM
» Replies: 1
» Views: 159
World Clock syntax error
Forum: General Coding Help
Last Post: snippsat
May-03-2024, 05:20 AM
» Replies: 1
» Views: 140

 
  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

  Computer science can you help me with the last part of the code after mentionedWords.
Posted by: shirleylam852 - Nov-26-2020, 11:16 PM - Forum: Homework - Replies (9)

My code currently:
[python]
def cleanedup(s):
alphabet='abcdefghijklmnopqrstuvwxyz@_0123456789'
cleantext= ''
for character in s.lowe..... More

Print this item

  DarkPaw Robot code
Posted by: Tyrelex78 - Nov-26-2020, 07:28 PM - Forum: General Coding Help - Replies (3)

Hello, I looking for some support with the modification of an existing code for Adeept _DarkPaw spider robot. I looking to modify this code to able to..... More

Print this item

  pathlib destpath.exists() true even file does not exist
Posted by: NaN - Nov-26-2020, 07:01 PM - Forum: General Coding Help - Replies (9)

I have a Windows file server (Win Server 2003 Standard x64 Edition) that contains csv files.

On a Debian machine (9.13 Stretch) I mounted a Windows..... More

Print this item

  Scraping all website text using Python
Posted by: MKMKMKMK - Nov-26-2020, 05:36 PM - Forum: Web Scraping & Web Development - Replies (1)

I am very very new to Python at all (so sorry in advance for asking stupid questions). I have an excel sheet with a unique company identifier and the ..... More

Print this item

  Sume Every 10 element in the list and Divided of Sum
Posted by: quest_ - Nov-26-2020, 04:22 PM - Forum: General Coding Help - Replies (7)

Hello
I have this list
b = [0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,0,1,01,0,1,0,1,0,1,0,1,0,1,0,1]

And I want to sum every 10 element in..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  how to: explicitly select... 2 hours ago sawtooth500 sawtooth500 General Codin...
  Learning process 9 hours ago Butiournin1976 Gribouillis Bar
  Flask role-based authoriz... 9 hours ago erdemath erdemath Web Scraping ...
  Suggestion on how to spee... 10 hours ago sawtooth500 sawtooth500 General Codin...
  Method returning None 10 hours ago husksedgier husksedgier General Codin...
  Joblib worker error 05-03, 18:44 sawtooth500 sawtooth500 General Codin...
  Calculating Average with ... 05-03, 17:55 mikasa sawtooth500 General Codin...
  Do regular expressions st... 05-03, 09:05 bobmon rishika24 General Codin...
  Connecting to Remote Serv... 05-03, 07:23 ChaitanyaSharma Pedroski55 General Codin...
  World Clock syntax error 05-03, 05:20 OscarBoots snippsat General Codin...
  How to solve this problem... 05-03, 02:16 magomes roryelila68 Homework
Most views
  The best Prog... 430480
  Web Scraping ... 318049
  Tutorial Requ... 307465
  Newbie with P... 260793
  Thread remain... 245234
Most reputation
buran 582
snippsat 499
Larz60+ 452
Gribouillis 330
deanhystad 312
Most replies
  New Users Int... 431
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 11875
buran 8090
snippsat 7095
deanhystad 6232
metulburr 5150
Top referrers
Googlepro 20
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Butiournin1976 Yesterday
thisistrivial Yesterday
TimsothyKat Yesterday
ShaneTalksTech Yesterday
husksedgier Yesterday

User Panel Messages

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