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

Full Statistics

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

Latest Threads
No new line from print in...
Forum: General Coding Help
Last Post: snippsat
1 hour ago
» Replies: 4
» Views: 114
Python is not working on ...
Forum: General Coding Help
Last Post: noisefloor
9 hours ago
» Replies: 4
» Views: 148
Help with Serial.write in...
Forum: General Coding Help
Last Post: Larz60+
Today, 04:44 AM
» Replies: 8
» Views: 665
Can I develop a live vide...
Forum: Web Scraping & Web Development
Last Post: mamta25
Yesterday, 04:48 AM
» Replies: 6
» Views: 7,811
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Nov-26-2025, 09:58 PM
» Replies: 3
» Views: 144
Proposal for PEP
Forum: News and Discussions
Last Post: Gribouillis
Nov-26-2025, 03:53 PM
» Replies: 1
» Views: 128
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,217
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Nov-25-2025, 02:50 AM
» Replies: 6
» Views: 322
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 210

 
  inserting input gives me error message
Posted by: RubberNuggets - Jan-15-2019, 05:18 PM - Forum: General Coding Help - Replies (3)

I keep getting this error message
[error]Traceback (most recent call last):
File "U:/Computer Programming/Python/Quiz how.py", line 3, in <module>..... More

Print this item

  Session Persistence
Posted by: portuguesedanny - Jan-15-2019, 04:31 PM - Forum: General Coding Help - Replies (4)

Hi,

I'm trying to scrap a remote batch server's jobs from it's XML webpage.

Running the code line by line in the interpreter fails with tracebac..... More

Print this item

  web scraping help in getting the output
Posted by: kapilan15 - Jan-15-2019, 04:25 PM - Forum: Web Scraping & Web Development - Replies (1)

[python]
import bs4 as bs
import urllib.request
import re
import os
from colorama import Fore, Back, Style, init
init()


