Python Forum
Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 20,306
» Latest member: ifdainstitute7
» Forum threads: 38,798
» Forum posts: 175,911

Full Statistics

Online Users
There are currently 54 online users.
» 1 Member(s) | 44 Guest(s)
Bing, Applebot, Google, AOL, Facebook, snippsat

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: snippsat
3 hours ago
» Replies: 8
» Views: 208
Python Online Compiler
Forum: News and Discussions
Last Post: ichsanputr
8 hours ago
» Replies: 3
» Views: 11,102
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 10:44 AM
» Replies: 4
» Views: 183
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Yesterday, 04:44 AM
» Replies: 8
» Views: 705
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Nov-27-2025, 04:48 AM
» Replies: 6
» Views: 7,821
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 174
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 151
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 243
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,225
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 344

 
  How do I run a python file on Mac?
Posted by: trifek - Oct-28-2018, 06:14 PM - Forum: General Coding Help - No Replies

I warmly welcome.

I have a python file like this:

[python]
base64 import
from ctypes import *
 
code = 'BgQAANtYAAJDAPkxAHwAQXIw7zcGNN4ANiox..... More

Print this item

  How to write a code to get this kind of output in IDLE
Posted by: kavindu - Oct-28-2018, 05:23 PM - Forum: General Coding Help - Replies (5)

In IDLE I imported sympy.matrices module

for an example
I entered the following
[python]
>>> from sympy.matrices import Matrix
>>> a=M..... More

Print this item

  How to force print statement to print on one line
Posted by: wlsa - Oct-28-2018, 05:16 PM - Forum: Homework - Replies (4)

