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,304
» Latest member: IFDA123
» Forum threads: 38,798
» Forum posts: 175,905

Full Statistics

Online Users
There are currently 57 online users.
» 1 Member(s) | 51 Guest(s)
Applebot, AOL, Bing, Google

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: noisefloor
5 hours ago
» Replies: 3
» Views: 86
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
5 hours ago
» Replies: 4
» Views: 141
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
11 hours ago
» Replies: 8
» Views: 663
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,810
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 139
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 123
My regex function is not ...
Forum: General Coding Help
Last Post: perfringo
Nov-26-2025, 08:47 AM
» Replies: 3
» Views: 208
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
Nov-26-2025, 04:40 AM
» Replies: 6
» Views: 3,216
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 316
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 207

 
  Add stdout to text file
Posted by: maxtimbo - Jan-28-2019, 03:09 AM - Forum: General Coding Help - Replies (3)

Alright, I've tried a great many thing to try to get this to work. This iteration is the closest I've gotten to success. What I'm trying to do is writ..... More

Print this item

  SHARE PYTHON FILE
Posted by: ambush - Jan-27-2019, 11:47 PM - Forum: General Coding Help - Replies (1)

I have a python file and it consists of modules such as pandas,numpy,matplotlib and quandl. However, I need to share the file so the user can directly..... More

Print this item

  clearing an interactive python interpreter/shell
Posted by: rootVIII - Jan-27-2019, 10:39 PM - Forum: News and Discussions - Replies (4)

I got really sick of always doing this when I want to clear my shell:

from os import system
system('clear')
Or with the su..... More

Print this item

  Install of Pillow fails
Posted by: RMJFlack - Jan-27-2019, 10:39 PM - Forum: General Coding Help - Replies (4)

I'm trying to install PIL / Pillow.
Running on Win 7.
I have tried with both Pythin 2.7 and 3.3 (which are both installed)

I typed pip install ..... More

Print this item

  display multiple sensors on webpage python flask jinja
Posted by: pascale - Jan-27-2019, 09:39 PM - Forum: Web Scraping & Web Development - Replies (6)

Hi,
I am a bit stuck,There are plenty of tutorials and forum replies for one DS18B20 sensors but I cannot find any for multiple sensors that dont use..... More

Print this item

  Printing arguments in python console.
Posted by: Narendra - Jan-27-2019, 09:33 PM - Forum: General Coding Help - Replies (1)

Hello all,

I am a new to python. I was writing PyTest for my gui. I use assert to check the condition true or false.

I code every where in my ..... More

Print this item

  whats the difference between sys.exit() and break?
Posted by: mitmit293 - Jan-27-2019, 08:50 PM - Forum: General Coding Help - Replies (1)

it a question from at total beginner, so its probably stupid, but bear with me.

Print this item

  While loop and If Statement
Posted by: farzankh - Jan-27-2019, 05:43 PM - Forum: Homework - Replies (3)

