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,674
» Latest member: CarlaRogersWI
» Forum threads: 38,648
» Forum posts: 175,060

Full Statistics

Online Users
There are currently 435 online users.
» 1 Member(s) | 424 Guest(s)
Bing, Google, Yandex, Baidu, Applebot, Facebook, CarlaRogersWI

Latest Threads
replace or remove text fr...
Forum: General Coding Help
Last Post: Curbie
6 minutes ago
» Replies: 18
» Views: 1,005
Sourcetrail project
Forum: News and Discussions
Last Post: paul18fr
38 minutes ago
» Replies: 0
» Views: 9
Deciding on a Macbook Pro...
Forum: Bar
Last Post: techthiru
3 hours ago
» Replies: 0
» Views: 35
Pylance: "... is not a kn...
Forum: General Coding Help
Last Post: MvGulik
4 hours ago
» Replies: 2
» Views: 95
While loop is terminating...
Forum: Homework
Last Post: Plyth
Yesterday, 01:49 AM
» Replies: 2
» Views: 255
PythonPath file
Forum: General Coding Help
Last Post: Pedroski55
Jul-04-2025, 10:56 PM
» Replies: 7
» Views: 19,825
Python Install Mager Help
Forum: News and Discussions
Last Post: snippsat
Jul-04-2025, 09:43 AM
» Replies: 5
» Views: 420
RemoTe server operation w...
Forum: General Coding Help
Last Post: mario17
Jul-04-2025, 07:18 AM
» Replies: 4
» Views: 347
Hide CLI while grabbing i...
Forum: GUI
Last Post: Gribouillis
Jul-03-2025, 08:12 AM
» Replies: 1
» Views: 193
Venv - Python Virtual Env...
Forum: General Coding Help
Last Post: Larz60+
Jul-02-2025, 05:41 PM
» Replies: 4
» Views: 712

 
  subprocess.Popen parameter bufsize issue
Posted by: streetpywinder - Oct-21-2017, 07:05 AM - Forum: General Coding Help - Replies (3)

[python]
args = ('D:/ProgramFiles/Python352/Scripts/pyinstaller.exe', '-w', file_full_path, '-i', ico_full_path)
process = subproce..... More

Print this item

  Get string length
Posted by: RedSkeleton007 - Oct-21-2017, 04:31 AM - Forum: General Coding Help - Replies (3)

To start off, I just want to print the length of a hard coded string as follows:

[python]
#!/usr/bin/env python3
#NestedIfStuff.py

password = ..... More

Print this item

  Arduino/If Else Condition
Posted by: emrebt39 - Oct-20-2017, 07:49 PM - Forum: General Coding Help - Replies (3)

New at Python,trying to make if Else condition,You can see below:
[python]from Tkinter import *
root = Tk()
def connectToArduino():

arduino..... More

Print this item

  Ip in json
Posted by: beren43 - Oct-20-2017, 07:13 PM - Forum: Homework - Replies (3)

I have a json
It is necessary to display on the screen in format domains with 144 in 3 octet
un1> domain
un2> domain
This code displays a list of ..... More

Print this item

  Functions with parameters
Posted by: slehee - Oct-20-2017, 07:00 PM - Forum: Homework - Replies (2)

Hi,

How would you write a function which takes two parameters and then counts from the first parameter to the second one?

