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,570

Full Statistics

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

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

 
  Einsum- ValueError
Posted by: pawlo392 - May-22-2019, 10:21 AM - Forum: Homework - Replies (3)

I don't know why I getting error:
[error]
ValueError: operand has more dimensions than subscripts given in einstein sum, but no '...' ellipsis prov..... More

Print this item

  Raspberry pi simpel coding
Posted by: mike3001 - May-22-2019, 10:18 AM - Forum: General Coding Help - Replies (2)

Hallo phyton programmers :).

i have some hard time getting this to working right.
i have this Stopwatch witch is working well, but i would like to..... More

Print this item

  datetime
Posted by: mcgrim - May-22-2019, 09:28 AM - Forum: Homework - Replies (4)

I have a document with dates and times inside.
I have converted them into datetime objects, but now
I am having trouble in putting the date and time..... More

Print this item

  Most optimized way to merge figures from multiple PDFs into one PDF page?
Posted by: dmm809 - May-22-2019, 08:59 AM - Forum: General Coding Help - Replies (1)

Hi everyone!

The thread can be found from here:
..... More

Print this item

  Error trying to Calling web service
Posted by: stahorse - May-22-2019, 08:33 AM - Forum: General Coding Help - Replies (2)

Hi,

I'm getting this error below trying to call Web Service, can some help me as to what does it mean?

I took the working code and now trying to..... More

Print this item

  error running script in python3.7.2 interpreter
Posted by: srm - May-22-2019, 07:36 AM - Forum: General Coding Help - Replies (4)

hi there ,
I am trying to run one of my script file i.e firstfile.py on my windows 2008 r2 machine
where in I have installed python3.7.2.
While ins..... More

Print this item

  Stuck on Chapter 19 Python Crash Course with error
Posted by: outomyelement - May-22-2019, 04:39 AM - Forum: Web Scraping & Web Development - No Replies

Hello, I'm getting the following error when trying to runserver to work through chapter 19 - user accounts. I have used the ..... More

Print this item

  Pexpect baby steps
Posted by: slouw - May-22-2019, 03:49 AM - Forum: General Coding Help - Replies (9)

I did say baby steps.
I know I am logging in ok as I can do a show users on the target box and confirm that.
I want to see the output of my command ..... More

Print this item

  General reference for Python
Posted by: FLAJA - May-22-2019, 03:43 AM - Forum: General Coding Help - Replies (1)

Can anyone recommend a general purpose reference for Python. My local public library has only a few books for Python, but Amazon has so many that I ..... More

Print this item

  Floor Division cf. math.floor()
Posted by: Devarishi - May-22-2019, 03:25 AM - Forum: General Coding Help - Replies (3)

Hi,

A bit of confusion here:

>>> 1 / 0.2
5.0
That is perfect, but this floor division thing looks confusing:

[python]>>> 1 // 0...... More

Print this item

  iterating a list of ranges
Posted by: Skaperen - May-22-2019, 01:39 AM - Forum: General Coding Help - Replies (1)

i have multiple ranges i wish to iterate over. but the obvious solution (2 nested levels of iteration) is not available because the iteration code, w..... More

Print this item

  Whitespace syntax error
Posted by: klp21 - May-22-2019, 01:20 AM - Forum: General Coding Help - Replies (1)