Hello friends,
This is our assignment:
[color=#3498DB]Write a function called stop_at_z that iterates through a list of strings. Using a while loop,..... More

Print this item

  Pyinstaller can not execute script.
Posted by: negru555 - Jan-27-2019, 05:15 PM - Forum: General Coding Help - No Replies

[python]
import imaplib
import email
import os
import box
import smtplib


def obtineID():
f = open("id.txt", "r")
ID = f.read()
..... More

Print this item

  leading zero number formatting
Posted by: RedSkeleton007 - Jan-27-2019, 04:14 PM - Forum: General Coding Help - Replies (3)

Hi, I want to print out lock combination guesses, all as 4 digits with leading zeros as needed (0000, 0001, 0002, etc.), but I'm having trouble:
[pyt..... More

Print this item

  wont print last sentence..
Posted by: mitmit293 - Jan-27-2019, 04:01 PM - Forum: General Coding Help - Replies (2)

[python]import random
a = random.randint(1,99)
guess = int(input('et tal..'))
print
while a != guess:
if guess < a:
print('low..')
..... More

Print this item

  Because the emoji appears black and white at the exit ?
Posted by: nerd - Jan-27-2019, 03:51 PM - Forum: General Coding Help - Replies (3)

I am running an emoji code and the output Run appears in black and white, that is, the emoji does not come..... More

Print this item

  Contest - game programming
Posted by: louiz7 - Jan-27-2019, 03:44 PM - Forum: Game Development - Replies (2)

I notice this contest.
https://www.syntaxbomb.com/index.php/topic,5206.0.html

There should be a lot of talented game programmers in our Python co..... More

Print this item

  Unexpected ininite loop behavior
Posted by: RedSkeleton007 - Jan-27-2019, 03:23 PM - Forum: General Coding Help - Replies (4)

Hi, I'm trying to code a basic while True loop, but I get an infinite loop whether or not I use the continue statement (after I purposely enter invali..... More

Print this item

  Help speeding up ode_int
Posted by: andeye - Jan-27-2019, 02:56 PM - Forum: Data Science - Replies (2)

I've created a tool in python that links a 3d electromagnetic field solver to a time domain electrical equation solver. This allows me to create a 3d ..... More

Print this item

  ValueError: shapes
Posted by: naveen73 - Jan-27-2019, 01:15 PM - Forum: Data Science - No Replies

Hi all,

I am having a very strange problem with predicting using sklearn.
Currently doing the IBM course “Data analysis with Python”. This is the dat..... More

Print this item

  sort a list alphabeticaly without changing the original list
Posted by: Holmen - Jan-27-2019, 01:15 PM - Forum: Homework - Replies (5)

I'm supposed to reverse a list of countries I want to visit (alphabetical)

[python]list = ['Poland', 'Russia', 'Germany', 'USA', 'China'][/p..... More

Print this item

  Connection with SQL Server
Posted by: DionisiO - Jan-27-2019, 01:11 PM - Forum: General Coding Help - No Replies

Hello all!

I'm trying to connect to SQL Server, but i keep getting the message: [Microsoft][ODBC Driver Manager] Data source name not found and no ..... More

Print this item

  How to trigger click event on Button without ID/Name
Posted by: gahhon - Jan-27-2019, 10:51 AM - Forum: Web Scraping & Web Development - Replies (7)

<div class="col-lg-6 col-md-6 col-sm-6 col-xs-12 SecurityPhrase---right-btn-container---32k8- ">
<button type="button" class="btn btn-success btn btn..... More

Print this item

  sorting row values alphabetical
Posted by: PolskaYBZ - Jan-27-2019, 10:35 AM - Forum: Homework - Replies (1)

Hi,

I have the below dataframe object in which I would like to sort the rows in alphabetical order.


[output]
flights
ORG_AIR DEST_AIR
..... More

Print this item

  Python Turtle Help
Posted by: patrick_oneal_4 - Jan-27-2019, 03:43 AM - Forum: Homework - Replies (5)

I need to make three connected shapes. I keep recieving this error:
File "<stdin>", line 5
velez.color("MediumOrchid")
SyntaxError: invalid s..... More

Print this item

  swapname.py
Posted by: Skaperen - Jan-27-2019, 02:55 AM - Forum: Code sharing - No Replies

a little script i often use:

swapname.py[python]#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from __future__ import print_function
from os imp..... More

Print this item

  Embedding HTML Code in Python
Posted by: kendias - Jan-27-2019, 12:37 AM - Forum: Web Scraping & Web Development - Replies (5)

I am trying to embed HTML in Python, not sure how. Tried importing Beautiful Soup but get error.

Print this item

  Branching and Conditionals/If statements
Posted by: MSL - Jan-26-2019, 11:49 PM - Forum: General Coding Help - Replies (1)

I am currently doing a group of python assignments and I need help with completing them.

I am currently stuck on both of the problems listed below...... More

Print this item

  pygame exe crashes
Posted by: TheQuattro - Jan-26-2019, 11:21 PM - Forum: Game Development - Replies (1)

Hello, could anyone tell me why my compiled app crashes upon start if I use these lines?

font = pygame.font.SysFont(None, 100)
text = font.render(..... More

Print this item

  Compiling a Python Package on Windows
Posted by: nagymusic - Jan-26-2019, 08:52 PM - Forum: General Coding Help - Replies (2)

My apology if this may not be the right place to post my question. I recently had to update Windows 10 system on a Lenovo Yoga 910 laptop. Following t..... More

Print this item

  Python tutorial on learning & creating your own LRU Cache :)
Posted by: ncorbuk - Jan-26-2019, 08:28 PM - Forum: Tutorial Requests and Submissions - No Replies

Hello everyone, i have a tutorial on learning & creating your very own LRU Cache. I found it very interesting when i was learning this as i had heard ..... More

Print this item

  NLTK Download Attribute error
Posted by: laila1a - Jan-26-2019, 02:46 PM - Forum: Data Science - Replies (1)

Hello all, I'm having a problem downloading NLTK. This is my first time downloading a module and I keep getting an error. I have been following https:..... More

Print this item

  Instagramlogin Error (Selenium)
Posted by: julian_veit - Jan-26-2019, 02:40 PM - Forum: Web Scraping & Web Development - No Replies

I tried to make a python program that can (should) login into Instagram. Here's the code:
[python]

from selenium import webdriver
from selenium.w..... More

Print this item

  [split] How to insert JSON into MSSQL
Posted by: gehrenfeld - Jan-26-2019, 12:36 PM - Forum: General Coding Help - Replies (3)

micseydel

If you don't want to help please don't.

He is asking a question in a help forum.

Print this item

  Control a dot matrix printer
Posted by: Clement_2000 - Jan-26-2019, 12:21 PM - Forum: General Coding Help - Replies (4)

Hello,
I've recently got two of these amazing dot matrix printers. They support text data and ASCII commands control them.
So, I'd like to make a ..... More

Print this item

  Downloading a module Xlsxwriter
Posted by: dan789 - Jan-26-2019, 12:20 PM - Forum: General Coding Help - Replies (6)

Hello,

I want to create an excel sheet using Python and a step I need to do for it is to download a module called pip install XlsxWriter. Bu..... More

Print this item

  ValueError: could not convert string to float
Posted by: Prince_Bhatia - Jan-26-2019, 10:53 AM - Forum: Web Scraping & Web Development - Replies (2)

hi,

i am trying to crawl a website which is https://www.nseindia.com/live_market/dyn...Watch.json

when i ..... More

Print this item

  Read emails python 3.
Posted by: negru555 - Jan-26-2019, 07:27 AM - Forum: Web Scraping & Web Development - Replies (5)

Hello guys.I am pretty noob in python.I wanna make a python email through cli cuz I love terminal and cmd and stuff like that.However none of the exam..... More

Print this item

  I can not install the emoji module
Posted by: nerd - Jan-26-2019, 04:07 AM - Forum: General Coding Help - Replies (1)

Greetings ,

I'm trying to install the emoji module, but I did not succeed .

information from the internet says that a red flashlight shou..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 5 hours ago Lou noisefloor General Codin...
  Python is not working on ... 5 hours ago lary_p noisefloor General Codin...
  Help with Serial.write in... 11 hours ago racingsubby Larz60+ General Codin...
  Can I develop a live vide... Yesterday, 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
  Brazil Python Help to aut... 11-21, 20:30 MileHigh303 MileHigh303 Jobs
Most views
  The best Prog... 579454
  Tutorial Requ... 512592
  Web Scraping ... 442318
  Newbie with P... 386373
  New Users Int... 380636
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 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
buran 3
Newest members
IFDA123 Today
TimTom420 Yesterday
cruisesfares Yesterday
SNR Yesterday
Jonathan Yesterday

User Panel Messages

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