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,960
» Latest member: llarkin6
» Forum threads: 38,729
» Forum posts: 175,538

Full Statistics

Online Users
There are currently 50 online users.
» 0 Member(s) | 46 Guest(s)
Google, Bing, AOL, Mojeek

Latest Threads
Unable to resolve FileNot...
Forum: General Coding Help
Last Post: Pedroski55
1 hour ago
» Replies: 3
» Views: 228
how to export a dictionar...
Forum: GUI
Last Post: noisefloor
Yesterday, 05:13 PM
» Replies: 4
» Views: 655
Is the interpreter that c...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:17 PM
» Replies: 1
» Views: 751
pdf file processing: how ...
Forum: General Coding Help
Last Post: noisefloor
Yesterday, 01:14 PM
» Replies: 6
» Views: 4,985
Regarding pdf for PCEP an...
Forum: News and Discussions
Last Post: Biks
Yesterday, 09:50 AM
» Replies: 1
» Views: 1,642
Using Python to SSH and R...
Forum: Networking
Last Post: SprunkiRetake
Yesterday, 03:53 AM
» Replies: 1
» Views: 2,685
My goal to be hired worki...
Forum: News and Discussions
Last Post: GnomeSweetGnome
Yesterday, 12:32 AM
» Replies: 0
» Views: 312
extracting data from a us...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-25-2025, 01:49 PM
» Replies: 2
» Views: 536
pip install requests does...
Forum: General Coding Help
Last Post: DeaD_EyE
Sep-24-2025, 02:48 PM
» Replies: 10
» Views: 29,982
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Sep-23-2025, 12:00 PM
» Replies: 4
» Views: 9,761

 
  Python lists help
Posted by: abdullahali - Oct-08-2018, 11:12 PM - Forum: Homework - Replies (2)

So I am supposed to Use a single list comprehension to create a list of lists where each sublist consists of a pirate’s name,
and the value of his/he..... More

Print this item

  Create a List for Boolean Mask.
Posted by: leoahum - Oct-08-2018, 09:34 PM - Forum: General Coding Help - Replies (4)

Hi all,

I am trying to find a better way to create a Boolean Mask based on certain conditions. Here is the question and my way to answer it.

[b]..... More

Print this item

  pyinstaller Os diversion problem
Posted by: nadjibSoft - Oct-08-2018, 09:12 PM - Forum: General Coding Help - Replies (5)

I finished my python Program and i convert it to exe standalone app using pyinstaller. the OS i run the pyinstaller under is windows 32 bit

now, my..... More

Print this item

  .remove() method in for-loop
Posted by: nzcan - Oct-08-2018, 07:39 PM - Forum: Homework - Replies (7)

