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,933
» Latest member: randydurham
» Forum threads: 38,723
» Forum posts: 175,504

Full Statistics

Online Users
There are currently 37 online users.
» 0 Member(s) | 31 Guest(s)
Apple, AOL, Bing, Google, Mojeek

Latest Threads
NEED HELP TO RECOVER SCAM...
Forum: Data Science
Last Post: randydurham
44 minutes ago
» Replies: 0
» Views: 7
THE MOST TRUSTWORTHY CRYP...
Forum: General Coding Help
Last Post: randydurham
50 minutes ago
» Replies: 0
» Views: 7
Too much space between gr...
Forum: GUI
Last Post: RonR
3 hours ago
» Replies: 2
» Views: 868
How Reliable Is Assignmen...
Forum: News and Discussions
Last Post: tobey12
6 hours ago
» Replies: 0
» Views: 46
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
10 hours ago
» Replies: 1
» Views: 353
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Yesterday, 08:58 PM
» Replies: 8
» Views: 2,454
real community
Forum: News and Discussions
Last Post: decuser
Yesterday, 08:16 PM
» Replies: 3
» Views: 1,525
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Yesterday, 06:45 PM
» Replies: 1
» Views: 387
looking for help
Forum: Bar
Last Post: Azdaghost
Yesterday, 05:03 PM
» Replies: 0
» Views: 121
Seeking feedback: dynamic...
Forum: General Coding Help
Last Post: Bona2000
Yesterday, 03:28 PM
» Replies: 7
» Views: 2,893

 
  question about micro frameworks
Posted by: mahdiar1382 - Oct-20-2022, 03:45 PM - Forum: General Coding Help - Replies (2)

hello
which micro framework recommended for web design field?
and must we know something special when we want to coding in flask micro framework ?

Print this item

  Def error
Posted by: Led_Zeppelin - Oct-20-2022, 11:44 AM - Forum: General Coding Help - Replies (2)

The following function (method):

