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,297
» Latest member: ichsanputr
» Forum threads: 38,795
» Forum posts: 175,888

Full Statistics

Online Users
There are currently 43 online users.
» 1 Member(s) | 39 Guest(s)
Bing, AOL, Google, snippsat

Latest Threads
My regex function is not ...
Forum: General Coding Help
Last Post: bowlofred
1 hour ago
» Replies: 2
» Views: 81
best way to learn python
Forum: News and Discussions
Last Post: ichsanputr
2 hours ago
» Replies: 6
» Views: 3,170
silent deployment Python ...
Forum: News and Discussions
Last Post: Larz60+
Yesterday, 11:51 AM
» Replies: 1
» Views: 63
data fetching for indian ...
Forum: Web Scraping & Web Development
Last Post: Pedroski55
Yesterday, 02:50 AM
» Replies: 6
» Views: 237
PyQt5 - Get a parameter f...
Forum: GUI
Last Post: deanhystad
Nov-24-2025, 02:18 PM
» Replies: 5
» Views: 124
Brazil Python Help to aut...
Forum: Jobs
Last Post: MileHigh303
Nov-21-2025, 08:30 PM
» Replies: 0
» Views: 89
My goal to be hired worki...
Forum: News and Discussions
Last Post: mamta25
Nov-21-2025, 06:15 AM
» Replies: 4
» Views: 1,521
[SOLVED] [BeautifulSoup] ...
Forum: Web Scraping & Web Development
Last Post: Winfried
Nov-20-2025, 02:10 PM
» Replies: 2
» Views: 171
How to Implement Real-Tim...
Forum: Web Scraping & Web Development
Last Post: ankitsharma32
Nov-20-2025, 06:48 AM
» Replies: 0
» Views: 80
How to put my game loop i...
Forum: Game Development
Last Post: SledgeNE
Nov-20-2025, 04:59 AM
» Replies: 11
» Views: 6,143

 
  My class has name error message
Posted by: 357mag - Sep-04-2019, 01:29 PM - Forum: General Coding Help - Replies (3)

Okay this is the first time I've created a Python class and I'm running into a problem. The debugger says NameError: Instrument is not defined.

I d..... More

Print this item

  update dict as per range of values
Posted by: anna - Sep-04-2019, 01:13 PM - Forum: General Coding Help - Replies (7)

I am parsing, ZyXEL DSLAM configuration file, support required to dict as per range of data.

[python]from ciscoconfparse import CiscoConfParse
fro..... More

Print this item

  Posting html values to views/models in Django
Posted by: Malt - Sep-04-2019, 10:54 AM - Forum: Web Scraping & Web Development - Replies (1)

This is very basic and I'm new to web development with Django. My goal is to create new user with username, password and e-mail id and I'm having role..... More

Print this item

  Copying XML elements from one file to another
Posted by: kirat - Sep-04-2019, 10:52 AM - Forum: General Coding Help - Replies (2)

I've now been getting used to the etree option and I want to take specific XML Tags and Texts from one file to another.
My code looks like this:

..... More

Print this item

  Basically a Python Tetris game [pygame] rather keyboard arrows can be controlled with
Posted by: lsepolis123 - Sep-04-2019, 08:48 AM - Forum: Game Development - Replies (9)

Basically a Python Tetris game [pygame] rather keyboard arrows can be controlled with joystick device...?

https://www.pygame.org/docs/ref/jo..... More

Print this item

  Can copyright be applied python scripts?
Posted by: tim777 - Sep-04-2019, 08:45 AM - Forum: News and Discussions - Replies (3)

Can copyright be applied to python scripts?

Print this item

  Dropping a column from pandas dataframe
Posted by: marco_ita - Sep-04-2019, 07:30 AM - Forum: Data Science - Replies (6)

[output]
Date Price Open High Low Vol. Change % (Vol., Price, Open, High, Low)
0 Sep 03, 2019 1,789.84 1,771.45 1,801.11 1,767.61 3.55 ..... More

Print this item

  Getting help on developing a code
Posted by: Masoudk96 - Sep-04-2019, 07:21 AM - Forum: General Coding Help - Replies (1)

hello everyone

i', not a professional programmer, actually my field of study is different from these stuff. btw i'm trying to learn python because ..... More

Print this item

  i love f-strings
Posted by: Skaperen - Sep-04-2019, 03:21 AM - Forum: Bar - Replies (5)

i love f-strings. i'm using them all over the place, now. most of my error messages are f-strings with expanded detail about the error.

Print this item

  Is it possible to have an apostrophe inside { } in an f-string?
