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,677
» Latest member: novitemi11
» Forum threads: 38,648
» Forum posts: 175,063

Full Statistics

Online Users
There are currently 356 online users.
» 1 Member(s) | 347 Guest(s)
Bing, Google, Baidu, Facebook, DeaD_EyE

Latest Threads
Custom Window Decorations...
Forum: General Coding Help
Last Post: emmausa
3 hours ago
» Replies: 4
» Views: 893
replace or remove text fr...
Forum: General Coding Help
Last Post: Pedroski55
5 hours ago
» Replies: 20
» Views: 1,069
Sourcetrail project
Forum: News and Discussions
Last Post: paul18fr
8 hours ago
» Replies: 0
» Views: 36
Deciding on a Macbook Pro...
Forum: Bar
Last Post: techthiru
10 hours ago
» Replies: 0
» Views: 58
Pylance: "... is not a kn...
Forum: General Coding Help
Last Post: MvGulik
Yesterday, 05:39 PM
» Replies: 2
» Views: 119
While loop is terminating...
Forum: Homework
Last Post: Plyth
Jul-05-2025, 01:49 AM
» Replies: 2
» Views: 272
PythonPath file
Forum: General Coding Help
Last Post: Pedroski55
Jul-04-2025, 10:56 PM
» Replies: 7
» Views: 19,835
Python Install Mager Help
Forum: News and Discussions
Last Post: snippsat
Jul-04-2025, 09:43 AM
» Replies: 5
» Views: 427
RemoTe server operation w...
Forum: General Coding Help
Last Post: mario17
Jul-04-2025, 07:18 AM
» Replies: 4
» Views: 363
Hide CLI while grabbing i...
Forum: GUI
Last Post: Gribouillis
Jul-03-2025, 08:12 AM
» Replies: 1
» Views: 202

 
  python3 on Mac OS X
Posted by: wyattbiker - Oct-30-2017, 12:31 PM - Forum: General Coding Help - Replies (3)

Hi just starting out on the Mac with python3. Need help in installing python3 correctly. It comes with python2 but no pip.

I just installed python3..... More

Print this item

  Comprehending a list comprehension!
Posted by: alidaf - Oct-30-2017, 09:58 AM - Forum: General Coding Help - Replies (4)

I have been given some example code that captures BLE broadcasts from beacons but there's a line that is really confusing me:

