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,938
» Latest member: atylerfraces2254
» Forum threads: 38,722
» Forum posts: 175,511

Full Statistics

Online Users
There are currently 73 online users.
» 0 Member(s) | 68 Guest(s)
Applebot, Bing, Google, AOL

Latest Threads
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
2 hours ago
» Replies: 11
» Views: 3,904
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Yesterday, 07:55 PM
» Replies: 2
» Views: 432
Scraping a page with log ...
Forum: Web Scraping & Web Development
Last Post: Hershien
Yesterday, 12:30 PM
» Replies: 1
» Views: 3,428
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Yesterday, 11:11 AM
» Replies: 4
» Views: 790
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 2,260
datetime in SQL query.
Forum: General Coding Help
Last Post: Dibbley
Sep-17-2025, 10:31 AM
» Replies: 3
» Views: 1,136
Another app idea - intera...
Forum: News and Discussions
Last Post: Lenowell
Sep-16-2025, 07:07 AM
» Replies: 1
» Views: 1,355
real community
Forum: News and Discussions
Last Post: decuser
Sep-15-2025, 08:16 PM
» Replies: 3
» Views: 2,341
variable changing types f...
Forum: General Coding Help
Last Post: Gribouillis
Sep-15-2025, 06:45 PM
» Replies: 1
» Views: 1,465
looking for help
Forum: Bar
Last Post: Azdaghost
Sep-15-2025, 05:03 PM
» Replies: 0
» Views: 1,024

 
  Curses could not find terminal
Posted by: Solstice - Jan-04-2018, 02:18 PM - Forum: General Coding Help - Replies (13)

I want to start programming with the module curses in Python on my
Raspberry pi3(with rasbian), But I already ran into a problem.

I wrote my firs..... More

Print this item

  Bug or my misunderstanding?
Posted by: MrSteveVee - Jan-04-2018, 02:13 PM - Forum: General Coding Help - Replies (2)

Hi all, I am trying to get to grips with Python using Visual Studio 2017 on Windows 10 and have a problem that may be a bug in VS or my misunderstandi..... More

Print this item

  cross-compiling python with zlib support
Posted by: michelebucca - Jan-04-2018, 01:19 PM - Forum: News and Discussions - Replies (5)

Hi There
Has anybody ever tried to cross-compile python with zlib support for another architecture?
I'm trying to cross-compile Python for my embedded..... More

Print this item

  Error while executing makemessages command
Posted by: sonic911 - Jan-04-2018, 10:19 AM - Forum: Web Scraping & Web Development - Replies (2)

Hello!
I'm creating multilingual website.

When I try to execute:

$python manage.py makemessages -l de
I get an error:

[python]..... More

Print this item

  df and regex, NaN and df.concat
Posted by: metalray - Jan-04-2018, 10:04 AM - Forum: Homework - Replies (8)

Hi Pandas experts,

I got some messy data with dates like:

[b]04/20/2001; 04/20/11; 4/20/09; 4/3/01
Mar-20-2001; Dec 20, 2009; April 20, 2009; M..... More

Print this item

  Pregnancy caculator
Posted by: Niko - Jan-04-2018, 08:57 AM - Forum: General Coding Help - Replies (2)

How do I make it so whenever I input "condom pullout birthcontrol spermicide" to work



