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,948
» Latest member: victorcrown
» Forum threads: 38,727
» Forum posts: 175,525

Full Statistics

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

Latest Threads
PROFESSIONAL SOLUTIONS FO...
Forum: General Coding Help
Last Post: victorcrown
3 hours ago
» Replies: 0
» Views: 44
Creating a Mindmap progra...
Forum: General Coding Help
Last Post: Pedroski55
Yesterday, 12:00 PM
» Replies: 5
» Views: 9,190
IBKR Purchasing code issu...
Forum: General Coding Help
Last Post: compuman145
Yesterday, 09:08 AM
» Replies: 0
» Views: 90
A coding beginner needs h...
Forum: General Coding Help
Last Post: Littlefish
Yesterday, 03:29 AM
» Replies: 2
» Views: 493
Is the interpreter that c...
Forum: General Coding Help
Last Post: helendamdam
Yesterday, 02:36 AM
» Replies: 0
» Views: 125
Using a For Loop to subtr...
Forum: General Coding Help
Last Post: deanhystad
Sep-22-2025, 08:56 PM
» Replies: 9
» Views: 650
403 Error
Forum: Web Scraping & Web Development
Last Post: snippsat
Sep-20-2025, 04:28 PM
» Replies: 11
» Views: 4,874
what does % stand for in ...
Forum: General Coding Help
Last Post: arbiel
Sep-19-2025, 07:55 PM
» Replies: 2
» Views: 1,169
C++ program embedding Pyt...
Forum: General Coding Help
Last Post: Alexandros
Sep-19-2025, 11:11 AM
» Replies: 4
» Views: 1,526
Too much space between gr...
Forum: GUI
Last Post: RonR
Sep-17-2025, 11:22 AM
» Replies: 4
» Views: 3,097

 
  Diffusion limited aggregation
Posted by: pythonic - Jun-11-2018, 09:45 PM - Forum: General Coding Help - No Replies

[align=left]Hello, “diffusion limited aggregation” is an algorithm that allows drawing a pattern.
My goal is to vary some parameters in the script to..... More

Print this item

  Execute a file within another Python file in Spyder
Posted by: Antonio - Jun-11-2018, 06:46 PM - Forum: General Coding Help - Replies (1)

So I need to run a file (file_1.py) within another file (file_2.py), and use the variables/outputs that are created via file_1.py in file_2.py! In fil..... More

Print this item

  Trying to understand how import works in python
Posted by: patrick99e99 - Jun-11-2018, 06:35 PM - Forum: General Coding Help - Replies (3)

I am using a python application which requires SimpleWebsocketServer..

I have done:

[quote]python3 -m pip install git+https://github.com/ecdsa/s..... More

Print this item

  Convert element of list to integer(Two dimentional array)
Posted by: zorro_phu - Jun-11-2018, 06:08 PM - Forum: Data Science - Replies (3)

I'm trying to learn arrays(with numpy) in python3 but i am not able to figure out how do i convert the elements of list to integer(in my case i have t..... More

Print this item

  How hard is this?
Posted by: Phillips45 - Jun-11-2018, 05:49 PM - Forum: General Coding Help - No Replies

Hi all,

I am new to the RPI and a complete NOOB..I do believe Python can be used to code the below?

Please can someone tell me how difficult it..... More

Print this item

  OSError: [Errno 22] Invalid argument - wasn't there last time I ran the code!
Posted by: meganhollie - Jun-11-2018, 04:43 PM - Forum: General Coding Help - Replies (2)

Hi - I'm going to preface this by saying that I have VERY little coding experience, and am cobbling a topic modeling program for a paper I'm writing. ..... More

Print this item

  Matlab to Python
Posted by: Ariane - Jun-11-2018, 02:22 PM - Forum: Data Science - Replies (6)

I'm trying to convert the following MATLAB code to Python. So far my attempts have not yielded a positive result.