[python]data = [b for..... More

Print this item

  ModuleNotFoundError: No module named '_pywrap_tensorflow_internal'
Posted by: rajeev1729 - Oct-30-2017, 09:27 AM - Forum: Data Science - Replies (1)

Using TensorFlow backend.
[error]Traceback (most recent call last):
File "C:\Python 3.6.3\lib\site-packages\tensorflow\python\pywrap_tensorflow_in..... More

Print this item

  Working with files and dictionaries
Posted by: OmarSinno - Oct-30-2017, 08:46 AM - Forum: General Coding Help - Replies (1)

So,
[python]txt = open('testfile.txt','r')

d= {}

numLines = 0
#reading = txt.readlines()
read = txt.readline()
print(read)

for line in t..... More

Print this item

  Print func textbox instead of shell
Posted by: zykbee - Oct-30-2017, 06:30 AM - Forum: General Coding Help - Replies (1)

Can anyone help me print this simple function to a text box instead of the shell?
[python]
from tkinter import *
root = Tk()
root.geometry("800x800")
..... More

Print this item

  Manning pub. 50% off book sale
Posted by: Larz60+ - Oct-30-2017, 06:28 AM - Forum: News and Discussions - No Replies

Hello,

Code: HalloweenPB50 for 50% off any Manning paper book.

URL: https://www.manning.com/catalog

Print this item

  Recommendation for data structure
Posted by: muteboy - Oct-30-2017, 05:06 AM - Forum: General Coding Help - Replies (3)

Hi,
I'm self-teaching myself Python using examples and the excellent documentation.
My project is a program that uses a single random seed to genera..... More

Print this item

  PySerial Question
Posted by: PythonMan - Oct-30-2017, 03:59 AM - Forum: General Coding Help - Replies (2)

Hello,

I have installed PySerial and have been playing with its capabilities. I am somewhat new all around to Python as well as PySerial. I am loo..... More

Print this item

  Is inheritnace the only option
Posted by: QueenSvetlana - Oct-29-2017, 10:43 PM - Forum: General Coding Help - Replies (8)

I have a project I was working on in Java, and for fun, I decided to implement it in Python to see the amount of code and result. My requirements are ..... More

Print this item

  Clarification
Posted by: Hammuel - Oct-29-2017, 10:37 PM - Forum: General Coding Help - Replies (2)

This may seem like a stupid question.. But, I just started learning python today. And here is my dilemma, when coming across input I was confused as t..... More

Print this item

  Replacing variable in a split string and write new file python
Posted by: MyCode - Oct-29-2017, 07:44 PM - Forum: General Coding Help - Replies (1)

I need to open a modelica file, change a variable in a line
ex. parameter Modelica.SIunits.Height Hfsc = 3.7 "ground floor";
I need to change the Hf..... More

Print this item

  How to specify a Unicode character with Autokey keyboard.sendkeys()?
Posted by: ineuw - Oct-29-2017, 06:35 PM - Forum: General Coding Help - Replies (5)

I am attempting to send Unicode characters using Linux Autokey's 'keyboard.send_keys' command. The example below is for typing an mdash.
I am using ..... More

Print this item

  IndentationError: unexpected indent
Posted by: belikewater - Oct-29-2017, 06:09 PM - Forum: Homework - Replies (6)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  lz77 code
Posted by: Dob1 - Oct-29-2017, 04:37 PM - Forum: General Coding Help - Replies (2)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  No output from xlwings RunPython Macro
Posted by: branches - Oct-29-2017, 04:27 PM - Forum: General Coding Help - No Replies

I am attempting to use a basic example of xlwings. I have the following VBA script:

Sub Test()
RunPython ("import VBAtester; VBAtester.test()")
M..... More

Print this item

  Accept Multiple Lines of Input into a User Created File
Posted by: Bragger - Oct-29-2017, 04:15 PM - Forum: General Coding Help - No Replies

The problem starts when, from the terminal, as an example, the user cuts and pastes the following:

$thing1
thing2
thing3
thing4
...

When I o..... More

Print this item

  Problems installing Python - Failed to install MSI package
Posted by: Johnnyq70 - Oct-29-2017, 03:43 PM - Forum: General Coding Help - Replies (1)

Hello,
I am not sure if I have the correct forum so my apologize ahead of time if I do not.

I am trying to install a windows version of Python on..... More

Print this item

  import
Posted by: belikewater - Oct-29-2017, 02:59 PM - Forum: General Coding Help - Replies (1)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  When to decide whether or not to have an argument in a class method?
Posted by: JoeB - Oct-29-2017, 02:59 PM - Forum: General Coding Help - Replies (3)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  Im embarresed to ask, but Im stuck
Posted by: Smelt - Oct-29-2017, 08:50 AM - Forum: GUI - Replies (5)

Im getting a NameError: name ' Application ' is not defined error. I want to create a simple GUI interface using tkinter for the first time. I would a..... More

Print this item

  unicode writer
Posted by: rollupstudios - Oct-29-2017, 08:42 AM - Forum: Code sharing - Replies (1)

Hi Pythonists,

I have written a unicode writer using Python for Tamil and Malayalam.

Link:
https://github.com/rollupstudios/UnicodeWriter/

P..... More

Print this item

  simple problem
Posted by: Mostafa6687 - Oct-29-2017, 08:21 AM - Forum: General Coding Help - Replies (1)

hey guys I've got a simple problem but it's so frustrating
I am trying to write a code to print all "bob" in this string and print the count at the ..... More

Print this item

  UDP FTP server
Posted by: msDirecti0n - Oct-29-2017, 04:59 AM - Forum: Networking - Replies (2)

This is an assignment where I have to create a basic FTP server using UDP and also implement some reliable data transfer.
Below is some code that I h..... More

Print this item

  Web Scraping help
Posted by: drzmdbp - Oct-29-2017, 04:35 AM - Forum: Web Scraping & Web Development - Replies (3)

[python]
import requests
from bs4 import BeautifulSoup

url = 'http://thefuckingweather.com/Where/10468'
url_get = requests.get(url)
..... More

Print this item

  How to convert python files from 32 bits tto 64 bits
Posted by: sylas - Oct-29-2017, 03:02 AM - Forum: General Coding Help - Replies (2)

Hi all! I bought a 64 bits PC and would like to transfer many files of my old 32 bits PC. Once I a am on my 64 bits PC, I suppose there is a file some..... More

Print this item

  Angle
Posted by: kripso - Oct-29-2017, 02:18 AM - Forum: General Coding Help - Replies (12)

Hi guys i would like to know how do i change angle of thhings i programed on mac? Becouse when im on windows computer i just type angle but that doesn..... More

Print this item

  3 Finance Python Exercises
Posted by: mmkthen - Oct-28-2017, 11:12 PM - Forum: Homework - Replies (2)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  CSV output problem
Posted by: chisox721 - Oct-28-2017, 08:38 PM - Forum: General Coding Help - Replies (7)

Hi guys-New Python user here. I enjoy working with basketball statistics and have realized I need to figure out a more efficient way to scrape data fr..... More

Print this item

  Can't understand how it works
Posted by: wavic - Oct-28-2017, 06:36 PM - Forum: News and Discussions - Replies (3)

Well, I started to learn kivy and have tried to build an Android app using buildozer. I run buildozer android debug with an error an..... More

Print this item

  Anaconda and other ways to run Python
Posted by: snippsat - Oct-28-2017, 06:16 AM - Forum: Python Installation and Execution - No Replies

This will mainly be about Anaconda and some other ways to run Python.
When i mention OS Python is from Python.org and tutorial for Windows [url=https..... More

Print this item

  Insert select
Posted by: UtiliseIT - Oct-28-2017, 04:45 AM - Forum: General Coding Help - Replies (1)

Hi,

What is the process of inserting some records based on a select statement? I am using PyMySql.

An example or link to tutorial would be great..... More

Print this item

  Executing a MySQL Stored Procedure with variable
Posted by: UtiliseIT - Oct-28-2017, 04:35 AM - Forum: General Coding Help - No Replies

Hi,

Newbie here just trying to get a simple insert SP that requires 1 parameter (called BrandandRetailer) with PyMySQL.

Cant quite get the syntax ri..... More

Print this item

  How to keep duplicates and remove all other items in list?
Posted by: student8 - Oct-28-2017, 03:09 AM - Forum: Homework - Replies (1)

I am trying to make a function that returns a new list where each item that appears an odd number of times in l is removed

For example,
A list li..... More

Print this item

  roulette game
Posted by: atux_null - Oct-28-2017, 12:03 AM - Forum: Homework - Replies (6)

[nodisplay]To make helping easy, please show a runnable example of your code with the full error text or a clear description of the problem. For impro..... More

Print this item

  SQLite NO column exists
Posted by: rachitmishra25 - Oct-27-2017, 08:54 PM - Forum: General Coding Help - Replies (1)

I am trying to insert values into a SQLite DB integrated with Python. I have done that successsfully for most of the tables with an exception of one w..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Custom Window Decorations... 3 hours ago Beenman11 emmausa General Codin...
  replace or remove text fr... 5 hours ago Curbie Pedroski55 General Codin...
  Sourcetrail project 8 hours ago paul18fr paul18fr News and Disc...
  Deciding on a Macbook Pro... 10 hours ago techthiru techthiru Bar
  Pylance: "... is not a kn... Yesterday, 17:39 MvGulik MvGulik General Codin...
  While loop is terminating... 07-05, 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...
Most views
  The best Prog... 572438
  Tutorial Requ... 485329
  Web Scraping ... 436970
  Newbie with P... 379830
  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 7346
deanhystad 6846
metulburr 5151
Top referrers
Googlepro 23
python 6
metulburr 6
NonEntity 5
as1221 3
Newest members
novitemi11 Today
emmausa Today
KhaledBaqri Today
CarlaRogersWI Yesterday
techthiru Yesterday

User Panel Messages

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