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,402
» Latest member: Jeffreygon
» Forum threads: 38,825
» Forum posts: 176,038

Full Statistics

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

Latest Threads
a function to watch files
Forum: News and Discussions
Last Post: OtiliaGen
Yesterday, 12:38 PM
» Replies: 2
» Views: 191
Merge video with subtitle...
Forum: General Coding Help
Last Post: OtiliaGen
Yesterday, 12:32 PM
» Replies: 29
» Views: 15,756
Create dataframe from the...
Forum: Data Science
Last Post: JassicaElla60
Yesterday, 12:31 PM
» Replies: 8
» Views: 3,671
Check if running from she...
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:52 AM
» Replies: 2
» Views: 187
Sorry Help
Forum: General Coding Help
Last Post: noisefloor
Jan-01-2026, 11:47 AM
» Replies: 2
» Views: 152
IP address for users
Forum: Networking
Last Post: DeaD_EyE
Dec-31-2025, 08:02 PM
» Replies: 6
» Views: 7,200
Opencv findContours Q
Forum: General Coding Help
Last Post: Pedroski55
Dec-30-2025, 12:11 AM
» Replies: 1
» Views: 230
Struggles I Faced While E...
Forum: Code Review
Last Post: padma121
Dec-29-2025, 09:12 AM
» Replies: 1
» Views: 4,641
Willing to pay for help w...
Forum: General Coding Help
Last Post: noisefloor
Dec-29-2025, 08:37 AM
» Replies: 4
» Views: 309
How to Integrate External...
Forum: General Coding Help
Last Post: noisefloor
Dec-27-2025, 06:21 PM
» Replies: 1
» Views: 270

 
  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

  webbrowser not working in screen management in kivy
Posted by: thousif - Nov-25-2020, 08:23 AM - Forum: Web Scraping & Web Development - Replies (1)

import webbrowser
def any_Function(instance)
webbrowser.open('https://www.python.org')
<Mainwindow>:
name: "main"
GridLayout:
..... More

Print this item

  Pandas/Dataframes, Strings and Regular Expressions...
Posted by: Stephan - Nov-25-2020, 08:08 AM - Forum: Data Science - No Replies

Hi all

I am new in the Python world (20 years ago I did some C/C++). For being new, I was able to achieve quite a lot so far. I successfully got ar..... More

Print this item

  Adding List Element if Second part of the List Elements are the Same
Posted by: quest_ - Nov-25-2020, 07:35 AM - Forum: General Coding Help - Replies (3)

Hello,

I have this list

newlist = [[[[0, 0, 0], [1, 1, 0], [0, 1, 0], [0, 0, 0], [1, 0, 1], [1, 1, 1]],(1.57, 1.57, 0)],
[[[0, 0, 0], [1, 1, 0..... More

Print this item

  pip errors
Posted by: Paulo_R - Nov-25-2020, 06:46 AM - Forum: General Coding Help - Replies (6)

Am using Windows 10 and have installed Python 3.9. I am an absolute beginner and am trying to explore what packages are installed. When I try:

[pyt..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  a function to watch files Yesterday, 12:38 Skaperen OtiliaGen News and Disc...
  Merge video with subtitle... Yesterday, 12:32 Pavel_47 OtiliaGen General Codin...
  Create dataframe from the... Yesterday, 12:31 Calab JassicaElla60 Data Science
  Check if running from she... 01-01, 11:52 rjdegraff42 noisefloor General Codin...
  Sorry Help 01-01, 11:47 BioNanoTech noisefloor General Codin...
  IP address for users 12-31, 20:02 Robots DeaD_EyE Networking
  Opencv findContours Q 12-30, 00:11 jogl Pedroski55 General Codin...
  Struggles I Faced While E... 12-29, 09:12 baffa_dbt padma121 Code Review
  Willing to pay for help w... 12-29, 08:37 braillescribe noisefloor General Codin...
  How to Integrate External... 12-27, 18:21 finallen321 noisefloor General Codin...
  Calling python from anoth... 12-27, 16:06 eedjsa eedjsa General Codin...
Most views
  The best Prog... 580505
  Tutorial Requ... 520364
  Web Scraping ... 442815
  Newbie with P... 387034
  New Users Int... 386940
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+ 12117
buran 8198
snippsat 7398
deanhystad 6920
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Jeffreygon Today
JassicaElla60 Yesterday
bryanptrovz7447 Yesterday
oliviajuior7959 01-01
aoliiapetrov4786 01-01

User Panel Messages

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