def count(numOne, numT..... More

Print this item

  No Idea Where To Start...
Posted by: goldtiger6 - Oct-20-2017, 06:37 PM - Forum: Homework - Replies (4)

Python3

I have no idea where to start for this problem....

[font=Times New Roman, Times, serif][b]Write a progr..... More

Print this item

  (beginner): Hello Shopping - wat?(Flask)
Posted by: Peter_EU - Oct-20-2017, 05:31 PM - Forum: Web Scraping & Web Development - Replies (2)

Hellowings,

sorry for lame question for lame problem, maybe someone will find joy in helping me:

I created .py file with following code:

[python]fr..... More

Print this item

  Homework that displays different weights
Posted by: Schmitlab - Oct-20-2017, 05:21 PM - Forum: Homework - Replies (4)

[
After about an hour of being dumb i finally got the loop to work but now i have a different problem. The program asks for some input like the low en..... More

Print this item

  Python indent question
Posted by: iicveji - Oct-20-2017, 04:40 PM - Forum: General Coding Help - Replies (2)

Hello. I am pretty new to Python and I've found something that is probably pretty simple but eludes me. The problem concerns enclosing existing code i..... More

Print this item

  Need Help To Improve my Network Scanner
Posted by: cybrary - Oct-20-2017, 04:18 PM - Forum: General Coding Help - Replies (3)

Hi, i am very new with python coding using version 2.7, i am trying to create a network scanner using nmap module.Need help to improve my scanner such..... More

Print this item

  Tkinter/Label/Arduino/ if Else condition
Posted by: emrebt39 - Oct-20-2017, 10:53 AM - Forum: GUI - Replies (1)

[python]from Tkinter import *
root = Tk()
def connectToArduino():

arduino = serial.Serial(arduinoPort, serialTransferRate)
arduino.timeout ..... More

Print this item

  MONEY CHANGE
Posted by: OmarSinno - Oct-20-2017, 09:36 AM - Forum: General Coding Help - Replies (5)

[python]amount=int(input("Please enter amount in LBP: "))
bills = [100,50,20,10,5,1]
billsReturned = []

def change(amount):
    for i in bills:..... More

Print this item

  natural logarithm print
Posted by: atux_null - Oct-20-2017, 09:07 AM - Forum: Homework - Replies (5)

[nodisplay]please give a runnable sample of your code with the full error text or a clear description of the problem

Please use python tags for cod..... More

Print this item

  Please Help - Auto-Login
Posted by: shiny - Oct-20-2017, 07:21 AM - Forum: Web Scraping & Web Development - Replies (1)

Good Day,

I'm working on Auto-LogIn for the flowing webpage.
I'm very new to the Python; and I have been following a YouTube tutorial.

I need ..... More

Print this item

  Python-Spyder error opening
Posted by: integrak20 - Oct-20-2017, 05:44 AM - Forum: General Coding Help - No Replies

Hello, I am having trouble with my python, specifically Spyder.

I downloaded Anaconda from continuum.io. But everytime I open it, it says it crashe..... More

Print this item

  NEED HELP Pseudo-Random Numbers
Posted by: Kongurinn - Oct-20-2017, 01:01 AM - Forum: Homework - Replies (9)

Hey everyone. I've been coding for about a month now. Trying to figure out the assignment I got this week. THe assignment asked me to find if there we..... More

Print this item

  Error message in code
Posted by: Nistacta - Oct-19-2017, 09:38 PM - Forum: General Coding Help - Replies (2)

I need help with my code. the error message says:

[error]Traceback (most recent call last)
File "F:/Information format.py", line 17, in <module..... More

Print this item

  Python shell not functioning
Posted by: Kongurinn - Oct-19-2017, 09:38 PM - Forum: General Coding Help - Replies (2)

I'm having issues with the python shell itself and running some functions. I've tried importing the random library and whenever I use seed nothing hap..... More

Print this item

  Removing string within string
Posted by: fivestar - Oct-19-2017, 09:25 PM - Forum: Homework - Replies (2)

I am trying to remove part of a string withing a string. for example if a string is "atgtga" i want the output to be "atg" my if statement is
[inlin..... More

Print this item

  Loop Help: works with 300 variables but not 400
Posted by: bpozza - Oct-19-2017, 06:21 PM - Forum: Data Science - Replies (1)

Any help will be greatly appreciated. Please let me know if you need more details to resolve and I can provide. Thank you in advance for your help...... More

Print this item

  starting with flask: code does not work
Posted by: Peter_EU - Oct-19-2017, 05:55 PM - Forum: Web Scraping & Web Development - Replies (2)

Hallowings,


I am following tutorials of https://www.youtube.com/watch?v=OuDOr32ZHE0

I started writing my first python/html document (pip insta..... More

Print this item

  must be str not int
Posted by: auting82 - Oct-19-2017, 05:47 PM - Forum: Data Science - Replies (2)

Trying to run this code, but getting the error: must be str not int?
Need some help here
Just to mention that i have tried to chabge the inputs to i..... More

Print this item

  Help with "surrounding" a string
Posted by: jsirota - Oct-19-2017, 04:59 PM - Forum: Homework - Replies (2)

Hello, I am having difficulty with a homework assignment that asks me to code a print statement where the string input gets surrounded by asterisks. T..... More

Print this item

  Click on a Drop-down button with selenium Python
Posted by: AcszE - Oct-19-2017, 04:01 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello, I'm trying to click on a drop-down button in selenium pyChrome, but nothing seems to work for me Confused by clicking on the inspect optio..... More

Print this item

  Help with threading please!
Posted by: karlo_ds - Oct-19-2017, 02:42 PM - Forum: General Coding Help - Replies (2)

Hi everyone!

I try to runing multiple-task´s in Python with threading, but not run good... when i execute the script, in one web-page is working,..... More

Print this item

  Genetic Algorithm improvement
Posted by: Alberto - Oct-19-2017, 02:13 PM - Forum: Data Science - No Replies

Dear Python Experts,

What I am doing is that I am running genetic algorithm for prediction of stock prices. I include a sample of code that is in l..... More

Print this item

  Sending data over UDP
Posted by: alidaf - Oct-19-2017, 09:39 AM - Forum: Networking - Replies (3)

I've managed to code a C program to send various types of data to Matlab on another machine over UDP; char, int and double. I'm really struggling to d..... More

Print this item

  Request for simple code
Posted by: CuriousMind - Oct-19-2017, 08:14 AM - Forum: Data Science - Replies (5)

Dear Users,

I would like to request some help in some research work. My goal is to write data from an xls file to a text file (the text file is gen..... More

Print this item

  Speed up for loop
Posted by: icbruzzler - Oct-19-2017, 07:39 AM - Forum: General Coding Help - Replies (2)

Hello,
is there an alternative method to get the following code snippet faster?

var_refp.size contains 60001 elements, ground freq can change and ..... More

Print this item

  [Python / BS4] How to Scrape
Posted by: digitalmatic7 - Oct-19-2017, 07:36 AM - Forum: Web Scraping & Web Development - Replies (9)

I'm new to programming and am having trouble scraping with BS4.

I'm webmaster for a popular website (can't share it here, but it uses Disqus comme..... More

Print this item

  Circular Object Recognition - Help me, please!
Posted by: vinix123 - Oct-19-2017, 04:15 AM - Forum: Data Science - Replies (1)

Hello guys. I'm trying to build a program that can identify the points I marked in the image below. The program is attached. I wanted a way to identif..... More

Print this item

  Trouble with simple roulette game
Posted by: chadandersen1 - Oct-19-2017, 03:49 AM - Forum: General Coding Help - Replies (9)

[spoiler]
[python]
import random
print("Welcome to my Online Roulette game!")
print("Your starting balance is $50, or 5000 tokens.")
## Sets star..... More

Print this item

  Command line inputs not printing to Log File
Posted by: ijosefson - Oct-19-2017, 03:15 AM - Forum: Homework - Replies (1)

Requirement: print out the command line prompts the user enters into a log file.
Problem: line 38, the prompts don't seem to write to the log file.
..... More

Print this item

  Free keys and coupons, sales
Posted by: metulburr - Oct-19-2017, 01:13 AM - Forum: Bar - Replies (91)

This thread is for giving away game keys.


Euro Truck Simulator
First person who responds gets the key

Note this is the first one, and the tit..... More

Print this item

  qutebrowser v1.0.0 released
Posted by: dvs1 - Oct-18-2017, 11:57 PM - Forum: News and Discussions - No Replies

"Completely rewritten configuration system which ignores the old config file. See link:qute://help/configuring.html[] for details."

"QtWebEngine: Spe..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  replace or remove text fr... 6 minutes ago Curbie Curbie General Codin...
  Sourcetrail project 38 minutes ago paul18fr paul18fr News and Disc...
  Deciding on a Macbook Pro... 3 hours ago techthiru techthiru Bar
  Pylance: "... is not a kn... 4 hours ago MvGulik MvGulik General Codin...
  While loop is terminating... Yesterday, 01:49 jumpsworthnow Plyth Homework
  PythonPath file 07-04, 22:56 JohnRLaw Pedroski55 General Codin...
  Python Install Mager Help 07-04, 09:43 bowens1983 snippsat News and Disc...
  RemoTe server operation w... 07-04, 07:18 mario17 mario17 General Codin...
  [WxPython] Hide CLI while... 07-03, 08:12 Winfried Gribouillis GUI
  Venv - Python Virtual Env... 07-02, 17:41 DanneA Larz60+ General Codin...
  [Tkinter] textbox compare... 07-02, 13:40 dmac6809 deanhystad GUI
Most views
  The best Prog... 572437
  Tutorial Requ... 485321
  Web Scraping ... 436970
  Newbie with P... 379824
  Thread remain... 351278
Most reputation
buran 581
snippsat 507
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+ 12071
buran 8173
snippsat 7345
deanhystad 6846
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
as1221 3
Newest members
CarlaRogersWI Today
techthiru Today
skylarkuk Today
OLHOSANTOTM Yesterday
viratsolanki Yesterday

User Panel Messages

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