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,646
» Latest member: Sladja
» Forum threads: 37,394
» Forum posts: 169,941

Full Statistics

Online Users
There are currently 426 online users.
» 2 Member(s) | 418 Guest(s)
Baidu, Bing, Google, Yandex, Applebot, snippsat, menator01

Latest Threads
Good way to ignore case w...
Forum: General Coding Help
Last Post: menator01
37 minutes ago
» Replies: 1
» Views: 56
how to edited Tkinter Top...
Forum: General Coding Help
Last Post: deanhystad
3 hours ago
» Replies: 7
» Views: 153
using mutable in function...
Forum: General Coding Help
Last Post: snippsat
3 hours ago
» Replies: 1
» Views: 78
i have not decided which ...
Forum: GUI
Last Post: cheeryconsist
4 hours ago
» Replies: 4
» Views: 340
Win or Loss Prediction
Forum: General Coding Help
Last Post: Pedroski55
5 hours ago
» Replies: 3
» Views: 117
Cucumber installation
Forum: General Coding Help
Last Post: SandraYokum
5 hours ago
» Replies: 2
» Views: 100
if else statements
Forum: General Coding Help
Last Post: DeaD_EyE
5 hours ago
» Replies: 8
» Views: 3,812
Pulsing notification icon
Forum: Board
Last Post: plaintivemiserly
9 hours ago
» Replies: 4
» Views: 1,172
watchdog on_modified
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 06:23 PM
» Replies: 3
» Views: 173
Volume label
Forum: Bar
Last Post: DPaul
Yesterday, 03:16 PM
» Replies: 3
» Views: 139

 
  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

  Need help
Posted by: Radez - Nov-26-2020, 03:50 PM - Forum: General Coding Help - Replies (9)

Hi,
I want to read some numbers into my list and i want to insert them in 1 line:
1 2 3 4...
instead of:
1
2
3
4
When I read it in 1 line, it ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Good way to ignore case w... 37 minutes ago Winfried menator01 General Codin...
  how to edited Tkinter Top... 3 hours ago kucingkembar deanhystad General Codin...
  using mutable in function... 3 hours ago akbarza snippsat General Codin...
  i have not decided which ... 4 hours ago Skaperen cheeryconsist GUI
  Win or Loss Prediction 5 hours ago ksasi2k3 Pedroski55 General Codin...
  Cucumber installation 5 hours ago SDS SandraYokum General Codin...
  if else statements 5 hours ago remy DeaD_EyE General Codin...
  Pulsing notification icon 9 hours ago menator01 plaintivemiserly Board
  watchdog on_modified Yesterday, 18:23 CAD79 deanhystad General Codin...
  Volume label Yesterday, 15:16 DPaul DPaul Bar
  Python Project Structure ... Yesterday, 12:21 b19wh33l5 b19wh33l5 General Codin...
Most views
  The best Prog... 411833
  Web Scraping ... 302825
  Tutorial Requ... 292633
  Newbie with P... 250851
  Thread remain... 232975
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+ 11871
buran 8090
snippsat 7087
deanhystad 6216
metulburr 5150
Top referrers
Googlepro 20
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
Sladja Today
Olja Today
cheeryconsist Today
FastCode Today
plaintivemiserly Today

User Panel Messages

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