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,981
» Latest member: Davidkiplimo
» Forum threads: 38,733
» Forum posts: 175,565

Full Statistics

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

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

 
  Derivative operation
Posted by: therealpaulie - May-06-2019, 02:49 PM - Forum: General Coding Help - Replies (2)

[python]print('Now you are creating your function, when finished type Break')

def f(x):
total=0
a=0
b=0
while a!='Break' or b!=..... More

Print this item

  Copy File with Varied Name
Posted by: LonghornJ - May-06-2019, 02:46 PM - Forum: General Coding Help - Replies (3)

Hi,

I'm a newbie and trying to learn the language. I'm trying to run a script to copy an Excel file that is downloaded to my Dropbox folder each da..... More

Print this item

  Plot Line chart based on the input
Posted by: parthi1705 - May-06-2019, 02:32 PM - Forum: Data Science - Replies (4)

Having set of unknow data , need to plot Line chart based on three params
Example
[python]Salesamount = [[28000.00,308000.00,582000.0..... More

Print this item

  How to launch a program through python script - Mac OS Mojave
Posted by: Aurimas - May-06-2019, 01:55 PM - Forum: General Coding Help - Replies (2)

Dear Python forum members,

I am trying to write and launch a python script through terminal at Mac OS Mojave, however I am getting this error:
[e..... More

Print this item

  how can I generate a password in hashlib
Posted by: go127a - May-06-2019, 01:32 PM - Forum: General Coding Help - Replies (20)

Hi
i have a csv file, it contain name and password. I am going to readout and write the password in a csv file.

[python]
import csv
import ite..... More

Print this item

  run python script on startup?
Posted by: korenron - May-06-2019, 01:19 PM - Forum: General Coding Help - Replies (1)

Hello ,
I have create a python code that wait for a press of a button then send a UDP
the code is running without any problem when I run it from t..... More

Print this item

  first time pyton user - help with json
Posted by: korenron - May-06-2019, 10:39 AM - Forum: General Coding Help - Replies (4)

Hello ,
I want to read a json file and get 2 objects form the file (username and IP )
the config.json is :
[output]{
"IP":"172.16.3.1",
"usernam..... More

Print this item

  Nested formatting?
Posted by: johneven - May-06-2019, 10:29 AM - Forum: Homework - Replies (1)

Sorry for another thread, but this is my favorite place to get help.
The problem is below.

Provided is a list of data about a store’s inventory wh..... More

Print this item

  [split] Using this Python version of text2pdf
Posted by: jonsnow1221 - May-06-2019, 09:27 AM - Forum: General Coding Help - Replies (1)

The thing is that I have also faced the issue on the pdf file as I have also converted the text file to pdf file. The main issue was printing the file..... More

Print this item

  exception handling
Posted by: KyawMyo - May-06-2019, 07:50 AM - Forum: General Coding Help - Replies (3)

[python]
try:
power = float(input ("Please entre Power in kW: "))
voltage = float (input ("Please entre Voltage: "))
phase = int(input..... More

Print this item

  Convert 'object' to 'string'
Posted by: AdWill97 - May-06-2019, 07:28 AM - Forum: Data Science - Replies (1)

I am using a pandas dataframe and creating plots and one of the columns is dtype: object.
I would like to convert these values into strings, how woul..... More

Print this item

  NumPy and List
Posted by: karansingh - May-06-2019, 07:25 AM - Forum: News and Discussions - Replies (4)

Is NumPy is better than Python list?

Print this item

  for loops and if
Posted by: johneven - May-06-2019, 04:47 AM - Forum: Homework - Replies (5)

I feel like my code is correct, but keep getting wrong output for this homework question.

The problem is:
[b]Below are a set of scores that students ..... More

Print this item

  How to read router prompt and use it?
Posted by: simbha - May-06-2019, 03:08 AM - Forum: Networking - Replies (1)

When i login to a router, i get a following prompt.

R3-NYC
login: tac
Password:
[Router]R3-NYC#
[Router]R3-NYC#show clock
Wed May 22 04:46:18..... More

Print this item

  Off topic SQL question
Posted by: Larz60+ - May-06-2019, 02:16 AM - Forum: Bar - Replies (3)

This is a Query I am trying to get right with sqlite3 before I code it into my python program. My SQL is extremely rusty, so It's not obvious to me wh..... More

Print this item

  Manipulating __init__ method
Posted by: schniefen - May-06-2019, 01:03 AM - Forum: Homework - Replies (5)

Consider the class Interval below:

[python]
class Interval:
def __init__(self,a,b):
self.left=a
self.right=b
def __rep..... More

Print this item

  Error Message: TypeError: unhashable type: 'set'
Posted by: twinpiques - May-06-2019, 12:47 AM - Forum: Data Science - Replies (4)

Hello. I am attempting to compare two columns sar_details_sent_norm_trigrams_ and
caap_details_sent_norm_trigrams_ in a Pandas data f..... More

Print this item

  Need help and suggestions
Posted by: jsoberano - May-06-2019, 12:17 AM - Forum: Homework - Replies (3)

I need your suggestions and modification for this simple game. Please help.
[python]from random import randint
guesses = 0
print("Hello. Let's pla..... More

Print this item

  lxml load imports and includes
Posted by: rlario - May-06-2019, 12:04 AM - Forum: Web Scraping & Web Development - No Replies

Is it possible to have lxml load all the imports and includes (and their imports and includes) if the xsd are available during parsing? if so, how do ..... More

Print this item

  testing for Decimal w/o importing decimal every time
Posted by: Skaperen - May-05-2019, 11:17 PM - Forum: General Coding Help - Replies (7)

a function i wrote really should be acting a bit differently when the value it is given is type decimal.Decimal. but almost all calls will be another..... More

Print this item

  Running into errors when installing pip and pip3 on python 2.7 and python 3.6
Posted by: tej7gandhi - May-05-2019, 09:54 PM - Forum: General Coding Help - Replies (1)

I have tried installing and running pip but I run into error messages,when I utilize pip --version or pip3 --version.
I am also not able to install p..... More

Print this item

  Filter out all words that begin with P, B, or T.
Posted by: johneven - May-05-2019, 09:53 PM - Forum: Homework - Replies (3)

Need help with the following:

Filter out all words that begin with P, B, or T.

[python]
colors = ["Red", "Orange", "Yellow", "Green", "B..... More

Print this item

  Image does not show in treeview.
Posted by: KevinBrown - May-05-2019, 08:22 PM - Forum: GUI - Replies (3)

I'm trying to put images into treeviews.

Why does the image file Part.png not show up in this treeview.

I've loaded the same image ( Part.png) ..... More

Print this item

  Is there a way to automate changing the lines in a .txt like this?
Posted by: ejected - May-05-2019, 05:30 PM - Forum: General Coding Help - Replies (3)

I have a bunch of .txt files that I need to do the same thing to each. Is there a way to automate this in python? If so how? If not in python is there..... More

Print this item

  moving python project to aws ec2
Posted by: gemstoneartist - May-05-2019, 04:35 PM - Forum: Web Scraping & Web Development - Replies (2)

I've got a python project that runs from a cron job.
It runs fine on the local machine, and I need it to run on an AWS EC2.
I copy it to the EC2 and..... More

Print this item

  print python json dump onto multiple lines
Posted by: lhailey - May-05-2019, 02:52 PM - Forum: General Coding Help - Replies (2)

I am trying to print the payload variable onto multiple lines. It currently prints on one line.
I am using the indent statement but it still prints o..... More

Print this item

  circle node with horizontal line in python graphviz
Posted by: mandana - May-05-2019, 10:39 AM - Forum: General Coding Help - No Replies

I'm needing to create a graph have a label with line separation horizontal from nodes. The label of nodes import from 2 columns of an Excel-File. This..... More

Print this item

  Split List and Sublist from Pyodbc
Posted by: parthi1705 - May-05-2019, 10:22 AM - Forum: General Coding Help - Replies (1)

My pyodbc returns cursor result as below
[python]
>>> result
[(Decimal('28000.0000'), 2010, 272), (Decimal('308000.0000'), 2011, 272), (Decimal('58..... More

Print this item

  List Indices Error
Posted by: jaycuff13 - May-05-2019, 10:07 AM - Forum: General Coding Help - Replies (1)

Hello,

I am currently working on a dummy project and I keep receiving on error message "List Indices Error" when I try to run the code:

[python]
p..... More

Print this item

  How to unpack tuples in if statements
Posted by: saurkkum - May-05-2019, 09:15 AM - Forum: General Coding Help - Replies (1)

I am trying to write a function that accepts a list of dictionary (data) and a tuple (fields). Function groups the data based on elements in fields tu..... More

Print this item

  change array column values without loop
Posted by: khalidreemy - May-05-2019, 07:31 AM - Forum: General Coding Help - Replies (2)

Hello

I need to update a column values of an array without using a loop.

Is there any way to update with criteria.


1 0.168425
2 0
3 0..... More

Print this item

  install stable version now
Posted by: zowhair - May-05-2019, 04:19 AM - Forum: News and Discussions - Replies (1)

I am using Ubuntu, how can I install python 3.7 which is stable version and replace it with python 3.6?

Print this item

  Relations between python 2.7 3 3.7, scipy, pip?
Posted by: larkypython - May-05-2019, 03:58 AM - Forum: General Coding Help - Replies (2)

Basically, I don't understand is scipy, numpy an extension on all python or a particular version of python? cause I installed python 2.7, 3.6 together..... More

Print this item

  Unable to create checkbox and select at run time
Posted by: tej7gandhi - May-05-2019, 03:08 AM - Forum: GUI - Replies (5)

Hello All,

I am facing some challenge with my user interface:

[python]def PopUp():
pop = Tk()
count =output1.split()

..... More

Print this item

  Issue Creating New Link Using Text
Posted by: oca619 - May-05-2019, 01:10 AM - Forum: Homework - Replies (1)

Hello, needing some help on an assignment creating a basic web form. I've gone through all the steps where I ask the user three questions. They ent..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Parse Markdown / get the ... 39 minutes ago SpongeB0B SpongeB0B General Codin...
  Error: cannot mix str wit... 6 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... 577436
  Tutorial Requ... 500930
  Web Scraping ... 441074
  Newbie with P... 385139
  New Users Int... 369689
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+ 12091
buran 8178
snippsat 7370
deanhystad 6897
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
Davidkiplimo Today
Joliekeva Today
silversimon2 Yesterday
alissapena8 Yesterday
hoki1881 Yesterday

User Panel Messages

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