I am currently using Geany 1.35 with Python 3.7.3. My book is telling me to type:
>>> print("Python")
I get SyntaxError: invalid syntax
(Program..... More

Print this item

  output to file or ...
Posted by: Skaperen - May-22-2019, 01:10 AM - Forum: News and Discussions - Replies (1)

i have noticed that many calls in Python support both an open file object as well as a file descriptor, where the argument type i part of the effect. ..... More

Print this item

  Python Script to Produce Difference Between Files and Resolve DNS Query for the Outpu
Posted by: sultan - May-22-2019, 01:06 AM - Forum: General Coding Help - Replies (2)

I wanted to write a python script that gives me the difference between two txt files that contain list of domains.

Below is my script that I was able..... More

Print this item

  PEP 594 -- Removing dead batteries from the standard library
Posted by: ichabod801 - May-22-2019, 01:05 AM - Forum: News and Discussions - Replies (3)

There's a draft PEP up for removing a whole slew of older packages from the standard library. Slowly, of course. Probably not until 2022, and there wi..... More

Print this item

  Axis lim and Plotting a graph in Tkinter
Posted by: KEDivergente - May-21-2019, 08:10 PM - Forum: GUI - No Replies

Hi everybody! I'm designing a test bank than shows me 3 temperatures of a vacuum pump, the current of the motor than impulse that pump, the rpm of the..... More

Print this item

  Python not reading cell in excel file
Posted by: wendysling - May-21-2019, 07:59 PM - Forum: General Coding Help - Replies (1)

Hi,

I am using Jupyter notebook. I created a script to open a few excel files and paste a summary dataframe in a new excel file.

All was worki..... More

Print this item

  Sum product multiple Dataframes based on column headers.
Posted by: Lastwizzle - May-21-2019, 04:05 PM - Forum: Data Science - No Replies

I have a data frame with inputs where each group represents multiple inputs values that correspond to that groups respective premium ( script for test..... More

Print this item

  making dependant comboBoxes
Posted by: Hitsugaya - May-21-2019, 03:48 PM - Forum: GUI - Replies (3)

Hello,i want to make a dependant combo boxes,where i basically choose 1 option from combobox1 and that option has its own set of options in combobox2...... More

Print this item

  RE: status bar to return to the centre after 1 minute of clicking a button ?
Posted by: chano - May-21-2019, 03:39 PM - Forum: GUI - Replies (6)

Hello,can you tell me how the statuss bar after i move with button to return it alone after 1 minute in centre.Thank you
[python]
import tkinter as..... More

Print this item

  Need help parallelizing while loop
Posted by: Smurfi - May-21-2019, 01:43 PM - Forum: General Coding Help - No Replies

Hi everyone,

I need some help parallelizing the following:

[python]
population = []

generations = 100000
generation = 1

while generatio..... More

Print this item

  Pexpect module first step
Posted by: slouw - May-21-2019, 11:58 AM - Forum: General Coding Help - Replies (1)

I am reading up/watching videos and am taking my first baby steps with pexpect.
I expected (wrongly) that the sequence below would work.
That is I w..... More

Print this item

  Suggestions for a machine learning model for invoice processing multiple languages?
Posted by: animeshsarraf - May-21-2019, 11:48 AM - Forum: News and Discussions - Replies (1)

Hi,

I need to do invoice processing in multiple languages such as english,thai,korean,japanese etc and extract certain key fields.
How should I cr..... More

Print this item

  How to specify the destination folder
Posted by: SriMekala - May-21-2019, 11:01 AM - Forum: General Coding Help - Replies (1)

Hi,
I read some comma separated data from the web, and want to write into a csv file.

I open a new CSV file write data (df) in it, but I could not be..... More

Print this item

  Please explain how to alter text with python code?
Posted by: navneet - May-21-2019, 09:58 AM - Forum: Homework - Replies (4)

# Complete the following remove_dollar function
# so that it removes any dollar signs and spaces
# and then returns the string as a number (float)...... More

Print this item

  Plot a function
Posted by: dxfrelince - May-21-2019, 09:38 AM - Forum: Homework - Replies (3)

I want to plot a function in a interval. I'm trying to do it - but I'm stuck. someone who can help?

The answer I get on the y axis also looks stran..... More

Print this item

  Python requests module doesn not return status_code
Posted by: palo173 - May-21-2019, 07:11 AM - Forum: General Coding Help - Replies (5)

I try to create definiton, which returns some data when status_code is 200, but when status_code is 404 then returns status_code. If there are others ..... More

Print this item

  collect show cdp neighbor output
Posted by: carstenlp - May-21-2019, 07:00 AM - Forum: Networking - Replies (4)

Hi

I hit a dead end here with my code. Not sure how i should proceed from this.

Description of my project:
I want to get a topology of my netw..... More

Print this item

  Excel Library for Python 3
Posted by: synthia - May-21-2019, 02:20 AM - Forum: General Coding Help - Replies (11)

What's the best library for manipulating Excel workbook and worksheet? including basic editing and encryption.

Print this item

  list of string combinations
Posted by: Skaperen - May-21-2019, 01:25 AM - Forum: General Coding Help - Replies (8)

the bash shell for Unix has a feature that allows using a text token like {a,b}{c,d}{e,f} and produces all combinations as if [icode]ac..... More

Print this item

  A problem with installing scrapy
Posted by: Truman - May-21-2019, 12:57 AM - Forum: Web Scraping & Web Development - Replies (17)

[error]rial\_dist
creating build\lib.win32-3.6\twisted\trial\_dist\test
copying src\twisted\trial\_dist\test\test_distreporter.py -> build\l..... More

Print this item

  virtual environment questions
Posted by: Skaperen - May-21-2019, 12:17 AM - Forum: News and Discussions - Replies (2)

1. can virtual environment be installed (from pip) by a non-root user just in their home directory so that no system files are touched?

2. how does..... More

Print this item

  Cannot get h4 tag text
Posted by: aniyanetworks - May-20-2019, 09:43 PM - Forum: Web Scraping & Web Development - Replies (3)

[python]
import requests
from bs4 import BeautifulSoup
website= requests.get("http://www.aniyanetworks.net/contact/")
content1=website.content

..... More

Print this item

  How to get first line of a tuple and the third item in its tuple. Need Help, Anybody?
Posted by: SukhmeetSingh - May-20-2019, 09:25 PM - Forum: General Coding Help - Replies (5)

I have these values which I store in a:
[python]a = ((1.425, 4.82145395112958, 0.0656498375731458)
(1.39716316090366, 7.2, 0.102480129941483)
..... More

Print this item

  Resources for automated testing of Android apps using TestComplete?
Posted by: ackmondual - May-20-2019, 09:03 PM - Forum: News and Discussions - No Replies

I'm gathering up resources as I'm getting into automated testing of Android apps using TestComplete, scripting in Python. While there is some material..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Parse Markdown / get the ... 4 hours ago 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
  Is the interpreter that c... 09-26, 13:17 helendamdam noisefloor General Codin...
Most views
  The best Prog... 577451
  Tutorial Requ... 501076
  Web Scraping ... 441079
  Newbie with P... 385151
  New Users Int... 369761
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 Yesterday
miriamwilliam Yesterday
Davidkiplimo Yesterday
Joliekeva Yesterday
silversimon2 09-30

User Panel Messages

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