[code]
def get_cv_heatmap(validation):
"""
Function to plot heat map of cross validation results
"..... More

Print this item

  method to remove zero digits from fraction in decimal
Posted by: Skaperen - Oct-20-2022, 05:17 AM - Forum: General Coding Help - Replies (17)

when a decimal number is a whole (integral, integer-like) number, it gets converted to string without the ".0". but if i take the result of calculati..... More

Print this item

  Removing leading\trailing spaces
Posted by: azizrasul - Oct-20-2022, 02:41 AM - Forum: General Coding Help - Replies (8)

I obtain daily csv files where the header values contain leading\trailing space values which I want to remove. In some cases, there can be 2 spaces an..... More

Print this item

  convert this List Comprehensions to loop
Posted by: jacklee26 - Oct-20-2022, 02:38 AM - Forum: General Coding Help - Replies (8)

Does anyone know how to convert this List Comprehensions to normal for loop code:
[python]
results = ['A' , 'B', 'C' , 'D']
]for i in [results[c:c+2..... More

Print this item

  Need help editing a PDF
Posted by: omar - Oct-20-2022, 01:49 AM - Forum: General Coding Help - Replies (4)

I want to find out what I can do in Python for editing PDFs.
The PDF's will have many pages, each page with have 4 labels.
I need to add extra info..... More

Print this item

  how to replace OR operator with any
Posted by: mg24 - Oct-20-2022, 01:42 AM - Forum: General Coding Help - Replies (7)

Hi Team,

In below code , I am checking Country name if(Ind,US,Aus) then proceed further else exit.
how to use any operator in below situation.

..... More

Print this item

  Where can I find Python training with reading, lecture, labs and assignments?
Posted by: davidorlow - Oct-19-2022, 06:34 PM - Forum: General Coding Help - Replies (2)

Ok, I'm having a really hard time finding this. I paid a few hundred dollars to take an EdX course. It has mostly the way you'd learn in college, but..... More

Print this item

  ModuleNotFoundError: No module named 'omsdk.sdkproto'
Posted by: donvito7 - Oct-19-2022, 01:19 PM - Forum: General Coding Help - Replies (4)

Can anyone help me to fix this?

I am getting the error like in the subject line.

Traceback (most recent call last):
File "/usr/local/nagios/d..... More

Print this item

  Joining two jupyter notebooks and getting an error!
Posted by: Led_Zeppelin - Oct-19-2022, 12:32 PM - Forum: General Coding Help - Replies (1)

I am using the nbmerge command to join two jupyter notebooks into one larger notebook.

It appears to work. However, when running the new notebook, ..... More


Attached Files

Thumbnail(s)
   
Print this item

  Creating a change table - £0.01-£0.50?
Posted by: MrKnd94 - Oct-19-2022, 12:01 PM - Forum: Homework - Replies (9)

Hello,

I'm trying to complete my workbook for university, but I'm stuck on this question: Write a program that determines how many of each coin ( f..... More


Attached Files

Thumbnail(s)
   
Print this item

  Numpy Structure and Efficiency
Posted by: garynewport - Oct-19-2022, 11:34 AM - Forum: General Coding Help - Replies (2)

I have the following code:

[python]
import matplotlib.pyplot as plt
import matplotlib.cbook as cbook

import numpy as np
import math

SIGMA ..... More

Print this item

  what version has the fix for the CVEs?
Posted by: juniarti - Oct-18-2022, 09:01 PM - Forum: News and Discussions - Replies (11)

Hi,
I have list of CVE for python and how do I find out what python version did has the fix for these list of CVE?
CVE-2018-20060, CVE-2019-16935, C..... More

Print this item

  Taking any 2d image and passing it to create a level
Posted by: iki_a_toure - Oct-18-2022, 09:00 PM - Forum: General Coding Help - Replies (4)

Hello,

I need help please. I am trying to figure out how can I take any 2d image I got and pass it in a python program with outlines that would act..... More

Print this item

  help RuntimeError: no running event loop
Posted by: marpaslight - Oct-18-2022, 07:14 PM - Forum: General Coding Help - Replies (5)

[python]from dataclasses import dataclass
from tkinter.messagebox import YES
from telethon import TelegramClient
from telethon import utils
from t..... More

Print this item

  mysql id auto increment not working
Posted by: tantony - Oct-18-2022, 02:25 PM - Forum: General Coding Help - Replies (10)

I deleted ID 2 from mySQL db, but then I have the following to AUTO INCREMENT

[python]import mysql.connector

mydb = mysql.connector.connect(
..... More

Print this item

  Post Request containing username/password using python for jwt
Posted by: anna - Oct-18-2022, 02:24 PM - Forum: Networking - Replies (1)

Hi All,

I am trying to get token through requests with user and password, there one small javascript provided by Vendor (this was demo in postman)...... More

Print this item

  NameError
Posted by: nafshar - Oct-18-2022, 01:24 PM - Forum: General Coding Help - Replies (3)

I am getting a NameError that I do not understand.
It appears the function "combo" is defined in the proper place, so "combo not found" is puzzling ..... More

Print this item

  Unresolved reference problem
Posted by: john7 - Oct-18-2022, 10:05 AM - Forum: General Coding Help - Replies (1)

In the function

[python]
def parse_message(msg_data):
ival = 0
fval = 0.0
opcode = msg_data[3]

if opcode == MSG_OPCODE_V..... More

Print this item

  Saving the times a script is run to a file or ...
Posted by: 3Pinter - Oct-18-2022, 05:46 AM - Forum: General Coding Help - Replies (7)

Hi,

I have a lot of scripts from which I'd like to know the amount of times it was run.

I coded a working version a long time ago plus I was eve..... More

Print this item

  Python Snippets Source
Posted by: kucingkembar - Oct-18-2022, 12:50 AM - Forum: General Coding Help - No Replies

hi, sorry for my bad English,
after previously I ask about "subscripts" in https://python-forum.io/thread-38441.html,
turn out it is called "Snippet..... More

Print this item

  Error TypeError: output_type_handler() takes 2 positional arguments but 6 were given
Posted by: paulo79 - Oct-17-2022, 06:23 PM - Forum: General Coding Help - Replies (1)

Hi all, I'm running a python code that was working before with older version. Now using 3.10 I'm gettin error below:

[python]TypeError: output_typ..... More

Print this item

  import module error
Posted by: tantony - Oct-17-2022, 04:29 PM - Forum: General Coding Help - Replies (5)

I'm learning Flask by watching a YouTube tutorial

https://www.youtube.com/watch?v=dam0GPOAvVI
https://github.com/techwithtim/Flask-Web-App-Tutorial/t..... More

Print this item

  Code
Posted by: StoneCherry0119 - Oct-17-2022, 03:03 PM - Forum: General Coding Help - Replies (4)

Python code

Print this item

  export project to an installable software in Pycharm
Posted by: jalal0034 - Oct-17-2022, 12:25 PM - Forum: General Coding Help - Replies (2)

Hi everybody
How can create an installable software with all needed files and packages in Pycharm ?

Print this item

  python call stored procedure
Posted by: mg24 - Oct-17-2022, 08:07 AM - Forum: General Coding Help - Replies (2)

Hi Team,

Need help how to call stored procedure via python.

I am using pyodbc libarary.

[python]query = """EXEC[DBS_database].[dbo].[sp_Reco..... More

Print this item

  Can't stop if statement from executing even though False + Messy code?
Posted by: monkeydesu - Oct-17-2022, 01:46 AM - Forum: Homework - Replies (1)

I'm doing the 100 days of Python on Udemy and am doing the day 15 challenge. I'm tasked with making a coffee machine, ask which drink from user, ask f..... More

Print this item

  401 Unauth error
Posted by: GUaro5555 - Oct-17-2022, 01:06 AM - Forum: Web Scraping & Web Development - Replies (7)

Hi gurus .

I m still very new to python so go easy on me, I have been trying to create this project that login to a website, what I have so far is ..... More

Print this item

  black
Posted by: Skaperen - Oct-17-2022, 12:59 AM - Forum: News and Discussions - Replies (10)

it turns out that i do not like various details of how black formats my code. so, i hope this is just defaults that can be changed, somehow. ..... More

Print this item

  Something the code dont work
Posted by: AlexPython - Oct-17-2022, 12:39 AM - Forum: General Coding Help - Replies (13)

I have a little problem with this code, it works sometimes, and something it doesn't. I don't know what is causing the problem. beneath, I will provid..... More

Print this item

  Convert Excel file into csv with Pipe symbol..
Posted by: mg24 - Oct-16-2022, 06:01 PM - Forum: General Coding Help - Replies (4)

Hi Team,

I have excel file, I want to read that excel file and save it into csv files.
But delimiter I expect "|" symbol instead of comma,


1..... More

Print this item

  num+1
Posted by: astral_travel - Oct-16-2022, 02:15 PM - Forum: General Coding Help - Replies (12)

hi,
in the following code:

[python]
__author__ = 'jeffreyhunt'

num = int(input("Please choose a number to divide: "))

listRange = list(rang..... More

Print this item

  Hopfield network for classification
Posted by: saoko - Oct-16-2022, 11:30 AM - Forum: News and Discussions - Replies (1)

Hi everyone!
I had a task to create Hopfield network for classification with Iris dataset. I went through Internet, but found nothing about it.
Is..... More

Print this item

  Transform 2d plot into 1d plot for som
Posted by: saoko - Oct-16-2022, 09:12 AM - Forum: General Coding Help - No Replies

Hi everyone!
I'm trying to understand self-organising map neural network with Python. Here's a code:

[python]
import numpy as np
from numpy.ma...... More

Print this item

  Row Count and coloumn count
Posted by: Yegor123 - Oct-15-2022, 06:13 PM - Forum: General Coding Help - Replies (4)

Im making my first game on python and it was talking about adding row and coloumn counts could someone explain what that means and what does it do ?

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  NEED HELP TO RECOVER SCAM... 44 minutes ago randydurham randydurham Data Science
  THE MOST TRUSTWORTHY CRYP... 50 minutes ago randydurham randydurham General Codin...
  [Tkinter] Too much space ... 3 hours ago RonR RonR GUI
  How Reliable Is Assignmen... 6 hours ago tobey12 tobey12 News and Disc...
  Another app idea - intera... 10 hours ago decuser Lenowell News and Disc...
  403 Error Yesterday, 20:58 CaptainNewb snippsat Web Scraping ...
  real community Yesterday, 20:16 decuser decuser News and Disc...
  variable changing types f... Yesterday, 18:45 Azdaghost Gribouillis General Codin...
  looking for help Yesterday, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... Yesterday, 15:28 Bona2000 Bona2000 General Codin...
  Select Python comment (#)... 09-14, 23:27 SpongeB0B Pedroski55 General Codin...
Most views
  The best Prog... 575818
  Tutorial Requ... 497084
  Web Scraping ... 439830
  Newbie with P... 383526
  New Users Int... 365390
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+ 12087
buran 8174
snippsat 7367
deanhystad 6893
metulburr 5151
Top referrers
Googlepro 23
NonEntity 6
python 6
metulburr 6
buran 3
Newest members
randydurham Today
XenonBlack Today
tobey12 Today
Lenowell Today
luisshulez6883 Yesterday

User Panel Messages

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