def highlight(wor..... More

Print this item

  learn proggraming
Posted by: sil_ete - Jan-15-2019, 03:43 PM - Forum: News and Discussions - Replies (3)

Hi!

I am a begginer in proggraming and it is just a few month that began with python and now after i learned the basic of python i dont know how i ..... More

Print this item

  NameError: name 'python' is not defined
Posted by: chrismog - Jan-15-2019, 02:56 PM - Forum: News and Discussions - Replies (1)

Dear all,

I am new to Python - I completed the Introduction to Python on DataCamp and now i want to experiment and run commands from my "own" shell..... More

Print this item

  how to modify moth_ws for different coins
Posted by: danmcg - Jan-15-2019, 02:41 PM - Forum: General Coding Help - Replies (4)

i am working on this article so that i can add a socket to excel. th..... More

Print this item

  comparing 2 lists and highlighting key elements
Posted by: kapilan15 - Jan-15-2019, 02:24 PM - Forum: Web Scraping & Web Development - Replies (2)

[python]
from colorama import Fore, init

init()

key_words = ['mystery', 'the', 'charge', 'pretends']
paragraph_split = ['the', 'desired', 'mys..... More

Print this item

  Printing out a triangle using nested for loops
Posted by: MrGoat - Jan-15-2019, 02:09 PM - Forum: General Coding Help - Replies (12)

So I encountered this question : I have to print out a diamond shaped diagram(shown below). How and where do I start ? Any hints ? I am lost completel..... More

Print this item

  How to compare different UV spectrum profiles
Posted by: SriRajesh - Jan-15-2019, 02:02 PM - Forum: General Coding Help - Replies (2)

Hi,

Due to large data, I could not upload here. I have standard curve and different process variation curves of UV spectrum profiles, and I want to..... More

Print this item

  How to call a method in a module using code
Posted by: KingPieter - Jan-15-2019, 10:57 AM - Forum: General Coding Help - Replies (4)

Hello everyone


I've question concerning calling methods just using code.

The general idea is that I can give a name of a module and a method..... More

Print this item

  Building a class for sqlite3 interaction
Posted by: Nuzvee - Jan-15-2019, 09:52 AM - Forum: General Coding Help - Replies (5)

Hi,

Python: python2.7
OS : Centos7

I am posting this since ive grown desperate after getting daily headaches trying to implement SQL interactio..... More

Print this item

  question by a beginner
Posted by: salahoum - Jan-15-2019, 08:46 AM - Forum: General Coding Help - Replies (11)

Hello,
I apologize for the inconvenience
I am a student in electrical engineering so I do not have a lot of baggage about programming languages
I n..... More

Print this item

  beginner question
Posted by: Naito - Jan-15-2019, 07:11 AM - Forum: General Coding Help - Replies (2)

hi guys can you please help me understand the difference bteween these 2 codes?
my interpretation is def function has a loop in it (im not smart)

[py..... More

Print this item

  creating an empty NumPy array in Python
Posted by: sandeepatel - Jan-15-2019, 06:56 AM - Forum: Data Science - Replies (2)

Explain different ways to create an empty NumPy array in Python.

Print this item

  3 random numbers
Posted by: MrGoat - Jan-15-2019, 05:28 AM - Forum: General Coding Help - Replies (1)

So I was given this question : Pick any 3 random ascending numbers and write out a loop function that prints out all 3 numbers. This was the code and ..... More

Print this item

  Def Command
Posted by: Trinx - Jan-15-2019, 02:41 AM - Forum: General Coding Help - Replies (3)

I have a couple questions about the command "def". Once you define something, say "greeting", and you write your script in it:

[python]
def greeti..... More

Print this item

  My first time here
Posted by: tiagorocha - Jan-14-2019, 11:49 PM - Forum: Web Scraping & Web Development - Replies (2)

Hi everybody!

I'm really sorry if this is not the right place to post this, but I need to have an answer and I hope someone can help me out:

I'm..... More

Print this item

  python how to find difference between two values
Posted by: hare - Jan-14-2019, 09:49 PM - Forum: General Coding Help - Replies (1)

Need help in giving me an idea on how to get the output

I am new to python.
My input is like this:
[output]
M <01/14/2019 08:07:01..... More

Print this item

  Recursivity - Problem
Posted by: SupaFlamme - Jan-14-2019, 09:48 PM - Forum: General Coding Help - Replies (6)

Hi, I got a problem this code :

[python]
def deepconcat(l) :
if l == [] :
return None
elif len(l) == 1 :
return l[0]..... More

Print this item

  Compile c method in real time
Posted by: Battant - Jan-14-2019, 09:33 PM - Forum: General Coding Help - Replies (4)

Hello,

Here is my confidence
Python3.7
Windows 10

In ma code, I use c user32.dll throw a method in c language

My problem :

When I try t..... More

Print this item

  How to think....
Posted by: Netopia - Jan-14-2019, 08:20 PM - Forum: News and Discussions - Replies (1)

Greetings!

As a Newb to programming, I'm finding that one obstacle is actually 'thinking' like a programmer. To those of you who feel like you've ..... More

Print this item

  data base models
Posted by: IMuriel - Jan-14-2019, 08:18 PM - Forum: Web Scraping & Web Development - Replies (1)

Hello,im pretty new at python,
but im about to start the developing of a web application, ,so i will be using flask and mysql with SQL alchemy

..... More

Print this item

  UnicodeEncodeError: 'charmap' codec can't encode character '\u2019' in position 23: c
Posted by: kapilan15 - Jan-14-2019, 06:33 PM - Forum: General Coding Help - Replies (2)

I try to run my code in cmd command. It ran few lines of my code and gave some en code error. I posted the output below. Does anyone know why this hap..... More

Print this item

  This doesn't work like in book
Posted by: Blaedel - Jan-14-2019, 05:18 PM - Forum: General Coding Help - Replies (1)

Does anyone understand why these phrases:

>>>phrase = "the surprise is in here somewhere"
>>> phrase.find("surprise")
Does..... More

Print this item

  Enable & Disable Wireless connection by using python
Posted by: aniyanetworks - Jan-14-2019, 04:02 PM - Forum: General Coding Help - Replies (9)

Sorry if you find this questions very easy and basic for you. I am New in Python and trying to learn every day.

My Questions: How can I disable and..... More

Print this item

  Fitting experimental data with differential equations : Optimization
Posted by: madoko - Jan-14-2019, 03:52 PM - Forum: Data Science - Replies (6)

Hello !!!

I'm a physics student trying to solve an experimental problem in fluid dynamics and here is the issue I'm having.
The [b]data output of ..... More

Print this item

  List and isinstance
Posted by: Roh_80 - Jan-14-2019, 03:48 PM - Forum: General Coding Help - Replies (1)

numbers = [1, 2, 3,[4,5,6]]`
for i in numbers:`
	if isinstance(i,list):`
		`print("YES")`		
	else:
		print("NO")`
1. ..... More

Print this item

  Problems running exe file from pyinstaller
Posted by: ersa21 - Jan-14-2019, 03:42 PM - Forum: General Coding Help - Replies (4)

I want to convert a simple .py file to .exe file. I am using ubuntu 18.04,python 3.7,pyinstaller 3.4. I have been able to convert .py file to .exe fil..... More

Print this item

  win32com Trying to open a xlmb file with macros
Posted by: diegoctn - Jan-14-2019, 03:23 PM - Forum: General Coding Help - Replies (3)

Hi guys, I am trying to read data from a xlsb file using the code below
[python]import win32com.client
excel = win32com.client.Dispatch("Excel.Appli..... More

Print this item

  colorama/termcolor not returning coloured lines
Posted by: kapilan15 - Jan-14-2019, 12:38 PM - Forum: General Coding Help - Replies (3)

Code -
[python]from colorama import Fore, Back, Style
print(Fore.RED + 'some red text')
print(Back.GREEN + 'and with a green background')
print(S..... More

Print this item

  Question on a php syntax
Posted by: ebolisa - Jan-14-2019, 10:25 AM - Forum: General Coding Help - Replies (1)

Hi,

I need to iterate through the following loop but the exec() line is failing to respond. What's the correct way of doing it?

TIA

[python]<?php
/..... More

Print this item

  Missing something here
Posted by: Robpl1 - Jan-14-2019, 10:23 AM - Forum: General Coding Help - Replies (2)

Hi all,
Never used Python before so I'm using some scripts someone else has created for an automated watering system running on a RaspberryPi (Raspbi..... More

Print this item

  Junk values
Posted by: neethuvp - Jan-14-2019, 10:17 AM - Forum: General Coding Help - Replies (6)

HI,
i'm reading some values using serial from one energy device... in my out data i'm getting some junk values like
[color=#C0392B][C]*~ '� � @�ظ��..... More

Print this item

  Executing func() from a different folder
Posted by: ebolisa - Jan-14-2019, 09:29 AM - Forum: General Coding Help - Replies (2)

Hi,

I've a test.py containing a func(x) in my /home/pi directory.

I need to execute the func(x) from /var/www/html directory with the code "pyth..... More

Print this item

  Trying to Install python-ocl
Posted by: zimbodel - Jan-14-2019, 09:23 AM - Forum: News and Discussions - Replies (2)

Trying to Install python-ocl but get snagged on a dependency that is seemingly a malconfiguration as python 2 is installed.

This is what I use to bui..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  No new line from print in... 1 hour ago Lou snippsat General Codin...
  Python is not working on ... 9 hours ago lary_p noisefloor General Codin...
  Help with Serial.write in... Today, 04:44 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... 579457
  Tutorial Requ... 512619
  Web Scraping ... 442321
  Newbie with P... 386373
  New Users Int... 380660
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 7391
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