Posted by: Exsul - Sep-04-2019, 12:38 AM - Forum: General Coding Help - Replies (6)

from random import choice as rc

string = f"never say you {rc(['can', 'can\'t'])} do something"

print(string)
[output]File "C:/..... More

Print this item

  Homework Help
Posted by: HoustonM11 - Sep-03-2019, 06:10 PM - Forum: Homework - Replies (7)

Hey guys, I'd appreciate some help on a homework question. It's very entry level and not too hard but due to my lack of any knowledge using python and..... More

Print this item

  restarting game code
Posted by: zyada7med - Sep-03-2019, 06:07 PM - Forum: Homework - Replies (5)

hi guys this is my code and i tried to make a game restart function but i couldn't can you help me please
[output]"""This program plays a game of Ro..... More

Print this item

  API-Call, Json und und Pygal
Posted by: starter_student - Sep-03-2019, 03:41 PM - Forum: Web Scraping & Web Development - Replies (6)

Moin!
hiermit entwickle ich eine jkleine WebApp mit Flask und da ich eine API verwenden möchte für eine Visualisierung von Wetter-Daten (Name, temp_m..... More

Print this item

  UnboundLocalError: local variable ' ' referenced before assignment
Posted by: d3fi - Sep-03-2019, 03:07 PM - Forum: General Coding Help - Replies (10)

I just cant find the problem here. I have searched for it. but that did not solve my problem.

[python]
def fentanyl(): # This one Works
v..... More

Print this item

  How to sharing object between multiple process from main process using Pipe
Posted by: Subrata - Sep-03-2019, 02:14 PM - Forum: General Coding Help - Replies (1)

I try to call multiprocessing to act my process faster.
At the moment I face some problems sharing some data with many processes from main process.
..... More

Print this item

  SQL statements with python pandas
Posted by: Johnse - Sep-03-2019, 01:56 PM - Forum: Data Science - No Replies

Hello,

Is there a way to create SQL statements with
python pandas without installing any python packages ?

For example with pandasql

We ne..... More

Print this item

  Queue maxsize
Posted by: mr_byte31 - Sep-03-2019, 12:00 PM - Forum: General Coding Help - Replies (2)

I have a problem to control the queue threads that I run.
I want to run 50 threads ( min of two numbers where 50 will be always the minimum) and when..... More

Print this item

  fcntl module not found - Windows
Posted by: kaushiikasuresh - Sep-03-2019, 11:14 AM - Forum: General Coding Help - No Replies

Using python 3.7.4 on Windows 10. Unable to install fcntl module and found that it is not written for Windows. Is there any solution to use fcntl modu..... More

Print this item

  How to find the pygame example files?
Posted by: Piethon - Sep-03-2019, 09:00 AM - Forum: Game Development - Replies (12)

Hello.

Pygame has examples. On their website, stands this:

To get the files, run this code in the python interpreter:

[python]
>>> import p..... More

Print this item

  Speech Recognition with timestamps
Posted by: DeanAseraf1 - Sep-03-2019, 04:58 AM - Forum: General Coding Help - Replies (3)

Hi
this is my code:

[python]
import speech_recognition as sr
r = sr.Recognizer()
with sr.AudioFile("PATH") as source:
audio = r.record(source)

t..... More

Print this item

  Numpy arrays and compatability with Fortran arrays
Posted by: merrittr - Sep-03-2019, 03:54 AM - Forum: Data Science - No Replies

I am trying to write some python code that will utilize a f2py fortran code


the Fortran arrays are defined like
#REAL TSFSROT(NLAT,NMOS,4)
..... More

Print this item

  Python Turtle 3D capabilities
Posted by: jotape1960 - Sep-03-2019, 02:02 AM - Forum: News and Discussions - Replies (3)

I'm so new in Python and I decided to start with some known area: The Turtle Graphics.

So, I want to know if the Python Turtle Graphics has 3D obje..... More

Print this item

  Python Script for parsing dictionary values from yaml file
Posted by: pawan6782 - Sep-02-2019, 11:32 PM - Forum: General Coding Help - Replies (3)

Requires Help ,using Python for accessing dictionary values from yaml file

Also , the yaml file will be passed as argument as INV file command line ..... More

Print this item

  what does sys.byteorder() return for others?
Posted by: Skaperen - Sep-02-2019, 10:18 PM - Forum: News and Discussions - Replies (2)

documentation describes sys.byteorder() as returning "little" for little-endian, and "big" for big-endian. what would it return for other byte orders..... More

Print this item

  'utf-8' codec can't decode byte 0xda in position 184: invalid continuation byte
Posted by: karkas - Sep-02-2019, 09:44 PM - Forum: General Coding Help - Replies (8)

Hi everyone,

I'm getting this error and have been looking online but don't really understand for my specific case and don't really know why th..... More

Print this item

  Having trouble with minute stock data
Posted by: MAZambelli4353 - Sep-02-2019, 08:14 PM - Forum: General Coding Help - Replies (2)

below is a slice of the data I'm dealing with and when I try to filter out a time its always giving me an error. I don't know if it has to do with ti..... More

Print this item

  Nelder-Mead gives wrong result
Posted by: Alex009988 - Sep-02-2019, 07:39 PM - Forum: Data Science - No Replies

Hello. I want to solve some optimization problem with Nelder-Mead algorithm. After that I want to port it into VBA.
So I use this code
[python]
cl..... More

Print this item

  PIP cannot install Pygame
Posted by: Amaly84 - Sep-02-2019, 07:35 PM - Forum: Game Development - Replies (6)

Hi, i am a newbee. I tried to install pygame with pip but it seems can't work. The process only stop at notification of "satisfied requirement" but wi..... More

Print this item

  Create database in python module ?
Posted by: Johnse - Sep-02-2019, 04:43 PM - Forum: News and Discussions - Replies (5)

Is there a way to create
database in python not confuse
with connect to external database.

And then write, import to and from it
to and from ..... More

Print this item

  geting started with Micropython on ESP 32 - do i need to have a virtual environment?
Posted by: apollo - Sep-02-2019, 04:25 PM - Forum: General Coding Help - No Replies

i am workin on getting started with MicroPython on ESP 32. i have read several postings here and made up my mind - but some questions still remain.

..... More

Print this item

  Need some help
Posted by: JoeM - Sep-02-2019, 04:17 PM - Forum: General Coding Help - Replies (3)

I am trying to create a little option for my script and found something online but it is not working: [python] def path() :
print ("1.Turn left")..... More

Print this item

  Python Newbie - Python & IIS
Posted by: fioranosnake - Sep-02-2019, 02:29 PM - Forum: Web Scraping & Web Development - No Replies

HI,

I have moved over to Python Web Development from aspx and VB. I have create a simple web app using vs2019 that runs perfectly in LocalHost on ..... More

Print this item

  Python sorts all arrays instead of one.
Posted by: Alex009988 - Sep-02-2019, 01:59 PM - Forum: General Coding Help - Replies (2)

Hello. I want only to sort c1. Using that code it sorts both c and c1
[python]def f(v):
x=v[0]
y=v[1]
return x**2 + x*y + y**2 - 6*x -..... More

Print this item

  Flask without Flask
Posted by: venquessa - Sep-02-2019, 12:37 PM - Forum: Networking - Replies (2)

Hi,

I have been writing a fairly extensive home automation system in Python (and C++ for microcontrollers). I have it all working and in operation f..... More

Print this item

  dataframe(pd) learning
Posted by: zarize - Sep-02-2019, 11:03 AM - Forum: Web Scraping & Web Development - No Replies

Hi guys,

I would like to extract my code into columns.

Why do i get only last row in the excel file?

[python]from bs4 import BeautifulSoup
i..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  My regex function is not ... 1 hour ago Moltar1997 bowlofred General Codin...
  best way to learn python 2 hours ago dutch ichsanputr News and Disc...
  silent deployment Python ... Yesterday, 11:51 Bummibaer Larz60+ News and Disc...
  data fetching for indian ... Yesterday, 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
  My goal to be hired worki... 11-21, 06:15 GnomeSweetGnome mamta25 News and Disc...
  [SOLVED] [BeautifulSoup] ... 11-20, 14:10 Winfried Winfried Web Scraping ...
  How to Implement Real-Tim... 11-20, 06:48 ankitsharma32 ankitsharma32 Web Scraping ...
  How to put my game loop i... 11-20, 04:59 temlotresid6 SledgeNE Game Developm...
  Help with running PvZ Fus... 11-20, 04:46 Barber532 SledgeNE Game Developm...
Most views
  The best Prog... 579354
  Tutorial Requ... 512299
  Web Scraping ... 442271
  Newbie with P... 386329
  New Users Int... 380141
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+ 12110
buran 8196
snippsat 7390
deanhystad 6916
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
python 6
NonEntity 5
buran 3
Newest members
ichsanputr Today
nicos18 Yesterday
Moltar1997 Yesterday
arthurlouiss Yesterday
LewisByday Yesterday

User Panel Messages

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