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: miriamwilliam
» Forum threads: 38,733
» Forum posts: 175,566

Full Statistics

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

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

 
  How does it really works
Posted by: Somnath - May-13-2019, 03:40 PM - Forum: General Coding Help - Replies (1)

Attention: This is by far the most silliest question you would have ever heard. But, I am asking this bcoz I am absolutely naive on Python and I am no..... More

Print this item

  Kolmogorov-Smirnov Test
Posted by: Lucky - May-13-2019, 03:28 PM - Forum: Data Science - No Replies

hey guys,

I am challenged with the following problem:
I am analysing a pretty big dataset that consists of 100*16*3 datapoints. I want to know i..... More

Print this item

  integer representing a 10-digit phone number
Posted by: critter70 - May-13-2019, 02:31 PM - Forum: Homework - Replies (5)

Can someone help point me in the right direction? Many thanks.

[font=Arial, Helvetica, sans-serif][font=Lucida Sans Unicode, Lucida Grande, sans-s..... More

Print this item

  Wrong result of polyroots
Posted by: Thomas - May-13-2019, 02:23 PM - Forum: Data Science - Replies (1)

I'm using the following code as part of a recursively called process.
It processes a proportional feedback loop provided by a polynom, that might use..... More

Print this item

  Four-digit number text translation.
Posted by: soz - May-13-2019, 02:12 PM - Forum: Homework - Replies (3)

Four-digit number text translation. Example: 1565
one thousand five hundred sixty five
pyhton code?

Print this item

  homework
Posted by: sheck33332 - May-13-2019, 01:19 PM - Forum: Homework - Replies (5)

How would i remove triplets from a list
so for example
[1,1,1,2,4,5,7,7,7]
would become
[2,4,5]

Print this item

  Multiplying two lists to make an array
Posted by: pberrett - May-13-2019, 01:09 PM - Forum: General Coding Help - Replies (15)

How have two lists of unequal length with values in each. I want to multiply these two lists to make an array containing a formula applied to each com..... More

Print this item

  python/ansible: ImportError: No module named future
Posted by: wardancer84 - May-13-2019, 12:30 PM - Forum: General Coding Help - Replies (1)

since i moved to python 3.6 and modernized some of my ansible modules with futurize/pasteurize ansible is not able to import the future module and fai..... More

Print this item

  Automated Git add/commit/push
Posted by: rxndy - May-13-2019, 11:50 AM - Forum: Web Scraping & Web Development - No Replies

Hey!

I have a personal ERP I wrote for my small business in python/flask and I was wondering if it would be wise, (security-wise) to automatically pu..... More

Print this item

  socket programming ConnectionRefusedError error
Posted by: srm - May-13-2019, 11:48 AM - Forum: Networking - Replies (3)

I am working with IDLE for python 3.7.2
when i am trying to get connected through socket programming between server and client
through IDLE shell i..... More

Print this item

  Delete Lines that Contain Words - Loop through files in a folder - Write to new files
Posted by: dj99 - May-13-2019, 11:23 AM - Forum: General Coding Help - Replies (3)

Hi friends,

I am trying to loop through files and from each file delete the lines that contain the search keywords




[code]
import os

de..... More

Print this item

  Reg Xpression to remove a text
Posted by: stahorse - May-13-2019, 11:14 AM - Forum: General Coding Help - Replies (2)

Hi,

I get this text in my output that I want to remove [quote] NoErrorRE: [EXTERNAL] PL_192_01_28Claire Gravell SANTAMService EscalationNormal
..... More

Print this item

  Error while fetching data from PostgreSQL
Posted by: linu - May-13-2019, 10:30 AM - Forum: General Coding Help - Replies (3)

i'm facing the below error and unable to move forward,if anyone have any leads or solution on how to handle this,Kindly let me know.

I'm trying to ..... More

Print this item

  EOL while scanning string literal
Posted by: AdWill97 - May-13-2019, 09:36 AM - Forum: Data Science - Replies (2)

I am trying to change the name of my headers in my dataframe which include '\\PXI-PC\KWKK\PXI-PC\KWKK_sv\'.
I would like to remove this and replace i..... More

Print this item

  MatPlotLib 2d plot of current density?
Posted by: ruben - May-13-2019, 06:47 AM - Forum: Data Science - No Replies

Hello
I am new here.
Is there any example program which use matplotlib
to plot high frequency current density on metal surfaces in 2d.
Or maybe so..... More

Print this item

  How to map 360 degree angle over 1024 counts
Posted by: breadcat248 - May-13-2019, 06:11 AM - Forum: General Coding Help - Replies (3)

I am interfacing an absolute encoder to a RPi following this guides:
https://hareshmiriyala.wordpress.com/201...te-encoder-..... More

Print this item

  dice program
Posted by: sunny_awesome - May-13-2019, 05:57 AM - Forum: Homework - Replies (2)

Problem statement :
Dice: The module random contains functions that generate random numbers in a variety of ways.
The function randint() returns an ..... More

Print this item

  Help | float to Int in xlrd
Posted by: Vinci141 - May-13-2019, 05:35 AM - Forum: General Coding Help - No Replies

Hello,
I'd built a SQL generator for a project which reads data from .xlsx file and gives Insert statement as output on screen.
The code is working ..... More

Print this item

  Fatal error in launcher: Unable to create process using '"'
Posted by: rsmldmv - May-13-2019, 01:34 AM - Forum: General Coding Help - No Replies

Hi,

I'm new to Django and Python and I've just installed the "virtualenv" application. However, when I try to run it, I'm getting the following err..... More

Print this item

  Pandas and Date: problem with operator.How to resolve
Posted by: frame - May-12-2019, 10:32 PM - Forum: Data Science - Replies (6)

Hi.

I have a file csv (es10.csv) like this:
[output]Conc. Date I II
8926 18/11/2014 1 22
8927 20/11/2014 2 33
8928 30/11/2014 3 15
8929 18/12/..... More

Print this item

  New Python Facebook Group for people that live in Miami!
Posted by: rxndy - May-12-2019, 10:24 PM - Forum: News and Discussions - Replies (1)

Hi, I just started a Python Facebook Group for people that live in Miami!

Our first meetup is in August, we will be collaborating to use the bleedi..... More

Print this item

  Fiber Photometry analysis
Posted by: Gius_ - May-12-2019, 09:14 PM - Forum: Data Science - No Replies

Hi all,
I have a problem extracting events from a fiber photometry file using python.
I have 2 different files: the first one contains raw data (col..... More

Print this item

  Program strange behavior ( windows doesn't close)
Posted by: adam2020 - May-12-2019, 08:48 PM - Forum: GUI - Replies (2)

Hi guys,

I am working on a project for college I'm not sure if I'm allowed post the code and if I am allowed it's extremely long about 3'000 lines ..... More

Print this item

  Program layout
Posted by: pfaber11 - May-12-2019, 07:42 PM - Forum: News and Discussions - Replies (2)

Hi was wanting to know is there a particular way of structuring a python program . For the last year and a half I've been using Basic and am trying to..... More

Print this item

  Calculate stack value's
Posted by: GFreenD - May-12-2019, 06:15 PM - Forum: General Coding Help - Replies (7)

Hi everyone im new to python and still trying to get a hang for it and ive ran into a problem when creating my basic stack program and cant figure out..... More

Print this item

  How can we override decorator?
Posted by: bhojendra - May-12-2019, 06:12 PM - Forum: General Coding Help - Replies (2)

Let's say I have the following:

@third_party_decorator
def my_method():
  return jsonify(ok=True)
So, can we do like?

..... More

Print this item

  Syntax checker
Posted by: BZA - May-12-2019, 05:48 PM - Forum: Homework - Replies (4)

I need to make a syntax checker. The way it should work:
The input is a text file which contains lines of codes (eg.:for i in range(5):print(i)). Th..... More

Print this item

  IDLE keyboard shortcuts
Posted by: tam - May-12-2019, 05:36 PM - Forum: General Coding Help - Replies (2)

I want to customize the end-of-line keyboard shortcut in IDLE, but there is no default key. Any ideas how I can do it?

Print this item

  Python bytecode: 64 bit parameter to LOAD_CONST
Posted by: physics - May-12-2019, 04:59 PM - Forum: General Coding Help - No Replies

I am trying to exploit an old python bug in a 6..... More

Print this item

  [split] Python won't launch
Posted by: Nikmartin - May-12-2019, 03:11 PM - Forum: General Coding Help - Replies (1)

I am beginner to learn python, can anybody tell me to learn python within a week. please share your views or content if you have. thank you

Print this item

  Counter in this code
Posted by: leenad - May-12-2019, 02:54 PM - Forum: General Coding Help - Replies (1)

Hello, I need someone to explain how the counter works in this command line.
The top of the counter = 1 but at the bottom of the command line counter..... More

Print this item

  help with converting C# function to Python
Posted by: korenron - May-12-2019, 02:50 PM - Forum: General Coding Help - Replies (17)

Hello ,
I have this C# function that work as a checksum
[python]
public static byte gen(byte[] p)
{
byte lcs = 0;
f..... More

Print this item

  Pattern Matching With Regexes
Posted by: SnoopFrogg - May-12-2019, 02:13 PM - Forum: General Coding Help - Replies (3)

I'm currently reading "Automating The Boring Stuff With Python" and I had a quick question about an example program the author includes at the end of ..... More

Print this item

  Help rendering a pylab plot
Posted by: cyberman - May-12-2019, 02:10 PM - Forum: Data Science - Replies (1)

Hi,

I'm just learning Python and I'm wondering if someone could help me get the chart to render properly in the following code, i.e. plot the seque..... More

Print this item

  check equality returns False
Posted by: mcgrim - May-12-2019, 01:12 PM - Forum: Data Science - Replies (1)

I have to check if whether or not two complex numbers are equal (check my 'equal' function in the code), but this code always returns 'False' no matte..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Parse Markdown / get the ... 1 hour ago SpongeB0B Larz60+ General Codin...
  Error: cannot mix str wit... 10 hours ago 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... 577446
  Tutorial Requ... 500965
  Web Scraping ... 441077
  Newbie with P... 385143
  New Users Int... 369715
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 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
miriamwilliam Today
Davidkiplimo Today
Joliekeva Today
silversimon2 Yesterday
alissapena8 Yesterday

User Panel Messages

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