[python]
print("pregnant percentage").upper()
print("-"..... More

Print this item

  Array NaN values? ValueError: continuous format is not supported
Posted by: metalray - Jan-04-2018, 08:44 AM - Forum: Homework - Replies (3)

Hi,

I do have this ValueError: continuous format is not supported problem again.

[python]
auc_roc = roc_auc_score(fpr, tpr)

#"roc_auc" is a ..... More

Print this item

  Python 3.6 geetin error : pyimod03_importers.py
Posted by: Rajnishbsm - Jan-04-2018, 06:31 AM - Forum: Data Science - Replies (3)

Hi experts,
After converting python program to exe, i am getting pyimod03_importers.py error
Although I have imported pandas,xlrd,numpy and pyinsta..... More

Print this item

  2 iterators or generators
Posted by: Skaperen - Jan-04-2018, 04:53 AM - Forum: General Coding Help - Replies (1)

i want to be able to interleave two or more iterator or generators, including stepping one or more of them fewer or more times as coded logic may dict..... More

Print this item

  BeautifulSoup - extract table but not using ID
Posted by: jonesin1974 - Jan-04-2018, 02:49 AM - Forum: Web Scraping & Web Development - Replies (5)

Hi,

I am scraping data from a web page but none of the items have an ID. I'm struggling to find an example so here goes...

The table looks like..... More

Print this item

  Unable to load cookies with Pickle
Posted by: HiImNew - Jan-04-2018, 01:30 AM - Forum: Web Scraping & Web Development - Replies (5)

Full Code:
[python]
>>> while True:
from selenium import webdriver
driver = webdriver.Chrome()
import pickle
cookies = pickle.load(open("coo..... More

Print this item

  Dictionary methods
Posted by: Wolfpack2605 - Jan-04-2018, 01:12 AM - Forum: General Coding Help - Replies (2)

Can someone please explain what is happening here. I have no clue what val is or what .get is. Please explain.

[quote]Earlier in this module we loo..... More

Print this item

  Error in dictionaries
Posted by: Wolfpack2605 - Jan-03-2018, 11:52 PM - Forum: Homework - Replies (3)

I'm having trouble with an error in my code and I cannot find out why it is happening.

This is the task:
[i]Most non-smartphone mobile phones have..... More

Print this item

  eliza
Posted by: ghoti69 - Jan-03-2018, 11:39 PM - Forum: General Coding Help - Replies (5)

I have the source code for eliza. I am getting a syntax error.line 260, says missing parentheses in my print statement. can someone, straiten me out...... More

Print this item

  Number Guessing Game - Need Help
Posted by: joekbaum - Jan-03-2018, 10:53 PM - Forum: General Coding Help - Replies (8)

I am trying to create a program where the user chooses a number between 1-100 and the computer tries to guess it in as few tries as possible. I think ..... More

Print this item

  Array in numpy
Posted by: Truman - Jan-03-2018, 10:42 PM - Forum: Data Science - Replies (5)

I installed modul numpy and wrote this code:

[python]
import numpy as np
height = [ 1.73, 1.68, 1.71, 1.89, 1.79]
weight = [ 65.4, 59.2, 63.6, 8..... More

Print this item

  installing packages Globally vs Virtually
Posted by: karaokelove - Jan-03-2018, 10:07 PM - Forum: General Coding Help - Replies (2)

Hi all, I was wondering what are best practices regarding installing packages globally vs installing in a virtual environment. What would be some good..... More

Print this item

  COMPLETE BEGINNER TO NETWORKING. HELP?
Posted by: ShadowWarrior17 - Jan-03-2018, 09:42 PM - Forum: Networking - Replies (11)

I am looking to create a LAN game on python. I am currently in the works of a connect four game.

Can anyone tell/show how to setup a server, so it'..... More

Print this item

  Multiple gets from JSON?
Posted by: alex36540 - Jan-03-2018, 09:40 PM - Forum: General Coding Help - Replies (2)

Hello, I am writing a script using and Instagram API to get data from users. Here is the link for the Github page: https://github.com/LevPasha/Instagr..... More

Print this item

  Connect Four Win Check Function
Posted by: ShadowWarrior17 - Jan-03-2018, 09:37 PM - Forum: General Coding Help - Replies (7)

I am creating a Connect Four game and was wondering on how to create a function to determine if a player has won.

This is my board:
[python]
"| ..... More

Print this item

  TypeError: unhashable type: 'list'
Posted by: Andreas - Jan-03-2018, 09:31 PM - Forum: General Coding Help - Replies (3)

Hello.
I'm trying to learn to code. I've done some simpler scripts in MEL and Python in Maya but I would like to learn more.

I'm stuck and I don't..... More

Print this item

  Interesting article on PyTourch
Posted by: Larz60+ - Jan-03-2018, 09:06 PM - Forum: News and Discussions - No Replies

https://www.oreilly.com/ideas/when-two-t...er-systems

Print this item

  Oauth1 - python3
Posted by: user256 - Jan-03-2018, 07:22 PM - Forum: General Coding Help - Replies (1)

Python3 - Currently trying to sign a HTTP request to access an API, unfortunately I keep running into an issue with requests.

using: https://pypi...... More

Print this item

  pyinstaller generated code gets flagged by NIS
Posted by: kris44dad - Jan-03-2018, 05:43 PM - Forum: General Coding Help - Replies (3)

I just started learning python. I wrote the following source code to generate a ~1GB size file.

[python]
seed_number = 1073741824
datastring = "0..... More

Print this item

  Django REST - input of some form fields is send twice to the backend
Posted by: ann - Jan-03-2018, 03:09 PM - Forum: Web Scraping & Web Development - Replies (4)

Does anybody had the same problem? Some users' inputs are sent to the backend twice.

Data are stored in JSON's object. Key-value schema doesn't trigg..... More

Print this item

  os.rename Windows remove illegal char
Posted by: fgerrata - Jan-03-2018, 02:06 PM - Forum: Web Scraping & Web Development - Replies (3)

I need help to understand the best partice to remove illegal char from file and path name.

[b] [i] Windowz (FAT32, NTFS): Any Unicode except NUL,..... More

Print this item

  Click on button with python mechanize
Posted by: torlkius - Jan-03-2018, 01:20 PM - Forum: Web Scraping & Web Development - Replies (3)

Hello,

I would like to click a button using mechanize but I can't find the right code.

Until then, I had succeeded because I was going through ..... More

Print this item

  Script to read, write data to excel file and update it to firebase
Posted by: Expertlearner - Jan-03-2018, 01:08 PM - Forum: General Coding Help - Replies (1)

I am going to do a project on database analysis where the data is read from an excel file. The user should be able to [i]search for the dates, ..... More

Print this item

  extract specific dat from txt file
Posted by: mephist34 - Jan-03-2018, 12:41 PM - Forum: General Coding Help - Replies (1)

I have alot of txt files that contains data i need to extract; for example:

[python] ** n zone 1 vzone= 465.99 / 1 2 3 4 5 6 7 8 ..... More

Print this item

  Excel Column as List
Posted by: champk - Jan-03-2018, 12:38 PM - Forum: General Coding Help - Replies (2)

Hi Everyone,

I am new to python. My requirement is to load a particular excel column as list and then count distinct values in that list.

Kindl..... More

Print this item

  ValueError: could not convert string to float: .
Posted by: BoaCoder3 - Jan-03-2018, 12:24 PM - Forum: General Coding Help - Replies (3)

In this programme i'm trying to solve a mathematical ratio problem, then calculate the squareroot, however, whenever i try to give it input like this:..... More

Print this item

  Why args type is always tuple, when passed it as argument to the function.
Posted by: praveena - Jan-03-2018, 12:04 PM - Forum: General Coding Help - Replies (5)

I am passing list argument to the function. But type of args is always tuple.
I would like to know the specific reason for this behavior?
[python]
..... More

Print this item

  Reading specific rows (lookup)
Posted by: rumbles - Jan-03-2018, 12:01 PM - Forum: General Coding Help - Replies (3)

I would like to pull data from a csv, rather than manually enter date range and filename every time.

In my csv, example rows:

2018, 01, 201..... More

Print this item

  What dose these commands mean?
Posted by: Mads - Jan-03-2018, 11:51 AM - Forum: Homework - Replies (6)

What dose these commands mean? Huh Variable, Import random, Def(Getwords, Return, Checklists)While, Print, Input, For n in range, List. From a c..... More

Print this item

  easysnmp ImportError: cannot import name Session
Posted by: anna - Jan-03-2018, 10:50 AM - Forum: General Coding Help - Replies (2)

Hi


Package:- easysnmp0.2.5
Error:- ImportError: cannot import name Session

Python version: 2.7.5


[python]Python 2.7.5 (default, Aug 4 ..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  403 Error 2 hours ago CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... Yesterday, 19:55 arbiel arbiel General Codin...
  Scraping a page with log ... Yesterday, 12:30 iamaghost Hershien Web Scraping ...
  C++ program embedding Pyt... Yesterday, 11:11 Alexandros Alexandros General Codin...
  [Tkinter] Too much space ... 09-17, 11:22 RonR RonR GUI
  datetime in SQL query. 09-17, 10:31 Dibbley Dibbley General Codin...
  Another app idea - intera... 09-16, 07:07 decuser Lenowell News and Disc...
  real community 09-15, 20:16 decuser decuser News and Disc...
  variable changing types f... 09-15, 18:45 Azdaghost Gribouillis General Codin...
  looking for help 09-15, 17:03 Azdaghost Azdaghost Bar
  Seeking feedback: dynamic... 09-15, 15:28 Bona2000 Bona2000 General Codin...
Most views
  The best Prog... 576332
  Tutorial Requ... 498065
  Web Scraping ... 440243
  Newbie with P... 384095
  New Users Int... 366992
Most reputation
buran 581
snippsat 508
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+ 12089
buran 8175
snippsat 7368
deanhystad 6891
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
atylerfraces2254 Today
AdrianCocian Today
humanoidAI Today
Baran12332 Yesterday
Hershien Yesterday

User Panel Messages

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