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,983
» Latest member: bimosora
» Forum threads: 38,734
» Forum posts: 175,572

Full Statistics

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

Latest Threads
create ocr to detect lice...
Forum: General Coding Help
Last Post: Pedroski55
2 hours ago
» Replies: 1
» Views: 27
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 10:37 PM
» Replies: 5
» Views: 163
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Yesterday, 03:05 AM
» Replies: 4
» Views: 2,033
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 448
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,080
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,144
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 821
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,105
what does % stand for in ...
Forum: General Coding Help
Last Post: Gribouillis
Sep-27-2025, 06:49 PM
» Replies: 4
» Views: 2,546
My First App
Forum: Code Review
Last Post: carlbidwell
Sep-27-2025, 10:53 AM
» Replies: 8
» Views: 9,136

 
  converting Perl to Python
Posted by: Skaperen - Jun-25-2019, 05:20 AM - Forum: Bar - Replies (3)

how hard would it be to convert this Perl thing to Python?

Print this item

  Need Help solving second order differential equations
Posted by: SkewedZone - Jun-25-2019, 03:39 AM - Forum: Data Science - Replies (2)

So I have been working on a code to solve a coupled system of second order differential equations, in order to obtain the numerical solution of an ela..... More

Print this item

  Creating a Menu
Posted by: Sunshine - Jun-25-2019, 12:43 AM - Forum: Homework - Replies (4)

Hello everyone. I am in my 3rd week of my first programming class and I am struggling. The first two weeks were no problem. Currently, I am working on..... More

Print this item

  Regex: Matches a number with commas for every three digits
Posted by: linh_py - Jun-25-2019, 12:37 AM - Forum: Homework - Replies (2)

hello everybody, i am doing my homework, [font=Trebuchet MS, Helvetica, sans-serif][b]"write a regex that matches a number with commas for every three..... More

Print this item

  Wrong output in Visual Studio Code
Posted by: py_learner - Jun-24-2019, 09:57 PM - Forum: General Coding Help - Replies (1)

Hi Python experts,

I have started using "Visual Studio Code" and its giving little weird results.

