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,252
» Latest member: Jessicaadams
» Forum threads: 38,781
» Forum posts: 175,826

Full Statistics

Online Users
There are currently 60 online users.
» 1 Member(s) | 53 Guest(s)
Bing, Applebot, Google, Internet Archive, Mojeek, Axel_Erfurt

Latest Threads
re.split issue
Forum: General Coding Help
Last Post: Axel_Erfurt
4 minutes ago
» Replies: 1
» Views: 20
Backward compatibility qu...
Forum: News and Discussions
Last Post: noisefloor
1 hour ago
» Replies: 6
» Views: 323
New to python and coding
Forum: Homework
Last Post: lary_p
6 hours ago
» Replies: 5
» Views: 145
why is the image not show...
Forum: General Coding Help
Last Post: deanhystad
Yesterday, 07:26 PM
» Replies: 2
» Views: 93
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 10:11 AM
» Replies: 6
» Views: 228
I’m building a Python Dat...
Forum: GUI
Last Post: tsgiannis
Nov-11-2025, 09:52 AM
» Replies: 11
» Views: 353
[split] print two differe...
Forum: General Coding Help
Last Post: Gribouillis
Nov-10-2025, 05:37 AM
» Replies: 1
» Views: 137
Data Science
Forum: Data Science
Last Post: mamta25
Nov-10-2025, 05:27 AM
» Replies: 3
» Views: 2,636
Two arguments in input fu...
Forum: General Coding Help
Last Post: Pedroski55
Nov-09-2025, 12:56 AM
» Replies: 4
» Views: 233
[openpyxl] Set the lockin...
Forum: General Coding Help
Last Post: Pedroski55
Nov-07-2025, 11:59 AM
» Replies: 3
» Views: 226

 
  Simple Method to calculate average and grade
Posted by: ajitnayak1987 - Jun-07-2021, 12:33 PM - Forum: Homework - Replies (8)

Dear all

I have list of items
a=[[90 90 80 87 85],[60 70 80 7 85]] having list of item in as above arrange in 2 row and 5 column ist

I wanted..... More

Print this item

  Segmentation fault (core dumped)
Posted by: hobbyist - Jun-07-2021, 11:27 AM - Forum: General Coding Help - Replies (1)

Any idea what is wrong with this code here and gives me Segmentation fault (core dumped)??? I got the code from here:
..... More

Print this item

Photo How to process the array correctly
Posted by: Fly_jia - Jun-07-2021, 08:25 AM - Forum: General Coding Help - Replies (4)

[python]import numpy as np
from timeit import default_timer as timer

mask = np.load('mask.npy', allow_pickle=True)

