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,986
» Latest member: Tycho_2025
» Forum threads: 38,735
» Forum posts: 175,577

Full Statistics

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

Latest Threads
print does not open conso...
Forum: General Coding Help
Last Post: Axel_Erfurt
1 hour ago
» Replies: 1
» Views: 36
Fred Economic Data API
Forum: Web Scraping & Web Development
Last Post: Trickety
5 hours ago
» Replies: 3
» Views: 2,519
create ocr to detect lice...
Forum: General Coding Help
Last Post: noisefloor
6 hours ago
» Replies: 2
» Views: 68
Parse Markdown / get the ...
Forum: General Coding Help
Last Post: noisefloor
6 hours ago
» Replies: 6
» Views: 181
Error: cannot mix str wit...
Forum: General Coding Help
Last Post: Joliekeva
Yesterday, 03:05 AM
» Replies: 4
» Views: 2,040
Integer Factorization Too...
Forum: Code sharing
Last Post: buran
Sep-30-2025, 07:43 AM
» Replies: 2
» Views: 456
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Sep-30-2025, 12:21 AM
» Replies: 2
» Views: 1,086
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: noisefloor
Sep-29-2025, 05:45 PM
» Replies: 6
» Views: 1,155
Comparing 2 100GB Drives/...
Forum: General Coding Help
Last Post: snippsat
Sep-29-2025, 12:59 PM
» Replies: 8
» Views: 837
Select Python comment (#)...
Forum: General Coding Help
Last Post: tester_V
Sep-28-2025, 06:39 PM
» Replies: 7
» Views: 3,109

 
  Python C API - Issue with string as arugments
Posted by: JRHeisey - Nov-27-2019, 08:15 PM - Forum: General Coding Help - Replies (2)

Greetings,

Using Python 3.4.3

  • I am creating a PyUnicode string from a C string.
  • I am passing this string as a argument to a Python ..... More

Print this item

  subprocess.call - Help !
Posted by: sniper6 - Nov-27-2019, 07:42 PM - Forum: General Coding Help - No Replies

hi,

How can I use multiple subprocess.call commands in one window (cmd)
Example:
1- cd\
2- ping 8.8.8.8
3- exit

thanks (:

Print this item

  Problem with function output
Posted by: slyfox - Nov-27-2019, 06:31 PM - Forum: Homework - Replies (1)

Hi everyone,

I'm working on a homework assignment to write a script to output the next major oil change and maintenance needed for a car. I've trie..... More

Print this item

  Regular expression: match pattern at the end only
Posted by: Pavel_47 - Nov-27-2019, 05:58 PM - Forum: General Coding Help - Replies (3)

Hello,

Here are two strings:

Control Engineering – MATLAB Exercises (Advanced Textbooks in Control and Signal Processing)
Control Engine..... More

Print this item

  python and py report different versions
Posted by: lordvold - Nov-27-2019, 05:26 PM - Forum: General Coding Help - Replies (3)

I've installed Python 3.7.5 on a Windows 10 machine. No other version of Python was ever installed on that machine that I know of (and no-one e..... More

Print this item

  2 sets of radiobuttons
Posted by: Chuck_Norwich - Nov-27-2019, 05:10 PM - Forum: GUI - Replies (4)

Hi,

have looked ont web, but I can't seem to find a definite answer.

Have a pair of radio buttons:

rad_lt = Radiobutton(root,text='Lighting c..... More

Print this item

  All Apress & Springer IT eBooks only 7€
Posted by: buran - Nov-27-2019, 04:44 PM - Forum: News and Discussions - No Replies

https://www.apress.com/gp/shop/cybermonday-sale

CYBER WEEK SALE

All Apress & Springer IT eBooks only 7€

through Dec 3, 2019 with code CYBERW..... More

Print this item

  How to stop Xmodem after bin file transfer was finished
Posted by: shaya2103 - Nov-27-2019, 04:33 PM - Forum: General Coding Help - No Replies

hello freinds,


I am sending a BIN file successfully to my energy meter through serial port using the code in the bottom. My problem is that Xmode..... More

Print this item

  facing issue in python
Posted by: rajrishi990 - Nov-27-2019, 04:24 PM - Forum: General Coding Help - Replies (6)

i have below json file. When i amtrying to pull sid and type from applicationRoles, i am able to pull only first entry i.e.sid=123 and type=BC but i n..... More

Print this item

  PyArray_SimpleNew gives "ValueError: array is too big; for 3-cubed array
Posted by: OTAGOHARBOUR - Nov-27-2019, 04:03 PM - Forum: General Coding Help - Replies (1)

I am using Anaconda Spyder 3.3.6 (Python 3.7) on CentOS 7. I started out with the following code in the surfaceModules module.

[code]
static PyObj..... More

Print this item

  How to terminate the caller fuction through callee?
Posted by: 100k - Nov-27-2019, 02:46 PM - Forum: General Coding Help - Replies (2)

Here is my code:

[python]

def callee():
# implement a code to stop the execution of caller()


def caller():
callback1 = callee
do_somth..... More

Print this item

  On the spot counter
Posted by: Astrikor - Nov-27-2019, 01:53 PM - Forum: General Coding Help - Replies (13)

I would like to display a count in the Console such that each increment is replaced in the same place (at start of line) by the next.
Having looked at..... More

Print this item

  2 approaches to start webscrapping - question
Posted by: zarize - Nov-27-2019, 01:49 PM - Forum: General Coding Help - Replies (2)

Hi,

I found out that 2 approaches to web scrapping is returning totally different output:

What i mean is that when i use code below:
[python]he..... More

Print this item

  the baby chatbot
Posted by: ronblue77 - Nov-27-2019, 12:33 PM - Forum: Code sharing - Replies (9)

hello all

here is a code of a program of what i call "a baby chat bot" the bot only knows 4 words "mom' "dad" "food" and "hi" the user is suppose t..... More

Print this item

  Assert that dictionary contains a key
Posted by: phpMick - Nov-27-2019, 10:41 AM - Forum: General Coding Help - Replies (3)

Hi,

I am new to Python and and am trying to learn testing (using unittest).

How do I assert that a dictionary contains a key?

Cheers,

Mick

Print this item

  socket loop problem
Posted by: monamour - Nov-27-2019, 09:16 AM - Forum: Networking - Replies (9)

Dear All,

I have tried to write a code which fetches the Host name and the IP Address for a user. The program is working nice as you can ..... More

Print this item

  How to import entire module ?
Posted by: tonycstech - Nov-27-2019, 08:58 AM - Forum: GUI - Replies (5)

I want to import entire module. I dont want to specify each function of that module i plan on using.
For example:
[python]from tkinter import messag..... More

Print this item

  [ library recommendation ] search & highlight target texts in PDF?
Posted by: smallabc - Nov-27-2019, 08:50 AM - Forum: General Coding Help - Replies (1)

Hi,
I am looking for a library, where :
1. user inputs target texts for highlight ( + also preferred highlight color )
2. script will read the PDF..... More

Print this item

  Unable to put background image on Tkinter Frame
Posted by: jenkins43 - Nov-27-2019, 07:59 AM - Forum: GUI - Replies (2)

Hi, I am trying to place Image as background in frame which contains the textfield, button, and label.

Mentioned below is my code kindly help me ou..... More

Print this item

  Developing application for Android
Posted by: atari400 - Nov-27-2019, 07:56 AM - Forum: General Coding Help - Replies (1)

Hello,

I would like to develop a business application for Android which basically reads/writes some data from a remote SQL server.

My preference..... More

Print this item

  Python Classes
Posted by: leodavinci1990 - Nov-27-2019, 07:08 AM - Forum: General Coding Help - Replies (1)

[python]from random import Random # library for randoms
class Die(object): # define the class
sides = [1,2,3,4,5,6]
def __init__(self): # M..... More

Print this item

  updating certain values in dict. with relation to their keys
Posted by: malevy - Nov-27-2019, 07:06 AM - Forum: General Coding Help - Replies (17)

Hi all
just joined
I have a very annoying problem
I have a dictionary containing key value pairs that are all integers.
I want to check if some va..... More

Print this item

  Need Help for my program
Posted by: sampathkumar - Nov-27-2019, 05:22 AM - Forum: General Coding Help - Replies (19)

Hi friends
I am new to python. i tried to write a code for file transfer automation.
actually my requirement is software will generate a folder dail..... More

Print this item

  Help understand loops
Posted by: tonycstech - Nov-27-2019, 04:39 AM - Forum: General Coding Help - Replies (9)

I have 3 loops that i am confused about.

tkinter.mainloop()
Is this loop specifically for tkinter module and it will run independen..... More

Print this item

  Python Numpy and DataFrame Project
Posted by: isabelleckard - Nov-27-2019, 04:14 AM - Forum: Homework - Replies (1)

Hi! I left a python project until the last minute, and now I'm super confused and don't know how to start. The project is laid out by the pseudocode w..... More

Print this item

  Help me with yahoo finance excel sheet
Posted by: Learner4life - Nov-27-2019, 02:19 AM - Forum: Homework - Replies (2)

Hello Guys,

I am looking for help with my homework, as the code I have, I am not able to get 'Adj Close' price from yahoo finance, I am looking to ..... More

Print this item

  Calculating frequency of items in a dictionary
Posted by: markellefultz20 - Nov-27-2019, 01:23 AM - Forum: General Coding Help - Replies (1)

I have a dictionary called purchases that has the payment method as the key and a dictionary containing payment types and their frequency as the value..... More

Print this item

  ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item()
Posted by: bongielondy - Nov-27-2019, 01:23 AM - Forum: General Coding Help - Replies (2)

I want to calculate Accuracy based on the new compound column. The if statement is giving me an error.
Error is

[python]
# Importing Libraries
impor..... More

Print this item

  Embedded Python PyObject_CallObject function
Posted by: JRHeisey - Nov-27-2019, 01:18 AM - Forum: General Coding Help - Replies (1)

  • It appears that PyObject_CallObject() always returns an PyObject pointer event when the Python function does not explicitly return a value ..... More

Print this item

  Python as an analysis tool
Posted by: nsadams87xx - Nov-27-2019, 12:44 AM - Forum: News and Discussions - Replies (3)

Good evening everyone,

I have asked a question like this recently but I'm getting more exposure to Python and a little more naively dangerous with ..... More

Print this item

  [split] VS Code Editor
Posted by: SupaNub - Nov-26-2019, 10:51 PM - Forum: General Coding Help - Replies (5)

Hello is there any way of cleaning up the terminal i would like to see just the hate how it shows every last folder and sub folder leading to the PY...... More

Print this item

  Error in my code
Posted by: TumbleR - Nov-26-2019, 10:19 PM - Forum: Homework - Replies (1)

Hello everyone,
I am working on my school homework that is quite easy for some professional, but I have troubles with few things that I tried to chan..... More

Print this item

  How to share a variable between two Python classes?
Posted by: robin1992 - Nov-26-2019, 09:07 PM - Forum: GUI - Replies (2)

How to share a variable between two Python classes?
I am not an experienced programmer so please keep that in mind. I have a made an application with..... More

Print this item

  common form of multi-line text
Posted by: Skaperen - Nov-26-2019, 09:00 PM - Forum: News and Discussions - Replies (3)

for a function intended to take a multi-line block of text and produce a different multi-line block of text as the return value (not necessarily the s..... More

Print this item

  Idea of project
Posted by: dibax10 - Nov-26-2019, 08:07 PM - Forum: News and Discussions - Replies (2)

Good evening,
As part of my studies, on a Python module and on the teacher we ask to realize a project. But it is to offer us a project idea that doe..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  print does not open conso... 1 hour ago Tycho_2025 Axel_Erfurt General Codin...
  Fred Economic Data API 5 hours ago warrior42 Trickety Web Scraping ...
  create ocr to detect lice... 6 hours ago bimosora noisefloor General Codin...
  Parse Markdown / get the ... 6 hours ago SpongeB0B noisefloor 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...
Most views
  The best Prog... 577465
  Tutorial Requ... 501234
  Web Scraping ... 441088
  Newbie with P... 385158
  New Users Int... 369828
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
Tycho_2025 Today
chikkamagalur Today
Costa Today
bimosora Today
kyleconor797 Yesterday

User Panel Messages

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