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,982
» Latest member: kyleconor797
» Forum threads: 38,733
» Forum posts: 175,569

Full Statistics

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

Latest Threads
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: Gribouillis
1 hour ago
» Replies: 4
» Views: 120
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Today, 03:05 AM
» Replies: 4
» Views: 2,023
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Yesterday, 07:43 AM
» Replies: 2
» Views: 431
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:21 AM
» Replies: 2
» Views: 1,075
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,135
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 806
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,093
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,540
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,128
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Sep-26-2025, 05:13 PM
» Replies: 4
» Views: 1,586

 
  Formule radioactive decay
Posted by: bghys - May-29-2019, 04:33 PM - Forum: General Coding Help - Replies (2)

Hello

Is there somebody who can help me to put the formula of radioactive decay into python?
I'm using PyCharm 2018.

I want to give the exact time a..... More

Print this item

  Decorating a class-help
Posted by: yoniker - May-29-2019, 03:55 PM - Forum: General Coding Help - Replies (1)

Hi!

I'm not too sure why the following code is working:

[python]
class Statics():
lock = threading.Lock()


def thread_safe(func):
..... More

Print this item

  read_csv error
Posted by: ilcaa72 - May-29-2019, 02:27 PM - Forum: General Coding Help - Replies (2)

here is my statement, and the error, the directory is correct, can you explian the issue? thanks

[python]import pandas as pd

file = "C:\Users\M..... More

Print this item

  pip install error sslError
Posted by: Stolaine - May-29-2019, 12:03 PM - Forum: News and Discussions - Replies (2)

I have installed python 3.7.3 and pip install is showing sslerror. this is the full error.
WARNING: pip is configured with locatio..... More

Print this item

  Delimited Values to ROW - Lucky Train ?
Posted by: karthi_python - May-29-2019, 11:20 AM - Forum: General Coding Help - Replies (1)

All,

I have an XML file which contains a tag called Relation. This tag will have Custom SQL Query something like below.


<relation connection='..... More

Print this item

  Dealing with Exponential data
Posted by: parthi1705 - May-29-2019, 10:07 AM - Forum: General Coding Help - Replies (11)

Having csv file with the value as below
2.22971E+15,2.20408E+15
while reading from csv able to read the data as
[b]'2229708157109627', '2204081406..... More

Print this item

  maintaining list order
Posted by: 3Pinter - May-29-2019, 09:44 AM - Forum: General Coding Help - Replies (13)

Simple comparison thingy. I have two lists and I want to compare if a value is larger than a value in the other list. The result is correct, however t..... More

Print this item

  timeit and scipy.sparse
Posted by: duyduy - May-29-2019, 09:37 AM - Forum: Homework - Replies (1)

How can I use scipy.sparse to find out how fast, when

•Inserting a new element in a matrix
•Summing up two matrices
•Multiplying a matrix with a ..... More

Print this item

  unable to lunch firefox using python
Posted by: sanjay - May-29-2019, 06:20 AM - Forum: News and Discussions - Replies (5)

WebDriverException: Message: connection refused

while using geckodriver for firefox,unable to load the web page,any suggestion for this issue

Print this item

  clear event before keybinding
Posted by: skyerosebud - May-29-2019, 05:59 AM - Forum: GUI - Replies (3)

I am creating a simple reaction time task for a piece of psychology research.

I created the program in Pygame and it worked well but Pygame has ver..... More

Print this item

  Pandas Dataframe through read_csv()
Posted by: ift38375 - May-29-2019, 05:22 AM - Forum: General Coding Help - Replies (1)

Hi Experts,
when i am trying to make dataframe through read_csv() function then it is not showing all columns of CSV file instead of that it is showi..... More

Print this item

  Issue: Script from jumpserver to another server to target device?
Posted by: searching1 - May-29-2019, 03:43 AM - Forum: Networking - No Replies

Hi,

Question 1:

I'm having issue pulling out data from server01 which where the script is located, script content need to move to another serve..... More

Print this item

  Repeating equations