cell_mask_new_all = mask[:, ..... More


Attached Files

.py   array_compare.py (Size: 480 bytes / Downloads: 392)
Print this item

  First time user
Posted by: cris - Jun-07-2021, 04:25 AM - Forum: Networking - Replies (1)

Help Please. This is my first time attempting Python. My testing lab has 4 Ethernet interfaces E0/0-3 on my Router. I am writing a script to shutdown ..... More

Print this item

  Using Local Html Data
Posted by: knight2000 - Jun-07-2021, 03:04 AM - Forum: General Coding Help - Replies (2)

Hi all,

As a newbie, I've been trying to get some practice in webscraping by trying to extract different elements on a html page, but I decided tha..... More


Attached Files

.html   localhtml.html (Size: 32.79 KB / Downloads: 548)
Print this item

  sum all ints of the same line
Posted by: ranbarr - Jun-06-2021, 07:52 PM - Forum: Homework - Replies (1)

hi, Im trying to calculate the mean of a mutation level of chromosomes.
Im caculating each chromosome mutation level with this line:

[python]formula ..... More

Print this item

  [Expired] Free Course: Automate the Boring Stuff with Python Programming
Posted by: Yoriz - Jun-06-2021, 01:18 PM - Forum: News and Discussions - No Replies

Expired
I stumbled across this but there are only 30 minutes left to grab it while you can.
..... More

Print this item

  How can I get Python Bulk Email Verification Script With API?
Posted by: zainalee - Jun-06-2021, 08:40 AM - Forum: General Coding Help - Replies (1)

Hello Everyone,
I have an email verification API and I want to use it through Python.
I wanna make a Python s..... More

Print this item

  PyCon 2021 videos
Posted by: snippsat - Jun-06-2021, 08:39 AM - Forum: News and Discussions - Replies (2)

Here a link of to all videos PyCon 2021
This one look interesting ..... More

Print this item

  Delete list while iterating
Posted by: shantanu97 - Jun-06-2021, 07:55 AM - Forum: General Coding Help - Replies (1)

I am looping over different worksheet in excel. I wanted to removed any tabs that are start with name "Sheet" and followed by anything. I want to loop..... More

Print this item

  Visual Python Programming flows
Posted by: Joost - Jun-06-2021, 06:51 AM - Forum: Code sharing - No Replies

If you are interested in programming workflows then please check out this BPMN-RPA library.

You can cr..... More

Print this item

  Python calculator help but not using while loop with true, any flags variable ,break
Posted by: kirt6405 - Jun-06-2021, 12:05 AM - Forum: Homework - Replies (13)

Hi there ,
I am new to python and having hard time coding basic calculator but the catch is that we cannot use while loop with break statement or whi..... More

Print this item

  seeking simple|clean|pythonic way to capture {1,} numeric clusters
Posted by: NetPCDoc - Jun-05-2021, 11:15 PM - Forum: General Coding Help - Replies (6)

seeking simple|clean|pythonic way (expression | pattern) to capture {1,} numeric clusters (i.e. "\d+") …
… associated with a single "key_phrase"?

(I..... More

Print this item

  Connect and disconnect to database
Posted by: snakes - Jun-05-2021, 06:37 PM - Forum: General Coding Help - Replies (3)

I can't seem to find straight answer in the books I've got or from my DDG searches...

When should I connect and disconnect to my database?

Is i..... More

Print this item

  Compile list of dictianories out of another list of dictianories by certain keys
Posted by: CatorCanulis - Jun-05-2021, 02:45 PM - Forum: General Coding Help - Replies (10)

Hi everyone,

I need to compile a new list of new dictianories out of another list of dictianories. The new list should contain dictianories from th..... More

Print this item

  How to open Python?
Posted by: bensan - Jun-05-2021, 02:36 PM - Forum: General Coding Help - Replies (42)

Im running Windows10. Downloaded Python 3.8.1. Downloaded PyCharm 2021.1.1. Also use basic editor UltraEdit.
If I type 6*2 & enter into Python prompt..... More

Print this item

  Adding a new column to a Panda Data Frame
Posted by: rsherry8 - Jun-05-2021, 12:30 PM - Forum: Data Science - Replies (2)

Please consider the following Python code:
[python]import pandas as pd


data = {
"l1": [50, 100, 150, 200, 250, -350, 450],
"l2": [100, 120..... More

Print this item

  How can i generate hierarchy directory
Posted by: Anldra12 - Jun-05-2021, 06:32 AM - Forum: General Coding Help - Replies (2)

Sorry i know the simple directory but i want to generate directory structure for project hierarchy like project name data result figure model script e..... More

Print this item

  How to print results of asyncio websockets at the same time?
Posted by: codingmonster - Jun-04-2021, 01:48 PM - Forum: General Coding Help - No Replies

Question

- How can I merge the results of two or three asynchronous websocket results, defined with the library `asyncio..... More

Print this item

  Importing module in jupyter Noteboook
Posted by: ajitnayak1987 - Jun-04-2021, 12:26 PM - Forum: General Coding Help - No Replies

Dear all

I have 2 files one is main.jpynb and keys.jpynb
I have set of keyvalues which i am going to use in main function.

In pyscripter we u..... More

Print this item

  Post IF Statement Input
Posted by: OrphanedSoul - Jun-04-2021, 01:49 AM - Forum: Homework - Replies (2)

So i've been tasked with:

Write a Python program that does the following:
1. Ask the use if he/she wants to convert from Fahrenheit to Cel..... More

Print this item

  How to save modification of a file in original file not a new one?
Posted by: mjrezayani - Jun-03-2021, 05:04 PM - Forum: General Coding Help - Replies (3)

Dear all,

I have a code to modify a file. This code make changes on my file and save it to a new file. But, I want to have changes(modifications) o..... More


Attached Files

.py   2.py (Size: 481 bytes / Downloads: 510)
Print this item

  Discord Bot
Posted by: Dark_Sovereign_193 - Jun-03-2021, 03:24 PM - Forum: General Coding Help - No Replies

Hello! I have found that while creating a discord bot; this line of code doesn't work!

[inline]async def start_dungeon(ctx, member : discord.Member..... More

Print this item

  Find and replace in files with regex and Python
Posted by: Melcu54 - Jun-03-2021, 09:33 AM - Forum: General Coding Help - No Replies

good day. I need to make a simple Batch Processor (run multiple regex for search and replace on files)

Suppose I have 6 or 10 regex formula for sea..... More

Print this item

  Python Compile error
Posted by: ajitnayak1987 - Jun-03-2021, 09:28 AM - Forum: General Coding Help - Replies (4)

I have simple program running on pyscripter 2.5 and similar code tried on jupyter notebook.
How to resolve below error

reference code taken from h..... More

Print this item

  convert numbers into list
Posted by: lokesh - Jun-03-2021, 06:08 AM - Forum: General Coding Help - Replies (1)

Hi,

I need help to convert the following numbers into a list.

156788
987652
567891
234567

the output should be as below:

[156788,98765..... More

Print this item

  sys.path.insert()
Posted by: Skaperen - Jun-02-2021, 11:40 PM - Forum: General Coding Help - Replies (2)

i inserted a path by doing sys.path.insert(0,mypath). how do i delete it?

Print this item

  How Can I Draw Circle With Turtle İn Python ?
Posted by: mdm - Jun-02-2021, 09:49 PM - Forum: Homework - Replies (2)

Hello friends ı need a help about this homework ı need to draw a circle but with dashed circle .

[img]https://i2.wp.com/pythonturtle.academy/wp-con..... More


Attached Files

Thumbnail(s)
   
Print this item

  a collection of pdf-files (copy of a book) in disorder: solfing wiht pikepdf
Posted by: apollo - Jun-02-2021, 08:06 PM - Forum: Bar - Replies (3)

hello dear Python-friends,


added an update below ...

first of all - i hope youre well and all goes okay at your hometown.

i have a colle..... More

Print this item

  question about various coding methods or names
Posted by: alok - Jun-02-2021, 03:44 PM - Forum: News and Discussions - Replies (1)

Newbie question . . . Why are there so many coding methods or names ,like PYTHON , RUBY ,etc. Doesn't the PC need to know what your using ( Python or ..... More

Print this item

  request help putting together multiple widgets in pyqt application
Posted by: Oolongtea - Jun-02-2021, 03:00 PM - Forum: Code Review - No Replies

Hello people,

I'd like to share some code for review. I am currently working on an interface that will be part of the frontend of some measurement ..... More

Print this item

  .json overwrites, rather than append??
Posted by: Clives - Jun-02-2021, 02:52 PM - Forum: General Coding Help - Replies (12)

Greetings,
I am trying to write a Pandas DataFrame to a json file.
The json file gets overwritten, rather than appended??

Can anyone spot the err..... More

Print this item

  WebDriverWait improved function
Posted by: euras - Jun-02-2021, 01:40 PM - Forum: Web Scraping & Web Development - No Replies

hi guys,
I'm trying to create some kind of improved WebDriverWait function.
the problem I face automating a webpage is that it requires that ugly de..... More

Print this item

  Using SK Learn Library with Spyder
Posted by: johnfa - Jun-02-2021, 01:17 PM - Forum: General Coding Help - Replies (3)

Hi All

I am new to Spyder / Python and trying to use the SK Learn Library with Spyder on Windows 10 however i get an Module not found error.

I ..... More

Print this item

  PSF licence
Posted by: mipa - Jun-02-2021, 10:03 AM - Forum: News and Discussions - No Replies

Hi.

I have problem with understanding of PSF licence conditional. I'd like to use MatPlotLib. On their website there is written that:

[quote]Mat..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  re.split issue 4 minutes ago paul18fr Axel_Erfurt General Codin...
  Backward compatibility qu... 1 hour ago yutaozhou noisefloor News and Disc...
  New to python and coding 6 hours ago lary_p lary_p Homework
  why is the image not show... Yesterday, 19:26 sarbogast deanhystad General Codin...
  Help with Serial.write in... Yesterday, 10:11 racingsubby Larz60+ General Codin...
  [Tkinter] I’m building a ... 11-11, 09:52 tsgiannis tsgiannis GUI
  [split] print two differe... 11-10, 05:37 Reema Gribouillis General Codin...
  Data Science 11-10, 05:27 Oshadha mamta25 Data Science
  Two arguments in input fu... 11-09, 00:56 Alfredd Pedroski55 General Codin...
  [openpyxl] Set the lockin... 11-07, 11:59 BelleroDev Pedroski55 General Codin...
  New Users Introduce Yours... 11-07, 09:09 Yoriz BelleroDev Bar
Most views
  The best Prog... 578910
  Tutorial Requ... 510119
  Web Scraping ... 441937
  Newbie with P... 385952
  New Users Int... 376701
Most reputation
buran 581
snippsat 510
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+ 12107
buran 8195
snippsat 7388
deanhystad 6908
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Jessicaadams Today
ftk456 Yesterday
sarbogast Yesterday
bmurray Yesterday
kai_cow2710 Yesterday

User Panel Messages

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