opts = detectImportOptions('Z_Azi..... More

Print this item

  Help with CSV importing
Posted by: Grin - Jun-11-2018, 01:29 PM - Forum: Homework - Replies (1)

I am attempting ..... More

Print this item

  Windows cannot find "wish.exe" - error while trying to run PAGE
Posted by: Nwb - Jun-11-2018, 12:08 PM - Forum: General Coding Help - No Replies

I have never used PAGE, this is the first time. But when I try to run it after installation, it says "Windows cannot find wish.exe". But I already hav..... More

Print this item

  python documentation
Posted by: j4py - Jun-11-2018, 11:55 AM - Forum: News and Discussions - Replies (11)

Does anyone know where I can get a python 2 / 3 API? The documentation that ships with python is a disaster. Thanx for your help.

Print this item

  Copy List [Help Needed]
Posted by: Patricamillie - Jun-11-2018, 10:53 AM - Forum: General Coding Help - No Replies

Hey all,

Any pointers on how to solve this -

A linked list is given such that each node contains an additional random pointer which could point..... More

Print this item

  Is it possible to find if Mr XXX is registered in yahhoo.fr
Posted by: sylas - Jun-11-2018, 09:07 AM - Forum: Web Scraping & Web Development - Replies (1)

Hi all ! I just learned about BeautifulSoup. I wander if I can find if someone is registered in yahoo, and so I can send a mail to him.

Print this item

  Is there any way to simulate clicks/typing to an inactive window using Python?
Posted by: Nwb - Jun-11-2018, 06:53 AM - Forum: General Coding Help - Replies (1)

By the way, I'm a windows user. A lot of windows-automation scripting programs have this function (although not always effective) so I was wondering i..... More

Print this item

  Django - Passing data from view for use client side with JavaScript in a template
Posted by: bountyhuntr - Jun-11-2018, 06:04 AM - Forum: Web Scraping & Web Development - No Replies

Hello everyone,


I am developing a text-based RPG game in Django for learning purposes and I am wondering what the best way would be to run an eve..... More

Print this item

  beatifulsoup scrap td tag.
Posted by: piuk3man - Jun-11-2018, 04:54 AM - Forum: Web Scraping & Web Development - Replies (1)

Hello,I 'm learning python and beatiful soup. Unfortunately, theory 's one thing and practise is another. I 'm trying to scrape a site, and to be more..... More

Print this item

  James Brown
Posted by: Skaperen - Jun-11-2018, 03:51 AM - Forum: Bar - No Replies

just imagining the James Brown song "It's a Man's World" changed to "It's a Python World".

Print this item

  Pokemon in python (beta)
Posted by: RandomCoder - Jun-11-2018, 01:01 AM - Forum: Code sharing - Replies (2)

This is a program I made from an idea I had, I will improve the program throughout, any suggestions are appreciated Smile , this is what I have f..... More

Print this item

  3D graphic
Posted by: lollie - Jun-10-2018, 06:24 PM - Forum: Data Science - Replies (2)

Hello, I have to realise a 3D graphic. Z is defined with my functions f and somme which works properly when the graphic code isn't in the script and r..... More

Print this item

  Replace null values in Json file
Posted by: burnsssss - Jun-10-2018, 05:08 PM - Forum: General Coding Help - Replies (11)

Hi all!!
i am new in forum so i have very much to read!

I have one problem with some code in python. I am trying to replace None values in Json fi..... More

Print this item

  Mobile
Posted by: Panda - Jun-10-2018, 04:26 PM - Forum: Board - Replies (6)

Can there be a mobile version of this website? I'm on my phone and everything is extremely small. The website is scaling everything on to a 4 inch scr..... More

Print this item

  How to add lables to the scatter plot?
Posted by: Jack_Sparrow - Jun-10-2018, 02:33 PM - Forum: Data Science - Replies (3)

Hello everyone,

I created a scatter plot with two numbers (Budget & Revenue)
[python]
df.plot(x='budget_adj', y = 'revenue_adj', kind = 'scatter..... More

Print this item

  how often does a word occur in this column?
Posted by: Jack_Sparrow - Jun-10-2018, 01:50 PM - Forum: Data Science - Replies (6)

Hello there,
I have data like this
Genres
Action|Adventure
Action|Adventure|Animation
Action|Adventure|Animation|Comedy|Drama
Action|Adventure|..... More

Print this item

  Help needed with lists please
Posted by: mattick - Jun-10-2018, 01:30 PM - Forum: General Coding Help - Replies (4)

Hi I'm fairly new to Python, been doing some work with lists, but have got stuck. Hoping someone maybe can help.

I need to take an input list of n..... More

Print this item

  How do I create a Dynamic Variable?
Posted by: Nwb - Jun-10-2018, 11:30 AM - Forum: General Coding Help - Replies (1)

USD = 1
USDs = 'United States'
CountryVariableName = 'USD'

CountryName = CountryVariableName + 's'
print(CountryName) would..... More

Print this item

  Need quick help on a simple regex
Posted by: Nwb - Jun-10-2018, 11:19 AM - Forum: General Coding Help - Replies (8)

I need a quick help in RegEx, I need to convert some text into a particular text format.

Example text:

[b]USD US Dollar 1.0000000000 1.0000000000
EU..... More

Print this item

  stdout buffering
Posted by: Skaperen - Jun-10-2018, 04:55 AM - Forum: General Coding Help - Replies (5)

how can i set the buffering mode for stdout? it is already open. i notice that in python3 i am getting line buffering and i..... More

Print this item

  Simple script that seems to misbehave?
Posted by: Nwb - Jun-10-2018, 04:09 AM - Forum: General Coding Help - Replies (1)

Hey y'all, so I made my first script on python yesterday, I faced some peculiar results which I could mostly debug by myself. But there is still two t..... More

Print this item

  lab experiment / encryption
Posted by: pythan - Jun-09-2018, 07:19 PM - Forum: General Coding Help - No Replies

Hi Guys,

I would like to program an application for a laboratory experiment, with which test persons should decrypt different letter sequences in n..... More

Print this item

  [split] How to make new post
Posted by: deongl - Jun-09-2018, 04:35 PM - Forum: Board - Replies (1)

plesae inform me how do i add a new post.

Print this item

  Trying to make two different strings from the same root
Posted by: De1uge - Jun-09-2018, 04:06 PM - Forum: General Coding Help - No Replies

[python]
import random

a = input()

# This is where I'm stuck
mark1 = ["*", "__", "~~"]
mark2 = ["*", "__", "~~"][:-mark1]
#I don't know the correct ..... More

Print this item

  3 Things (wew)
Posted by: Panda - Jun-09-2018, 02:08 PM - Forum: Code sharing - No Replies

I created an "Are you smarter than a fifth grader" program, and wanted to upload it here. I looked into the programming ideas and challenges thread an..... More

Print this item

  Package to find Timezone from Latitude and Longitude
Posted by: pythoneer - Jun-09-2018, 01:47 PM - Forum: General Coding Help - Replies (1)

Is there a package in python that can give me timezone in Hours:Minutes:Seconds from latitude and longitude?

Print this item

  py4e book exercise not working when compiled
Posted by: adriand - Jun-09-2018, 12:22 PM - Forum: Homework - Replies (11)

Hi,

this exercise in the Py4E course should print: 21, 31, uct.ac.za.
When I run the program (python3 filename), my results are: [b]21, -..... More

Print this item

  [SOLVED] Print an int with a string
Posted by: Panda - Jun-09-2018, 12:16 PM - Forum: General Coding Help - Replies (2)

Is there a way to print an int (score) inside of a string without getting an error?
[python]score = 0
score = score + 1
print("Your score was ")
p..... More

Print this item

  RE output clarity
Posted by: bluefrog - Jun-09-2018, 11:36 AM - Forum: Homework - Replies (3)

Hi

I'd like to know why the output is only ['a'], instead of [font=Courier New, Courier, monospace]['..... More

Print this item

Forum stats
Latest posts
Topic Date, time  Author Last Sender Forum
  PROFESSIONAL SOLUTIONS FO... 3 hours ago victorcrown victorcrown General Codin...
  Creating a Mindmap progra... Yesterday, 12:00 J_Miller Pedroski55 General Codin...
  IBKR Purchasing code issu... Yesterday, 09:08 compuman145 compuman145 General Codin...
  A coding beginner needs h... Yesterday, 03:29 Littlefish Littlefish General Codin...
  Is the interpreter that c... Yesterday, 02:36 helendamdam helendamdam General Codin...
  Using a For Loop to subtr... 09-22, 20:56 Anunderling deanhystad General Codin...
  403 Error 09-20, 16:28 CaptainNewb snippsat Web Scraping ...
  what does % stand for in ... 09-19, 19:55 arbiel arbiel General Codin...
  C++ program embedding Pyt... 09-19, 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...
Most views
  The best Prog... 576731
  Tutorial Requ... 498997
  Web Scraping ... 440543
  Newbie with P... 384509
  New Users Int... 368306
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 7368
deanhystad 6894
metulburr 5151
Top referrers
Googlepro 23
metulburr 6
NonEntity 6
python 6
buran 3
Newest members
victorcrown Yesterday
Markbel386 Yesterday
trntgl Yesterday
susan Yesterday
jatinkumar12 Yesterday

User Panel Messages

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