Posted by: Tbot100 - May-28-2019, 11:24 PM - Forum: General Coding Help - Replies (2)

Hello, I am fairly new and have not seen anything in which can help me.

I am trying to use this code:
[python]
s = float(input("Enter starting va..... More

Print this item

  Ajax and Selenium
Posted by: ankitjindalbti - May-28-2019, 10:06 PM - Forum: Web Scraping & Web Development - Replies (3)

I am trying to automate filling a form on a website. There are two dropdowns like Country and States. Based on the Country selected in first drop down..... More

Print this item

  with os.open?
Posted by: Skaperen - May-28-2019, 10:04 PM - Forum: General Coding Help - Replies (3)

i have many cases where i need to call os.open, do something with that file descriptor, then close it. is there a way to do that using a with ..... More

Print this item

  schedule module conundrum
Posted by: wgovideo - May-28-2019, 07:48 PM - Forum: General Coding Help - Replies (11)

I'm composing a simple temperature alarm notification system, and I'm stuck. I have everything working great with the exception of some scheduled func..... More

Print this item

  anagram check with bitwise
Posted by: itaybardugo - May-28-2019, 07:29 PM - Forum: Code sharing - Replies (1)

hi guys, iv'e just wrote a tiny program to check for anagram, using bitwise instead arrays
(anagram returns True if in case that 2 given strings have..... More

Print this item

  Create file archive that contains crypto hash
Posted by: ED209 - May-28-2019, 06:08 PM - Forum: General Coding Help - Replies (1)

Hi All,
I'm looking for some expertise on using python to do some file archiving and cryptographic hashing.
I'm hoping to create something that will..... More

Print this item

  The PMW Notebook Widget
Posted by: MattSA - May-28-2019, 05:01 PM - Forum: GUI - Replies (6)

I am working in Python 3.7.3. I am trying to make use of the Pmw Notebook widget. When I try to declare a widget of this type it returns the following..... More

Print this item

  open a file for noobs
Posted by: jhn - May-28-2019, 04:35 PM - Forum: General Coding Help - Replies (1)

Hello
I want to open a file with a program like a "test.xlsx" with excel.
Can you help me?

Print this item

  Span columns with docxTemplate python
Posted by: jimmeh - May-28-2019, 03:59 PM - Forum: General Coding Help - Replies (4)

I'm having trouble trying to fill in a table row by row using DocxTemplate. I'm only confused on how the template should look like.

This is my pyth..... More

Print this item

  Having issues with lives
Posted by: GalaxyCoyote - May-28-2019, 03:15 PM - Forum: General Coding Help - Replies (1)

Trying to make a hangman type game but the live counter goes down even if you input a letter correctly!

[python]import random
import time
..... More

Print this item

  building a dynamic INSERT between two DBs with Python3
Posted by: liran - May-28-2019, 02:35 PM - Forum: General Coding Help - Replies (5)

Hi,
I'm a newbie to Python coding and I'd love some help with my scenario.
I have two DBs , one is MS SQL & the other is PostgreSQL.
There are 30+ ..... More

Print this item

  python3 List to array or string to extract data
Posted by: batchenr - May-28-2019, 12:24 PM - Forum: General Coding Help - Replies (4)

Hey,

i am using python 3 and new to python.
i have this list :

[python]([[[32.098659, 34.826334], [32.099361, 34.830506], [32.097026, 34.83157..... More

Print this item

  How to generically set the Header Item Data
Posted by: Denni - May-28-2019, 12:21 PM - Forum: GUI - Replies (8)

I am basically a newbie to PyQt5 but a long time experienced software engineer I have in the last couple of weeks been able to figure out quite a few ..... More

Print this item

  How to take a single value from dictionary
Posted by: ginjaninja247 - May-28-2019, 12:19 PM - Forum: General Coding Help - Replies (1)

I've created codes that collects weather data using JSON and API keys. However, all I really need is one value of one dictionary, but my code keeps re..... More

Print this item

  Resizing image inside Canvas (with Canvas' resize)
Posted by: Gupi - May-28-2019, 11:47 AM - Forum: GUI - Replies (2)

The situation is next:
- I'm resizing window;
- Canvas widget is resizing too;
- PhotoImage inside Canvas stays the same size as it was.
How can I..... More

Print this item

  Help a noob
Posted by: Tartupets - May-28-2019, 09:38 AM - Forum: General Coding Help - Replies (6)

Hello

Got me a Trinket M0 with CircuitPython

Successfully loaded and ran Trinket M0 Media Dial[/[url=https://python-forum.io/thread-18706.html]..... More

Print this item

  Passing parameters to SQL Server using pandas
Posted by: Ilangos - May-28-2019, 09:23 AM - Forum: General Coding Help - Replies (8)

Hello Python forum,

I'm new to python world. Please bear with me if my question sounds silly.

My problem statement : Passing parameter to SQL ..... More

Print this item

  Search a List of Dictionaries by Key-Value Pair; Return Dictionary/ies Containing KV
Posted by: dn237 - May-28-2019, 08:12 AM - Forum: General Coding Help - Replies (19)

Bittrex_Markets = requests.get("https://api.bittrex.com/api/v1.1/public/getmarkets").json()

print (Bittrex_Markets)

>>>


Editing post it was..... More

Print this item

  text clustering evaluation ??
Posted by: khalidreemy - May-28-2019, 08:11 AM - Forum: Data Science - Replies (1)

Hello
I used KMeans and Agglomerative Clustering to apply text clustering on a specific dataset.
I need to verify the efficiency of my results.
I ..... More

Print this item

  How to know the type of encoding
Posted by: Serferi - May-28-2019, 07:07 AM - Forum: General Coding Help - Replies (2)

Hello, I'm codin in python 2.7, I want to send alert mail, and the mail I send look like, I use UTF-8 for the encoding:

[color=#9B59B6]oui é[/colo..... More

Print this item

  HTTP error 404
Posted by: Karin - May-28-2019, 05:26 AM - Forum: Web Scraping & Web Development - Replies (4)

hi there

I was trying to get address by using API, but I got HTTP Error. Does it mean URL I code didn't make sense or only I couldn't get data from..... More

Print this item

  Project: Text Analyzer
Posted by: rubberwoden - May-28-2019, 04:14 AM - Forum: Homework - Replies (3)

Thank you for reading this thread. I need help creating my Text Analyzer. I have been going at it for a few days now. I will present the class I am ma..... More

Print this item

  how to analayze only a part of an image?
Posted by: nadavrock - May-28-2019, 12:06 AM - Forum: General Coding Help - Replies (2)

lets say i wanted to counte the black pixels in the bottom right 200x200 pixels of every image.
i have:
[python]
my_list = []
for root, dirs, file..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Parse Markdown / get the ... 1 hour ago SpongeB0B Gribouillis General Codin...
  Error: cannot mix str wit... Today, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... Yesterday, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... Yesterday, 00:21 GnomeSweetGnome GnomeSweetGnome News and Disc...
  Unable to resolve FileNot... 09-29, 17:45 llarkin6 noisefloor General Codin...
  Comparing 2 100GB Drives/... 09-29, 12:59 tester_V snippsat General Codin...
  Select Python comment (#)... 09-28, 18:39 SpongeB0B tester_V General Codin...
  what does % stand for in ... 09-27, 18:49 arbiel Gribouillis General Codin...
  My First App 09-27, 10:53 BCopeland64 carlbidwell Code Review
  [Tkinter] how to export a... 09-26, 17:13 RonR noisefloor GUI
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
Most views
  The best Prog... 577449
  Tutorial Requ... 501030
  Web Scraping ... 441079
  Newbie with P... 385147
  New Users Int... 369747
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+ 12092
buran 8178
snippsat 7371
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
kyleconor797 Today
miriamwilliam Today
Davidkiplimo Today
Joliekeva Today
silversimon2 Yesterday

User Panel Messages

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