[python]daysInWeek={"Mon","Tues","Wed","Thur..... More

Print this item

  FTP Question
Posted by: AlexTeran - Jun-24-2019, 09:14 PM - Forum: General Coding Help - Replies (1)

I'm fairly new to Python, and finding it to be very powerful thus far.

I have substituted the domain, username, password, and file names to preserv..... More

Print this item

  simple key value loop help
Posted by: siten0308 - Jun-24-2019, 08:47 PM - Forum: General Coding Help - Replies (4)

Hello,

I have the following python code:

[python]
d = {'123':'John','123':'Steve','4929':'959','3491':'5','319':'Bob','name': 'john','code':673..... More

Print this item

  Distilling strings using .writelines() and .read()
Posted by: tedie - Jun-24-2019, 08:04 PM - Forum: General Coding Help - Replies (1)

Hi all,
I am experiencing a phenomena that I'm unable to explain to date.

I have a long string that I'm passing to a function, and in that functio..... More

Print this item

  Infrastructure Monitoring Application
Posted by: philwhite - Jun-24-2019, 05:50 PM - Forum: Code sharing - Replies (2)

I created an infrastructure monitoring application for Windows and Linux in Python. It consists of agents (Linux/Windows), a web interface running on..... More

Print this item

  zip file variable prints <zipfile.ZipFile object at 0x7f83fd13bd90> ?
Posted by: Rsh - Jun-24-2019, 05:32 PM - Forum: General Coding Help - Replies (9)

Below are few lines on zip log file python script.
Getting output file name as different shown below,

[python]zip_file_name = zipfile.ZipFile(serv..... More

Print this item

  Asyncio Webserver
Posted by: philwhite - Jun-24-2019, 05:24 PM - Forum: Code sharing - Replies (4)

I created a custom web server in Python using Asyncio that I thought I'd share with the Python community. It hosts both Python and static code (HTML/..... More

Print this item

  Error: "Can't set attribute"
Posted by: Norica - Jun-24-2019, 03:42 PM - Forum: General Coding Help - Replies (8)

Hello,

I added a setter, but I still get an error. What do I do wrong?
The class is pretty big so I posted just these pieces of code.

[python]..... More

Print this item

  Determining string intersection (embeddings) between two narrative (text) fields
Posted by: twinpiques - Jun-24-2019, 02:19 PM - Forum: Data Science - Replies (2)

Hello. I am trying to solve a text analytics problem.

I have two data sets (DS1 and DS2). DS1 contains a narrative text field (Description_S). ..... More

Print this item

  GUI Freeze/tkinter
Posted by: SamGer - Jun-24-2019, 02:10 PM - Forum: GUI - Replies (2)

Hello Users,

I have a python script called Master which runs continously (using while 1:). Now I want to create a simple GUI using tkinter t..... More

Print this item

  hatching based of maximum of 3 different arrays
Posted by: Staph - Jun-24-2019, 02:00 PM - Forum: General Coding Help - Replies (1)

I have three numpy arrays

A.shape = 72 X 144
B.shape = 72 X 144
C.shape = 72 X 144

I want to create one color map from these ar..... More

Print this item

  Capture Pyro Object
Posted by: thegameison - Jun-24-2019, 01:54 PM - Forum: General Coding Help - Replies (1)

Hi,

I have a script which on running creates a Pyro object. I need to capture the Pyro object created such that the process still keeps running.
L..... More

Print this item

  Need help with coin change program
Posted by: Gateux - Jun-24-2019, 01:20 PM - Forum: Homework - Replies (2)

Write a program that reads an input representing a change which is an amount less than 1 dollar. The program calculates the change into 5..... More

Print this item

  Code modification
Posted by: okrus - Jun-24-2019, 01:18 PM - Forum: General Coding Help - No Replies

Hi,

I have a Python script that generates a 3D plot from a Excel .csv file with three columns (Phi, Theta and Power). I'm pretty new with Python. Now..... More

Print this item

  Code syntax with underscore and assigning to a tuple
Posted by: santoshbwn - Jun-24-2019, 11:59 AM - Forum: General Coding Help - Replies (1)

Hi,

I need help in understanding the below syntax.

1)How should I pass the 2nd argument? Should i pass it as 24_2 , where 24 is the current sum ..... More

Print this item

  Does pysftp need a logout?
Posted by: Pedroski55 - Jun-24-2019, 11:19 AM - Forum: General Coding Help - Replies (2)

I've been practicing with ssh, sftp and pysftp.

Somehow I managed to make them all work, which is almost a wonder for me!

If I connect from a ba..... More

Print this item

  importing modules
Posted by: PiaNa - Jun-24-2019, 11:00 AM - Forum: General Coding Help - Replies (1)

Hi,
I have an ETL project and 8 main directories. One of them has directories has my own written modules that need to be imported in scripts in orde..... More

Print this item

  [nltk] Naive Bayes Classifier
Posted by: constantin01 - Jun-24-2019, 10:36 AM - Forum: Data Science - No Replies

Hello

I use nltk.NaiveBayesClassifier in order to make opinion analysis. I have a problem.

What I do:

1. Take lists of negative and positive ..... More

Print this item

  what is scope for python?
Posted by: samexpert - Jun-24-2019, 10:36 AM - Forum: General Coding Help - Replies (2)

hye guys what is the scope for python. as I am fresher in this field, I want to learn python. should i learn it or not?

Print this item

  parse json output to simple text or variable
Posted by: murali_datascience - Jun-24-2019, 07:38 AM - Forum: Data Science - Replies (1)

Hi,
I have below python code for face_recognition.basically it is comparing two images and providing match or not.I am getting output in json for..... More

Print this item

  trying to use cgi to get html form data
Posted by: test - Jun-24-2019, 05:45 AM - Forum: Networking - Replies (3)

Hello,
I have made an HTML form and need to get the data that a user inputs into an excel sheet.
Looking around, i found that it could be possible ..... More

Print this item

  Proxy Issues with REQUESTS_HTML
Posted by: andrewnzinuk - Jun-24-2019, 05:38 AM - Forum: General Coding Help - No Replies

Hi

I am new to Python and am looking at scraping some data from a website. I sit behind a firewall and cannot make a connection to the outside wor..... More

Print this item

  Git clone all of a Github user's public repositories (download all repositories)
Posted by: rootVIII - Jun-24-2019, 05:13 AM - Forum: Code sharing - Replies (31)

A simple script to download a user's Github repositories... only their own though... not forked ones..... More

Print this item

  Python 3.7 - Adding mapping functionality to existing SQL data
Posted by: stixmagiggins - Jun-24-2019, 05:06 AM - Forum: News and Discussions - Replies (2)

Hi there,

I have a Python application which connects to a SQL database. This allows the user to enter data via a form.
They want to be able to add..... More

Print this item

  using output of one function into another function
Posted by: ibaad1406 - Jun-24-2019, 04:56 AM - Forum: General Coding Help - Replies (7)

Write two functions, one called addit and one called mult. addit takes one number as an input and adds 5. mult takes one number as an input, and multi..... More

Print this item

  Remove \n from list of values within a pandas columns
Posted by: klllmmm - Jun-24-2019, 12:20 AM - Forum: General Coding Help - Replies (2)

I want to replace all \n within pandas dataframe with space.
[python]import pandas as pd
table = pd.DataFrame(data = {'ClientID':[100,102,103],
..... More

Print this item

  Remove \n at the end of a character from a list
Posted by: judkil - Jun-23-2019, 11:26 PM - Forum: General Coding Help - Replies (2)

Hi !

After getting a series of numbers in a text file via the command with open, I end up with the following list:

['13.5\n', '17\n', '9.5\n', '..... More

Print this item

  Custom encoding problems.
Posted by: SheeppOSU - Jun-23-2019, 11:16 PM - Forum: General Coding Help - No Replies

I was using pickle to load and unload data from a file. Before putting it in the file I wanted to kinda jumble up the words. I succeeded in Encoding a..... More

Print this item

  New to Python. Please help!!!
Posted by: hoangthai10788 - Jun-23-2019, 10:39 PM - Forum: General Coding Help - Replies (1)

Hello there,

I am new to Python. I have been taking a free online course and encountered a problem while self-studying it. With some modifications,..... More

Print this item

  Json value extraction
Posted by: aaronwarwick - Jun-23-2019, 09:35 PM - Forum: General Coding Help - Replies (1)

I have the fallowing code.

for (ID, Info) in mycursor:
print("ID {}, Population {}".format(ID, Info))


It is returning a table with va..... More

Print this item

  need help on logic for even or odd
Posted by: cor41 - Jun-23-2019, 09:08 PM - Forum: General Coding Help - Replies (2)

what is the indentation error here ?

any suggestions at "else:" ?


[python]

for i in range(1 ,10):
count_even=0
count_odd=0
if (i%2..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  create ocr to detect lice... 2 hours ago bimosora Pedroski55 General Codin...
  Parse Markdown / get the ... Yesterday, 22:37 SpongeB0B Pedroski55 General Codin...
  Error: cannot mix str wit... Yesterday, 03:05 ngregistrations Joliekeva General Codin...
  Integer Factorization Too... 09-30, 07:43 fosuwxb buran Code sharing
  My goal to be hired worki... 09-30, 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
Most views
  The best Prog... 577453
  Tutorial Requ... 501150
  Web Scraping ... 441081
  Newbie with P... 385154
  New Users Int... 369776
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
bimosora Today
kyleconor797 Yesterday
miriamwilliam Yesterday
Davidkiplimo Yesterday
Joliekeva Yesterday

User Panel Messages

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