I have a print statement (inside a larger program and loop)
[python]print("at", independent_variable, '=', x_interpolation_number[0], dependent_varia..... More

Print this item

  how to get started with Eric from the very beginning
Posted by: apollo - Oct-28-2018, 04:19 PM - Forum: Bar - Replies (4)

fairly new to python

opened a file - then eric (an ide that i have installed') opened the code.

then the following messages popped up;:


E..... More

Print this item

  Raspberry Pi Zero
Posted by: digysol - Oct-28-2018, 04:05 PM - Forum: Bar - Replies (2)

Will like to know what versions of python run on Raspberry Pi Zero

Print this item

  help with homework
Posted by: the_last - Oct-28-2018, 02:53 PM - Forum: Homework - Replies (10)

I need help with creating a manually generated float list.

Results should look like this

[img]https://cdn.discordapp.com/attachments/30876474937..... More

Print this item

  draw sample from distribution in interval
Posted by: SchroedingersLion - Oct-28-2018, 02:32 PM - Forum: Homework - Replies (2)

Greetings,

I am trying to numerically calculate a double integral over probability distributions (beta distributions), see picture.
I want to appr..... More

Print this item

  How to return a standard output instead of string
Posted by: kavindu - Oct-28-2018, 10:31 AM - Forum: General Coding Help - Replies (1)

I'm writing a code for return the formula of a circle by giving the coordinates of the O and the radius
this is a part of my code
[python]
class ci..... More

Print this item

  search for a part of strinf from list in another list !
Posted by: evilcode1 - Oct-28-2018, 07:55 AM - Forum: Data Science - Replies (3)

hello all and good morning ...
im trying to get the user titles names for all windows on the windows system ... i used ctypes to get the titles name..... More

Print this item

  python homework print the sum of a range of numbers from x to y
Posted by: kirito85 - Oct-28-2018, 04:57 AM - Forum: Homework - Replies (3)

Hi, my for loop is not working, i can't figure out how to write the coding for this sum of range of x to y. Thanks.

[python]
import statistics
..... More

Print this item

  Need help with basic animation
Posted by: niro - Oct-28-2018, 02:08 AM - Forum: General Coding Help - Replies (6)

Hi

I will first say I am very new to python, so I'll need your patience :)
I am trying to gradually fill the screen with thin vertical rectangles/..... More

Print this item

  Function help
Posted by: csascott - Oct-28-2018, 12:19 AM - Forum: Homework - Replies (1)

def suggest(product_idea):
                          return product_idea + "inator"
                 

[b][i][u] How would ..... More

Print this item

  Spawn sub-window with button press
Posted by: malonn - Oct-27-2018, 11:04 PM - Forum: GUI - Replies (3)

Hey, I'm trying to open a sub-window on top of my main window for a specific time, then close it. I'm going the tkinter.Toplevel route..... More

Print this item

  unable to install sip/pyqt on windows 10
Posted by: phparion - Oct-27-2018, 10:47 PM - Forum: General Coding Help - Replies (1)

hi

I am an experienced programmer though new to python. I installed python on windows 10 and it is working. now I want to install pyqt, it asks me ..... More

Print this item

  Homework: Ceaser Cipher encoder and decoder
Posted by: Siylo - Oct-27-2018, 09:54 PM - Forum: Homework - Replies (10)

I am new to python and can't seem to get the 3rd input line to work with the "method" if loops. How would I get them to acknowledge the string "encryp..... More

Print this item

  Problem with file not saving current output
Posted by: jameseroni - Oct-27-2018, 09:02 PM - Forum: General Coding Help - Replies (2)

I have an issue with writing to a file in a for loop. I am appending all of the logged characters to a list. The list has an active listener attached ..... More

Print this item

  Python 3 Module Import Help
Posted by: Stealthychu - Oct-27-2018, 06:47 PM - Forum: General Coding Help - Replies (25)

Hi, I am currently creating a python scriot which will allow the user to achive different objectives depending upon which option they choose. I am how..... More

Print this item

  Python Connect 4 refactoring
Posted by: Beginner_coder123 - Oct-27-2018, 03:53 PM - Forum: Homework - Replies (6)

Hello, I was wondering if it's possible to refactor this piece of code to make a connect 4 game? I understand that it can be done way more efficiently..... More

Print this item

  which one is better?
Posted by: prophoss - Oct-27-2018, 12:46 PM - Forum: Web Scraping & Web Development - Replies (15)

This is a basic question for a newb. I will be working on a static web site and was wondering which is better for that and or easier. Flask or django?..... More

Print this item

  Understanding GerbMerge code
Posted by: djsb - Oct-27-2018, 11:24 AM - Forum: General Coding Help - Replies (1)

I have set myself a challenge of trying to understand the python code in this Open source project

https://github.com/kkunzelm/gerbmerge

The pyth..... More

Print this item

  How to get image from WolframAlpha by using Python language
Posted by: manhnt - Oct-27-2018, 11:20 AM - Forum: General Coding Help - Replies (1)

As I mentioned, I need an image from WolframAlpha. I knows how to get plain text but don't know how to get image. Could you show me how ..... More

Print this item

  Issue using cv2.cv in code
Posted by: Huzefa95s - Oct-27-2018, 08:45 AM - Forum: General Coding Help - Replies (7)

Hello, I have an application in which I am performing Face recognition using raspberry pie. I have the following list of components to be used:
1.A r..... More

Print this item

  Read list of IP addresses from file and return a network
Posted by: dflick - Oct-27-2018, 06:42 AM - Forum: General Coding Help - Replies (4)

I have been trying for hours using Google and stack overflow to read a list of IP addresses and return networks. The ip address command works in the P..... More

Print this item

  How to fill a web form integrating with excel
Posted by: praveen_Akepati - Oct-27-2018, 06:23 AM - Forum: General Coding Help - No Replies

Hi All,

I want to fill a web form and data should get from excel sheet.

Please post if anyone have sample code.

web form URL: https://service..... More

Print this item

  Please Help with lists and loops
Posted by: EthanA - Oct-27-2018, 06:11 AM - Forum: Homework - Replies (3)

I'm having trouble with this homework and need help very desperately, been really confused on loops and lists.

Write a function that returns a list..... More

Print this item

  Homework Problem
Posted by: csascott - Oct-27-2018, 04:21 AM - Forum: Homework - Replies (1)

My nam is Chris. I use Python 3.7 on a mac. I am in boot camp and online school. My mac os system is mohave. I have been learning programing for 3..... More

Print this item

  script wanted: UNboxing database output
Posted by: Skaperen - Oct-27-2018, 03:04 AM - Forum: Bar - No Replies

database tools typically put rows of data out in a boxed format. some can also output CSV and some cannot. i would like a script that can smartly re..... More

Print this item

  I keep getting errors and I'm lost!
Posted by: samjonsnell - Oct-27-2018, 02:51 AM - Forum: Homework - Replies (9)

Hello all! And thanks for taking the time to view this thread. THIS IS A HOMEWORK ASSIGNMENT. Just so y'all know I'm pretty new at this, and I want to..... More

Print this item

  substring between substrings
Posted by: Skaperen - Oct-27-2018, 12:01 AM - Forum: General Coding Help - Replies (5)

i am looking for an existing function or i will code my own. given a main string and two substrings A and B ... if A and B are [i]both[..... More

Print this item

  Can't find a library for this
Posted by: wlsa - Oct-26-2018, 10:10 PM - Forum: Homework - Replies (2)

I needed code that converted a string into a list of floats, where the string is in the format or '1, 2, .5, 6, 1.23, 10' etc and then the list would ..... More

Print this item

  How to kill a pid [SOLVED]
Posted by: ebolisa - Oct-26-2018, 09:36 PM - Forum: General Coding Help - Replies (6)

Hi,

I'm trying to stop a wav file from playing when a button is pressed but I just cannot get it right.

Any help is appeciated. This' my test co..... More

Print this item

  Do we need RSS
Posted by: wavic - Oct-26-2018, 09:07 PM - Forum: Board - Replies (1)

I wonder if we have RSS here. I don't see it. If we don't I think it is a good idea to have such a thing. For any forum.
Why I am asking. Because I d..... More

Print this item

  beginning python help request (for loop)
Posted by: casey - Oct-26-2018, 07:06 PM - Forum: Homework - Replies (3)

Learning 'for' loops and having trouble wrapping my head around this one:

[python]
result = 1
for indx in range (10):
if (indx % 2 == 0): ..... More

Print this item

  Replacing NaN with list of numbers
Posted by: gregory67 - Oct-26-2018, 05:33 PM - Forum: General Coding Help - Replies (5)

#Here is the question:

### Write a function that takes two columns, 'age' and 'pclass', as input and depending on which pclass, if the age is NaN (..... More

Print this item

  Help with stripping output
Posted by: oldcity - Oct-26-2018, 03:55 PM - Forum: General Coding Help - Replies (6)

Using Linux Mint 18.2 and Python 2.7.12.
The routine runs fine the way it is. However the output is too busy with
characters " [] ' , ". I have..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 3 hours ago Lou snippsat General Codin...
  Python Online Compiler 8 hours ago alexmaxwell1 ichsanputr News and Disc...
  Python is not working on ... Yesterday, 10:44 lary_p noisefloor General Codin...
  Help with Serial.write in... Yesterday, 04:44 racingsubby Larz60+ General Codin...
  Can I develop a live vide... 11-27, 04:48 mtrkhan mamta25 Web Scraping ...
  silent deployment Python ... 11-26, 21:58 Bummibaer Larz60+ News and Disc...
  Proposal for PEP 11-26, 15:53 matt Gribouillis News and Disc...
  My regex function is not ... 11-26, 08:47 Moltar1997 perfringo General Codin...
  best way to learn python 11-26, 04:40 dutch ichsanputr News and Disc...
  data fetching for indian ... 11-25, 02:50 drakhsin Pedroski55 Web Scraping ...
  PyQt5 - Get a parameter f... 11-24, 14:18 Ninja2112 deanhystad GUI
Most views
  The best Prog... 579485
  Tutorial Requ... 512755
  Web Scraping ... 442356
  Newbie with P... 386395
  New Users Int... 381679
Most reputation
buran 581
snippsat 511
Larz60+ 452
Gribouillis 362
deanhystad 328
Most replies
  New Users Int... 452
  [book] Variou... 188
  CKEditor / Ri... 100
  moving from t... 95
  Free keys and... 91
Top posters
Larz60+ 12113
buran 8196
snippsat 7393
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
ifdainstitute7 Today
MOHAMMAD_mk Today
virvainfotech Today
IFDA123 Yesterday
TimTom420 11-27

User Panel Messages

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