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,949
» Latest member: andydt
» Forum threads: 38,726
» Forum posts: 175,524

Full Statistics

Online Users
There are currently 54 online users.
» 0 Member(s) | 49 Guest(s)
Google, Bing, AOL, Applebot

Latest Threads
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:00 PM
» Replies: 5
» Views: 9,209
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Yesterday, 09:08 AM
» Replies: 0
» Views: 112
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Yesterday, 03:29 AM
» Replies: 2
» Views: 514
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Yesterday, 02:36 AM
» Replies: 0
» Views: 144
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 670
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,906
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,185
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,542
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 3,120
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,854

 
  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

  I really need help, I am new to python, I am using a book that helps me to learn
Posted by: JaprO - Nov-26-2020, 03:20 PM - Forum: General Coding Help - Replies (5)

[python]
from tkinter import *
from time import sleep, time
from random import randint
from math import sqrt
HEIGHT = 500
WIDTH = 800
window = ..... More

Print this item

  i need some help using this code below
Posted by: xzmix - Nov-26-2020, 02:54 PM - Forum: Homework - Replies (1)

[python]#From this code im suppose to create base64 for encoding and decoding, im new using pyhton and i need this for my school proecjt, can u tell m..... More

Print this item

  How to export to csv the output of every iteration when scrapping with a loop
Posted by: efthymios - Nov-26-2020, 02:23 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi,
I am very new to Python. I am trying to scrape a website and I have create a small code for this:

[python]
select = Select(character.find_el..... More

Print this item

  Account Deletion Request
Posted by: isolatedastronaut - Nov-26-2020, 09:00 AM - Forum: Board - Replies (1)

Hi, I was wondering if one of mods could please delete my account.

Print this item

  Floor division return value
Posted by: Chirumer - Nov-26-2020, 08:57 AM - Forum: General Coding Help - Replies (8)

10//4 evaluates to 2.0

Why is it evaluated as 2.0 and not just 2? The result is an integer after all, isn't it better to store an integer in an int? ..... More

Print this item

  Downloading CSV from a website
Posted by: bmiller12 - Nov-26-2020, 04:15 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello all,

I ran into a few issues when dealing with Python and CSV files.
1. How do I automatically login to a website?
2. How do I automatic..... More

Print this item

  Downloading CSV from a website
Posted by: bmiller12 - Nov-26-2020, 04:09 AM - Forum: Data Science - Replies (4)

Hello all,

I ran into a few issues when dealing with Python and CSV files.
1. How do I automatically login to a website?
2. How do I automatic..... More

Print this item

  Matrix Operations Without Numpy or Incorporating Python into Webpage
Posted by: ebryski - Nov-26-2020, 03:09 AM - Forum: General Coding Help - Replies (1)

Hi. I'm planning on using GlowScript, a program for creating 3D animations where you can write code in Python which is then converted to JavaScript f..... More

Print this item

  To gamify reading
Posted by: test - Nov-26-2020, 02:19 AM - Forum: Code sharing - No Replies

Hi guys!
I wanted to share an idea i have been working on for a while now. My programming skills are still beginner level and i have made a working ex..... More

Print this item

  How can I use Cython to protect my Python Code?
Posted by: TurboC - Nov-25-2020, 10:00 PM - Forum: General Coding Help - Replies (2)

I wrote a software with Python and I would like to share it on internet, but before to do that I want to be sure to protect its source code as much as..... More

Print this item

  Uploading a file to s3
Posted by: pisike - Nov-25-2020, 08:42 PM - Forum: General Coding Help - Replies (2)

I am trying the below to upload a file to s3. I a, using python 2.7.

import boto3
from botocore.exceptions import NoCredentialsError
ACCESS_KEY ..... More

Print this item

  Counting Element in Multidimensional List
Posted by: quest_ - Nov-25-2020, 08:38 PM - Forum: General Coding Help - Replies (1)

Hello,

I have list like that:

[output]
newlist22 [[[0, 1, 1], [0, 1, 1], [1, 0, 1], [0, 0, 0], [1, 1, 1], [0, 1, 1], [1, 0, 1], (0, 1.57, 0)], ..... More

Print this item

  calculator with +2 expressions
Posted by: El_gnichi - Nov-25-2020, 07:59 PM - Forum: Homework - Replies (1)

https://ibb.co/YXwX1FQ
https://ibb.co/Dkyhctz
i'm sorry its in french but i can't find a french forum
but what it tells you is to build a calculato..... More

Print this item

  How to rename a CSV file by adding MODIFIED in the filename?
Posted by: Python_User - Nov-25-2020, 05:56 PM - Forum: General Coding Help - Replies (25)

Hello all,

I am working and editing a CSV file using python. In my python code I want to add the following:

I have a CSV file "Book1.csv" for ex..... More

Print this item

  Duplicating Rows And Put Them In Certain Index Position Query
Posted by: eddywinch82 - Nov-25-2020, 05:20 PM - Forum: General Coding Help - No Replies

Hi there,

I use the following lines of Code in a full Code, to append Rows, based on a Column Value, to a DataFrame I have :-

[python]is_dux = d..... More

Print this item

  Toooo slow....
Posted by: Radez - Nov-25-2020, 04:13 PM - Forum: General Coding Help - Replies (2)

Hi,
My code is meant to go through list 't' and check if any object from it is smaller than the first object in list 'a', if there is one, than it ch..... More

Print this item

  Problem: Restart kernel onPydev console when trying to install a python package
Posted by: poppy2020 - Nov-25-2020, 04:06 PM - Forum: General Coding Help - Replies (1)

Hi I am using Pycharm to work on my data. The console has the following details: Python 3.7.9 on win32 IPython 7.19.0 PyDev console: using IPython 7.1..... More

Print this item

  json function use
Posted by: DrBrownStats - Nov-25-2020, 02:07 PM - Forum: General Coding Help - Replies (1)

I'm new to python so I need a bit of direction. I've got some python code given to me to run against some quite complicated json files. I followed dir..... More

Print this item

  BATTLESHIPS WITH PYTHON
Posted by: BlazingWarlord - Nov-25-2020, 01:16 PM - Forum: Code sharing - No Replies

Tried to make a Battleships game with Python. Code is a little long but works well.
More details: https://thepygrammer.blogspot.com/2020/11/battlesh..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Creating a Mindmap progra... Yesterday, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... Yesterday, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... Yesterday, 03:29 Littlefish Littlefish General Codin...
  Is the interpreter that c... Yesterday, 02:36 helendamdam helendamdam General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  real community 09-15, 20:16 decuser decuser News and Disc...
Most views
  The best Prog... 576752
  Tutorial Requ... 499036
  Web Scraping ... 440550
  Newbie with P... 384515
  New Users Int... 368330
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+ 12088
buran 8176
snippsat 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
andydt Today
victorcrown Yesterday
Markbel386 Yesterday
trntgl Yesterday
susan Yesterday

User Panel Messages

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