it is clear what this code do:
[python]>>> sw = ['go', 'bo']
>>> for cm in sw:
... if cm == 'bo':
... sw.remove(cm)
...
>>> sw
['go'] [/py..... More

Print this item

  Gtk.EntryCompletion, get all suggestions, not only beginning with entered string.
Posted by: TimeMen - Oct-08-2018, 06:44 PM - Forum: GUI - No Replies

Hey there,

Have a Gtk.EntryCompletion connected to a textbox like this:
[python]
liststore = Gtk.ListStore(str)
f = open("vogelarten_dt.info", '..... More

Print this item

  Absolute Beginner to Python
Posted by: dthomp54 - Oct-08-2018, 06:26 PM - Forum: General Coding Help - Replies (5)

I am an absolute beginner to python. I am learning through CodeHS. I cannot figure what I'm doing wrong with a particular assignment. It's the Guess t..... More

Print this item

  Python Oracle query
Posted by: onenessboy - Oct-08-2018, 04:41 PM - Forum: Data Science - Replies (5)

Hi Friends,

Trying to connect to oracle database and query a table based on value passed to it via runtime parameter and place result set in panda..... More

Print this item

  Python package installation issue.
Posted by: msomasun - Oct-08-2018, 03:57 PM - Forum: News and Discussions - Replies (3)

Hi

I have installed python3.6 in a custom path and set the python home ($PYTHON_HOME) and python path ($PATH).

when I tried to install any pa..... More

Print this item

  Beginner Help - Geany and Cmder
Posted by: Pogosaur - Oct-08-2018, 02:13 PM - Forum: General Coding Help - Replies (2)

Hello, I've recently decided to finally start learning a programming language and I chose Python. I bought the book "Python Crash Course: A Hands-On, ..... More

Print this item

  Combining several py files
Posted by: ebolisa - Oct-08-2018, 12:36 PM - Forum: General Coding Help - Replies (5)

Hi,

I’m building an alarm clock based on the Raspberry Zero board, a LED display (https://learn.adafruit.com/adafruit-led-...ch-7-segme..... More

Print this item

  Python Music Quiz
Posted by: lynden - Oct-08-2018, 12:12 PM - Forum: General Coding Help - Replies (6)

I need a music quiz for python, where a random song is stored in an external file. The artist and the first letter of each word in displayed
The user..... More

Print this item

  HeatMap plot with arduino serial data
Posted by: tshivam - Oct-08-2018, 10:57 AM - Forum: Data Science - No Replies

Hi,
I am porting arduino serial data in form of comma separated values in python shell.
When i am receiving these values in the python shell. I am..... More

Print this item

  Beutifulsoup: how to pick text that's not in HTML tags?
Posted by: pitonas - Oct-08-2018, 10:33 AM - Forum: Web Scraping & Web Development - Replies (4)

Hello guys,

I'm building a web scraper and everything went smooth so far until I came across such situation:

There is a <p> tag that contains th..... More

Print this item

  df string manipulation before / after / when single digit pad zero
Posted by: metalray - Oct-08-2018, 09:58 AM - Forum: Data Science - Replies (3)

Dear Python Experts,

I have some dates that I need to clearn up.

[python]
d = {'col1': ['1/25/84', '2/8/86'],}
dfdates = pd.DataFrame(data=d)..... More

Print this item

  Python - Scrapy Javascript Pagination (next_page)
Posted by: Baggelhsk95 - Oct-08-2018, 09:13 AM - Forum: Web Scraping & Web Development - Replies (3)

Hello guys...i made this script for this website....but my pagination doesn't work because its just javascript...and when you click nextpage the conta..... More

Print this item

  Implement Python Class
Posted by: jill1978 - Oct-08-2018, 06:11 AM - Forum: Homework - Replies (1)

Implement the class Whatsit as defined below.

A Whatsit object should have 3 attributes:

Print this item

  Python Objects and functions
Posted by: jill1978 - Oct-08-2018, 05:42 AM - Forum: Homework - Replies (1)

I am given the following data-file:

stars.csv

[python]
Peter Piper,23,89.4,1.82
Polly Perkins,47,148.8,1.67
Griselda Gribble,92,48,1.45
Ivan Ng,..... More

Print this item

  Noob question on Mac python3, pydoc3
Posted by: JamesNJ - Oct-08-2018, 04:26 AM - Forum: General Coding Help - No Replies

Probably a very simple question. I'm using MacOS and installed the latest python3 binary from python.org. Trying to follow along with tutorials to lea..... More

Print this item

  easy to install python meterpreter windows
Posted by: juanb007 - Oct-08-2018, 04:06 AM - Forum: General Coding Help - Replies (1)

Hi
In order to learn python i want to install a an easy to install python meterpreter in windows so i can practice my scripts. which one you recommen..... More

Print this item

  looking for a GUI digital clock
Posted by: Skaperen - Oct-08-2018, 01:55 AM - Forum: Bar - Replies (4)

i am looking for a GUI LED-style digital clock program. the digits need to automatically fill the window i need to have a setting to set hour..... More

Print this item

  Need help
Posted by: abdullahali - Oct-08-2018, 01:19 AM - Forum: Homework - Replies (1)

praire_pirates = [['Tractor Jack', 1000, True], ['Plowshare Pete', 950, False], ['Praire Lily', 245, True], ['Red River Rosie', 350, True], ['Mad At..... More

Print this item

  python how to
Posted by: mmmmm - Oct-08-2018, 01:11 AM - Forum: General Coding Help - Replies (5)

A dictionary with 6 elements: keys are integers 1 to 6, values are corresponding number of 
occurrence Description: 
You roll the dice 10,000 times. E..... More

Print this item

  global namespace of an imported function (2 Qs)
Posted by: Skaperen - Oct-08-2018, 01:09 AM - Forum: General Coding Help - Replies (4)

the global namespace of an imported function seems to be separate/distinct from the global namespace of the caller. [b]so when is the function's glob..... More

Print this item

  Changing Directory; Syntax Error
Posted by: DavidRobinsons - Oct-08-2018, 01:03 AM - Forum: General Coding Help - Replies (1)

I am studying now about importing modules. Of course I started with the basics. I am running the latest version of Python on Windows 8.1.
Here is my ..... More

Print this item

  what does this expression yield?
Posted by: Skaperen - Oct-07-2018, 07:49 PM - Forum: Bar - Replies (4)

what does this expression yield? 3-(len(repr(9223372036854775808))-19)

Print this item

  Object database
Posted by: eduardoforo - Oct-07-2018, 07:47 PM - Forum: News and Discussions - Replies (1)

I have always used SQL relational databases.
In an application where you work with many objects, lists and dictionaries, is it worth using a object d..... More

Print this item

  times greater number than the previous
Posted by: rhai - Oct-07-2018, 06:11 PM - Forum: Homework - Replies (4)

I am trying to know how many elements are greater than the previous number. im trying to input 1,5,2,4,3,0 but when it comes to the 4 and 3, the "time..... More

Print this item

  attempting to run gimp-console from python in windows 10
Posted by: matteusbeus - Oct-07-2018, 05:52 PM - Forum: General Coding Help - Replies (3)

Hi all,
I'm trying to run gimp-console 2.8 via the subprocess.check_output command but it doesn't seem to work. I get "error [WinError 2] The system c..... More

Print this item

  not defined error
Posted by: rtbr17 - Oct-07-2018, 03:11 PM - Forum: General Coding Help - Replies (2)

[python]
class Restaurant():
"""Restaurant example"""

def __init__(self, restaurant_name, cuisine_type):
"""Initialize resta..... More

Print this item

  Trouble with Pyserial and Arduino
Posted by: LiTing - Oct-07-2018, 09:39 AM - Forum: General Coding Help - Replies (3)

My Python Programme is sending the wrong data to my arduino. Do anyone have any ideas?
The code is as follows:
s.write(str.encode('S'))

I want ..... More

Print this item

  find any item in the list
Posted by: evilcode1 - Oct-07-2018, 08:11 AM - Forum: General Coding Help - Replies (5)

hello all ...

im coding a program to get the internet browsers names and dir's from the windows if he found the process ...
this is my code :
..... More

Print this item

  Adding Bluetooth Help
Posted by: Tylersuard - Oct-07-2018, 06:33 AM - Forum: General Coding Help - No Replies

Hello. I've heard this forum is full of helpful, nice people.

I have the Google AIY Vision kit. I am using the Joy Detector Demo (https://github...... More

Print this item

  How to handle "History" in ptpython
Posted by: sylas - Oct-07-2018, 05:30 AM - Forum: General Coding Help - Replies (4)

Hi all ! First of all I don't know how to highlight 'History'. Then I should like to set history to a reasonable value of 10. Thanks in advance.

Print this item

  Challenge with my string
Posted by: SpencerH - Oct-06-2018, 11:11 PM - Forum: General Coding Help - Replies (3)

I am working on a script and I get an attachment emailed then check for the mail and open the attachment. So far I open it as a text string object fro..... More

Print this item

  Download email attachments and then format the data
Posted by: SpencerH - Oct-06-2018, 04:56 PM - Forum: Networking - Replies (2)

I have been working on a script for work that downloads email via IMAP, so I use IMAPClient to do that and I can get the emails and see the content. N..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  Unable to resolve FileNot... 1 hour ago llarkin6 Pedroski55 General Codin...
  [Tkinter] how to export a... Yesterday, 17:13 RonR noisefloor GUI
  Is the interpreter that c... Yesterday, 13:17 helendamdam noisefloor General Codin...
  pdf file processing: how ... Yesterday, 13:14 Pavel_47 noisefloor General Codin...
  Regarding pdf for PCEP an... Yesterday, 09:50 P212 Biks News and Disc...
  Using Python to SSH and R... Yesterday, 03:53 justaguy SprunkiRetake Networking
  My goal to be hired worki... Yesterday, 00:32 GnomeSweetGnome GnomeSweetGnome News and Disc...
  extracting data from a us... 09-25, 13:49 Perry DeaD_EyE General Codin...
  pip install requests does... 09-24, 14:48 misodca DeaD_EyE General Codin...
  Creating a Mindmap progra... 09-23, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... 09-23, 09:08 compuman145 compuman145 General Codin...
Most views
  The best Prog... 577069
  Tutorial Requ... 499878
  Web Scraping ... 440814
  Newbie with P... 384802
  New Users Int... 368925
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+ 12088
buran 8176
snippsat 7367
deanhystad 6896
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
llarkin6 Yesterday
Xuitar Yesterday
SprunkiRetake Yesterday
GnomeSweetGnome 09-25
alxpetrovo2272 09-25

User Panel Messages

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